plugins/elements/: Use init macros and functions.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5         Use init macros and functions.
6
7 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
8
9         * docs/gst/gstreamer-sections.txt:
10         * gst/gstpoll.c: (gst_poll_fd_init):
11         * gst/gstpoll.h:
12         Add INIT macro and _init method for initializing the GstPollFD.
13
14 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
15
16         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
17         (gst_fd_sink_update_fd):
18         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
19         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
20         (delayed_restart), (delayed_control):
21         Initialize some uninitialized variables as spotted by valgrind.
22
23 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
24
25         * tests/benchmarks/Makefile.am:
26         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
27         (main):
28         Add poll stress test.
29
30 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
31
32         Patch by: Peter Kjellerstedt <pkj at axis dot com>
33
34         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
35         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
36         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
37         * plugins/elements/gstfdsink.h:
38         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
39         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
40         (gst_fd_src_unlock_stop), (gst_fd_src_create),
41         (gst_fd_src_uri_set_uri):
42         * plugins/elements/gstfdsrc.h:
43         Port to GstPoll. See #505417.
44
45 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
46
47         * win32/common/libgstreamer.def:
48         Add new gst_poll_ symbols to win32 defs.
49
50 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
51
52         * docs/libs/gstreamer-libs-sections.txt:
53         * libs/gst/net/gstnetclientclock.c:
54         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
55         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
56         (gst_net_client_clock_thread), (gst_net_client_clock_start),
57         (gst_net_client_clock_stop), (gst_net_client_clock_new):
58         * libs/gst/net/gstnetclientclock.h:
59         * libs/gst/net/gstnettimeprovider.c:
60         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
61         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
62         (gst_net_time_provider_start), (gst_net_time_provider_stop),
63         (gst_net_time_provider_new):
64         * libs/gst/net/gstnettimeprovider.h:
65         Use a private stuct to not break ABI.
66
67 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
68
69         Patch by: Peter Kjellerstedt <pkj at axis dot com>
70
71         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
72         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
73         (gst_net_client_clock_thread), (gst_net_client_clock_start),
74         (gst_net_client_clock_stop), (gst_net_client_clock_new):
75         * libs/gst/net/gstnetclientclock.h:
76         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
77         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
78         (gst_net_time_provider_start), (gst_net_time_provider_stop),
79         (gst_net_time_provider_new):
80         * libs/gst/net/gstnettimeprovider.h:
81         Massive code removal and cleanups because of GstPoll.
82         Fixes #505417.
83
84 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
85
86         * configure.ac:
87         Add checks for poll, ppoll and pselect.
88
89         * docs/gst/gstreamer-docs.sgml:
90         * docs/gst/gstreamer-sections.txt:
91         Add docs for GstPoll.
92
93         * gst/Makefile.am:
94         * gst/gst.h:
95         * gst/gstpoll.c: (find_index), (selectable_fds),
96         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
97         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
98         (gst_poll_set_mode), (gst_poll_get_mode),
99         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
100         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
101         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
102         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
103         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
104         (gst_poll_fd_can_write), (gst_poll_wait),
105         (gst_poll_set_controllable), (gst_poll_restart),
106         (gst_poll_set_flushing):
107         * gst/gstpoll.h:
108         Add generic poll abstraction. We ideally don't want to have this in core
109         here but in glib intead...
110         This code will be used in various network elements and ultimately for
111         the nanosecond precision monotonic clock (that's why it's here in core).
112         It'll allow us to implement cancelable socket operations for windows too.
113
114         * tests/check/Makefile.am:
115         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
116         (delayed_stop), (delayed_restart), (delayed_flush),
117         (delayed_control), (gst_poll_suite):
118         Add GstPoll unit test.
119
120 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
121
122         * gst/gstfilter.c:
123           Improve documentation of gst_filter_run(). Fixes #518627.
124
125 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
126
127         * docs/README:
128           Add a few lines about the new 'check-inspected-versions' target.
129
130 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
131
132         * tests/check/gst/gstevent.c:
133           Add qos to the event test. Rename tcase/tsuite; is not only about
134           custom events.
135
136 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
137
138         * plugins/elements/gstqueue.c:
139           Ensure that buffer metadata is writeable, before modifying. Spotted by
140           Mike.
141
142 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
143
144         * plugins/elements/gstqueue.c:
145         * plugins/elements/gstqueue.h:
146           When dropping buffers in leaky modes, mark next buffers we sent as
147           DISCONT.
148
149 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
150
151         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
152           Also, if mmap() fails that would be a READ error, not OPEN_READ.
153
154 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
155
156         * plugins/elements/Makefile.am:
157         * plugins/elements/gstbufferstore.c:
158         * plugins/elements/gstbufferstore.h:
159         * plugins/elements/gsttypefindelement.h:
160           Remove GstBufferStore, no idea why we were still building it.
161           It's not used anywhere and superseded by GstAdapter.
162
163         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
164           (gst_file_src_create_mmap):
165         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
166           Printf format fixes for 64-bit integers.
167
168 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
169
170         * configure.ac:
171         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
172         We're not in 0.8 times anymore.
173
174 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
175
176         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
177         (gst_check_element_push_buffer_list):
178         * libs/gst/check/gstcheck.h:
179         Make the declaration in the header for
180         gst_check_element_push_buffer_list match the implementation.
181
182         Fix up spelling, grammar and wording of the documentation in a few
183         places, and add the Since keyword to new API functions.
184         Use g_list_delete_link instead of g_list_remove in
185         gst_check_drop_buffers, since it's immeasurably more efficient.
186
187         * tests/check/elements/fakesrc.c: (GST_START_TEST):
188         Use new gst_check_drop_buffers function where appropriate.
189
190         * win32/common/libgstbase.def:
191         * win32/common/libgstreamer.def:
192         Add new symbols gst_collect_pads_take_buffer, 
193         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
194         exports
195
196         Changelog surgery to add API keyword to new gst_check API.
197
198 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
199
200         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
201         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
202         Update pre-generated flex files with flex 2.3.34.
203
204 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
205
206         * gst/gstminiobject.c:
207           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
208           friendly to subclasses and not require them to know all internals
209           of their parent class.
210
211 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
212
213         * docs/libs/gstreamer-libs-sections.txt:
214         * libs/gst/base/gstcollectpads.c:
215         * libs/gst/base/gstcollectpads.h:
216           Add sub-buffer functions to collectpads. Fixes #516187.
217           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
218
219 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
220
221         * gst/gstbuffer.c:
222           Copy selected buffer-flags when creating subbuffers.
223           Fixes #516395.
224
225 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
226
227         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
228         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
229         * gst/gstmessage.c: (gst_message_class_init),
230         (gst_message_finalize):
231         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
232         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
233         (gst_mmap_buffer_finalize):
234         Properly chain up finalize functions to the parent class.
235
236 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
237
238         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
239
240         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
241         (gst_index_set_resolver_full):
242         * gst/gstindex.h:
243         Add new function with option to dispose of user_data in resolver.
244         Actually call the dispose function when finalizing the object and not
245         just when changing the resolver/filter.
246         API: GstIndex::gst_index_set_resolver_full()
247
248         * docs/gst/gstreamer-sections.txt:
249         Add new function to docs. Fixes #515469.
250
251 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
252
253         * gst/gstindex.c: (gst_index_finalize):
254         Chain up finalize to the parent class. Fixes leaking the GstObject
255         name and other things.
256
257 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
258
259         * configure.ac:
260         Make DISABLE_DEPRECATED defined *only* during CVS, not during
261         pre-releases or releases.
262
263         * docs/faq/gst-uninstalled:
264         Add gst-plugins-gl
265
266         * docs/random/release:
267         Change one of the steps - we only upload core & base to Gnome FTP
268
269 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
270
271         * gst/gstconfig.h.in:
272           Add 'id' for example.
273
274         * gst/gstpad.c:
275         * gst/gstutils.c:
276         * plugins/elements/gstfdsink.c:
277           Link to signals. Doc and comment fixes.
278
279 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
280
281         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
282         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
283           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
284           unused and unimplemented; finally, it is plugin features, not
285           plugins, that have ranks.
286           
287 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
288
289         * gst/gstpluginfeature.h:
290           Clarify GstRank range docs.
291
292 2008-02-05  David Schleef  <ds@schleef.org>
293
294         * gst/gst.c: Add a separate gst_deinitialized that prevents
295           gst_init() from being called after gst_deinit().  Fixes #509559
296
297 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
298
299         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
300         (gst_bin_class_init):
301         * gst/gstelement.c: (gst_element_base_class_init),
302         (gst_element_class_add_pad_template):
303         * gst/gstpadtemplate.c: (gst_pad_template_init):
304         * gst/gstpipeline.c: (gst_pipeline_get_type),
305         (gst_pipeline_base_init), (gst_pipeline_class_init):
306         * libs/gst/base/gstbasesink.c:
307         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
308         (gst_base_src_base_init), (gst_base_src_class_init):
309         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
310         (gst_capsfilter_class_init):
311         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
312         (gst_fake_sink_class_init):
313         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
314         (gst_fake_src_class_init):
315         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
316         (gst_fd_sink_class_init):
317         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
318         (gst_fd_src_class_init):
319         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
320         (gst_file_sink_class_init):
321         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
322         (gst_file_src_class_init):
323         * plugins/elements/gstidentity.c: (gst_identity_base_init),
324         (gst_identity_class_init):
325         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
326         (gst_multi_queue_class_init):
327         * plugins/elements/gstqueue.c: (gst_queue_base_init),
328         (gst_queue_class_init):
329         * plugins/elements/gsttee.c: (gst_tee_base_init),
330         (gst_tee_class_init):
331         * plugins/elements/gsttypefindelement.c:
332         (gst_type_find_element_base_init),
333         (gst_type_find_element_class_init):
334         * tests/check/gst/gstelement.c: (gst_element_suite):
335         Revert previous changes to the behaviour of GstPadTemplates, etc
336         and the possiblity to call them in class_init as it breaks too
337         many elements. Reopens bug #491501.
338
339         Should be applied again for 0.11, thus added a few FIXME 0.11 at
340         several places.
341
342 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
343
344         * tools/gst-launch.c:
345         Dump one graph per pipeline state-change and state change name
346         (if GST_DEBUG_DUMP_DOT_DIR is set).
347
348 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
349
350         * gst/gstpad.c:
351         * tests/check/gst/gstpad.c:
352         Be sure that we have a new copy of the caps and not
353         reffed caps from a template
354
355 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
356
357         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
358         * gst/gstpipeline.c: (gst_pipeline_get_type),
359         (gst_pipeline_class_init):
360         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
361         (gst_base_sink_class_init):
362         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
363         (gst_base_src_class_init):
364         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
365         (gst_base_transform_class_init):
366         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
367         (gst_collect_pads_class_init):
368         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
369         * libs/gst/net/gstnettimeprovider.c:
370         (gst_net_time_provider_base_init),
371         (gst_net_time_provider_class_init):
372         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
373         (gst_capsfilter_class_init):
374         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
375         (gst_fake_sink_class_init):
376         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
377         (gst_fake_src_class_init):
378         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
379         (gst_fd_sink_class_init):
380         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
381         (gst_fd_src_class_init):
382         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
383         (gst_file_sink_class_init):
384         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
385         (gst_file_src_class_init):
386         * plugins/elements/gstidentity.c: (gst_identity_base_init),
387         (gst_identity_class_init):
388         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
389         (gst_multi_queue_class_init):
390         * plugins/elements/gstqueue.c: (gst_queue_base_init),
391         (gst_queue_class_init):
392         * plugins/elements/gsttee.c: (gst_tee_base_init),
393         (gst_tee_class_init):
394         * plugins/elements/gsttypefindelement.c:
395         (gst_type_find_element_base_init),
396         (gst_type_find_element_class_init):
397         Don't use base_init where not absolutely necessary. For example it's
398         not necessary anymore for adding pad templates or setting element
399         details.
400
401         Leave empty base_init functions in several places as GST_BOILERPLATE
402         still defines and uses them.
403
404 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
405
406         * gst/gstelement.c: (gst_element_base_class_init),
407         (gst_element_class_add_pad_template):
408         * gst/gstpadtemplate.c:
409         Make it possible (and recommended) to set element details and add
410         pad templates in the class_init functions by copying the details/pad
411         templates in GstElement's base_init.
412
413         Also make it possible to replace existing pad templates by adding
414         a new one with the same name. This was done in a hackish fashion
415         in same elements before already.
416
417         Don't reference pad templates that are added a second time. A
418         new pad template has a refcount of one and is not floating anymore
419         and to be owned by the element's class. Make this more explicit by
420         mentioning it in the docs of gst_element_class_add_pad_template().
421
422         These changes are backwards compatible. Fixes bug #491501.
423
424         * tests/check/gst/gstelement.c:
425         Add unit test for setting element details, adding pad templates and
426         replacing them in a subclass.
427
428 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
429
430         * tools/gst-inspect.c: (print_interfaces),
431         (print_element_properties_info), (print_pad_info),
432         (print_signal_info), (print_element_info):
433         Fix a few memory leaks.
434
435 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
436
437         * docs/libs/gstreamer-libs-sections.txt:
438         * libs/gst/check/gstcheck.c:
439         * libs/gst/check/gstcheck.h:
440         Add more functions for unit testing: gst_check_drop_buffers,
441         gst_check_caps_equal, gst_check_element_push_buffer_list,
442         gst_check_element_push_buffer
443         API: gst_check_drop_buffers
444         API: gst_check_caps_equal
445         API: gst_check_element_push_buffer_list
446         API: gst_check_element_push_buffer
447
448 2008-02-01  Julien Moutte  <julien@fluendo.com>
449
450         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
451         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
452         (gst_index_finalize), (gst_index_entry_free),
453         (gst_index_add_association): Fix memory leaks.
454         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
455         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
456         (gst_mem_index_free_format), (gst_mem_index_free_id),
457         (gst_mem_index_finalize): Fix memory leaks.
458         * win32/common/config.h: Updated to CVS HEAD.
459
460 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
461
462         * docs/README:
463           Some more details about how the plugin docs works.
464
465         * docs/plugins/gstreamer-plugins-sections.txt:
466           Whitespace cleanup.
467
468 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
469
470         * gst/parse/grammar.tab.pre.c:
471         * gst/parse/grammar.tab.pre.h:
472         * gst/parse/grammar.y:
473         * gst/parse/lex._gst_parse_yy.pre.c:
474           Add delayed set-property. This allows to set properties on dynamicaly
475           created objects (pads in videomxer).
476
477 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
478
479         * gst/gstutils.c:
480         Check if caps are not NULL (fix bug #510194)
481
482 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
483
484         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
485         (gst_base_sink_get_position_paused):
486         Add fixme regarding EOS in pull mode.
487         Fix position reporting in PAUSED for negative rates.
488
489 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
490
491         * gst/gstminiobject.c: (gst_mini_object_replace):
492         When replacing a miniobject, do a quick equality check first so that we
493         can avoid a ref/unref pair.
494
495 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
496
497         * docs/design/part-synchronisation.txt:
498         Update some docs.
499
500         * docs/plugins/Makefile.am:
501         * docs/plugins/gstreamer-plugins-docs.sgml:
502         * docs/plugins/gstreamer-plugins-sections.txt:
503         * plugins/elements/gstmultiqueue.c:
504         Add multiqueue to the docs.
505
506 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
507
508         * configure.ac:
509           Back to CVS
510
511 === release 0.10.17 ===
512
513 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
514
515         * configure.ac:
516           releasing 0.10.17, "Due Negligence"
517
518 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
519
520         * gst/gstutils.c:
521         Revert caps != NULL check temporarily for 0.10.17 release.
522
523 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
524
525         * gst/gstutils.c:
526         Check if caps are not NULL (fix bug #510194)
527
528 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
529
530         * gst/gstutils.c:
531         Fix compilation on systems that have posix timers but no
532         monotonic clock.
533         Fixes: #512715
534         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
535         dot net>
536
537 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
538
539         * tools/gst-inspect.c:
540         Revert previous commit in preparation for an impromptu 0.10.17 release
541
542 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
543
544         * tools/gst-inspect.c: (print_interfaces),
545         (print_element_properties_info), (print_pad_info),
546         (print_signal_info), (print_element_info):
547         Fix a few memory leaks.
548
549 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
550
551         * configure.ac:
552         Back to CVS
553
554 === release 0.10.16 ===
555
556 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
557
558         * configure.ac:
559           releasing 0.10.16, "Special Dispensation"
560
561 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
562
563         * configure.ac:
564           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
565           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
566           not fail when trying to crosscompile on OpenEmbedded (#511750).
567
568 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
569
570         * docs/manuals.mak:
571         Use $(MAKE) instead of make to fix the build if GNU make is
572         called different. Fixes bug #510747.
573
574 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
575
576         * gst/gstplugin.c: (_gst_plugin_initialize):
577           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
578           again, which I broke two commits ago when changing the API
579           of gst_plugin_register_static(): the g_list_foreach() in
580           _gst_plugin_register_static still assumed the old function
581           signature and would therefore fail (re-fixes #510187).
582
583         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
584           (_gst_plugin_register_static), (gst_plugin_register_static):
585           Revert the (technically correct) change to call g_thread_init() from
586           the pre-main() constructor. This will break programs which call
587           g_thread_init() without an if (!g_thread_supported()) guard in their
588           main function. We could just blame it on GLib or the application, but
589           it's probably best to just avoid this altogether and simply not use
590           any GLib functions here and use plain old malloc() with a simple
591           array to store the plugins to register later when gst_init() is
592           finally called (re-fixes #510187).
593
594         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
595           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
596           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
597           (GST_START_TEST), (gst_plugin_suite):
598           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
599           works.
600
601 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
602
603         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
604           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
605           This makes gtk-doc complain, but results in slightly better
606           compiler errors. The old _gst_plugin_register_static() is
607           still guarded, so there'll be a compiler warning about that
608           instead. Fixes #510187 too.
609
610 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
611
612         * gst/gst.c: (init_post):
613         * gst/gstplugin.c: (_gst_plugin_register_static),
614           (gst_plugin_register_static), (_gst_plugin_initialize):
615         * gst/gstplugin.h: (GstPluginFilter):
616           Change API of gst_plugin_register_static() to not take
617           a GstPluginDesc, but rather just take all the arguments
618           in a GstPluginDesc directly. This is more intuitive and
619           avoids certain mistakes when porting code from
620           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
621           Fixes #510187.
622
623         * tests/check/gst/gstplugin.c:
624           Fix up for changed API.
625
626 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
627
628         * docs/faq/legal.xml:
629           Update FAQ, Totem actually has an exception these days.
630
631 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
632
633         * win32/common/libgstreamer.def:
634         Add new API declarations
635
636 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
637
638         * gst/gstminiobject.c:
639           Spelling fixes for the API docs.
640
641 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
642
643         * libs/gst/base/gstbasetransform.c:
644           Fix long property description for QoS.
645
646 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
647
648         * gst/gst.c:
649         _gst_trace_on is already provided by gsttrace.h, no need to declare
650         it ourselves.
651
652         * docs/libs/gstreamer-libs-sections.txt:
653         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
654         and remove strange tcase_add_test which is outputting a warning.
655
656         * libs/gst/check/gstcheck.c:
657         * libs/gst/check/gstcheck.h:
658         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
659         and define them in gstcheck.c instead of having every .c file whcih
660         includes gstcheck.h be defining its own copy and relying on symbol
661         interposing to marry them all, which doesn't work on Solaris.
662
663         * tests/check/elements/identity.c: (GST_START_TEST):
664         Don't define 'buffers' locally, it comes from libgstcheck.
665
666         * tests/check/generic/sinks.c: (send_buffer):
667         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
668
669         * tests/check/gst/gststructure.c: (GST_START_TEST):
670         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
671         * tests/check/gst/gstutils.c: (GST_START_TEST):
672         * tests/check/gst/gstvalue.c: (GST_START_TEST):
673         Add a bunch of casts to make various constants fit the types
674         they're being assigned to.
675
676 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
677
678         * gst/gstchildproxy.c:
679           Improve docs and add some ideas for making this more general-purpose.
680
681 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
682
683         * gst/gst_private.h: (GST_CAT_TYPES):
684           Add GST_CAT_TYPES, for consistency, and so that the other
685           debug categories don't make fun of it. Spotted by Saur on IRC.
686
687 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
688
689         * gst/parse/Makefile.am:
690           Move types.h from EXTRA_DIST to noinst_HEADERS.
691
692 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
693
694         * autogen.sh:
695           Add -Wno-portability to the automake parameters to stop warnings
696           about GNU make extensions being used. We require GNU make in almost
697           every Makefile anyway.
698
699         * configure.ac:
700           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
701           at the same time is required for per target flags.
702
703 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
704
705         * gst/gstmacros.h:
706           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
707           __GNUC__ is defined before using it.
708
709 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
710
711         * docs/gst/gstreamer-sections.txt:
712         * gst/gst.c: (init_post):
713         * gst/gstplugin.c: (_gst_plugin_register_static),
714           (gst_plugin_register_static), (_gst_plugin_initialize),
715           (gst_plugin_register_func):
716         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
717           API: add gst_plugin_register_static() and deprecate
718           GST_PLUGIN_DEFINE_STATIC, since it's not portable
719           (#498924).
720           Also, in _gst_plugin_register_static(), make sure to call
721           g_thread_init() before calling GLib functions such as
722           g_list_append() if we're not initialised yet, since that
723           may lead to random crashes with older GSlice/GLib versions.
724
725         * tests/check/gst/gstplugin.c:
726           Adapt unit test to above changes.
727
728 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
729
730         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
731         * gst/gstcaps.c: (gst_caps_to_string):
732         * gst/gststructure.c: (GST_ASCII_IS_STRING),
733           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
734           Yet another gratuitous GString micro-optimisation: add a (private)
735           function that serialises a structure appending to an existing
736           GString, so that when we serialise caps we don't need to alloc+free
737           a throwaway GString for each structure (each of which also entailing
738           multiple reallocs on the way); also use g_string_sized_new() in
739           various places with an approximate string length to avoid reallocs
740           within GString. See #500143.
741
742 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
743
744         * gst/gststructure.c: (gst_structure_id_set_value):
745           Always check UTF-8 conformance of structure strings and not only
746           if the debugging system is enabled; reasoning: the behaviour of
747           the actual code shouldn't really change depending on whether the
748           debugging system is enabled or not (#508291).
749
750 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
751
752         * Makefile.am:
753           Remove old coverage target in favour of "make lcov".
754
755 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
756
757         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
758         (gst_base_src_loop):
759         The start segment for reverse playback goes from start to last_stop.
760
761 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
762
763         Patch by: Peter Kjellerstedt <pkj axis com>
764
765         * gst/gstclock.h:
766         Cast the results from the timeval/spec_to_time macros to what the
767         docs say it casts to, a GstClockTime. fixes #508175.
768
769 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
770
771         * gst/gstbuffer.c:
772         Update some comments.
773
774         * tools/gst-inspect.c: (print_element_properties_info):
775         Improve printing of flags.
776
777 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
778
779         * libs/gst/base/gstbasetransform.c:
780           (gst_base_transform_transform_size):
781           Print element name with g_warning() if there's a problem
782           with the unit size.
783
784 2008-01-07  David Schleef  <ds@schleef.org>
785
786         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
787
788         * libs/gst/controller/gstcontroller.h:
789         * libs/gst/controller/gstcontrolsource.h:
790         * libs/gst/controller/gstinterpolationcontrolsource.h:
791         * libs/gst/controller/gstlfocontrolsource.h:
792         * libs/gst/dataprotocol/dataprotocol.h:
793           Fix empty prototypes.  Fixes bug #507957.
794
795 2008-01-07  David Schleef  <ds@schleef.org>
796
797         * docs/faq/dependencies.xml: Fix typo.
798
799 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
800
801         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
802         (gst_base_src_loop):
803         Don't update the last_stop position in do_seek, that's the position we
804         did a seek to.
805         Read backwards when we have a negative rate.
806
807         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
808         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
809         (filesrc_suite):
810         Add check for reverse reading.
811
812 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
813
814         Patch by: Alexis Ballier <aballier at gentoo org>
815
816         * tests/check/gst/gstabi.c:
817         * tests/check/gst/struct_ppc64.h:
818         * tests/check/libs/libsabi.c:
819         * tests/check/libs/struct_ppc64.h:
820           Decide which header to include based on the userland ABI target
821           and not the kernel/cpu. Fix up structure sizes of ppc64 header
822           for 64-bit userland (#503590).  Might need something similar for
823           x86 too.
824
825 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
826
827         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
828           Log the reason why fopen fails in addition to the fact that it failed.
829           
830 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
831
832         * gst/parse/parse.l:
833         Use "%option never-interactive" to prevent useless calls to isatty()
834         on every input when parsing. Also use "%option noinput" to not define
835         the static input/yyinput functions which we don't use anyway. This
836         removes a compiler warning with gcc 4.3 and saves some bytes in the
837         library.
838         
839         * gst/parse/lex._gst_parse_yy.pre.c:
840         Regenerated for the above change.
841
842 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
843
844         * gst/gstpad.c: (fixate_value):
845         Don't crash when trying to fixate and empty list.
846         Fixes #506643.
847
848 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
849
850         * docs/faq/gst-uninstalled:
851         Clarify the comments to make the usage of this script and what it
852         does easier to understand.
853
854 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
855
856         * tools/gst-plot-timeline.py:
857         Add more options to gst-plot-timeline
858
859 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
860
861         * docs/design/part-synchronisation.txt:
862         Some more info on how the stream_time in GstBaseSink is done.
863
864 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
865
866         * tests/check/generic/sinks.c: (gst_sinks_suite):
867           Put back the tcase_set_timeout(), apparently it's needed after
868           all; fix it up in a way that makes things work with valgrind too.
869
870 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
871
872         * gst/gstdebugutils.c:
873           Add warning when failed to open file for writing.
874
875 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
876
877         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
878
879         * gst/gstvalue.c: (gst_value_is_fixed):
880           Optimisation: bail out of the loop as early as possible (#500143).
881
882 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
883
884         * gst/gstcaps.c: (gst_caps_to_string):
885         * gst/gstinfo.c: (gst_debug_construct_term_color):
886         * gst/gstparse.c: (gst_parse_launchv):
887         * gst/gstutils.c: (gst_util_dump_mem):
888         * gst/gstvalue.c: (gst_value_serialize_any_list),
889           (gst_value_transform_any_list_string):
890           Bunch of gratuitous nano-optimisations.
891
892 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
893
894         * tests/check/generic/sinks.c: (async_done_func),
895           (async_done_eos_func):
896           Fix leak in unit test (bus sync handler must unref the message
897           if it returns GST_BUS_DROP). Don't fiddle with the default test
898           timeout, this is smaller than the current preconfigured value
899           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
900           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
901
902 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
903
904         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
905
906         * configure.ac:
907         Check for stdio_ext.h for the filesink changes.
908
909         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
910         (gst_file_sink_class_init), (gst_file_sink_init),
911         (gst_file_sink_dispose), (gst_file_sink_set_property),
912         (gst_file_sink_get_property), (gst_file_sink_open_file),
913         (gst_file_sink_close_file):
914         * plugins/elements/gstfilesink.h:
915         Add two properties to control the buffering mode and size.
916         API: GstFileSink::buffer-mode
917         API: GstFileSink::buffer-size
918         Fixes #500150.
919
920 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
921
922         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
923         Add some more docs to explain why a FIXME was wrongly added. 
924
925 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
926
927         * gst/gstobject.c:
928           Fix typo in the gst_object_{ref,unref} documentation.
929
930 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
931
932         * tests/check/libs/controller.c:
933         * tests/check/libs/typefindhelper.c:
934         * tests/check/pipelines/parse-launch.c:
935           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
936           going to be deprecated (see #498924).
937
938 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
939
940         * gst/gsttypefind.c: (gst_type_find_register):
941           Make gst_type_find_register work for static typefind functions,
942           ie. allow passing plugin == NULL (prerequisite for #498924).
943
944         * gst/gstelementfactory.c: (gst_element_register):
945           Small docs addition.
946
947 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
948
949         * gst/gstpad.c: (gst_pad_dispose):
950         Really unlink the peer pad instead of setting the peer pointer to NULL
951         when we dispose the pad.
952         This correctly calls the unlink functions and makes sure that the peer
953         does not have a handle to invalid memory. See #504671.
954
955         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
956         Add testsuite for above case.
957
958 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
959
960         Patch by: Peter Kjellerstedt <pkj axis com>
961
962         * libs/gst/check/gstcheck.h:
963           Fix detection of the check version we're compiling against (would
964           otherwise break if check goes v0.10.0); correctly report the
965           name of the failed test again in case of failure, instead of
966           just 'tf' (fixes #504499).
967
968 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
969
970         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
971         (gst_base_src_get_range), (gst_base_src_pad_get_range),
972         (gst_base_src_loop), (gst_base_src_set_flushing),
973         (gst_base_src_change_state):
974         Allow sending EOS to the source to make it send out an EOS event from
975         the streaming thread.
976         Update docs and deprecate the old NULL/READY shutdown method.
977
978         * tests/check/libs/basesrc.c: (GST_START_TEST),
979         (gst_basesrc_suite):
980         Add unit test for controlled shutdown.
981
982 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
983
984         * docs/design/part-synchronisation.txt:
985         Small updates.
986
987         * gst/gstsegment.c: (gst_segment_set_seek),
988         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
989         (gst_segment_to_running_time):
990         The seek format can be different from the segment format when the start
991         and stop values are not to be updated, when we only do a rate change for
992         example.
993
994         * tests/check/gst/gstsegment.c: (GST_START_TEST),
995         (gst_segment_suite):
996         Add a testcase for the rate-only seeks, checking that the format is
997         correctly ignored when start and stop are not updated.
998
999 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
1000
1001         Patch by: Matthias Bolte <photon at mail dot upb dot de>
1002
1003         * win32/vs8/grammar.vcproj:
1004         * win32/vs8/libgstcontroller.vcproj:
1005         * win32/vs8/libgstreamer.vcproj:
1006         Fix compilation with VS8 and include some missing files.
1007
1008 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
1009
1010         * gst/gsttaglist.c:
1011           Small docs addition: mention that the strings returned by
1012           gst_tag_list_get_string*() are in UTF-8 encoding.
1013
1014 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
1015
1016         * Makefile.am:
1017           The check-exports stuff moved to common/win32.mak, so include that.
1018
1019 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1020
1021         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1022         (gst_base_src_perform_seek), (gst_base_src_get_range),
1023         (gst_base_src_set_playing), (gst_base_src_change_state):
1024         Make _wait_playing() not check any variables so that we can call this
1025         function from subclasses. Move the checks elsewhere similar to
1026         _wait_preroll() in basesink.
1027         Add some debugging.
1028         Only signal the LIVE cond when we are going back to PLAYING.
1029
1030 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1031
1032         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1033           Use g_remove() and g_rename(). Check result of g_rename(), and
1034           don't leak the open file descriptor if we error out when writing.
1035
1036         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
1037           Must check the return value of close() after writing out the new
1038           registry file.  Sometimes write problems such as out-of-diskspace
1039           are only reported when the file is closed and not already during
1040           the write.  This may have caused partial/broken registry files in
1041           some rare circumstances. Should fix #503675.
1042
1043 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
1044
1045         * docs/gst/.cvsignore:
1046         * docs/libs/.cvsignore:
1047         * docs/plugins/.cvsignore:
1048         Ignore files generated by new common/* modifications
1049
1050 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1051
1052         * win32/common/libgstbase.def:
1053           Yes, you can also have a <TAB> if you want.
1054
1055 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1056
1057         * win32/common/libgstbase.def:
1058           Add new basetransform API to win export file.
1059
1060 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1061
1062         * tests/check/gst/gstbin.c:
1063           Adjust the test to the refcount change two days ago.
1064
1065 2007-12-14  David Schleef  <ds@schleef.org>
1066
1067         * docs/faq/getting.xml: Fix typo.
1068
1069 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
1070
1071         * docs/libs/gstreamer-libs-sections.txt:
1072         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1073           (gst_base_transform_prepare_output_buffer),
1074           (gst_base_transform_set_gap_aware):
1075         * libs/gst/base/gstbasetransform.h:
1076           API: Add gst_base_transform_set_gap_aware() to control whether
1077           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
1078           get buffers with this flag at all. Fixes #503231.
1079
1080 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
1081
1082         * libs/gst/base/gstbasesink.c:
1083         * libs/gst/base/gstbasesrc.c:
1084         * libs/gst/base/gstbasetransform.c:
1085           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
1086           thread. Correct log message in gstbasesrc.c.
1087
1088 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1089
1090         * gst/gstutils.c: (element_find_unconnected_pad):
1091           Fix possible compiler warning (#503417).
1092
1093 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1094
1095         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
1096           Don't use GST_CAT_EVENT here for logging, it makes no sense.
1097
1098 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
1099
1100         * tools/gst-inspect.c: (print_element_properties_info):
1101           Add support for GstFraction properties.
1102
1103 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
1104
1105         * Makefile.am:
1106           Add check-exports target and run it as part of 'make check'
1107           (see #499140 and #493983).
1108
1109         * gst/gst_private.h:
1110         * gst/gstelementfactory.h:
1111         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
1112         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
1113           (_priv_gst_in_valgrind):
1114         * gst/gstinfo.h: (GstLogFunction):
1115         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
1116           (gst_type_find_register):
1117         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
1118           (gst_type_find_factory_get_type):
1119         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
1120           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
1121           (gst_controller_new_valist), (gst_controller_new_list),
1122           (_gst_controller_dispose), (_gst_controller_class_init):
1123         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
1124         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
1125           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
1126           (gst_object_get_controller), (gst_object_set_controller),
1127           (gst_object_suggest_next_sync), (gst_object_sync_values),
1128           (gst_object_set_control_source), (gst_object_get_control_source),
1129           (gst_object_get_value_arrays), (gst_object_get_value_array),
1130           (gst_object_get_control_rate), (gst_object_set_control_rate):
1131         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
1132         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
1133           Make some functions that should be static static; rename some
1134           private symbols so that they don't get exported; add some FIXME
1135           comments so we can move accidentally exported functions into
1136           our private section in 0.11.
1137
1138         * win32/common/libgstreamer.def:
1139           Add gst_utils_get_timestamp().
1140
1141 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
1142
1143         * gst/gstvalue.c:
1144         * gst/gstvalue.h:
1145           Add more missing "Since:" tags to docs.
1146
1147 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
1148
1149         * gst/gstutils.c:
1150           Add mising "Since:" to docs.
1151
1152 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1153
1154         * gst/gstplugin.c:
1155           Include "glib-compat-private.h" to fix the build on system with
1156           glib < 2.10. Fixes #503131.
1157
1158 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1159
1160         * gst/gstutils.c:
1161         * gst/gstutils.h:
1162           Actually its not PURE as it gets the time from elsewhere.
1163
1164 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1165
1166         * docs/gst/gstreamer-sections.txt:
1167         * gst/gstclock.h:
1168         * gst/gstdebugutils.c:
1169         * gst/gstinfo.c:
1170         * gst/gstutils.c:
1171         * gst/gstutils.h:
1172         * libs/gst/base/gstbasesink.c:
1173         * tools/gst-launch.c:
1174           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
1175           uses as we don't have HAVE_POSIX_TIMERS in public headers.
1176           Thanks Tim for spotting.
1177           API: gst_util_get_timestamp
1178
1179 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
1180
1181         * configure.ac:
1182           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
1183
1184 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
1185
1186         * gst/gststructure.c: (gst_structure_validate_name),
1187           (gst_structure_new_valist), (gst_structure_parse_value),
1188           (gst_structure_from_string):
1189           Don't crash in _from_string() if the structure name is not valid
1190           (fixes #501560).  Allow structure names to start with a number
1191           again (this apparently broke the ubuntu codec installer).
1192
1193         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
1194           (GST_START_TEST):
1195           Add unit test for the crash; update unit tests for new behaviour.
1196
1197 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
1198
1199         * gst/gstutils.c:
1200         Clarify gst_element_get_compatible_pad() documentation.
1201         Fixes #500919.
1202
1203 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
1204
1205         * tests/check/Makefile.am:
1206           Don't forget to dist {gst,libs}/struct_hppa.h.
1207
1208 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1209
1210         * libs/gst/base/gstbasesink.c:
1211           Use new API to get elapsed time.
1212
1213 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1214
1215         * gst/gstdebugutils.c:
1216         * gst/gstinfo.c:
1217           Fix wrong order of args in GST_CLOCK_DIFF() usage.
1218
1219         * tools/gst-launch.c:
1220           Use new API to get elapsed time.
1221
1222 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1223
1224         * docs/gst/gstreamer-sections.txt:
1225         * gst/gstclock.h:
1226         * gst/gstdebugutils.c:
1227         * gst/gstinfo.c:
1228           Rename new API + ChangeLog surgery to remove old name from last entry..
1229
1230 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1231
1232         * docs/gst/gstreamer-sections.txt:
1233         * gst/gstclock.h:
1234         * gst/gstdebugutils.c:
1235         * gst/gstinfo.c:
1236           Now hide the different clock stuff behind a macro.
1237
1238 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1239
1240         * configure.ac:
1241         * gst/gstdebugutils.c:
1242         * gst/gstinfo.c:
1243           Apply the posix-timer check from #361155. Conditionally use the posix
1244           timer for logging. This gives better timestamp precission, less
1245           overhead and no ntp jitter.
1246
1247 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
1248
1249         * gst/gstminiobject.c: (gst_mini_object_get_type),
1250         (gst_mini_object_class_init), (gst_mini_object_copy_default),
1251         (gst_mini_object_finalize), (gst_mini_object_copy),
1252         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
1253         (gst_mini_object_replace), (param_mini_object_validate),
1254         (gst_param_spec_mini_object_get_type):
1255         Some cleanup and checking against invalid function parameters.
1256
1257 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
1258
1259         * docs/gst/gstreamer-sections.txt:
1260         * gst/gstclock.h:
1261         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1262         (gst_systemclock_suite):
1263         Start merging in the easy bits of #361155, the monotonic clock patch.
1264         This one adds a few handy macros with docs and a testsuite.
1265
1266 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
1267
1268         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
1269         Be a bit smarter when seeking, like, don't try to do a seek when it's
1270         not needed. This avoids errors when the file is not seekable.
1271         Fixes #499771.
1272
1273 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
1274
1275         * docs/gst/gstreamer-docs.sgml:
1276         * docs/gst/gstreamer-sections.txt:
1277         * docs/gst/gstreamer.types.in:
1278         * gst/Makefile.am:
1279         * gst/gst.h:
1280         * gst/gstpreset.c:
1281         * gst/gstpreset.h:
1282         * plugins/elements/gstqueue.c:
1283           Due to popular request remove preset interface again. :-(.
1284
1285 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
1286
1287         * tools/gst-inspect.c:
1288           Print 'default value' for enums and flags too.
1289
1290 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
1291
1292         * docs/random/ensonic/profiling.txt:
1293           More ideas.
1294
1295         * gst/gstbin.c:
1296           Fix typo and give better log output.
1297
1298         * gst/gstdebugutils.c:
1299         * gst/gstdebugutils.h:
1300           More ideas, make graphs a bit smaller and fix param name in macro.
1301
1302 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
1303
1304         * gst/gstpreset.c:
1305           Try harder to use the return value from fgets().
1306
1307 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
1308
1309         * gst/gstpreset.c:
1310           For theses two fgets we handle the error below.
1311
1312 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
1313
1314         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1315         Only send upstream events upstream. Fixes #498746.
1316
1317 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
1318
1319         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1320
1321         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1322         (gst_identity_init), (gst_identity_transform_ip),
1323         (gst_identity_set_property), (gst_identity_get_property):
1324         * plugins/elements/gstidentity.h:
1325         Add property to disable handoff signal emission. Fixes #498694.
1326         API: GstIdentity::signal-handoffs
1327
1328 2007-11-21  Julien Moutte  <julien@fluendo.com>
1329
1330         * docs/faq/gst-uninstalled: Yet another missing library for the
1331         uninstalled script (fft)
1332
1333 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
1334
1335         * docs/faq/developing.xml:
1336         Add a question about how to submit new translations.
1337
1338         * docs/random/release:
1339         Update the contact email address for the Translation Project
1340
1341         * plugins/elements/gstfdsrc.c:
1342         The parent_class for fdsrc is pushsrc, not GstElement.
1343
1344 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
1345
1346         * gst/gstpreset.c:
1347           Plug a leak and fix saving.
1348
1349 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
1350
1351         * docs/gst/gstreamer-sections.txt:
1352         Add new gst_preset__get_property_names() function to the docs
1353         to fix the build.
1354
1355 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
1356
1357         * gst/gstpreset.c:
1358         * gst/gstpreset.h:
1359           Change _get_preset_names API to return a strv with copies. Add
1360           _get_property_names to allow implementations to filter and provide
1361           good default implementation.
1362
1363 2007-11-20  Julien MOUTTE  <julien@moutte.net>
1364
1365         * docs/faq/gst-uninstalled: Add another library to the uninstalled
1366         script (sdp).
1367
1368 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
1369
1370         * gst/gstpreset.c:
1371           More cleanups, docs, and TODOs from comments that now slowly come in.
1372
1373 2007-11-19  Julien MOUTTE  <julien@moutte.net>
1374
1375         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
1376         search path.
1377
1378 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
1379
1380         * gst/gstpreset.c:
1381           Fix bogus warning and make the property type specific code more
1382           similar.
1383
1384 2007-11-19  Julien MOUTTE  <julien@moutte.net>
1385
1386         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
1387         it build on OS X.
1388
1389 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
1390
1391         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1392         (gst_bin_add_func), (gst_bin_remove_func),
1393         (gst_bin_change_state_func), (gst_bin_continue_func):
1394         Change email, cleanups add some more debug and comments.
1395         Also set bus and clock on new elements when the pipeline was in error.
1396
1397 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
1398
1399         * gst/gstbin.c:
1400         * gst/gstdebugutils.c:
1401           Fix build with --disable-gst-debug. Fixes #497859.
1402           Spotted by Sameer Naik.
1403
1404 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
1405
1406         * gst/gstevent.c:
1407           Little documentation improvment.
1408
1409         * gst/gstpreset.c:
1410           More TODO cleanups. Remove c++ comments.
1411
1412         * libs/gst/controller/gstcontroller.c:
1413           Add TODO and use quark from static string.
1414
1415         * tests/check/gst/gstmessage.c:
1416         * tests/check/gst/gststructure.c:
1417           Use quark from static string.
1418
1419 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
1420
1421         * gst/gstpreset.c:
1422           Add some comments and TODOs.
1423
1424         * gst/gstpreset.h:
1425           Add padding for future changes.
1426
1427         * plugins/elements/gstqueue.c:
1428           Implement the iface.    
1429
1430 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
1431
1432         * docs/gst/gstreamer-docs.sgml:
1433         * docs/gst/gstreamer-sections.txt:
1434         * docs/gst/gstreamer.types.in:
1435         * gst/Makefile.am:
1436         * gst/gst.h:
1437         * gst/gstpreset.c:
1438         * gst/gstpreset.h:
1439           Add the preset interface (Fixes #396779). Do some doc cleanups along.
1440
1441 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
1442
1443         * configure.ac:
1444
1445         Back to CVS
1446
1447 === release 0.10.15 ===
1448
1449 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
1450
1451         * configure.ac:
1452           releasing 0.10.15, "October"
1453
1454 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
1455
1456         * win32/vs6/libgstreamer.dsp:
1457         Convert line endings back to DOS.
1458
1459 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
1460
1461         * docs/design/draft-tagreading.txt:
1462         * docs/random/ensonic/profiling.txt:
1463         Update fast tagreading draft and performance profiling ideas.
1464
1465 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
1466
1467         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
1468         Don't hold the object lock when unreffing a buffer because it could
1469         cause a deadlock when the finalize function wants to grab the object
1470         lock too. Fixes #495133.
1471
1472 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
1473
1474         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
1475         (gst_segment_to_stream_time), (gst_segment_to_running_time):
1476         Also accumulate time correctly when doing reverse playback. Fixes
1477         #488201,
1478         When converting to running and stream time, use default values for
1479         start/stop/time/accum when comparing different formats. Fixes #494245.
1480
1481         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1482         Do running/stream time in TIME format.
1483
1484         * tests/check/gst/gstsegment.c: (GST_START_TEST),
1485         (gst_segment_suite):
1486         2 new unit tests for segment accumulation.
1487
1488 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1489
1490         * gst/gst.c: (init_pre):
1491         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
1492           (_gst_debug_bin_to_dot_file):
1493           Move getenv() back into gst_init, so everyone can live happily
1494           ever after. Make sure the symbol isn't exported though.
1495
1496 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1497
1498         Patch by: Sebastien Moutte  <sebastien moutte net>
1499
1500         * win32/common/gstenumtypes.c:
1501         * win32/common/gstenumtypes.h:
1502           Update enum types.
1503
1504         * win32/vs6/libgstreamer.dsp:
1505           Update vs6 project files (#494343).
1506
1507 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1508
1509         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
1510         (gst_base_src_perform_seek), (gst_base_src_default_event),
1511         (gst_base_src_set_flushing), (gst_base_src_activate_push),
1512         (gst_base_src_activate_pull):
1513         Unify flushing code, remove some old unlock code that is no longer used.
1514         Take the streaming lock when seeking to avoid races. Fixes #492729.
1515         Added some more comments.
1516
1517 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1518
1519         * gst/gst.c: (_gst_disable_segtrap):
1520           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
1521           we can use gst_segtrap_is_enabled() there now that we have that API.
1522           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
1523           to do the getenv here (and export the variable).
1524
1525         * gst/gstdebugutils.c: (debug_dump_element),
1526           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
1527           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
1528
1529         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
1530           (gst_debug_log_default):
1531           Rename _gst_info_start_time to priv_gst_info_start_time so it
1532           doesn't get exported (was never in any header).
1533
1534         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
1535           (gst_plugin_loading_mutex):
1536           Make static mutex gst_plugin_loading_mutex really static (was never
1537           in any header), and use gst_segtrap_is_enabled() instead of
1538           _gst_disable_segtrap.
1539
1540         * gst/gsttrace.c: (_gst_trace_default):
1541           Make local _gst_trace_default static (was never in any header).
1542
1543 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1544
1545         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
1546
1547         * win32/common/libgstbase.def:
1548         * win32/common/libgstcontroller.def:
1549         * win32/common/libgstdataprotocol.def:
1550         * win32/common/libgstnet.def:
1551         * win32/common/libgstreamer.def:
1552           Add more missing symbols, remove some duplicates, and sort
1553           as the 'sort' command sorts it (partially fixes #493983).
1554
1555 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1556
1557         * gst/gstelement.c: (gst_element_set_state_func):
1558         Only change the state cookie if a different state was set on the
1559         element. See #492729.
1560
1561 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1562
1563         * gst/gstvalue.c:
1564           Remove unused and uninitialised type variables that were still
1565           exported for some reason (they were never in any header files
1566           though).
1567
1568 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1569
1570         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1571         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
1572         (gst_base_sink_event), (gst_base_sink_get_position_last),
1573         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1574         (gst_base_sink_change_state):
1575         Don't try to report a 0 position when we don't know, return -1 and FALSE
1576         instead. This mostly happens when we are prerolling.
1577         Make sure we can report the right position before we post the ASYNC_DONE
1578         message so that a message handler can query position without races.
1579
1580         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1581         (async_done_handoff), (async_done_func), (send_buffer),
1582         (async_done_eos_func), (gst_sinks_suite):
1583         Add two tests for the above.
1584
1585 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1586
1587         * MAINTAINERS:
1588         Update with new email address.
1589
1590         * docs/design/part-TODO.txt:
1591         Add some more info about future pad-block and negotiation changes.
1592
1593         * docs/design/part-buffering.txt:
1594         Add some ideas about buffering reporting.
1595
1596 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
1597
1598         * tests/check/gst/gstobject.c:
1599         Disable silly racy test that always fails on this combination of CPU
1600         and kernel.
1601
1602 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1603
1604         Patch by: Murray Cumming  <murrayc@murrayc.com>
1605
1606         * gst/gstobject.c:
1607           Corrected the registration of the parent-set and parent-unset
1608           signals: The parameter is a GstObject, not a GObject (#493134).
1609
1610 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1611
1612         * gst/gst_private.h:
1613         * gst/gstbuffer.h:
1614         * gst/gstevent.h:
1615         * gst/gstformat.h:
1616         * gst/gstmessage.h:
1617         * gst/gstplugin.h:
1618         * gst/gstquery.h:
1619         * gst/gsttaglist.h:
1620         * gst/gstvalue.h:
1621           Move declaration of private _gst_foo_initialize() functions into
1622           our private header file where they should have been all along.
1623
1624 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1625
1626         * docs/plugins/gstreamer-plugins-sections.txt:
1627         * gst/gstdebugutils.h:
1628         * gst/gstxml.h:
1629         * plugins/elements/gstqueue.c:
1630           gtk-doc fixes; trailing-comma-in-enum fix.
1631
1632 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1633
1634         * gst/gst.c: (gst_deinit):
1635           Clean up on deinit (not the external ones though, doesn't seem to be
1636           needed for some reason).
1637
1638 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1639
1640         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
1641           Remove __declspec(dllimport) for MSVC that was copied over into core
1642           from a plugin, obviously without ever having been tested (note the
1643           single underscore in _declspec in the initial commit), and that doesn't
1644           really make sense.  See #492077.
1645
1646 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1647
1648         * gst/gst.c: (init_post):
1649         * gst/gstevent.c: (_gst_event_initialize):
1650         * gst/gstquery.c: (_gst_query_initialize):
1651         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
1652           g_type_class_ref() other types as well, see #349410 and #64764.
1653
1654         * gst/gstbuffer.c: (_gst_buffer_initialize):
1655         * gst/gstmessage.c: (_gst_message_initialize):
1656           Simplify existing g_type_class_ref().
1657
1658 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1659
1660         * gst/gstformat.c: (_gst_format_initialize):
1661           g_type_class_ref() our GstFormat type to make sure we avoid the
1662           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
1663           bug #64764. Should fix intermittent tee unit test failures (#474823).
1664
1665 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1666
1667         * tests/check/elements/tee.c: (test_num_buffers):
1668           Simplify, simplify, simplify - or not.  Rewrite unit test
1669           not to use gst_parse_launch(); allow N sub-streams. Increasing
1670           the number of sub-streams seems to reproduce #474823 more easily.
1671
1672 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
1673
1674         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
1675
1676         * gst/gsttrace.c:
1677         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1678         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1679         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
1680           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
1681           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
1682           so use _pipe() directly (#492077).
1683
1684         * win32/common/dirent.c: (_treaddir):
1685           Add a couple of casts to make it build without warnings with MSVC.
1686
1687         * win32/common/libgstreamer.def:
1688           Add some more symbols that need to be exported.
1689
1690 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
1691
1692         * tests/examples/metadata/read-metadata.c: (message_loop):
1693           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
1694           arriving in a second or third tag message are added to
1695           the tag list as well.
1696
1697 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
1698
1699         * libs/gst/base/gstbasesrc.c:
1700           Its "Since:" and not "@Since:". And remove an superflous cast.
1701
1702 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
1703
1704         * docs/libs/gstreamer-libs-sections.txt:
1705         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1706         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
1707         (gst_base_sink_get_property), (gst_base_sink_render_object),
1708         (gst_base_sink_preroll_object),
1709         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1710         (gst_base_sink_change_state):
1711         * libs/gst/base/gstbasesink.h:
1712         Add a new last-buffer property that contains the last buffer used in
1713         basesink for preroll or rendering. useful for making snapshots.
1714         API: gst_base_sink_get_last_buffer()
1715         API: GstBaseSink::last-buffer
1716
1717 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
1718
1719         * docs/gst/running.xml:
1720         * gst/gst.c:
1721         * gst/gstdebugutils.c:
1722         * gst/gstdebugutils.h:
1723         * tools/gst-launch.c:
1724           Improve bin graph dumping, by using the envvar to specify a path.
1725           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
1726
1727 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
1728
1729         * plugins/elements/gsttypefindelement.c:
1730           (gst_type_find_element_handle_event),
1731           (gst_type_find_element_activate):
1732           Post special error message if we can't determine the type of a stream
1733           because it's empty.
1734
1735 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
1736
1737         * docs/gst/running.xml:
1738         * gst/gstdebugutils.c:
1739           Document new env-var. Add one log-line after dumpng a graph.
1740
1741 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
1742
1743         * configure.ac:
1744           Ugly hack to put the (recently removed and non-portable, apparently)
1745           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
1746           GNU ld, because without that 'make check' fails miserably on my debian
1747           stable box.  Someone with more knowledge of linker intricacies and
1748           portability issues than me fix this properly please.
1749
1750 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
1751
1752         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1753         Reset last seen position after flushing so that we don't report the old
1754         position anymore.
1755
1756 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
1757
1758         * gst/gstelementfactory.c: (gst_element_register):
1759         * gst/gsturi.h:
1760         Patch from Alessandro Decina adding get_type_full and
1761         get_protocols_full private vfuncs to the URIHandler interface
1762         to allow bindings to support creating URI handlers. 
1763         Partially fixes: #339279
1764         API: GstURIHandlerInterface::get_type_full
1765         API: GstURIHandlerInterface::get_protocols_full
1766
1767 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
1768
1769         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1770         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
1771         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
1772         Make it so that pads are considered linked until a buffer is pushed
1773         and discovered otherwise. This avoids problems with decodebin2 hanging
1774         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
1775         case.
1776
1777         Make sure we lock the multiqueue when updating the max-size properties.
1778         
1779         Fix a crash on Solaris in a debug statement in get_request_pad that
1780         passes a NULL string to GST_DEBUG. 
1781
1782         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1783         (run_output_order_test):
1784         Fix the test to allow the first buffer on not-linked pads to come out
1785         of sequence while multiqueue discovers that they are not-linked.
1786
1787 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
1788
1789         * configure.ac:
1790         * libs/gst/check/Makefile.am:
1791         Use a custom export symbol regex for libgstcheck, as it needs
1792         to export symbols that don't match the standard GStreamer gst_*
1793         pattern, and  --export-dynamic is not portable (only works on 
1794         GNU ld)
1795
1796         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1797         (gst_check_setup_sink_pad):
1798         Make sure to pass a message parameter to the fail_* macros.
1799
1800         * tests/check/gst/gstinfo.c: (GST_START_TEST):
1801         Fix some compiler warnings.
1802
1803 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
1804
1805         * tests/check/gst/gststructure.c: (test_to_string):
1806           Disable test that checks that white spaces are not allowed
1807           in structure names or field names, since we need to
1808           support that for now for backwards compatibility reasons.
1809
1810 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
1811
1812         * docs/gst/gstreamer-sections.txt:
1813         * gst/gsttaglist.c:
1814         * gst/gsttaglist.h:
1815           API: add GST_TAG_ARTIST_SORTNAME
1816           API: add GST_TAG_ALBUM_SORTNAME
1817           API: add GST_TAG_TITLE_SORTNAME
1818           Add tag variants for sorting (#414539).
1819
1820 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
1821
1822         * gst/gststructure.c:
1823           Also allow white space for names so we don't break
1824           backwards compatibility.
1825
1826 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
1827
1828         * docs/design/part-TODO.txt:
1829         * docs/design/part-segments.txt:
1830         * docs/design/part-streams.txt:
1831         Small updates.
1832
1833 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
1834
1835         * docs/gst/gstreamer-sections.txt:
1836          Fixed documentation from my previous commit (added new API add
1837          gst_value_set_structure(), add gst_value_get_structure() and
1838          GST_VALUE_HOLDS_STRUCTURE).
1839
1840 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
1841
1842         * gst/gstdebugutils.c:
1843           Reflow code to fix uninitialized variable warning.
1844
1845 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
1846
1847         * gst/gstcaps.c: (gst_caps_to_string),
1848         (gst_caps_from_string_inplace):
1849         * gst/gststructure.c: (gst_structure_get_abbrs),
1850         (gst_structure_to_string), (gst_structure_from_string):
1851         * gst/gstvalue.c: (gst_value_set_structure),
1852         (gst_value_get_structure), (gst_value_serialize_structure),
1853         (gst_value_deserialize_structure), (_gst_value_initialize):
1854         * gst/gstvalue.h:
1855         * tests/check/gst/gststructure.c: (GST_START_TEST),
1856         (gst_structure_suite):
1857         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1858          Added GstStructure to gst_value_table and its related functions.
1859          Changed gst_structure_to_string to print ';' in the end.
1860          Changed gst_caps_to_string to not print ';' beteween its
1861          fields (structures) anymore and remove the lastes ';' from latest
1862          structure. Now it is possible to have nested structures.
1863          In addition, backward compatibilty is assured by accepting '\0' as
1864          end delimiter. Fixes: #487969.
1865          API: add gst_value_set_structure()
1866          API: add gst_value_get_structure()
1867          API: add GST_VALUE_HOLDS_STRUCTURE
1868
1869 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
1870
1871         * gst/gstbus.c:
1872           When no GSource callback has been set up, tell developer
1873           to use a function that actually exists.
1874
1875 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
1876
1877         * docs/gst/gstreamer-sections.txt:
1878         * gst/Makefile.am:
1879         * gst/gst.c:
1880         * gst/gst.h:
1881         * gst/gstdebugutils.c:
1882         * gst/gstdebugutils.h:
1883         * gst/gstinfo.c:
1884         * gst/gstinfo.h:
1885         * tools/gst-launch.c:
1886           Allow dumping pipelines as dot graphs. Fixes #456573.
1887
1888 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1889
1890         * gst/gststructure.c:
1891           Allow '+' as well, it can be part of media or mime types
1892           such as image/svg+xml.
1893
1894 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1895
1896         * docs/gst/gstreamer-sections.txt:
1897         * gst/gstbus.c:
1898         * gst/gstbus.h:
1899           API: add gst_bus_pop_filtered
1900           API: add gst_bus_timed_pop_filtered
1901           Two new functions for waiting for specific message types on the
1902           bus for a specified amount of time without iterating any main
1903           loops or main contexts.
1904
1905         * tests/check/gst/gstbus.c:
1906           Some tests for the new functions.
1907
1908 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1909
1910         * docs/libs/gstreamer-libs-sections.txt:
1911           Make gtk-doc ignore stuff it should ignore.
1912
1913 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1914
1915         * libs/gst/check/gstcheck.c:
1916         * libs/gst/check/gstcheck.h:
1917           Allow runtime selection of unit tests to run via the GST_CHECKS
1918           environment variable (test case function names, comma-separated).
1919
1920 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
1921
1922         * gst/gststructure.c:
1923         * tests/check/gst/gststructure.c:
1924           Revert serialisation change and constrain structure-names after
1925           consensus on irc. Update api documentation to reflect the change.
1926
1927 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
1928
1929         * gst/gststructure.c:
1930           Improve serialization and fix tests.
1931
1932         * tests/check/gst/gststructure.c:
1933           Add another test that covers why I actually did the previous structure
1934           change.
1935
1936 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
1937
1938         * tools/gst-inspect.c: (print_element_info):
1939         Don't crash when inspecting an element.
1940
1941 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
1942
1943         * tests/check/gst/gststructure.c:
1944           Add unit test for escaping of structure name when serialising
1945           and deserialising to/from strings.
1946
1947 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
1948
1949         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1950         (gst_single_queue_new):
1951         * plugins/elements/gstqueue.c: (gst_queue_init),
1952         (gst_queue_push_one):
1953         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
1954         upstream is tricked into thinking it can suggest a format downstream
1955         while downstream does not support that format. The real problem is that
1956         core calls acceptcaps when pushing a buffer with new caps, for which we
1957         do a little workaround by setting the caps on the srcpad ourselves
1958         before pushing the buffer (until this is figured out). Fixes #486758.
1959
1960 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1961
1962         * gst/gststructure.c:
1963         * gst/gstvalue.c:
1964           Add some more comments and debug output. Quote structure name to fix
1965           deserialisation of some strings.
1966
1967 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1968
1969         * gst/gstbuffer.h:
1970           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
1971           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
1972
1973 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1974
1975         * tools/gst-inspect.c:
1976           Save approx. 400 1 byte allocs when printing. Use API to acces element
1977           details.
1978
1979         * tools/gst-run.c:
1980           Avoid a strdup.
1981
1982         * tools/gst-xmlinspect.c:
1983           Use API to acces element details.
1984
1985 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1986
1987         * gst/gstinfo.c:
1988           Fix some spelling errors.
1989
1990 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
1991
1992         * gst/gstbin.c: (bin_handle_async_done):
1993         Correctly set the next state if all of our async children commited their
1994         state. This makes sure we can actually cancel the state change in
1995         progress. Fixes a regression in Rhythmbox when seeking.
1996
1997 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
1998
1999         * gst/gstbin.c:
2000           Don't shadow local variable.
2001
2002         * gst/gstinfo.c:
2003           Don't shadow global function name.
2004
2005 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2006
2007         * gst/gstelementfactory.c:
2008         * gst/gstpluginfeature.c:
2009         * gst/gstpluginfeature.h:
2010         * gst/gstregistrybinary.c:
2011         * gst/gstregistryxml.c:
2012         * gst/gsttypefind.c:
2013           Use already-interned string for the private GstPluginFeature
2014           plugin_name field.
2015
2016 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2017
2018         * docs/libs/gstreamer-libs-sections.txt:
2019           Add new API to docs; fixes the build.
2020
2021 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
2022         
2023         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
2024
2025         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
2026         (gst_base_sink_event):
2027         * libs/gst/base/gstbasesink.h:
2028         Add function to wait for EOS, subclasses can use this to correctly wait
2029         for devices to drain before performing the EOS logic. Fixes #485343.
2030         API: gst_base_sink_wait_eos()
2031
2032 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2033
2034         * gst/gstplugin.h:
2035           Cast description string constants in GST_PLUGIN_DEFINE macros
2036           to a (gchar*) to make C++ code using these macros compile
2037           without warning with g++-4.2 (see #462737).  Even if slightly
2038           ugly, this seems preferable to putting the description strings
2039           into the GLib quark table or making the structure member a
2040           const gchar * and doing casts in core code that allocs and
2041           frees these strings, or requiring a cast in the C++ code.
2042
2043 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2044
2045         * gst/gstinfo.h:
2046           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
2047           to print the entire class/function signature into the log
2048           file for C++ code.  This only affects C++ code, for C code
2049           everything remains the same.
2050
2051 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
2052
2053         * gst/gstbin.c: (remove_from_queue):
2054         Work around a problem with pipelines containing (semi)loops until a
2055         proper, more complicated solution is ready. See #475455.
2056
2057 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2058
2059         * gst/gstplugin.c:
2060         * gst/gstplugin.h:
2061         * gst/gstregistrybinary.c:
2062         * gst/gstregistryxml.c:
2063           Put more strings into the GLib quark table. No need to keep
2064           a hundred-something copies of identical version strings,
2065           license strings, package name strings and package origin
2066           strings around. 
2067
2068 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2069
2070         * docs/manual/advanced-dataaccess.xml:
2071           Don't imply that it's okay to unconditionally change
2072           buffer data or buffer metadata in a pad probe callback,
2073           and a bunch of other comments. Fixes #430031.
2074
2075 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2076
2077         * win32/common/gstenumtypes.c:
2078         * win32/common/gstenumtypes.h:
2079         * win32/common/gstversion.h:
2080           Update generated files.
2081
2082 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2083
2084         * docs/manual/advanced-autoplugging.xml:
2085           Prefix section with broken code with a warning (see #342432).
2086
2087 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2088
2089         * docs/manual/appendix-integration.xml:
2090         * docs/manual/basics-init.xml:
2091           Call g_thread_init() before g_option_context_new() to
2092           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
2093
2094 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2095
2096         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2097         (gst_base_sink_queue_object_unlocked),
2098         (gst_base_sink_queue_object), (gst_base_sink_event),
2099         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
2100         When we received EOS and are waiting for when to post the EOS message,
2101         our state is prerolled and we should not return ASYNC.
2102         Reorganize some code paths to implement this behavior.
2103
2104         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2105         (gst_sinks_suite):
2106         Add unit test to verify above EOS fix.
2107
2108 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2109
2110         * plugins/elements/gsttypefindelement.c:
2111         (gst_type_find_element_have_type), (gst_type_find_element_init),
2112         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
2113         Move detecting the input caps of the sinkpad to the setcaps function.
2114         This allows us to update the output caps when we receive new input caps
2115         instead of always using the first detected caps.
2116
2117 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2118
2119         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2120         (gst_base_sink_get_position):
2121         Don't try to preroll non-async elements after a flush.
2122         Subtract latency form clock times when reporting position.
2123
2124 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2125
2126         * gst/gstpad.c: (gst_pad_pause_task):
2127         * gst/gstutils.c:
2128         Small comment and documentation update.
2129
2130 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2131
2132         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2133         (gst_base_src_set_live), (gst_base_src_is_live),
2134         (gst_base_src_query_latency), (gst_base_src_perform_seek),
2135         (gst_base_src_default_event), (gst_base_src_wait),
2136         (gst_base_src_do_sync), (gst_base_src_get_range),
2137         (gst_base_src_pad_get_range), (gst_base_src_loop),
2138         (gst_base_src_unlock), (gst_base_src_unlock_stop),
2139         (gst_base_src_set_flushing), (gst_base_src_set_playing),
2140         (gst_base_src_activate_push), (gst_base_src_activate_pull),
2141         (gst_base_src_change_state):
2142         Rework the locking of basesrc in a similar fashion to basesink. We
2143         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
2144         us to handle live sources and semi live ones much better.
2145         Simplify flushing.
2146         Fix unlocking when seeking, shutting down and pausing in live sources.
2147
2148 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2149
2150         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
2151         Fix compilation again.
2152
2153 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2154
2155         * gst/gstelement.c:
2156           Use meaningful categories for the logs to clean the default one.
2157
2158 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2159
2160         * tests/check/pipelines/cleanup.c:
2161           Print message name and not just number.
2162
2163 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2164
2165         * docs/design/draft-tagreading.txt:
2166           Add some more thoughts.
2167
2168 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2169
2170         * tests/check/pipelines/simple-launch-lines.c:
2171           Print message name and not just number.
2172
2173 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2174
2175         * libs/gst/base/gsttypefindhelper.c:
2176           Speedup typefinding. This is work in progress (see #459862).
2177
2178 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2179
2180         * gst/gstplugin.c:
2181           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
2182           Spotted by Josep Torra Valles <josep@fluendo.com>.
2183
2184 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
2185
2186         * gst/gstclock.h:
2187           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
2188           field has moved to GstObject.
2189
2190 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
2191
2192         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
2193         (gst_base_src_get_range), (gst_base_src_change_state):
2194         Call unlock for live sources so that they can't get stuck in _create and
2195         produce a buffer before they are set back to PLAYING.
2196
2197 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
2198
2199         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2200         (gst_queue_locked_dequeue):
2201         Comment the segment-related code... in the PROPER function.
2202         See #482147 and my commit from yesterday.
2203
2204 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
2205
2206         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2207         Also initialize the counter that calculates the first timestamp on a
2208         buffer correctly for non-live sources.
2209
2210 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
2211
2212         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
2213         Disable code that's breaking the current-time-level reporting.
2214         See #482147
2215
2216 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
2217
2218         * docs/gst/gstreamer-sections.txt:
2219         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
2220         as they shouldn't show up. Fixes the docs build.
2221
2222 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
2223         
2224         * gst/gstinfo.h:
2225         Add an explicit variable importation needed on VS6 (only for MSC_VER)
2226         Define M_PI which is used in files which are including gstinfo.h. 
2227         VS6 includes doesn't define it.
2228         * win32/common/libgstbase.def:
2229         * win32/common/libgstcontroller.def:
2230         * win32/common/libgstreamer.def:
2231         Add new exported functions and variables.
2232         * win32/vs6/libgstcontroller.dsp:
2233         * win32/vs6/libgstreamer.dsp:
2234         Update the list of files to build.
2235         
2236 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
2237
2238         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2239
2240         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
2241         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
2242         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
2243         Improve debugging. Fixes #480858.
2244
2245 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
2246
2247         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2248
2249         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2250         First patch of code cleanups, use the macros and right arguments in the
2251         macros to signal and lock the queue. See #480858.
2252
2253 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
2254
2255         * gst/gstbus.c: (poll_func):
2256         Improve debugging when dealing with _poll().
2257
2258 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
2259
2260         * gst/gstregistryxml.c:
2261           Fix memory leak I introduced a few days ago.
2262
2263 2007-09-26  Michael Smith <msmith@fluendo.com>
2264
2265         * gst/gstbuffer.c: (gst_buffer_finalize):
2266           Make it once again possible to free GstBuffers in the default
2267           build.
2268           The poisoning scribbles on parts of the miniobject we need in
2269           order to free it.
2270           Fixes #480341
2271
2272 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
2273
2274         * docs/gst/gstreamer-sections.txt:
2275         * gst/gsttaglist.c:
2276         * gst/gsttaglist.h:
2277         API: add GST_TAG_COMPOSER, fixes #459809.
2278
2279 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
2280
2281         * gst/gstplugin.c:
2282         * gst/gstplugin.h:
2283         Add the 3-clause BSD license and the MIT/X11 license to the license
2284         list. Fixes #479784.
2285
2286 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
2287
2288         * docs/faq/getting.xml:
2289           Add Q+A about different GStreamer versions (#364056).
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_change_state):
2295         Return correct gboolean from query function.
2296
2297 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2298
2299         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2300         (gst_base_sink_event), (gst_base_sink_query),
2301         (gst_base_sink_change_state):
2302         Simplify latency query.
2303         When not synchronizing, we can report latency without querying the peer
2304         element.
2305
2306 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2307
2308         * gst/gstobject.h:
2309         * gst/gstvalue.c:
2310         Fix small typos in the docs.
2311
2312 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2313
2314         * docs/design/draft-latency.txt:
2315         * docs/design/draft-push-pull.txt:
2316         * docs/design/draft-tagreading.txt:
2317         * docs/design/part-MT-refcounting.txt:
2318         * docs/design/part-activation.txt:
2319         * docs/design/part-block.txt:
2320         * docs/design/part-element-source.txt:
2321         * docs/design/part-events.txt:
2322         * docs/design/part-gstbin.txt:
2323         * docs/design/part-gstelement.txt:
2324         * docs/design/part-gstobject.txt:
2325         * docs/design/part-gstpipeline.txt:
2326         * docs/design/part-messages.txt:
2327         * docs/design/part-preroll.txt:
2328         * docs/design/part-push-pull.txt:
2329         * docs/design/part-qos.txt:
2330         * docs/design/part-query.txt:
2331         * docs/design/part-scheduling.txt:
2332         * docs/design/part-seeking.txt:
2333         * docs/design/part-segments.txt:
2334         * docs/design/part-states.txt:
2335         Documentation updates and typo fixes.
2336
2337 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
2338
2339         * plugins/elements/gstfakesink.c:
2340           Add some debug text to error message to indicate that
2341           we errored out on request.
2342
2343         * tools/gst-launch.c:
2344           When the state change to PLAYING fails, check for an
2345           error message on the bus and print it.
2346
2347 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2348
2349         translated by: Jorge González González <aloriel@gmail.com>
2350
2351         * po/LINGUAS:
2352         * po/es.po:
2353           Added Spanish translation.
2354
2355 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
2356
2357         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2358         Fix printf arguments.
2359
2360 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
2361
2362         * tests/check/generic/states.c:
2363           Improved state change unit test.
2364
2365 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
2366
2367         * gst/gstbin.h:
2368           Move priv to the right place.
2369
2370         * gst/gstsystemclock.c:
2371           Add FIXME: and improve log.
2372
2373         * tests/check/Makefile.am:
2374         * tests/examples/manual/Makefile.am:
2375           Work with all types of registries.
2376
2377 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
2378
2379         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2380         Don't unref the event after pushing it. Fixes #478401.
2381
2382 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
2383
2384         * .cvsignore:
2385         * tests/examples/manual/.cvsignore:
2386           Ignore registries in any format.
2387
2388 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
2389
2390         * gst/glib-compat-private.h:
2391           Add compatibility macro for g_intern_string() for
2392           GLib-2.8 (any reason we can't just bump the
2393           requirement to at least 2.10?)
2394
2395         * gst/gstpadtemplate.h:
2396         * gst/gstelementfactory.c:
2397         * gst/gstregistryxml.c:
2398         * gst/gstregistrybinary.c:
2399           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
2400           up the internal code accordingly.  This shouldn't be a problem, since
2401           there is no reason external code could ever assume the string in such
2402           a structure is dynamically allocated unless it did that itself;  the
2403           use of g_strdup() is private to element factories.  The new code also
2404           saves some memory by putting pad template name strings into the GLib
2405           quark table instead of allocating them dynamically.
2406           Declaring this field constant fixes warnings with g++-4.2 when using
2407           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
2408
2409 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
2410
2411         * gst/gstelementfactory.c:
2412           Release static caps. Fixes #475723.
2413
2414 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
2415
2416         * gst/gstinfo.c:
2417         * gst/gstinfo.h:
2418           Make some internal API take const gchar * instead of just
2419           gchar * to avoid compiler warnings with g++-4.2.2 when
2420           passing string constants (partially fixes #478092).
2421
2422 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
2423
2424         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
2425         A latency query fails when one of the sinks fail.
2426
2427         * gst/gstelement.c: (gst_element_set_base_time):
2428         Improve debugging.
2429
2430 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
2431
2432         * gst/gstbin.c: (gst_bin_continue_func):
2433         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2434         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
2435         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
2436
2437         Fix minor compilation warnings shown with Forte.
2438
2439 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
2440
2441         * plugins/elements/gstqueue.c: (apply_buffer),
2442         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
2443         Measure queue level based on the diff between head and tail timestamps
2444         even when pushing the first buffer.
2445
2446 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
2447
2448         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2449         (gst_base_sink_event), (gst_base_sink_change_state):
2450         Sinks that don't preroll can always be queried for the latency.
2451         Don't post ASYNC start when we are not async.
2452
2453 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
2454
2455         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2456         (gst_queue_handle_sink_event), (gst_queue_chain),
2457         (gst_queue_push_one), (gst_queue_handle_src_query),
2458         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
2459         * plugins/elements/gstqueue.h:
2460         When downstream returns UNEXPECTED from pushing a buffer, don't try to
2461         push more buffers but allow pushing of EOS and NEWSEGMENT.
2462         Add some more debug info here and there. Fixes #476514.
2463
2464 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
2465
2466         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2467         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
2468         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2469         (gst_base_sink_set_flushing), (gst_base_sink_query),
2470         (gst_base_sink_change_state):
2471         Latency query is allowed after we are prerolled. Introduce a new flag
2472         for this and stop abusing other variables.
2473
2474 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2475
2476         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2477         Push OOB events downstream when we get them in send_event. This allows
2478         the application to insert events in the pipeline.
2479         Add some more comments.
2480
2481 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2482
2483         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
2484         (do_bin_latency), (gst_bin_change_state_func):
2485         * gst/gstpipeline.c: (gst_pipeline_change_state):
2486         Move latency query from GstPipeline to GstBin so that we can also
2487         use it when async-handling is enabled on bins.
2488
2489 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2490
2491         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2492         (gst_base_src_do_sync), (gst_base_src_change_state):
2493         Update docs.
2494         Clean up the timestamping and syncing code for pseudo live sources.
2495
2496 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
2497
2498         Patch by: Steve Fink  <sphink gmail com>
2499
2500         * docs/manual/appendix-checklist.xml:
2501           Mention less -R switch in the section about debug output (#474055).
2502
2503 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2504
2505         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2506         Queue can latency to the pipeline up to the configured max size in time.
2507         Report this fact in the latency query.
2508
2509 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
2510
2511         Patch by: Sebastien Moutte <sebastien at moutte dot net>
2512
2513         * libs/gst/controller/gstinterpolation.c:
2514         * libs/gst/controller/gstlfocontrolsource.c:
2515         Use gst_guint64_to_gdouble() when converting from a uint64 or
2516         GstClockTime to double to fix the build on win32. Fixes #474371.
2517
2518 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
2519
2520         * gst/gstbuffer.c: (gst_buffer_finalize):
2521         Implement poisoning for GstBuffer if --enable-poisoning is specified.
2522         When finalizing a buffer the complete struct is filled with 0xff,
2523         thus making a use of the buffer after the final unref impossible.
2524
2525 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
2526
2527         * tests/check/libs/controller.c: (GST_START_TEST):
2528         Use fail_unless_equals_int(a, b) instead of
2529         fail_unless_equals (a == b) to get better output on failures.
2530
2531 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
2532
2533         * tests/check/gst/gsturi.c:
2534           Also check for the other file URI variant on win32.
2535
2536 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
2537
2538         * gst/gsturi.c: (gst_uri_get_location):
2539           If there's no hostname, we want to return 'c:/foo/bar.txt'
2540           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
2541
2542         * tests/check/gst/gsturi.c:
2543           Unit test for the above and a few more things.
2544
2545 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
2546
2547         * docs/design/part-live-source.txt:
2548         Add docs on how live sources should timestamp.
2549
2550         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2551         Add some more debug info.
2552         For subclasses that are live and like to sync, add aditional startup
2553         latency to sync time and timestamps so that we timstamp according to the
2554         design doc.
2555
2556 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
2557
2558         * gst/gstbuffer.c:
2559           Also do a g_type_class_ref() for the subbuffer type in
2560           the init function.
2561
2562 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
2563
2564         * docs/gst/gstreamer-sections.txt:
2565         * gst/gstpad.c: (gst_pad_peer_query):
2566         * gst/gstpad.h:
2567         Add function to perform a query on the peer of a pad.
2568         API: gst_pad_peer_query()
2569
2570 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
2571
2572         * tests/check/gst/gstsystemclock.c:
2573           Cleanup the test a little (use gst-logging and not g_message). Improve
2574           test to check if a wait reached the target.
2575
2576 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
2577
2578         * docs/libs/gstreamer-libs-sections.txt:
2579           Add new API to docs and fix the build.
2580
2581 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
2582
2583         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2584         (gst_base_src_init), (gst_base_src_set_do_timestamp),
2585         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
2586         (gst_base_src_get_property), (gst_base_src_do_sync):
2587         * libs/gst/base/gstbasesrc.h:
2588         Add property to make the basesrc timestamp buffers based on the current
2589         running time.
2590         API: GstBaseSrc::do-timestamp
2591         API: gst_base_src_set_do_timestamp()
2592         API: gst_base_src_get_do_timestamp()
2593
2594 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
2595
2596         * docs/random/release:
2597           Really make sure translations are up-to-date before
2598           a release (#465010).
2599
2600 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
2601
2602         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2603         Always destroy the timer, also in error cases.
2604
2605 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
2606
2607         * docs/manual/highlevel-xml.xml:
2608         Fix XML example code. Fixes #472714.
2609
2610 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
2611
2612         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2613         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2614         (gst_base_sink_query):
2615         Protect eos and have_preroll with the OBJECT lock so we don't need to
2616         take the PREROLL lock when querying the latency. Fixes #473846.
2617
2618 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
2619
2620         * gst/gstelement.c:
2621           Give some log-messages a category.
2622
2623 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
2624
2625         * gst/gststructure.c:
2626         (gst_structure_fixate_field_nearest_fraction):
2627         Fix fraction list fixation code. Take the fraction with the smallest
2628         difference with the target instead of the first one in the list.
2629
2630         * tests/check/gst/gststructure.c: (GST_START_TEST),
2631         (gst_structure_suite):
2632         Added test to verify correct fraction list fixation behaviour.
2633
2634 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
2635
2636         * win32/common/libgstreamer.def:
2637           Export gst_bus_add_signal_watch too.
2638
2639 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
2640
2641         * docs/libs/gstreamer-libs-sections.txt:
2642         Add new methods to docs.
2643
2644         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2645         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
2646         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
2647         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
2648         * libs/gst/base/gstbasesink.h:
2649         Add ts-offset property to fine-tune the synchronisation.
2650         API: GstBaseSink::ts-offset property
2651         API: gst_base_sink_set_ts_offset()
2652         API: gst_base_sink_get_ts_offset()
2653
2654 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
2655
2656         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2657         (gst_base_sink_init), (gst_base_sink_set_sync),
2658         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2659         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
2660         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
2661         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
2662         (gst_base_sink_get_property), (gst_base_sink_change_state):
2663         * libs/gst/base/gstbasesink.h:
2664         Add async property to instruct the sink never to inform the parent about
2665         ASYNC state changes, update docs.
2666         Check argument with g_return_* for the public functions.
2667         API: GstBaseSink::async property
2668         API: gst_base_sink_set_async_enabled()
2669         API: gst_base_sink_is_async_enabled()
2670
2671 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
2672
2673         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
2674         Improve debugging.
2675
2676         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2677         (gst_base_src_default_query), (gst_base_src_wait),
2678         (gst_base_src_do_sync), (gst_base_src_change_state):
2679         Rearrange some code so that we can add support for measuring the 
2680         startup latency.
2681
2682 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
2683
2684         * docs/random/ensonic/dynlink.txt:
2685           More thoughs on this.
2686
2687         * plugins/elements/gstcapsfilter.c:
2688           Add bugzilla ticket number to FIXME comment.
2689
2690 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
2691
2692         * docs/design/part-TODO.txt:
2693         * docs/design/part-block.txt:
2694         Update some docs.
2695
2696 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2697
2698         * gst/Makefile.am:
2699           Revert patch which uses $(gst_headers) instead of $^ because it
2700           breaks make dist.
2701
2702 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2703
2704         * tests/check/gst/gstbin.c: (GST_START_TEST):
2705           Fix leaks in the new unit test.
2706
2707 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
2708
2709         * gst/gst.c:
2710           Don't use GST_INFO before the debug system is actually initialised
2711           (shouldn't do any harm, but won't print anything either, so we can
2712           just as well remove it).
2713
2714         * gst/gstinfo.h:
2715           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
2716           compilers that don't support variadic macros (such as MSVC), should
2717           check for debug_level <= __gst_debug_min as well, since that's the
2718           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
2719           inline helper functions. Should improve performance a bit, but also
2720           makes sure uses of GST_INFO et.al are ignored if the debugging
2721           system isn't initialised yet (instead of printing an assertion
2722           failure).
2723
2724 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
2725
2726         patch by: David Nečas <yeti@physics.muni.cz>
2727
2728         * gst/Makefile.am:
2729           Replace some non portable makefile constructs.
2730
2731 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
2732
2733         * common/gtk-doc-plugins.mak:
2734           Grrrrr. Don't remove the types file on make clean.
2735
2736 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
2737
2738         * tools/gst-launch.1.in:
2739         Add colorspace to example pipeline. Fixes #458274.
2740
2741 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
2742
2743         * docs/random/release:
2744           The release manager should run 'make download-po' before making a
2745           release to make sure translations are up-to-date.
2746
2747         * po/LINGUAS:
2748         * po/be.po:
2749         * po/pl.po:
2750         * po/rw.po:
2751           Add some new translations.
2752
2753 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
2754
2755         * tools/gst-launch.c: (event_loop), (main):
2756         Don´t try to do any state management when a live pipeline posts
2757         buffering messages.
2758         Also make the buffering string translatable.
2759
2760 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
2761
2762         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
2763         (bin_handle_async_start), (gst_bin_handle_message_func):
2764         Improve debugging.
2765         When adding elements, insert messages into the bus of the newly added
2766         element and make sure the element is the source of the message. This
2767         allows the parent bin to intercept the message and do the
2768         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
2769         messages to the app (which is not allowed).
2770         Update some docs.
2771
2772         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2773         Fix testsuite so that is does not work around messages that should not
2774         have been posted in the first place.
2775
2776 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
2777
2778         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
2779         (update_degree), (gst_bin_sort_iterator_next):
2780         Fix annoying bug in the sorted iterator where a sink that is not really
2781         a sink (when it has downstream links) screwed up the iterator.
2782
2783         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2784         Unit test to verify the fix.
2785
2786 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
2787
2788         * gst/gstmessage.h:
2789         Add some more docs for the messages.
2790
2791         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2792         (gst_base_sink_query):
2793         Add some more debugging.
2794
2795         * tools/gst-launch.c: (event_loop):
2796         When interrupting, don't try to set pipeline to PAUSED twice.
2797
2798 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
2799
2800         
2801         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
2802         (bin_handle_async_start), (gst_bin_handle_message_func):
2803         Move ASYNC_START message posting to where it belongs, similar to
2804         async_done. 
2805         Don't post ASYNC_START when we are in error. 
2806         Post ASYNC_START when we added an async element to a bin.
2807
2808 2007-08-14  Julien MOUTTE  <julien@moutte.net>
2809
2810         * gst/gstindex.c: (gst_index_add_association): Fix index entry
2811         generation from vargs. Fixes #466595.
2812
2813 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
2814
2815         * gst/gstbin.c: (gst_bin_element_set_state):
2816         Always change the state of a NO_PREROLL element even if it has ASYNC
2817         elements inside (in case of a bin).
2818
2819         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
2820         Unit test for this case.
2821
2822 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
2823
2824         * libs/gst/check/gstbufferstraw.c:
2825         * libs/gst/check/gstcheck.h:
2826         * libs/gst/controller/gstcontroller.c:
2827         * libs/gst/controller/gstcontrolsource.h:
2828         * libs/gst/controller/gstlfocontrolsource.h:
2829         * plugins/elements/gstcapsfilter.h:
2830         * plugins/elements/gstfdsink.h:
2831         * plugins/elements/gstfdsrc.h:
2832           Add more missing docs.
2833
2834 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
2835
2836         * gst/gststructure.c:
2837         Add Since tag to docs.
2838
2839 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
2840
2841         * docs/gst/gstreamer-sections.txt:
2842         * gst/gststructure.c: (gst_structure_get_uint):
2843         * gst/gststructure.h:
2844         Add function to get uint from a structure.
2845         API: gst_structure_get_uint()
2846
2847 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
2848
2849         * gst/gstcaps.c: (gst_caps_set_simple_valist),
2850         (gst_caps_intersect):
2851         Fix proper check for simple caps.
2852
2853 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
2854
2855         * docs/gst/Makefile.am:
2856         * docs/libs/Makefile.am:
2857           Remove cruft and do some cleanups.
2858
2859         * docs/gst/gstreamer-docs.sgml:
2860         * docs/libs/gstreamer-libs-docs.sgml:
2861           Prepare for comming gtkdoc features (rebase against online docs).
2862
2863 2007-08-10  Michael Smith <msmith@fluendo.com>
2864
2865         * docs/gst/gstreamer-sections.txt:
2866           Add gst_registry_add_path to docs.
2867
2868 2007-08-10  Michael Smith <msmith@fluendo.com>
2869
2870         * gst/gstregistry.h:
2871           Add gst_registry_add_path, which was missing from this header.
2872
2873 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
2874
2875         * libs/gst/controller/gstlfocontrolsource.c:
2876           Printf format fix.
2877
2878 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
2879
2880         * libs/gst/base/gstbasesink.c:
2881           Don't send an async_start message during downwards state change if 
2882           target state is less than READY
2883
2884 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2885
2886         translated by: Gabor Kelemen <kelemeng@gnome.hu>
2887
2888         * po/LINGUAS:
2889         * po/hu.po:
2890           Added Hungarian translation.
2891
2892 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2893
2894         * po/fi.po:
2895         * po/it.po:
2896         * po/nl.po:
2897         * po/sv.po:
2898         * po/uk.po:
2899           Updated translations.
2900
2901 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
2902
2903         * libs/gst/controller/Makefile.am:
2904         Dist gstlfocontrolsourceprivate.h
2905
2906 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
2907
2908         * docs/libs/gstreamer-libs.types:
2909         Don't register the enum type gst_lfo_waveform_get_type() in the
2910         .types file - only GObject derived types belong.
2911
2912 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
2913
2914         Patch by: <arenevier at fdn dot fr>
2915
2916         * gst/gstbuffer.h:
2917         Remove comma from last element in enum to avoid compile errors when
2918         using -pendantic. Fixes #464366.
2919
2920 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
2921
2922         * docs/design/part-TODO.txt:
2923         Add some more TODO items
2924
2925         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
2926         Improve debugging.
2927
2928         * gst/gstcaps.c: (gst_caps_intersect):
2929         Optimize trivial intersection case between identical caps pointers.
2930
2931         * gst/gstelement.c: (gst_element_continue_state),
2932         (gst_element_set_state_func):
2933         * gst/gstpad.c:
2934         Fix spelling and grammar mistakes.
2935
2936 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
2937
2938         * po/POTFILES.in:
2939         * po/POTFILES.skip:
2940           Update POTFILES. Fixes #461599.
2941
2942 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
2943
2944         * gst/gst.c:
2945         Fix confusing typo in debug output.
2946
2947 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
2948
2949         reviewed by: Stefan Kost <ensonic@users.sf.net>
2950
2951         * libs/gst/controller/Makefile.am:
2952         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
2953         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
2954         (gst_lfo_control_source_new),
2955         (gst_lfo_control_source_set_waveform),
2956         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
2957         (gst_lfo_control_source_finalize),
2958         (gst_lfo_control_source_dispose),
2959         (gst_lfo_control_source_set_property),
2960         (gst_lfo_control_source_get_property),
2961         (gst_lfo_control_source_class_init):
2962         * libs/gst/controller/gstlfocontrolsource.h:
2963         * libs/gst/controller/gstlfocontrolsourceprivate.h:
2964         API: Add GstLFOControlSource, a control source that gives values
2965         for specific timestamps based on several periodic waveforms.
2966         Fixes #459717.
2967
2968         * tests/check/libs/controller.c: (GST_START_TEST),
2969         (gst_controller_suite):
2970         * docs/libs/gstreamer-libs-docs.sgml:
2971         * docs/libs/gstreamer-libs-sections.txt:
2972         * docs/libs/gstreamer-libs.types:
2973         Add documentation and unit tests for GstLFOControlSource.
2974
2975 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
2976
2977         * configure.ac:
2978         Back to CVS
2979
2980 === release 0.10.14 ===
2981
2982 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
2983
2984         * configure.ac:
2985           releasing 0.10.14, "Breathing Vacuum"
2986
2987 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
2988
2989         * gst/gstelement.c: (gst_element_class_set_details_simple):
2990         * gst/gstelement.h:
2991           Make strings passed to gst_element_class_set_details_simple()
2992           constant, as they should be (#462752).
2993
2994 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
2995
2996         * gst/gstbin.c: (gst_bin_change_state_func),
2997         (bin_handle_async_done), (gst_bin_handle_message_func):
2998         Don't forget about the fact that some element went ASYNC even after a
2999         resync. This makes us post the ASYNC_DONE message correctly.
3000         Fixes #462558.
3001
3002 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
3003
3004         * gst/gstregistry.c: (gst_registry_add_feature):
3005         When replacing an existing feature in the registry, make sure to
3006         continue holding a reference until we've replaced the name string
3007         within our feature hash table. Make sure to use g_hash_table_replace
3008         instead of g_hash_table_insert to ensure the new name string is used
3009         as a key instead of the old one that we're about to free.
3010         Fixes: #462085
3011
3012 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
3013
3014         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3015         (gst_plugin_feature_set_name):
3016         Revert patch from #459466 until after the release and we can work
3017         out exactly what the problem is (if any).
3018
3019 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
3020
3021         * docs/gst/gstreamer-sections.txt:
3022         * gst/gsttaglist.c:
3023         * gst/gsttaglist.h:
3024           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
3025
3026 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
3027
3028         * docs/libs/Makefile.am:
3029         Include our build-prefix libs and includes before the generic ones to
3030         avoid linking against the installed libs when we want the build-tree
3031         ones.
3032
3033 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
3034
3035         Patch by: Steve Fink  <sphink gmail com>
3036
3037         * docs/pwg/building-testapp.xml:
3038           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
3039           if people try to build or install the example from the plugin
3040           template against a GStreamer from package using the configure
3041           defaults.
3042
3043 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
3044
3045         Patch by: Steve Fink  <sphink gmail com>
3046
3047         * tools/gst-inspect.1.in:
3048           Document --print-all and --print-plugin-auto-install-info command
3049           line options in man page.
3050
3051 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
3052
3053         * docs/gst/gstreamer-sections.txt:
3054         Add docs for new api function.
3055
3056 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
3057
3058         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
3059         * gst/gstelementfactory.h:
3060         API: gst_element_factory_has_interface()
3061         Added method to check if an element factory implements a named
3062         interface.
3063
3064 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
3065
3066         * configure.ac:
3067         * docs/gst/gstreamer.types.in:
3068           Another conditional doc check.
3069
3070         * gst/gstmessage.c:
3071         * gst/gstparamspecs.h:
3072         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3073         * gst/gstvalue.c:
3074         * gst/gstxml.h:
3075           API-doc fixes.
3076
3077 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3078
3079         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
3080         (gst_registry_binary_load_feature),
3081         (gst_registry_binary_load_plugin),
3082         (gst_registry_binary_read_cache):
3083           Print error just once and with additional info.
3084
3085 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3086
3087         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3088         (helper_find_suggest), (helper_find_get_length),
3089         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
3090         (gst_type_find_helper_for_buffer):
3091           Cleanup the typefindhelper code and add private doc comments.
3092
3093 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
3094
3095         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3096         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
3097         Fix capsfilter for cases where the caps set on capsfilter will provide
3098         additional information.
3099         Fixes #449197
3100
3101 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3102
3103         * gst/gsttypefindfactory.c:
3104           Fix docs that recommened wrong function to use.
3105
3106 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3107
3108         * tools/gst-inspect.c: (print_plugin_features):
3109           Also give media-type for typefinders in element output.
3110
3111 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3112
3113         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
3114         (gst_registry_remove_features_for_plugin_unlocked),
3115         (gst_registry_add_feature), (gst_registry_remove_feature),
3116         (gst_registry_lookup_feature_locked):
3117         * gst/gstregistry.h:
3118           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
3119           Fixes #459501.
3120
3121 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3122
3123         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3124         (gst_plugin_feature_set_name):
3125           Avoid double memory usage for pluginfeature names. Fixes #459466.
3126
3127 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
3128
3129         * gst/gstpad.h:
3130           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
3131           driving the pipeline may need to explicitly check for NOT_LINKED as
3132           well, since IS_FATAL doesn't cover that.
3133
3134 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
3135
3136         * docs/pwg/advanced-types.xml:
3137           Fix typo and duplicate entry in video formats list.
3138
3139 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
3140
3141         * libs/gst/controller/gstinterpolation.c:
3142         Also round to the nearest int when using cubic interpolation.
3143
3144 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
3145
3146         * libs/gst/controller/gstinterpolation.c:
3147         When linearly interpolating integer types, round to the nearest int
3148         by adding 0.5. Don't do it for float/double types.
3149         Fixes the failing controller test on my machine, which is somehow
3150         rounding differently than on the buildbots.
3151
3152 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3153
3154         * tools/gst-plot-timeline.py:
3155           Better log parsing (categories can have -). Adjust text vs. lines, so
3156           that they span the same y-range.        
3157
3158 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3159
3160         * docs/random/ensonic/audiobaseclasses.txt:
3161         * docs/random/ensonic/dynlink.txt:
3162         * docs/random/ensonic/profiling.txt:
3163           Save my thoughts.
3164
3165         * docs/random/moving-plugins:
3166           Add note to use g_assert type macros.
3167
3168 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3169
3170         * configure.ac:
3171         * libs/gst/check/Makefile.am:
3172           Add libm check as we use in for plugins.
3173
3174 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
3175
3176         * gst/gstbin.c: (gst_bin_continue_func):
3177         Check that the state_cookie hasn't changed since the continue_func
3178         was scheduled. Avoids problems where the state changes back to
3179         something it shouldn't be because it was changed in the meantime.
3180
3181 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
3182
3183         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
3184         (gst_registry_binary_save_string),
3185         (gst_registry_binary_save_pad_template),
3186         (gst_registry_binary_save_feature),
3187         (gst_registry_binary_save_plugin),
3188         (gst_registry_binary_load_feature),
3189         (gst_registry_binary_load_plugin),
3190         (gst_registry_binary_read_cache):
3191           Fix memory leak. Be less verbose in the log.
3192
3193 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3194
3195         * tests/check/elements/.cvsignore:
3196         Add file to cvsignore as commanded.
3197
3198 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3199
3200         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3201         (mq_dummypad_event), (run_output_order_test):
3202         Use a GStaticMutex to protect all cases where libcheck
3203         fail_if/fail_unless macros might be called from multiple threads
3204         simultaneously to avoid errors like:
3205           "check_pack.c:107: :-1081725400:Bad message type arg"
3206
3207 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3208
3209         * tests/check/pipelines/stress.c: (GST_START_TEST):
3210         Make sure we set the pipeline back to the NULL state before
3211         dropping our final reference.
3212
3213 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3214
3215         * tests/check/elements/tee.c: (GST_START_TEST):
3216         Make the tee stress-test a little less stressful so it doesn't just
3217         time out on slow-machines, and remove a small race when it's starting 
3218         up by adding a get_state() call.
3219
3220 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
3221
3222         * gst/gst.c:
3223           Avoid reading registry twice on startup. Fixes #457322.
3224
3225 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
3226
3227         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3228         * pkgconfig/gstreamer-check.pc.in:
3229         Substitute the CFLAGS for libcheck into our .pc file too so that
3230         dependent modules will pick it up properly if libcheck is installed
3231         into some other prefix.
3232
3233 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
3234
3235         * configure.ac:
3236         Revert the pkg-config check for libcheck, since it pulls in the
3237         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
3238         a proper solution, either from the check project, or something else.
3239
3240 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
3241
3242         * configure.ac:
3243           Use pkg-config to locate check.
3244
3245 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
3246
3247         * gst/gsttaglist.c:
3248           Fix doc syntax.
3249
3250         * gst/gstutils.c:
3251         * gst/gstutils.h:
3252           Add deprecation guards.
3253
3254         * libs/gst/base/gstcollectpads.h:
3255           Don't document object (this is implicitly private).
3256
3257 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
3258
3259         * gst/gststructure.c: (gst_structure_parse_value):
3260           When deserialising foo=bar without a type cast, check if it's a
3261           boolean before falling back to a string type, otherwise things like
3262           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
3263           because the filtercaps end up having a signed=(string)true field,
3264           which causes problems later when intersection caps.
3265
3266         * tests/check/gst/gststructure.c: (GST_START_TEST):
3267           Add a unit test for this.
3268
3269 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
3270
3271         Reviewed by: Stefan Kost <ensonic@users.sf.net>
3272
3273         * libs/gst/controller/Makefile.am:
3274         * libs/gst/controller/gstcontroller.c:
3275         (gst_controlled_property_add_interpolation_control_source),
3276         (gst_controlled_property_new), (gst_controlled_property_free),
3277         (gst_controller_find_controlled_property),
3278         (gst_controller_new_valist), (gst_controller_new_list),
3279         (gst_controller_new), (gst_controller_remove_properties_valist),
3280         (gst_controller_remove_properties_list),
3281         (gst_controller_remove_properties),
3282         (gst_controller_set_property_disabled),
3283         (gst_controller_set_disabled), (gst_controller_set_control_source),
3284         (gst_controller_get_control_source), (gst_controller_get),
3285         (gst_controller_sync_values), (gst_controller_get_value_array),
3286         (_gst_controller_dispose), (gst_controller_get_type),
3287         (gst_controlled_property_set_interpolation_mode),
3288         (gst_controller_set), (gst_controller_set_from_list),
3289         (gst_controller_unset), (gst_controller_unset_all),
3290         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
3291         * libs/gst/controller/gstcontroller.h:
3292         * libs/gst/controller/gstcontrollerprivate.h:
3293         * libs/gst/controller/gstcontrolsource.c:
3294         (gst_control_source_class_init), (gst_control_source_init),
3295         (gst_control_source_get_value),
3296         (gst_control_source_get_value_array), (gst_control_source_bind):
3297         * libs/gst/controller/gstcontrolsource.h:
3298         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
3299         (gst_object_get_control_source):
3300         * libs/gst/controller/gstinterpolation.c:
3301         (gst_interpolation_control_source_find_control_point_node),
3302         (gst_interpolation_control_source_get_first_value),
3303         (_interpolate_none_get), (interpolate_none_get),
3304         (interpolate_none_get_boolean_value_array),
3305         (interpolate_none_get_enum_value_array),
3306         (interpolate_none_get_string_value_array),
3307         (_interpolate_trigger_get), (interpolate_trigger_get),
3308         (interpolate_trigger_get_boolean_value_array),
3309         (interpolate_trigger_get_enum_value_array),
3310         (interpolate_trigger_get_string_value_array):
3311         * libs/gst/controller/gstinterpolationcontrolsource.c:
3312         (gst_control_point_free), (gst_interpolation_control_source_reset),
3313         (gst_interpolation_control_source_new),
3314         (gst_interpolation_control_source_set_interpolation_mode),
3315         (gst_interpolation_control_source_bind),
3316         (gst_control_point_compare), (gst_control_point_find),
3317         (gst_interpolation_control_source_set_internal),
3318         (gst_interpolation_control_source_set),
3319         (gst_interpolation_control_source_set_from_list),
3320         (gst_interpolation_control_source_unset),
3321         (gst_interpolation_control_source_unset_all),
3322         (gst_interpolation_control_source_get_all),
3323         (gst_interpolation_control_source_get_count),
3324         (gst_interpolation_control_source_init),
3325         (gst_interpolation_control_source_finalize),
3326         (gst_interpolation_control_source_dispose),
3327         (gst_interpolation_control_source_class_init):
3328         * libs/gst/controller/gstinterpolationcontrolsource.h:
3329         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3330         API: Refactor GstController into the core controller which can take
3331         a GstControlSource for providing actual values for timestamps.
3332         Implement a interpolation control source and use this for backward
3333         compatibility, deprecate a bunch of functions that are now handled
3334         by GstControlSource or GstInterpolationControlSource.
3335         Make it possible to disable the controller completely or only for
3336         specific properties. Fixes #450711.
3337         * docs/libs/gstreamer-libs-docs.sgml:
3338         * docs/libs/gstreamer-libs-sections.txt:
3339         * docs/libs/gstreamer-libs.types:
3340         Add new functions and classes to the docs.
3341         * tests/check/libs/controller.c: (GST_START_TEST),
3342         (gst_controller_suite):
3343         * tests/examples/controller/audio-example.c: (main):
3344         Port unit test and example to the new API and add some new
3345         unit tests.
3346
3347 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
3348
3349         Patch by: Mark Nauwelaerts <manauw at skynet be>
3350
3351         * plugins/elements/gstmultiqueue.c:
3352         (gst_multi_queue_get_internal_links), (apply_buffer),
3353         (single_queue_overrun_cb), (gst_single_queue_new):
3354         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
3355         the pipeline layout can be tracked correctly. Fixes #453732.
3356
3357 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
3358
3359         * docs/gst/Makefile.am:
3360         * docs/libs/Makefile.am:
3361         * docs/plugins/Makefile.am:
3362           Simplify --extra-dir as gtkdoc scans recursively.
3363
3364 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
3365
3366         * tools/gst-launch.c: (main):
3367         When we got an error, there is no point in waiting for preroll when
3368         shutting down.
3369
3370 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
3371
3372         * plugins/elements/gsttee.c: (gst_tee_base_init),
3373         (gst_tee_request_new_pad), (gst_tee_release_pad),
3374         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
3375         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
3376         (gst_tee_chain):
3377         Be a lot smarter when deciding what srcpad to use for proxying
3378         the buffer_alloc. Also handle pad added/removed when doing so.
3379         Fixes #357959.
3380         Keep track of what pads we already pushed on in case we have pads
3381         added/removed while pushing. Fixes #374639 
3382
3383         * tests/check/Makefile.am:
3384         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
3385         (tee_suite):
3386         Added unit test for pad resync.
3387
3388 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3389
3390         * po/nl.po:
3391         * po/sv.po:
3392           Updated translations.
3393
3394 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3395
3396         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
3397
3398         * po/LINGUAS:
3399         * po/fi.po:
3400           Added new Finnish translation.
3401
3402 2007-06-28  Wim Taymans  <wim@fluendo.com>
3403
3404         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3405         (single_queue_overrun_cb):
3406         When figuring out when a queue is filled, use our internal time estimate
3407         based on segments, just like check_full does.
3408
3409 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
3410
3411         * gst/gstminiobject.c: (gst_mini_object_get_type):
3412           Remove 3 do-nothing methods.
3413
3414 2007-06-27  Wim Taymans  <wim@fluendo.com>
3415
3416         Patch by: Tim Angus <tim at ngus dot net>
3417
3418         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3419         (gst_capsfilter_set_property):
3420         Take a reference instead of a copy when setting "caps".
3421         Fix documentation to clarify this behaviour. Fixes #449414.
3422
3423 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
3424
3425         * gst/gstindexfactory.c: (gst_index_factory_get_type):
3426         * gst/gstplugin.c: (gst_plugin_init):
3427         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
3428         * gst/gstquery.c: (gst_query_get_type):
3429         * gst/gstregistry.c: (gst_registry_init):
3430         * gst/gsturi.c: (gst_uri_handler_base_init):
3431           Remove empty instance_init() functions to save relocs and lessen the
3432           noise. Remove some of the function prototypes that are doubled by
3433           G_DEFINE_TYPE.
3434           
3435 2007-06-27  Wim Taymans  <wim@fluendo.com>
3436
3437         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
3438
3439         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
3440         Add peer and direction in the XML serialisation of ghostpads.
3441         Fixes #449226.
3442
3443 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
3444
3445         * configure.ac:
3446           Preserve useful information, thanks Tim.
3447
3448 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
3449
3450         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3451         (gst_single_queue_flush), (apply_segment), (apply_buffer),
3452         (gst_single_queue_push_one), (gst_multi_queue_loop),
3453         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3454         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
3455         (compute_high_id), (gst_single_queue_new):
3456         * plugins/elements/gstmultiqueue.h:
3457         Take the multiqueue lock when updating the fill level so we don't get
3458         confused. 
3459
3460         After applying a buffer or event on the src pad segment, make sure to
3461         call gst_data_queue_limits_changed() to get the data queue to unblock
3462         and check the filled state again.
3463         
3464         Rework the not-linked pad handling so the logic is that not-linked 
3465         pads can push as fast as they like, but only so they never get 
3466         ahead of any linked pads.
3467
3468         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
3469         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
3470         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
3471
3472         Add a test to check that not-linked pads always stay behind
3473         linked pads.
3474
3475         Fixes: #430682
3476
3477 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
3478
3479         * docs/random/release:
3480           Some updates to the release procedure.
3481
3482 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
3483
3484         * gst/gstelementfactory.c: (__gst_element_details_clear):
3485           Microoptimization that saves stunning 80 bytes.
3486
3487 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
3488
3489         * docs/plugins/gstreamer-plugins.args:
3490         * docs/plugins/inspect/plugin-coreelements.xml:
3491         * docs/plugins/inspect/plugin-coreindexers.xml:
3492           Update docs with caps info.
3493
3494 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3495
3496         * po/it.po:
3497           Updated Italian translation.
3498
3499 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3500
3501         * ChangeLog:
3502         * po/vi.po:
3503           Update Vietnamese translations.
3504
3505 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
3506
3507         * libs/gst/base/gstbasesink.c:
3508           Remove unused signal enum.
3509
3510 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
3511
3512         * docs/gst/gstreamer-sections.txt:
3513         * gst/gstelement.c:
3514         * gst/gstutils.c: (gst_type_register_static_full):
3515         Beef up and include the docs for gst_type_register_static_full and
3516         gst_element_class_set_details_simple and add the API keyword
3517         in the ChangeLog.
3518
3519 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
3520
3521         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3522         (update_time_level), (gst_single_queue_push_one),
3523         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
3524         (single_queue_overrun_cb), (single_queue_underrun_cb),
3525         (single_queue_check_full):
3526         Fix setting max-* properties after adding queues.
3527         Use IS_FILLED for checking visible items.
3528         Signal overrun if multiple queues overrun.
3529         Add extra debug output.
3530         Patch by: Wim Taymans <wim@fluendo.com>
3531
3532 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
3533
3534         * gst/gstelement.c: (gst_element_class_set_details_simple):
3535         * gst/gstelement.h:
3536         * gst/gstutils.c: (gst_type_register_static_full):
3537         * gst/gstutils.h:
3538         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
3539         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
3540         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
3541         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
3542         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
3543         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
3544         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
3545         * plugins/elements/gstidentity.c: (gst_identity_base_init):
3546         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
3547         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3548         (apply_buffer), (gst_queue_chain):
3549         * plugins/elements/gsttee.c: (gst_tee_base_init):
3550         * plugins/elements/gsttypefindelement.c:
3551         (gst_type_find_element_base_init),
3552         (gst_type_find_element_class_init):
3553           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
3554           API: add gst_type_register_static_full
3555           API: add gst_element_class_set_details_simple
3556
3557 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
3558
3559         * docs/pwg/advanced-types.xml:
3560           Fix typo in iana.org URI.
3561
3562 2007-06-19  Andy Wingo  <wingo@pobox.com>
3563
3564         * tests/check/pipelines/simple-launch-lines.c
3565         (test_state_change_returns): Enable pull-mode tests now that
3566         basesink has been fixed.
3567
3568         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
3569         Changed from gst_base_sink_is_prerolled, reversing the sense of
3570         the return value. Returns FALSE also if the sink is in pull mode,
3571         in which case it needs no preroll.
3572         (gst_base_sink_query, gst_base_sink_change_state): Update for
3573         needs_preroll change.
3574         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
3575         chaining up, in which we return SUCCESS directly if we activated
3576         in pull mode instead of ASYNC. Involves countering an async_start
3577         message sent before chaining up; not sure if this is correct, in
3578         an ideal world we only send async-start when activating in push
3579         mode.
3580
3581         * tests/check/pipelines/simple-launch-lines.c
3582         (test_state_change_returns): New test, partially disabled until
3583         basesink is fixed.
3584
3585 2007-06-19  Wim Taymans  <wim@fluendo.com>
3586
3587         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3588         (gst_multi_queue_sink_event):
3589         Fix event leak.
3590
3591 2007-06-19  Wim Taymans  <wim@fluendo.com>
3592
3593         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3594         (gst_bin_change_state_func), (bin_push_state_continue),
3595         (bin_handle_async_start), (bin_handle_async_done),
3596         (gst_bin_handle_message_func):
3597         Move the common code for posting state-change messages into
3598         one function.
3599         Broadcast the state signal after we posted the messages.
3600         Mark the bin as busy when it's doing a state-change.
3601         Make sure async-start/done messages don't interfere with the bin's
3602         state when it's busy.
3603         After the state change, let the bin check which elements completed the
3604         state change while it was busy so that it can update its state.
3605
3606 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
3607
3608         * docs/random/release:
3609         Add a note about updating the doap file to the release checklist
3610
3611 2007-06-18  Wim Taymans  <wim@fluendo.com>
3612
3613         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3614         (gst_single_queue_push_one), (gst_multi_queue_chain),
3615         (gst_multi_queue_sink_event):
3616         Make sure we don't reference the buffer/event after we have given away
3617         ownership in the queue.
3618
3619 2007-06-18  Wim Taymans  <wim@fluendo.com>
3620
3621         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3622         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
3623         Update queue state _after_ adding the item in the queue because else we
3624         could end up being full without the element added yet.
3625
3626 2007-06-18  Wim Taymans  <wim@fluendo.com>
3627
3628         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3629         (gst_bin_remove_func), (gst_bin_get_state_func),
3630         (gst_bin_element_set_state), (gst_bin_continue_func),
3631         (bin_push_state_continue), (bin_handle_async_start),
3632         (bin_handle_async_done), (gst_bin_handle_message_func):
3633         * gst/gstbin.h:
3634         Immediatly commit the toplevel bin state when receiving an async-done
3635         message. This enables us to avoid spawning a thread to commit the state
3636         in some common cases and it also avoids some races.
3637         Avoid spawning a state thread when adding/removing async elements to a
3638         toplevel bin. Instead we immediatly update the bin state.
3639         Get rid of iterating all the children when getting the state in the bin
3640         because it is now always up-to-date.
3641         Fix bug where locked elements would always return _SUCCESS even it they
3642         returned NO_PREROLL before being locked.
3643         Fix the order of the state_change, async-start/done messages that was
3644         sometimes incorrect.
3645         Mark the state_dirty field as deprecated, we don't need it anymore as we
3646         are always up-to-date.
3647
3648         * gst/gstelement.c: (gst_element_get_state_func),
3649         (gst_element_continue_state):
3650         Small debug inprovements.
3651         Return the previous element state return when nothing is pending instead
3652         of blindly returning SUCCESS.
3653
3654         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
3655         (gst_sinks_suite):
3656         Add a whole bunch of new testcases.
3657
3658 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3659
3660         * po/uk.po:
3661         * po/vi.po:
3662           Update translations.
3663
3664 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
3665
3666         * gst/gstpad.c:
3667         Fix typo in the docs.
3668
3669 2007-06-15  Wim Taymans  <wim@fluendo.com>
3670
3671         * docs/libs/gstreamer-libs-sections.txt:
3672         Add docs for new methods.
3673
3674 2007-06-15  Wim Taymans  <wim@fluendo.com>
3675
3676         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
3677         (gst_multi_queue_item_new):
3678         Don't use GSlice because we don't depend on >= 2.10 yet.
3679
3680 2007-06-15  Wim Taymans  <wim@fluendo.com>
3681
3682         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3683         (update_time_level), (apply_segment), (apply_buffer),
3684         (gst_single_queue_push_one), (gst_multi_queue_item_new),
3685         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
3686         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
3687         (single_queue_underrun_cb), (single_queue_check_full):
3688         Remove debug printf.
3689
3690 2007-06-15  Wim Taymans  <wim@fluendo.com>
3691
3692         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
3693         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
3694         (gst_data_queue_set_flushing), (gst_data_queue_push),
3695         (gst_data_queue_pop), (gst_data_queue_drop_head),
3696         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
3697         * libs/gst/base/gstdataqueue.h:
3698         Various cleanups.
3699         Added methods to get the current levels and to inform the queue that the
3700         'full' limits changed.
3701
3702         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3703         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3704         (gst_single_queue_flush), (update_time_level), (apply_segment),
3705         (apply_buffer), (gst_single_queue_push_one),
3706         (gst_multi_queue_item_steal_object),
3707         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3708         (gst_multi_queue_loop), (gst_multi_queue_chain),
3709         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3710         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
3711         (gst_multi_queue_src_query), (single_queue_overrun_cb),
3712         (single_queue_underrun_cb), (single_queue_check_full),
3713         (gst_single_queue_new):
3714         Keep track of time in the queue by measuring the difference between
3715         running_time on input and output. This gives more accurate results and
3716         can compensate for segments correctly.
3717         Make a queue by default only 5 buffers deep. We will now increase the
3718         buffer size depending on the filledness of the other queues.
3719         Factor out commong flush code.
3720         Make sure we don't add additional refcounts to buffers when we can avoid
3721         it.
3722         Propagate GstFlowReturn differently.
3723         Use GSlice for intermediate GstMultiQueueItems.
3724         Keep track of EOS.
3725         Resize queues on over and underruns based on filled level of other
3726         queues.
3727         When checking if the queue is filled, prefer to measure in time if we
3728         can and fall back to bytes when no time is known.
3729
3730         * plugins/elements/gstqueue.c:
3731         Fix return value.
3732
3733 2007-06-15  Wim Taymans  <wim@fluendo.com>
3734
3735         * libs/gst/base/gstbasetransform.c:
3736         (gst_base_transform_sink_event):
3737         Work around the brokenness of the event vmethod in basetransform. Prefer
3738         to return TRUE when the subclass returned FALSE (meaning don't forward
3739         the event). 
3740
3741         * libs/gst/base/gstbasetransform.h:
3742         Clarify the docs.
3743
3744 2007-06-15  Wim Taymans  <wim@fluendo.com>
3745
3746         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
3747         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3748         (gst_base_src_default_query), (gst_base_src_get_range),
3749         (gst_base_src_start):
3750         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
3751         Improve debugging.
3752
3753 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
3754
3755         * docs/pwg/advanced-types.xml:
3756           Added more formats to caps table.
3757
3758 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
3759
3760         * tools/gst-launch.c: (main):
3761           Remove crufy code. GOption does not need this workaround.
3762
3763 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3764
3765         * libs/gst/controller/gstcontroller.c:
3766         (gst_controlled_property_set_interpolation_mode):
3767           Fix wrong getter for enums in controller.
3768
3769 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3770
3771         * libs/gst/check/gstcheck.c: (gst_check_init):
3772           Intercept criticals and warnings in the Gst-Phonon log domain, so
3773           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
3774           well.
3775         
3776 2007-06-14  Edward Hervey  <edward@fluendo.com>
3777
3778         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
3779         Since this file doesn't include "gst.h" it will not go through the
3780         macros that disable GST_LOG if debugging was disabled.
3781
3782 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3783
3784         * libs/gst/check/Makefile.am:
3785         * libs/gst/check/gstcheck.h:
3786         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3787         * pkgconfig/gstreamer-check.pc.in:
3788           Ugly 'fix' for the controller unit test on the p5 bot: in
3789           fail_unless_equals_float() check whether the values are 'almost
3790           equal' by allowing a small absolute error, which should be good
3791           enough for our use cases (normal numbers and values close to 0).
3792           Proper fixage left to floating point arithmetic aficionados.
3793
3794 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3795
3796         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
3797         (gst_base_sink_render_object), (gst_base_sink_get_position):
3798           Add two breaks thats where missing.
3799
3800 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3801
3802         * docs/libs/gstreamer-libs-sections.txt:
3803         * libs/gst/check/gstcheck.h:
3804           API: add fail_unless_equals_float() and assert_equals_float().
3805           Add documentation for some of the macros.
3806
3807         * tests/check/libs/controller.c: (GST_START_TEST):
3808           Use newly-added asserts.
3809
3810 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3811
3812         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
3813           Show the caps change in the log to help spotting the case of not
3814           exactly matching caps.
3815
3816 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3817
3818         * docs/pwg/building-boiler.xml:
3819           Fix typos, spotted by Thijs Vermeir (#447190).
3820
3821 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
3822
3823         * docs/plugins/tmpl/.cvsignore:
3824         Ignore file to keep the buildbots happy
3825
3826 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
3827
3828         * docs/plugins/Makefile.am:
3829         * docs/plugins/gstreamer-plugins-docs.sgml:
3830         * docs/plugins/gstreamer-plugins-sections.txt:
3831         Pull fdsink into the docs too.
3832
3833 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
3834
3835         * libs/gst/controller/gstinterpolation.c:
3836         Actually use the new functions with min/max checks for the trigger and
3837         none interpolation modes for get() and get_value_array() instead of
3838         just the latter.
3839
3840 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
3841
3842         * libs/gst/controller/gstcontroller.c:
3843         (gst_controlled_property_free):
3844         Unset the minimum and maximum GValues when freeing the corresponding
3845         GstControllerProperty struct.
3846
3847 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
3848
3849         * libs/gst/controller/gstcontroller.c:
3850         (gst_controlled_property_new):
3851         * libs/gst/controller/gstcontrollerprivate.h:
3852         * libs/gst/controller/gstinterpolation.c:
3853         (gst_controlled_property_find_control_point_node),
3854         (interpolate_none_get), (interpolate_none_get_enum_value_array),
3855         (interpolate_none_get_string_value_array),
3856         (interpolate_trigger_get),
3857         (interpolate_trigger_get_enum_value_array),
3858         (interpolate_trigger_get_string_value_array):
3859         Protect against values larger or smaller than the minimum or maximum
3860         allowed value for the property when using values that can be compared.
3861
3862         Optimize trigger interpolator a bit by taking the last requested value
3863         into account instead of always looping through the complete list.
3864
3865         Fix coding style a bit, everywhere else we use "return foo" instead
3866         of "return (foo)".
3867         
3868         * tests/check/libs/controller.c: (GST_START_TEST),
3869         (gst_controller_suite):
3870         Add unit test for the protection against too large or too small
3871         values.
3872
3873 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
3874
3875         * docs/random/slomo/controller.txt:
3876         Add some thoughts about the future of the controller.
3877
3878 2007-06-08  Wim Taymans  <wim@fluendo.com>
3879
3880         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3881         Don't overflow in retimestamping code.
3882
3883 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
3884
3885         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
3886         Use gst_util_guint64_to_gdouble for conversions.
3887         * win32/common/libgstreamer.def:
3888         Add new exported functions.
3889
3890 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
3891
3892         * gst/gstutils.c:
3893           Small docs addition.
3894
3895 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3896
3897         * README:
3898           Remove that test line again.
3899
3900 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3901
3902         * README:
3903           Test commit mail sending.
3904
3905 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3906
3907         * configure.ac:
3908           Fix typo and test commit mail sending.
3909
3910 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3911
3912         * tests/examples/controller/audio-example.c:
3913           Improve comment and test commit mail sending.
3914
3915 2007-06-07  Wim Taymans  <wim@fluendo.com>
3916
3917         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
3918         (gst_bin_remove_func), (gst_bin_element_set_state),
3919         (bin_handle_async_start), (bin_handle_async_done),
3920         (gst_bin_handle_message_func):
3921         Add helper function to find messages.
3922         Generate the async-done messages together with the state change
3923         messages.
3924         Small cleanups in handling toplevel bins.
3925
3926 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3927
3928         * libs/gst/base/gstdataqueue.c:
3929         * libs/gst/base/gstdataqueue.h:
3930         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3931         (gst_multi_queue_item_new), (gst_multi_queue_chain),
3932         (gst_multi_queue_sink_event):
3933         * tests/check/elements/multiqueue.c: (multiqueue_suite):
3934           Fix multiqueue leaking buffers and events when downstream or the
3935           queue are flushing. Make refcounting assumptions explicit and
3936           document them (shouldn't break existing code that uses it other than
3937           maybe leak miniobjects, but that already happens anyway). Add unit
3938           test for the most common flushing case. Fixes #423700.
3939           
3940 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
3941
3942         * libs/gst/controller/gstcontroller.c:
3943         Clarify docs: The get_all, get_value_array(s) functions
3944         don't modify the GObject properties.
3945
3946 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
3947
3948         * libs/gst/controller/gstcontroller.c:
3949         (gst_controlled_property_set_interpolation_mode),
3950         (gst_controlled_property_prepend_default),
3951         (gst_controlled_property_new), (gst_controller_set_unlocked),
3952         (gst_controller_set), (gst_controller_set_from_list),
3953         (gst_controller_unset), (gst_controller_unset_all):
3954         * libs/gst/controller/gstcontrollerprivate.h:
3955         * libs/gst/controller/gstinterpolation.c:
3956         Factor out the 'set' logic into gst_controller_set_unlocked for the
3957         gst_controller_set and gst_controller_set_from_list functions.
3958
3959         To make life of the interpolators easier always add a control point
3960         at timestamp zero with the default value.
3961
3962         In the linear interpolator make things more obvious by better variable
3963         naming (slope).
3964
3965         Implement cubic interpolation mode (by using a natural cubic spline)
3966         and map the quadratic interpolation mode to this too (as quadratic
3967         doesn't make much sense, see discussion on the list).
3968
3969         * tests/check/libs/controller.c: (GST_START_TEST),
3970         (gst_controller_suite):
3971         Add unit test for the cubic interpolation mode and check everywhere
3972         if the interpolation mode could be set as expected.
3973
3974 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3975
3976         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
3977           Don't use GLib-2.10 functions, we still depend on
3978           GLib-how-old-is-it-again-2.8.
3979
3980 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3981
3982         * docs/gst/gstreamer-sections.txt:
3983         * gst/Makefile.am:
3984         * gst/gst.c:
3985         * gst/gst.h:
3986         * gst/gstparamspecs.c: (_gst_param_fraction_init),
3987         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
3988         (_gst_param_fraction_values_cmp),
3989         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
3990         * gst/gstparamspecs.h:
3991         * gst/gstvalue.c:
3992         * tests/check/Makefile.am:
3993         * tests/check/gst/.cvsignore:
3994         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
3995         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
3996         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
3997         (GST_START_TEST), (gst_param_spec_suite):
3998           API: add GstParamSpecFraction, so elements can have fraction
3999           properties without lots of painful string parsing (#444648).
4000
4001 2007-06-05  Wim Taymans  <wim@fluendo.com>
4002
4003         * gst/gstobject.c: (gst_object_class_init):
4004         Fix signal signature.
4005
4006         * gst/gstsegment.c:
4007         Add small clarification in the api docs.
4008
4009         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
4010         States are protected with object lock.
4011
4012 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
4013
4014         * AUTHORS:
4015         I should probably be listed as an author by now.
4016
4017         * docs/random/release:
4018         Update the release doc
4019
4020 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
4021
4022         * gst/gstvalue.c:
4023           Make docs for gst_value_compare() mention return enums that
4024           actually exist.
4025
4026 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
4027
4028         * configure.ac:
4029           Back to CVS
4030
4031 === release 0.10.13 ===
4032
4033 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
4034
4035         * configure.ac:
4036           releasing 0.10.13, "With or without you"
4037
4038 2007-05-25  Wim Taymans  <wim@fluendo.com>
4039
4040         * gst/gstbin.c: (bin_handle_async_done):
4041         Make sure that the child bin stops after completing the async state
4042         change so that the parent can continue the state change to PLAYING.
4043         Fixes #441159.
4044
4045 2007-05-25  Wim Taymans  <wim@fluendo.com>
4046
4047         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4048         (unref_data), (gst_collect_pads_remove_pad),
4049         (gst_collect_pads_check_pads):
4050         Use additional refcounting to avoid crashes when dynamically adding and
4051         removing pads. Fixes #420206.
4052
4053 2007-05-24  Wim Taymans  <wim@fluendo.com>
4054
4055         * tools/gst-launch.c: (event_loop):
4056         When buffering goes from a two digit to a single digit number, make sure
4057         to remove the old second digit by writing a blank over it.
4058
4059 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
4060
4061         * libs/gst/base/gstdataqueue.c:
4062           Eliminate tabs and trailing comma in enum list; fix some typos.
4063
4064 2007-05-24  Wim Taymans  <wim@fluendo.com>
4065
4066         * tests/check/gst/gstbin.c: (GST_START_TEST):
4067         Allow refcount of 3 and 4 because some state thread might still be busy
4068         with it.
4069
4070 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
4071
4072         * plugins/elements/Makefile.am:
4073         * plugins/elements/gstmultiqueue.h:
4074         * plugins/elements/gstqueue.h:
4075           These are not installed headers, no need for padding.
4076
4077 2007-05-24  Wim Taymans  <wim@fluendo.com>
4078
4079         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4080         (gst_bin_continue_func):
4081         Enable latency for next release.
4082         Restore STATE_LOCK around recalc_state that was left out during the
4083         rewrite and could result in racy behaviour when _get_state and
4084         recalc_state are run concurrently. See #440463.
4085
4086 2007-05-23  Wim Taymans  <wim@fluendo.com>
4087
4088         * tests/check/gst/gstsystemclock.c: (store_callback),
4089         (GST_START_TEST):
4090         Improve test_async_order to also work when both timers are already
4091         expired when we get scheduled to check it.
4092
4093 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4094
4095         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
4096         (gst_bin_set_property), (gst_bin_get_property),
4097         (gst_bin_remove_func), (gst_bin_handle_message_func):
4098         * gst/gstbin.h:
4099           'private' is a c++ keyword, let's not use that in header files,
4100           otherwise c++ compilers will throw a tantrum.
4101
4102 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4103
4104         * plugins/elements/gstelements.c:
4105         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
4106         (gst_file_sink_get_current_offset):
4107         * plugins/indexers/gstindexers.c: (plugin_init):
4108           Use #ifdef for HAVE_XYZ for consistency.
4109
4110         * tests/check/Makefile.am:
4111         * tests/check/elements/.cvsignore:
4112         * tests/check/elements/filesink.c: (setup_filesink),
4113         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
4114           Add some unit tests for filesink.
4115
4116 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4117
4118         Patch by: Mark Nauwelaerts <manauw at skynet be>
4119
4120         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4121         (gst_file_sink_query), (gst_file_sink_do_seek),
4122         (gst_file_sink_get_current_offset), (gst_file_sink_render):
4123         * plugins/elements/gstfilesink.h:
4124           Fix position reporting; rename data_written member to current_pos to
4125           reflect its real meaning (fixes #412648).
4126
4127 2007-05-22  Edward Hervey  <edward@fluendo.com>
4128
4129         * docs/gst/gstreamer-sections.txt:
4130         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4131         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
4132         (gst_bin_remove_func), (gst_bin_handle_message_func):
4133         * gst/gstbin.h:
4134         Add a property for bins that handle the state change of their childs.
4135         Fixes #435880
4136
4137 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
4138
4139         * libs/gst/controller/gstinterpolation.c:
4140         Use an array of the correct type when using _get_value_array with
4141         linear interpolation.
4142
4143 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
4144
4145         * gst/gstelement.c (gst_element_requires_clock,
4146           gst_element_provides_clock, gst_element_request_pad,
4147           gst_element_class_set_details, gst_element_class_set_details_simple,
4148           gst_element_default_send_event, gst_element_abort_state,
4149           gst_element_continue_state, gst_element_set_state,
4150           gst_element_set_state_func, iterator_activate_fold_with_resync):
4151         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
4152           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
4153           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
4154           gst_pad_get_range, gst_pad_pull_range):
4155         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
4156           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
4157           GstPadActivateModeFunction, GstPadChainFunction,
4158           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
4159           GstPadFixateCapsFunction, GstPadTemplate):
4160         * gst/gstpipeline.c (gst_pipeline_change_state,
4161           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
4162           gst_pipeline_set_clock, gst_pipeline_auto_clock,
4163           gst_pipeline_get_delay):
4164           Whitespace and docs fixes.
4165
4166 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4167
4168         * libs/gst/controller/gstinterpolation.c:
4169         (interpolate_trigger_get_enum_value_array),
4170         (interpolate_trigger_get_string_value_array):
4171         Add support for retrieving value arrays when using the trigger
4172         interpolation mode. 
4173
4174 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4175
4176         * libs/gst/controller/gstcontroller.c:
4177         (gst_controller_get_value_array):
4178         * libs/gst/controller/gstcontroller.h:
4179         Clarify the docs of gst_controller_get_value_array(): The array where
4180         the values should be written to must be allocated as there seems to be
4181         no way to get the size of a random GType. This doesn't change any
4182         behaviour. Also fix some typos all over the place and remove an unused,
4183         commented function that is not necessary as g_object_set() could be
4184         used instead.
4185         * tests/check/libs/controller.c: (GST_START_TEST),
4186         (gst_controller_suite):
4187         Add unit test for gst_controller_get_value_array().
4188
4189 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
4190
4191         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4192
4193         Disable part of the gst_buffer_try_new_and_alloc test, because
4194         it can happily succeed on 64-bit systems where there's more address
4195         space available.
4196
4197 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4198
4199         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4200         Add unit test for the improved caps checking from bug #421543.
4201
4202 2007-05-21  Wim Taymans  <wim@fluendo.com>
4203
4204         * docs/design/part-synchronisation.txt:
4205         Small addition.
4206
4207         * gst/gstbin.c: (gst_bin_query):
4208         * plugins/elements/gstqueue.c: (apply_segment):
4209         Improve debugging.
4210
4211         * gst/gstmessage.h:
4212         Improve docs.
4213
4214 2007-05-21  Wim Taymans  <wim@fluendo.com>
4215
4216         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4217         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
4218         (gst_pad_configure_src):
4219         Added simple version of improved caps checking. It was previously
4220         assumed that a setcaps function would check the validity of the caps but
4221         people prefer us to check caps against the template automatically. 
4222         Fixes #421543.
4223
4224 2007-05-21  Wim Taymans  <wim@fluendo.com>
4225
4226         * libs/gst/base/gstbasetransform.h:
4227         Fix macro for locking/unlocking the transform lock.
4228
4229 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
4230
4231         * docs/plugins/tmpl/.cvsignore:
4232           Ignore more.
4233
4234 2007-05-18  Edward Hervey  <edward@fluendo.com>
4235
4236         * plugins/elements/gstqueue.c: (gst_queue_loop):
4237         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
4238         for the subtle art of warning a potentially blocking thread that it
4239         should check the source pad return value, and relay the information
4240         upstream.
4241
4242 2007-05-18  Edward Hervey  <edward@fluendo.com>
4243
4244         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4245         Release the queue lock !
4246
4247 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4248
4249         * docs/libs/gstreamer-libs-sections.txt:
4250         Add the two new controller functions to the appropiate places.
4251
4252 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4253
4254         reviewed by: Stefan Kost <ensonic@users.sf.net>
4255
4256         * libs/gst/controller/gstcontroller.c:
4257         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
4258         (_gst_controller_get_property), (_gst_controller_set_property),
4259         (_gst_controller_init), (_gst_controller_class_init):
4260         * libs/gst/controller/gstcontroller.h:
4261         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
4262         (gst_object_get_control_rate), (gst_object_set_control_rate):
4263         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
4264         Add API that provides sync suggestion timestamps for elements that
4265         call gst_object_sync_values() from which those elements can subdivide
4266         their processing loop to get the best results for the controlled
4267         properties. For now it just suggests last_sync + control_rate as
4268         new timestamp but this will be improved in the future.
4269
4270         While doing that change the control-rate property to a GstClockTime
4271         from guint and change it's meaning from samples to nanoseconds as
4272         the GstController doesn't know anything about sampling rate. Strictly
4273         speaking this breaks ABI but as the control-rate property didn't do
4274         anything in the past and as such couldn't be used this should be no
4275         problem.        
4276
4277 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4278
4279         reviewed by: Stefan Kost <ensonic@users.sf.net>
4280
4281         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4282         (gst_controller_unset_all):
4283         * libs/gst/controller/gstcontrollerprivate.h:
4284         * libs/gst/controller/gstinterpolation.c:
4285         (gst_controlled_property_find_control_point_node):
4286         Save last synced value from the list to continue searching from there
4287         in future syncs. This speeds everything up a bit.
4288         
4289 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4290
4291         reviewed by: Stefan Kost <ensonic@users.sf.net>
4292
4293         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
4294         (gst_control_point_find), (gst_controlled_property_new),
4295         (gst_control_point_free), (gst_controlled_property_free),
4296         (gst_controller_set), (gst_controller_set_from_list),
4297         (gst_controller_unset), (gst_controller_unset_all),
4298         (gst_controller_sync_values):
4299         * libs/gst/controller/gstcontroller.h:
4300         * libs/gst/controller/gstcontrollerprivate.h:
4301         * libs/gst/controller/gstinterpolation.c:
4302         (gst_controlled_property_find_control_point_node),
4303         (interpolate_none_get), (interpolate_trigger_get):
4304         Add a new private GstControlPoint struct which "inherits" from
4305         GstTimedValue to allow different interpolators to store internal
4306         values next to each control point. From the outside everything is
4307         still a GstControlPoint so we don't loose binary compatibility.
4308         Also fixup all the GValue handling to not leak GValues or list nodes.
4309         * tests/check/libs/controller.c: (GST_START_TEST):
4310         Free the list nodes and GValues in the controller_misc test.
4311
4312 2007-05-17  Edward Hervey  <edward@fluendo.com>
4313
4314         * gst/gstsegment.c:
4315         Small doc fix.
4316
4317 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
4318
4319         * gst/gstplugin.c: (gst_plugin_load_file):
4320           If we fail to load a plugin because of unresolved symbols or missing
4321           libraries and spew a warning to stderr, we may just as well mention
4322           which plugin it was that failed to load.
4323
4324 2007-05-13  David Schleef  <ds@schleef.org>
4325
4326         * docs/Makefile.am: the gtk-doc makefile snippet correctly
4327           handles the case when ENABLE_GTK_DOC is false, and installs
4328           the prebuilt documentation.  So gtk-doc subdirs are 
4329           unconditionally enabled.  Fixes: #349099.
4330
4331 2007-05-13  David Schleef  <ds@schleef.org>
4332
4333         * gst/gstutils.h: Reword some documentation.
4334
4335 2007-05-12  David Schleef  <ds@schleef.org>
4336
4337         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
4338           do anything with the passed "module" parameter, so remove it.
4339           Allows removal of additional vestigal code.
4340
4341 2007-05-12  David Schleef  <ds@schleef.org>
4342
4343         * gst/gstplugin.c:
4344           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
4345           Switch to using g_stat() because it's more portable.
4346
4347 2007-05-12  David Schleef  <ds@schleef.org>
4348
4349         * gst/gst.c:
4350           Add GST_DISABLE_OPTION_PARSING, in order to disable option
4351           parsing for embedded systems.
4352         * gst/gstelementfactory.c:
4353           Allow gst_element_register() to be called with plugin==NULL.
4354           Did nobody notice that static elements were broken?
4355
4356 2007-05-12  Wim Taymans  <wim@fluendo.com>
4357
4358         * tools/gst-launch.c: (event_loop):
4359         Give more interesting info when buffering starts and stops.
4360         Fix case where buffering starts but we fail to update the buffering flag
4361         because the target state is not PLAYING.
4362
4363 2007-05-12  Wim Taymans  <wim@fluendo.com>
4364
4365         * plugins/elements/gstqueue.c: (gst_queue_init),
4366         (gst_queue_finalize), (update_time_level), (apply_segment),
4367         (apply_buffer), (gst_queue_locked_flush),
4368         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
4369         (gst_queue_handle_sink_event), (gst_queue_chain),
4370         (gst_queue_push_one), (gst_queue_loop):
4371         * plugins/elements/gstqueue.h:
4372         Refactor an cleanup queue a bit.
4373         Do better time level calculations that also work when the srcpad is not
4374         yet running.
4375         Remove some unneeded debug lines.
4376
4377         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
4378         Added testcase for time level measurement.
4379         Try to make some stuff more racefree.
4380
4381 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
4382
4383         * gst/gsturi.c: (gst_element_make_from_uri):
4384           Don't leak plugin feature.
4385
4386         * tests/check/Makefile.am:
4387         * tests/check/gst/.cvsignore:
4388         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
4389           Add brain-dead unit test.
4390
4391 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
4392
4393         Patch by: Jeroen Wouters <woutersj at gmail com>
4394
4395         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
4396           Treat protocol strings in a case-insensitive way (#437563).
4397
4398 2007-05-11  Michael Smith <msmith@fluendo.com>
4399
4400         * gst/gstplugin.c: (gst_plugin_load_file):
4401         * gst/gstregistry.c: (gst_registry_scan_path_level):
4402           Don't print a g_warning for any failure to load a shared object.
4403           Instead, push this down into gstplugin.c, and warn _only_ if we
4404           failed to open the module (i.e. failure to link).
4405           Avoids warnings on normal, working, non-plugin .so files.
4406
4407 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
4408
4409         * gst/gstplugin.c (gst_plugin_load_file):
4410         * gst/gstregistry.c (GST_CAT_DEFAULT,
4411           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
4412           Print a g_warning if there was an error when loading a plugins during
4413           registry scan. The shuld help beginners starting with gst-plugin
4414           template.
4415
4416 2007-05-10  Wim Taymans  <wim@fluendo.com>
4417
4418         * plugins/elements/gstqueue.c: (gst_queue_class_init),
4419         (update_time_level), (gst_queue_locked_flush),
4420         (gst_queue_handle_sink_event), (gst_queue_chain),
4421         (gst_queue_push_one), (gst_queue_loop):
4422         * plugins/elements/gstqueue.h:
4423         Be smarter when calculating the current amount of data in the queue by
4424         measuring the difference between start and end timestamps (in running
4425         time) inside the queue. Fixes #432876.
4426         API: GstQueue::pushing to notify elements that we are pushing data again
4427         since the running signal is rather broken for this purpose.
4428
4429 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
4430
4431         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
4432           gst_queue_base_init, gst_queue_init):
4433           use GST_BOILERPLATE
4434
4435 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
4436
4437         * win32/common/libgstreamer.def:
4438         Add new exported functions.
4439         * win32/vs6/grammar.dsp:
4440         Use grammar pre-generated files.
4441
4442 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
4443
4444         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
4445
4446         * gst/Makefile.am:
4447         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
4448         * gst/gstparse.h:
4449         * gst/gstutils.c: (gst_parse_bin_from_description):
4450         * gst/gstutils.h:
4451           Maintain API and ABI when --disable-parse is used. Now that
4452           we have an appropriate error code, we can just return NULL and the
4453           appropriate error when gst_parse_launch() is used despite it having
4454           been disabled (#342564).
4455
4456         * tests/check/Makefile.am:
4457         * tests/check/pipelines/.cvsignore:
4458         * tests/check/pipelines/parse-disabled.c:
4459           Make sure these functions exist and return NULL plus a GError when
4460           --disable-parse is used.
4461
4462 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
4463
4464         * tests/benchmarks/complexity.c: (main):
4465         * tests/benchmarks/mass-elements.c: (main):
4466           Set a good example and don't leak messages.
4467
4468 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
4469
4470         * docs/gst/Makefile.am:
4471         * docs/libs/Makefile.am:
4472           Correct fixxrefs options.
4473
4474         * docs/plugins/Makefile.am:
4475         * docs/plugins/gstreamer-plugins-docs.sgml:
4476         * docs/plugins/gstreamer-plugins-sections.txt:
4477         * plugins/elements/Makefile.am:
4478         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
4479         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
4480           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
4481           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
4482           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
4483           _GstCapsFilterClass, trans_class):
4484         * plugins/elements/gstelements.c (name, rank, type, _elements):
4485         * plugins/elements/gstidentity.c
4486           (gst_identity_check_imperfect_timestamp,
4487           gst_identity_check_imperfect_offset):
4488           Document capsfilter and add doc-blurb to identity.
4489
4490 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
4491
4492         * libs/gst/controller/gstcontroller.c:
4493         (gst_controlled_property_set_interpolation_mode):
4494         * libs/gst/controller/gstinterpolation.c:
4495           Don't crash if someone tries to set an interpolation mode that
4496           is invalid or that isn't supported yet. Fixes #422295.
4497
4498         * tests/check/libs/controller.c: (GST_START_TEST),
4499         (gst_controller_suite):
4500           Add a test case for the above.
4501
4502 2007-05-03  Edward Hervey  <edward@fluendo.com>
4503
4504         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4505         Properly set the last_stop position on GstSegment. This will only happen
4506         if there is a buffer to push out.
4507
4508 2007-05-03  Wim Taymans  <wim@fluendo.com>
4509
4510         * libs/gst/base/gstbasetransform.c:
4511         (gst_base_transform_buffer_alloc):
4512         always_in_place does not mean that the sink and source caps are the
4513         same! Make sure we don't blindly proxy the buffer_alloc in this case.
4514
4515 2007-05-03  Wim Taymans  <wim@fluendo.com>
4516
4517         * docs/libs/gstreamer-libs-sections.txt:
4518         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4519         (gst_base_src_default_query), (gst_base_src_get_range):
4520         * libs/gst/base/gstbasesrc.h:
4521         API: gst_base_src_query_latency(). Added method so that subclasses can
4522         easily get the latency values of the base source class.
4523
4524 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
4525
4526         * tools/gst-inspect.c (print_implementation_info):
4527         Remove 0.8 cruft.
4528
4529 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
4530
4531         * tools/Makefile.am:
4532         * tools/gst-launch.1.in:
4533           Don't create a customised man page based on the host architecture,
4534           describe the default registry path generically. That way the man
4535           page is the same for all architectures and packagers have one
4536           multilib issue less to deal with. Fixes #434926.
4537
4538 2007-05-02  Wim Taymans  <wim@fluendo.com>
4539
4540         * gst/gstpad.c:
4541         Fix documentation as spotted by rg on IRC. 
4542
4543 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
4544
4545         * gst/gstutils.c:
4546           Improve docs for gst_element_{link,unlink}.
4547
4548 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
4549
4550         * docs/design/part-events.txt:
4551         * docs/design/part-overview.txt:
4552         * gst/gstevent.c:
4553         * gst/gsturi.c:
4554         * gst/gsturi.h:
4555         * libs/gst/base/gstbasesink.c:
4556           Typo fixes; minor docs addition.
4557
4558 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4559
4560         * docs/gst/gstreamer-sections.txt:
4561         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
4562         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
4563         * gst/gsturi.h:
4564         API: Add gst_uri_protocol_is_supported(), which checks if a sink
4565         or src that supports a given URI protocol exists.
4566
4567 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4568
4569         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4570         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4571         Set the location to NULL if "file://" is set as URI. Otherwise
4572         some random previous URI would still be set if "file://" is
4573         set on an already used filesink/filesrc.
4574
4575 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4576
4577         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4578         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4579         Special case the "file://" URI as as this is used by some
4580         applications to test with gst_element_make_from_uri if there's
4581         an element that supports the URI protocol.
4582         Also move the g_path_is_absolute() check for the location part
4583         of the URI to also check this for "file://localhost/bla" URIs.
4584
4585 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
4586
4587         * docs/gst/gstreamer-sections.txt:
4588         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
4589         * gst/gstbuffer.h:
4590         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4591         (gst_buffer_suite):
4592           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
4593
4594 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
4595
4596         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4597         (gst_registry_binary_load_pad_template),
4598         (gst_registry_binary_load_plugin),
4599         (gst_registry_binary_read_cache):
4600         * gst/gstregistrybinary.h:
4601           Implement no-mmap alternative for registry reading. Do code cleanups.
4602           Add more comments about avoiding strdups for all text data. Comments
4603           welcome.
4604
4605 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
4606
4607         * gst/gstregistrybinary.h (GstBinaryPluginElement,
4608           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
4609           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
4610           Comment structs and reformat to fix the build (that stuff should go
4611           into a priv. header).
4612
4613 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
4614
4615         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
4616         (gst_registry_binary_load_feature):
4617         * gst/gstregistrybinary.h:
4618           Refactor so that we can implement multiple features. Add support for
4619           TypeFindFactory features.
4620
4621 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
4622
4623         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
4624
4625         * configure.ac:
4626           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
4627
4628 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
4629
4630         * gst/gstbin.c: (gst_bin_element_set_state),
4631         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
4632         (bin_handle_async_done), (gst_bin_handle_message_func):
4633           Fix build with --gst-disable-gst-debug
4634
4635 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
4636
4637         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
4638           Make sure streaming has finished before calling the ::stop() vfunc,
4639           since that vfunc might clear state which is being used in the
4640           streaming thread. This fixes a race that caused crashes in
4641           audioresample when shutting down a pipeline (#420106).
4642
4643 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4644
4645         * docs/gst/gstreamer-sections.txt:
4646           That was one byte missing.
4647
4648 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4649
4650         * configure.ac:
4651         * docs/gst/gstreamer-sections.txt:
4652         * gst/Makefile.am:
4653         * gst/gstconfig.h.in:
4654         * gst/gstobject.c: (gst_object_class_init),
4655         (gst_signal_object_class_init):
4656         * gst/gstobject.h:
4657           2nd attempt to have a xml-less build as a joined effort of #413123
4658           and #421480.
4659
4660 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4661
4662         * docs/design/draft-tagreading.txt:
4663           Added open issues/thoughts to draft.
4664
4665 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4666
4667         * gst/parse/grammar.tab.pre.c:
4668         * gst/parse/grammar.tab.pre.h:
4669         * gst/parse/lex._gst_parse_yy.pre.c:
4670         Update the prebuild parser sources.
4671
4672 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4673
4674         * gst/parse/Makefile.am:
4675         And now fix the building of the flex sources. Now everything should
4676         work as expected.
4677
4678 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4679
4680         * gst/parse/Makefile.am:
4681         Now hopefully fix the build failures by setting proper rule
4682         dependencies and moving instead of copying.
4683
4684 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
4685
4686         * tests/benchmarks/complexity.gnuplot:
4687         * tests/benchmarks/complexity.scm:
4688         * tests/benchmarks/mass-elements.gnuplot:
4689         * tests/benchmarks/mass-elements.scm:
4690           Total licensification.
4691
4692 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
4693
4694         * gst/parse/Makefile.am:
4695           Fix the build by correcting the rule that gave wrong files to flex.
4696
4697 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
4698
4699         * tests/benchmarks/complexity.c:
4700         * tests/benchmarks/mass-elements.c:
4701           Change licence to LGPL as granted by Benjamin and Andy.
4702
4703 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4704
4705         * gst/parse/Makefile.am:
4706         Add correct grammar.tab.h dependency if compiling without new enough
4707         flex. Fixes #431150.
4708
4709 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
4710
4711         * gst/parse/Makefile.am:
4712         Fix typo and use outdated sources if the flex/bison sources are newer
4713         than the pregenerated ones but flex is too old. Print a warning in
4714         that case. This should fix the build on the build bot.
4715
4716 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
4717
4718         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
4719         * gst/parse/Makefile.am:
4720         * gst/parse/grammar.y:
4721         * gst/parse/parse.l:
4722         Make the parser reentrant and recursively callable. This requires flex
4723         >= 2.5.31, for older versions pregenerated sources are used as we
4724         can't bump the build dependency. Finally fixes #349180.
4725
4726         * gst/gstparse.c: (gst_parse_launch):
4727         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
4728         now anyway.
4729
4730         * docs/gst/Makefile.am:
4731         * docs/gst/Makefile.am:
4732         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
4733         (__gst_parse_strfree), (__gst_parse_link_new),
4734         (__gst_parse_link_free), (__gst_parse_chain_new),
4735         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
4736         (gst_parse_element_set), (gst_parse_free_link),
4737         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
4738         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
4739         (_gst_parse_launch):
4740         * gst/parse/grammar.tab.pre.h:
4741         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
4742         (yy_get_previous_state), (yy_try_NUL_trans), (input),
4743         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
4744         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
4745         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
4746         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
4747         (_gst_parse_yypop_buffer_state),
4748         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
4749         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
4750         (yy_fatal_error), (_gst_parse_yyget_extra),
4751         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
4752         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
4753         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
4754         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
4755         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
4756         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
4757         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
4758         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
4759         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
4760         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
4761         (_gst_parse_yyfree):
4762         If the installed flex version is too old use pre-generated parser
4763         sources. These pre-generated parser sources are always updated when
4764         the actual flex/bison sources change but require everybody who wants
4765         to change something in the parser to have flex >= 2.5.31 installed.
4766
4767 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
4768
4769         * common/m4/gst-gettext.m4:
4770         * gst/gst-i18n-lib.h:
4771           Make --disable-nls to work
4772
4773 2007-04-17  Wim Taymans  <wim@fluendo.com>
4774
4775         * gst/gstconfig.h.in:
4776         Revert previous change that broke the build.
4777
4778 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
4779
4780         * configure.ac:
4781         * gst/Makefile.am:
4782         * gst/gstconfig.h.in:
4783           Drop libxml2 dependency when building with 
4784           --enable-binary-registry --disable-loadsave
4785
4786 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
4787
4788         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4789         (gst_registry_binary_read_cache):
4790         * gst/gstregistrybinary.h:
4791           Remove unnecessary <sys/mman.h> include which broke the win32 build
4792           with MingW; move includes from header file to .c file, even if the
4793           header file isn't installed; use g_strerror() where UTF-8 strings
4794           are expected, such as in GST_DEBUG messages.
4795
4796 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4797
4798         * docs/libs/gstreamer-libs-sections.txt:
4799         Remove bogus addition for API I didn't end up keeping.
4800
4801         * libs/gst/base/gstbasesrc.h:
4802         Mention Since: 0.10.13 in the documentation.
4803
4804         Add the API keyword to the previous ChangeLog entry.
4805
4806 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4807
4808         * docs/libs/gstreamer-libs-sections.txt:
4809         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4810         (gst_base_src_default_prepare_seek_segment),
4811         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
4812         * libs/gst/base/gstbasesrc.h:
4813         Allow basesrc derived classes to execute seeks in other formats
4814         by providing a prepare_seek_segment vmethod. Sub-classes can choose
4815         to prepare the GstSegment in any format that their perform_seek method
4816         will be able to understand. The default implementation provides the
4817         old behaviour of attempting to convert the seek offsets to the 
4818         configured native format.
4819
4820         API: basesrc::prepare_seek_segment vmethod.
4821
4822 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4823
4824         * gst/gstelement.c: (gst_element_get_state_func):
4825         Don't output the same debug statement twice.
4826
4827         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
4828         (gst_adapter_peek), (gst_adapter_take_buffer):
4829         Optimise the case where we have buffers at the head of the queue that
4830         can be joined quickly (because they're contiguous sub-buffers) by
4831         merging them together rather than copying data out into new memory.
4832
4833         * gst/parse/grammar.y:
4834         * tests/check/pipelines/parse-launch.c:
4835         Fix a leak in an error path for parse_launch, and add a check 
4836         for it to the testsuite.
4837
4838 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4839
4840         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
4841           Don't deadlock when releasing a pad - gst_pad_set_active may try
4842           and take the multiqueue lock too.
4843
4844 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
4845
4846         * gst/gsterror.c: (_gst_core_errors_init):
4847         * gst/gsterror.h:
4848           API: add GST_CORE_ERROR_DISABLED (#392804).
4849
4850 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4851
4852         * docs/faq/gst-uninstalled:
4853           don't get empty paths on the PATH variables
4854         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
4855           Don't format for the uncommon terminal width of 84 characters.
4856
4857 2007-04-06  Wim Taymans  <wim@fluendo.com>
4858
4859         * gst/gstpipeline.c: (reset_stream_time),
4860         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
4861         Only try to select a different pipeline clock when we went back to
4862         PAUSED and not when we merely got flushed.
4863
4864 2007-04-05  Michael Smith  <msmith@fluendo.com>
4865
4866         * tools/gst-launch.1.in:
4867           fractions are better supported in gstreamer than ractions, so
4868           suggest using those.
4869
4870 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4871
4872         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
4873
4874         * po/LINGUAS:
4875         * po/da.po:
4876           Added Danish translation.
4877
4878 2007-04-05  Wim Taymans  <wim@fluendo.com>
4879
4880         * libs/gst/base/gstbasesink.c:
4881         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
4882         Fix leak caused when refusing newsegment after EOS.
4883
4884         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
4885         (gst_fake_sink_init), (gst_fake_sink_set_property),
4886         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
4887         (gst_fake_sink_render), (gst_fake_sink_change_state):
4888         * plugins/elements/gstfakesink.h:
4889         Add num-buffers property to make the element generate EOS after a
4890         configurable amount of buffers.
4891         API: fakesink::num-buffers property.
4892
4893         * tests/check/elements/fakesink.c: (GST_START_TEST),
4894         (fakesink_suite):
4895         Fix GstBus leak in test.
4896         Test for fakesink num-buffers.
4897
4898 2007-04-05  Wim Taymans  <wim@fluendo.com>
4899
4900         * libs/gst/base/gstbasesink.c:
4901         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4902         (gst_base_sink_change_state):
4903         Don't accept anything after an EOS, return UNEXPECTED instead.
4904
4905         * tests/check/elements/fakesink.c: (GST_START_TEST),
4906         (fakesink_suite):
4907         Unit test for new EOS behaviour.
4908
4909 2007-04-05  Wim Taymans  <wim@fluendo.com>
4910
4911         * gst/gstelement.c: (gst_element_get_request_pad):
4912         Make padtemplates also work when they don't contain %s or %d.
4913
4914 2007-04-05  Wim Taymans  <wim@fluendo.com>
4915
4916         * docs/gst/gstreamer-sections.txt:
4917         * gst/gstclock.c: (gst_clock_adjust_unlocked),
4918         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
4919         * gst/gstclock.h:
4920         Improve _adjust_unlocked() so that it overflows less.
4921         Add gst_clock_unadjust_unlocked to convert from external time to
4922         internal time based on calibration.
4923         Add some more debug.
4924         API: GstClock::gst_clock_unadjust_unlocked()
4925
4926 2007-04-03  Wim Taymans  <wim@fluendo.com>
4927
4928         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4929
4930         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
4931         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
4932         when releasing sink pad. Fixes #425400.
4933
4934 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
4935
4936         * docs/random/ensonic/dynlink.txt:
4937           More work on proposal for new core api.
4938
4939         * docs/libs/gstreamer-libs-sections.txt:
4940         * libs/gst/base/gstbasetransform.h:
4941           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
4942           
4943         * libs/gst/controller/gstcontroller.c:
4944         (on_object_controlled_property_changed),
4945         (gst_controller_sync_values),
4946         (gst_controller_set_interpolation_mode):
4947         * libs/gst/controller/gstcontroller.h:
4948           Less verbose logging add docs for unimplemented parts and correctly
4949           return when using unavailable parts.
4950
4951 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
4952
4953         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
4954         Move all the debug to the CLOCK category, and associate it with
4955         the clock object.
4956
4957 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
4958
4959         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
4960         Make take_buffer a bit quicker by removing redundant checks
4961         caused by calling gst_adapter_take.
4962
4963 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
4964
4965         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
4966           Don't leak GCond.
4967
4968         * tests/check/Makefile.am:
4969         * tests/check/elements/.cvsignore:
4970         * tests/check/elements/multiqueue.c: (setup_multiqueue),
4971         (GST_START_TEST), (multiqueue_suite):
4972           Add some dead simple unit tests for the 'multiqueue' element
4973           (some bits don't work yet and are disabled for now).
4974
4975 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
4976
4977         * gst/gstelement.c: (gst_element_get_request_pad),
4978         (gst_element_class_get_request_pad_template):
4979           Make gst_element_get_request_pad() create request pads only for
4980           request pad templates and not for, say, sometimes pad templates.
4981
4982 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
4983
4984         * docs/design/draft-klass.txt:
4985           Add example that needs more thinking.
4986         
4987         * docs/design/draft-missing-plugins.txt:
4988           More thoughts about wrapper plugins.
4989         
4990         * docs/random/ensonic/embedded.txt:
4991         * docs/random/ensonic/profiling.txt:
4992           More design work.
4993
4994 2007-03-25  Wim Taymans  <wim@fluendo.com>
4995
4996         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
4997         (gst_base_src_loop):
4998         Only push the segment events in the PLAYING state for live sources.
4999
5000 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
5001
5002         * gst/gstpipeline.c: (gst_pipeline_change_state):
5003         Modify the clock distribution path in PAUSED->PLAYING so that we 
5004         never attempt to choose a new clock unless we're actually leaving
5005         the PAUSED state for the first time. This prevents choosing a
5006         different clock when the state_change gets called for a 2nd time due
5007         to some element doing an async state change.
5008
5009 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
5010
5011         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
5012         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
5013         (gst_pad_chain_unchecked), (gst_pad_push):
5014         Revert last commit. This needs some more thoughts.
5015
5016 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
5017
5018         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
5019         (gst_pad_chain_unchecked), (gst_pad_push):
5020         Check in set_caps if the caps are compatible with the pad and remove
5021         two functions that are redundant now. Fixes #421543.
5022
5023 2007-03-22  Wim Taymans  <wim@fluendo.com>
5024
5025         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5026         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
5027         Unref some more to make valgrind happy.
5028
5029 2007-03-22  Wim Taymans  <wim@fluendo.com>
5030
5031         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
5032         (gst_system_clock_id_wait_jitter),
5033         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
5034         Fix anoying regression that survived a few releases. When adding an
5035         async entry while blocking on a sync entry, the sync entry will unblock
5036         but still be busy, so it should continue to wait instead of returning
5037         _BUSY to the app.
5038         Add some comments here and there.
5039
5040         * tests/check/gst/gstsystemclock.c: (mixed_thread),
5041         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
5042         Add testcase for this.
5043
5044 2007-03-22  Wim Taymans  <wim@fluendo.com>
5045
5046         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5047         Handle errors from the clock sync better, only UNSCHEDULED indicates a
5048         WRONG_STATE and can silently pause the task. All other cases should
5049         error out.
5050
5051 2007-03-22  Wim Taymans  <wim@fluendo.com>
5052
5053         Patch by: Ville Syrjala <syrjala at sci dot fi>
5054
5055         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
5056         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
5057         Improve debugging.
5058
5059 2007-03-21  Michael Smith  <msmith@fluendo.com>
5060
5061         * docs/pwg/advanced-types.xml:
5062           Fix some errors in the typefinding docs pointed out on irc.
5063
5064 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
5065
5066         * libs/gst/base/gstbasesrc.c:
5067         Clarify FIXME comment in the face of having added unlock_stop()
5068
5069 2007-03-21  Wim Taymans  <wim@fluendo.com>
5070
5071         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
5072         Prepare for release where we warn against possible app breakage in the
5073         case of live pipelines along with an env var to enable/disable live
5074         preroll mode (GST_COMPAT=[no-]live-preroll).
5075
5076 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5077
5078         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
5079         So we should use correct constants for checking for None offset.
5080
5081 2007-03-20  Wim Taymans  <wim@fluendo.com>
5082
5083         * docs/design/part-block.txt:
5084         Mention the fact that the newly switched element should be set to at
5085         least PAUSED.
5086
5087 2007-03-20  Wim Taymans  <wim@fluendo.com>
5088
5089         * gst/gst.c:
5090         Fix compilation with registry disabled as spotted by Saur.
5091
5092 2007-03-20  Wim Taymans  <wim@fluendo.com>
5093
5094         Patch by: Olivier Crete <tester at tester dot ca>
5095
5096         * gst/gstelement.c: (gst_element_sync_state_with_parent):
5097         Look at the pending state too when syncing the element state to the
5098         parent. Fixes #420133.
5099
5100 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
5101
5102         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5103         (gst_base_sink_change_state):
5104         * libs/gst/base/gstbasesink.h:
5105         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5106         (gst_base_src_default_event), (gst_base_src_unlock_stop),
5107         (gst_base_src_deactivate):
5108         * libs/gst/base/gstbasesrc.h:
5109         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
5110         for sub-classes to correctly clear any state they set trying to
5111         unlock, such as clearing out unlock commands from a command fd.
5112         API: basesrc::unlock_stop
5113         API: basesink::unlock_stop
5114
5115         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
5116         (gst_fd_sink_render), (gst_fd_sink_unlock),
5117         (gst_fd_sink_unlock_stop):
5118         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
5119         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
5120         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
5121
5122         Implement unlock_stop in fdsrc and fdsink.
5123         Implement seeking in fdsrc when a seekable fd is passed, as in
5124         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
5125
5126 2007-03-19  Wim Taymans  <wim@fluendo.com>
5127
5128         Patch by: Evan Nemerson <evan at coeus dash group dot com>
5129
5130         * gst/gstelement.c: (gst_element_class_init):
5131         Fix pad-added and pad-removed signal signatures so that the pad type is
5132         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
5133
5134 2007-03-19  Wim Taymans  <wim@fluendo.com>
5135
5136         * docs/gst/gstreamer-sections.txt:
5137         Add new element field and method.
5138
5139         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5140         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
5141         (gst_bin_recalc_state), (gst_bin_get_state_func),
5142         (gst_bin_element_set_state), (gst_bin_change_state_func),
5143         (gst_bin_continue_func), (bin_bus_handler),
5144         (bin_push_state_continue), (bin_handle_async_start),
5145         (bin_handle_async_done), (gst_bin_handle_message_func):
5146         Make async state changes a bit smarter by using new ASYNC_START and
5147         ASYNC_DONE messages. This reduces the number of times we run the state
5148         recalculation thread.
5149         Don't change state of element with a pending ASYNC_START message.
5150         Deprecate STATE_DIRTY messages.
5151         
5152         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
5153         (gst_element_get_state_func), (gst_element_continue_state),
5154         (gst_element_lost_state), (gst_element_set_state_func),
5155         (gst_element_change_state):
5156         * gst/gstelement.h:
5157         Keep the state that was last set by the app in a new element field.
5158         Don't allow state changes when handling an element event.
5159         Post ASYNC_START and ASYNC_DONE messages.
5160         Change lost_state so that we go to PAUSED and wait for the parent to set
5161         us to PLAYING again (so latency calculation can be performed)
5162         Export gst_element_change_state() method so that subclasses can use it.
5163         API: gst_element_change_state()
5164         API: GST_STATE_TARGET
5165
5166         * gst/gstpipeline.c: (gst_pipeline_class_init),
5167         (reset_stream_time), (gst_pipeline_change_state),
5168         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
5169         Using the new ASYNC_START message we can reset the base_time when
5170         needed. This can then be used to implement base_time redistribution in
5171         flushing seeks so that we can remove the explicit seek handling.
5172         Perform latency query and configuration when going to PLAYING.
5173
5174         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5175         (gst_base_sink_query), (gst_base_sink_change_state):
5176         Post new ASYNC_START/ASYNC_DONE messages.
5177
5178         * tests/check/generic/sinks.c: (GST_START_TEST):
5179         Fix test because the bin will not set the async element to PLAYING right
5180         away.
5181
5182         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
5183         Make the message check a little stronger.
5184         Handle ASYNC messages.
5185
5186         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
5187         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
5188         Expect ASYNC_DONE messages.
5189
5190 2007-03-19  Wim Taymans  <wim@fluendo.com>
5191
5192         * docs/gst/gstreamer-sections.txt:
5193         * gst/gstmessage.c: (gst_message_new_async_start),
5194         (gst_message_new_async_done), (gst_message_parse_info),
5195         (gst_message_parse_async_start):
5196         * gst/gstmessage.h:
5197         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
5198         support.
5199
5200 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
5201
5202         * tools/gst-inspect.c:
5203         (print_plugin_automatic_install_info_codecs):
5204           Now that we don't check for the 'Codec' keyword any longer in the
5205           klass, we shouldn't spew a warning if the klass isn't a decoder or
5206           encoder (since it might be a Source/Network, for example).
5207
5208 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
5209
5210         * tools/gst-inspect.c:
5211         (print_plugin_automatic_install_info_codecs):
5212           Don't require decoder/demuxer/depayloader elements or
5213           encoder/muxer/paylader elements to have 'Codec' as part of their
5214           factory class string when introspecting a plugin's capabilities.
5215           draft-klass.txt mentions that it might be removed in future, and
5216           flump3dec doesn't have it as part of its class string, so chances
5217           are others might also not have it.
5218
5219 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5220
5221         * po/af.po:
5222         * po/az.po:
5223         * po/bg.po:
5224         * po/ca.po:
5225         * po/cs.po:
5226         * po/de.po:
5227         * po/en_GB.po:
5228         * po/fr.po:
5229         * po/it.po:
5230         * po/nb.po:
5231         * po/nl.po:
5232         * po/ru.po:
5233         * po/sq.po:
5234         * po/sr.po:
5235         * po/sv.po:
5236         * po/tr.po:
5237         * po/uk.po:
5238         * po/vi.po:
5239         * po/zh_CN.po:
5240         * po/zh_TW.po:
5241           Update translations from translation project
5242
5243 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
5244
5245         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
5246         (gst_child_proxy_set_property):
5247           Invert precondition check to be alike the ones in the mimiced gobject
5248           api.
5249
5250 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
5251
5252         * docs/design/draft-tagreading.txt:
5253         * docs/random/ensonic/audiobaseclasses.txt:
5254           Do some Architect work.
5255
5256         * gst/gstobject.c: (gst_object_set_name):
5257           Add a WARNING.
5258
5259         * gst/gstpad.c:
5260           Add docs that point from gst_pad_get_range to gst_pad_pull_range
5261
5262 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
5263
5264         * gst/gstsystemclock.c: (gst_system_clock_init),
5265         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
5266         Defer starting the async system clock thread until the first async
5267         wait is scheduled. Fixes #414986.
5268
5269 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
5270
5271         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
5272         (gst_single_queue_free):
5273           Fix small leak (free GstSingleQueue structure too, not only contents).
5274
5275 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
5276
5277         * gst/gstbin.c:(gst_bin_add):
5278         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
5279         * win32/common/libgstbase.def:
5280         * win32/common/libgstreamer.def:
5281         Add new exported functions.
5282
5283 2007-03-09  Wim Taymans  <wim@fluendo.com>
5284
5285         * docs/plugins/gstreamer-plugins-sections.txt:
5286         Fix GstTee docs.
5287
5288 2007-03-09  Wim Taymans  <wim@fluendo.com>
5289
5290         * docs/gst/gstreamer-sections.txt:
5291         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
5292         * gst/gstbuffer.h:
5293         Add metadata copy functions. Fixes #393099.
5294         API: gst_buffer_copy_metadata()
5295
5296         * gst/gstutils.c: (gst_buffer_stamp):
5297         * libs/gst/base/gstbasetransform.c:
5298         (gst_base_transform_prepare_output_buffer):
5299         Use new metadata copy functions.
5300
5301 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5302
5303         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5304         (gst_identity_init), (gst_identity_check_perfect),
5305         (gst_identity_check_imperfect_timestamp),
5306         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
5307         (gst_identity_set_property), (gst_identity_get_property):
5308         * plugins/elements/gstidentity.h:
5309         Separate out check-imperfect-timestamp and check-imperfect-offset.
5310         Put back check-perfect as it was to keep compatibility.
5311
5312 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
5313
5314         * gst/gstelement.c: (gst_element_dispose):
5315         There's no need to warn if VOID_PENDING is not NONE here, as
5316         long as the state is NULL it's ok, and that's checked immediately
5317         above.
5318
5319 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5320
5321         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5322         Fix check for perfect stream to ignore buffers with -1 
5323         offsets/offset ends when checking data contiguity.
5324
5325 2007-03-08  Wim Taymans  <wim@fluendo.com>
5326
5327         * tools/gst-launch.c: (event_loop):
5328         Print INFO messages.
5329
5330 2007-03-08  Wim Taymans  <wim@fluendo.com>
5331
5332         * libs/gst/base/gstbasetransform.c:
5333         (gst_base_transform_sink_eventfunc),
5334         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5335         (gst_base_transform_activate):
5336         * libs/gst/base/gstbasetransform.h:
5337         Add support for dropping buffers with custom GstFlowReturn.
5338         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
5339         buffers or dropped buffers.
5340
5341         * docs/libs/gstreamer-libs-sections.txt:
5342         docs for new custom return code.
5343
5344         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5345         Use drop support in base class to implement drop-probability.
5346
5347 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
5348
5349         * gst/gst.c: (load_plugin_func):
5350         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
5351         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5352         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
5353           Remove newlines at end of debug log strings.
5354
5355 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5356
5357         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5358         Only post bus message at max, once per buffer received.
5359
5360 2007-03-07  Wim Taymans  <wim@fluendo.com>
5361
5362         * docs/design/Makefile.am:
5363         * docs/design/part-synchronisation.txt:
5364         Add doc about synchronisation
5365
5366         * docs/design/draft-latency.txt:
5367         * docs/design/part-TODO.txt:
5368         * docs/design/part-clocks.txt:
5369         * docs/design/part-events.txt:
5370         * docs/design/part-gstbus.txt:
5371         * docs/design/part-gstpipeline.txt:
5372         * docs/design/part-live-source.txt:
5373         * docs/design/part-messages.txt:
5374         * docs/design/part-overview.txt:
5375         * docs/design/part-streams.txt:
5376         * docs/design/part-trickmodes.txt:
5377         Documentation updates.
5378
5379 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
5380
5381         * gstreamer.doap:
5382         Update the doap file.
5383
5384 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5385
5386         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5387         Rename non-perfect to imperfect for Mike and for the sanctity of the
5388         language.
5389         Also make sure bus message gets emitted for data-incontiguities.
5390
5391 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5392
5393         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
5394         (gst_identity_start):
5395         * plugins/elements/gstidentity.h:
5396         Emit bus message if check-perfect is true and we encounter a
5397         non-perfect stream between 2 consecutive buffers.
5398         Fixes #415394.
5399
5400 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
5401
5402         * configure.ac:
5403         Back to CVS
5404
5405 === release 0.10.12 ===
5406
5407 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
5408
5409         * configure.ac:
5410           releasing 0.10.12, "Inevitable Demise"
5411
5412 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
5413
5414         * configure.ac:
5415          Version 0.10.11.2 (0.10.12 pre-release)
5416          Bump libtool versioning.
5417
5418 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
5419
5420         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5421           Log flow-names and not numbers.
5422
5423 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5424
5425         * configure.ac:
5426           Convert to new AG_GST style.
5427
5428 2007-02-28  Wim Taymans  <wim@fluendo.com>
5429
5430         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
5431         Don't unref query twice.
5432
5433 2007-02-28  Wim Taymans  <wim@fluendo.com>
5434
5435         * gst/gstvalue.c: (gst_value_transform_object_string),
5436         (_gst_value_initialize):
5437         Implement GstObject -> string transform so we print object names
5438         when serializing GValues containing GstObjects.
5439
5440 2007-02-28  Wim Taymans  <wim@fluendo.com>
5441
5442         * docs/gst/gstreamer-sections.txt:
5443         Add new stuff to docs.
5444
5445 2007-02-28  Wim Taymans  <wim@fluendo.com>
5446
5447         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5448         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
5449         (gst_base_sink_change_state):
5450         Improve latency query code.
5451         Don't leak latency events.
5452
5453         * tests/check/gst/gstbin.c: (GST_START_TEST):
5454         Improve debugging.
5455
5456 2007-02-28  Wim Taymans  <wim@fluendo.com>
5457
5458         * gst/gstelement.c: (gst_element_message_full),
5459         (gst_element_get_state_func):
5460         * gst/gstelement.h:
5461         Improve docs a little. Added Since: for new macro.
5462
5463         * gst/gstobject.c: (gst_object_sink):
5464         * gst/gstpipeline.c: (gst_pipeline_change_state),
5465         (gst_pipeline_set_new_stream_time):
5466         * gst/gstpipeline.h:
5467         Improve debugging and docs.
5468
5469         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5470         Improve debugging.
5471
5472 2007-02-28  Wim Taymans  <wim@fluendo.com>
5473
5474         * gst/gstelement.c: (gst_element_message_full),
5475         (gst_element_set_locked_state), (gst_element_get_state_func),
5476         (gst_element_change_state):
5477         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
5478         Documentation updates.
5479         Small code cleanups.
5480
5481         * gst/gstmessage.c: (gst_message_new_info),
5482         (gst_message_parse_info):
5483         * gst/gstmessage.h:
5484         API: gst_message_new_info()
5485         API: gst_message_parse_info()
5486         Add INFO message create and parse code.
5487
5488 2007-02-28  Wim Taymans  <wim@fluendo.com>
5489
5490         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
5491         (bin_query_latency_done):
5492         Also report the live parameter of a latency query.
5493
5494 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5495
5496         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
5497           Copy the current generic/states example from -base and adapt so
5498           we can use the exact same code everywhere.
5499           Check a STATES_IGNORE_ELEMENTS env var which can be used
5500           to ignore certain element factories for this test, which is
5501           what is being done in -base
5502         * tests/check/Makefile.am:
5503           Mention this environment variable.
5504
5505 2007-02-27  Wim Taymans  <wim@fluendo.com>
5506
5507         * docs/gst/gstreamer-sections.txt:
5508         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5509         (gst_bus_timed_pop), (gst_bus_pop):
5510         * gst/gstbus.h:
5511         API: gst_bus_timed_pop()
5512         Implement gst_bus_timed_pop() to do a blocking timed wait for a
5513         message to arrive on the bus.
5514
5515         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
5516         (gst_bus_suite):
5517         Two unit tests for new _timed_pop() function.
5518
5519 2007-02-23  Wim Taymans  <wim@fluendo.com>
5520
5521         * gst/gstpipeline.c: (gst_pipeline_change_state),
5522         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
5523         Don't ref a NULL clock in _provide_clock_func().
5524         Don't allow an INVALID delay.
5525         Don't try to calculate base_time with an invalid start_time.
5526         Also distribute and notify a NULL clock when it was selected.
5527
5528         * tools/gst-launch.c: (event_loop):
5529         Don't crash when a NULL clock was selected in the pipeline.
5530
5531 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5532
5533         * docs/design/Makefile.am:
5534         * docs/design/draft-missing-plugins.txt:
5535         * docs/random/draft-missing-plugins.txt:
5536           Some small updates: update plugin system identifier prefix
5537           ('gstreamer.net' to 'gstreamer'), mention our new install
5538           API in libgstbaseutils rather than libgimme-codec, add
5539           reference to the online docs.
5540
5541 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5542
5543         * win32/common/config.h:
5544           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
5545           use moap cl ci to only check in what is mentioned in the ChangeLog.
5546
5547 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5548
5549         * docs/gst/gstreamer-sections.txt:
5550         * gst/gstelement.h:
5551           Fix up documentation to link to the correct GstGError section.
5552           Add GST_ELEMENT_INFO macro since someone else added a Info message.
5553
5554 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5555
5556         * tools/gst-launch.c: (event_loop):
5557           Make sure that we actually show the important message part of a
5558           warning message.
5559           No need to check if the gerror is not NULL to free; first of all
5560           g_free accepts NULL; and second the default error handler would
5561           segfault if gerror was NULL.
5562
5563 2007-02-21  Wim Taymans  <wim@fluendo.com>
5564
5565         * docs/gst/gstreamer-sections.txt:
5566         Removed docs as well.
5567
5568 2007-02-21  Wim Taymans  <wim@fluendo.com>
5569
5570         * gst/gstmessage.c: (gst_message_parse_duration):
5571         * gst/gstmessage.h:
5572         Remove new messages for release.
5573
5574 2007-02-20  Wim Taymans  <wim@fluendo.com>
5575
5576         * docs/design/part-gstghostpad.txt:
5577         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
5578         (gst_ghost_pad_new_full):
5579         Make the ghostpad a parent of the internal pad again for better backward
5580         compatibility. Don't write code that relies on this however.
5581
5582         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5583         (gst_pad_link_check_hierarchy):
5584         Require that parents should be GstElements in the hierarchy check.
5585
5586 2007-02-20  Wim Taymans  <wim@fluendo.com>
5587
5588         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
5589         (gst_bin_change_state_func), (bin_query_min_max_init),
5590         (bin_query_latency_fold), (bin_query_latency_done),
5591         (gst_bin_query):
5592         Improve debug info.
5593         Implement latency query.
5594
5595 2007-02-20  Wim Taymans  <wim@fluendo.com>
5596
5597         * docs/design/part-gstghostpad.txt:
5598         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
5599         (gst_ghost_pad_internal_do_activate_push),
5600         (gst_ghost_pad_internal_do_activate_pull),
5601         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5602         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
5603         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
5604         Do not set the internal pad as a parent anymore so we can avoid
5605         hierarchy linking errors when the ghostpad has no parent yet. This also
5606         fixes failed activation because of unlinked internal pads, which in
5607         turn fixes the impossible case where you have to activate a pad before
5608         you can add it to a running element.
5609         Also fix the docs.
5610
5611         * gst/gstpad.c: (pre_activate), (post_activate),
5612         (gst_pad_set_active), (gst_pad_activate_pull),
5613         (gst_pad_activate_push), (gst_pad_check_pull_range):
5614         Add some more debug info.
5615         Mark activation mode in pre_activate so that we don't try to activate in
5616         endless loops. Fixes #385084.
5617
5618 2007-02-19  Wim Taymans  <wim@fluendo.com>
5619
5620         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5621         (gst_base_transform_check_get_range):
5622         Implement a checkgetrange function instead of relying on the default
5623         core behaviour that assumes we can operate in pull mode if we have a
5624         getrange function. First step at fixing #385084.
5625
5626 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
5627
5628         * gst/gstchildproxy.h:
5629         * libs/gst/base/gstbasesink.h:
5630         * libs/gst/base/gstbasesrc.h:
5631         * libs/gst/base/gstbasetransform.h:
5632         More docs coverage and some ChangeLog surgery (add missing names)
5633
5634 2007-02-15  Wim Taymans  <wim@fluendo.com>
5635
5636         * docs/design/part-TODO.txt:
5637         * docs/design/part-activation.txt:
5638         * docs/design/part-block.txt:
5639         * docs/design/part-buffering.txt:
5640         * docs/design/part-clocks.txt:
5641         * docs/design/part-element-source.txt:
5642         * docs/design/part-events.txt:
5643         * docs/design/part-gstbin.txt:
5644         * docs/design/part-gstbus.txt:
5645         * docs/design/part-gstpipeline.txt:
5646         * docs/design/part-live-source.txt:
5647         * docs/design/part-messages.txt:
5648         * docs/design/part-overview.txt:
5649         * docs/design/part-qos.txt:
5650         * docs/design/part-query.txt:
5651         * docs/design/part-states.txt:
5652         * docs/design/part-trickmodes.txt:
5653         Some doc updates. Start renaming from stream_time to running_time where
5654         it was used wrongly.
5655
5656 2007-02-15  Wim Taymans  <wim@fluendo.com>
5657
5658         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5659         Answer LATENCY query.
5660
5661 2007-02-15  Wim Taymans  <wim@fluendo.com>
5662
5663         * tests/check/gst/gstevent.c: (event_probe), (test_event),
5664         (GST_START_TEST):
5665         Improve debugging.
5666
5667 2007-02-15  Wim Taymans  <wim@fluendo.com>
5668
5669         * gst/gstpad.c: (gst_pad_get_internal_links_default),
5670         (gst_pad_dispatcher):
5671         Improve debugging of default pad dispatcher and query functions.
5672
5673 2007-02-15  Wim Taymans  <wim@fluendo.com>
5674
5675         * docs/gst/gstreamer-sections.txt:
5676         Remove old unused method.
5677
5678 2007-02-13  Wim Taymans  <wim@fluendo.com>
5679
5680         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5681         Fix check
5682
5683 2007-02-13  Wim Taymans  <wim@fluendo.com>
5684
5685         * docs/design/part-seeking.txt:
5686         Some small update.
5687
5688         * gst/gstsegment.c: (gst_segment_set_seek):
5689         Revert old bogus change that should make seeking work again.
5690
5691 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
5692
5693         * docs/random/ensonic/dynlink.txt:
5694         * docs/random/ensonic/interfaces.txt:
5695         * docs/random/ensonic/receipies.txt:
5696           Possible dynamic reconnection api, plus some type fixes the other two
5697           docs.
5698
5699 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
5700
5701         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5702         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5703         Also check for an absolute path following file:// in the filesrc
5704         element. Remove redundant check and call g_path_is_absolute() on the
5705         unescaped location.
5706
5707 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
5708
5709         * docs/design/draft-klass.txt:
5710           Add existing category analysis.
5711           
5712         * gst/gstcaps.c:
5713           Fix doc example, framerate is a fraction.
5714
5715 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
5716
5717         * configure.ac:
5718         * docs/gst/Makefile.am:
5719         * docs/gst/gstreamer-sections.txt:
5720         * docs/libs/Makefile.am:
5721           Erm, forgot a bunch of --extra-dir.
5722
5723 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
5724
5725         * configure.ac:
5726         * docs/gst/Makefile.am:
5727         * docs/libs/Makefile.am:
5728         * docs/plugins/Makefile.am:
5729           Add crossreferences to glib/gobject docs.
5730
5731 2007-02-12  Wim Taymans  <wim@fluendo.com>
5732
5733         * docs/design/draft-latency.txt:
5734         Small update.
5735
5736         * docs/libs/gstreamer-libs-sections.txt:
5737         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5738         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
5739         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
5740         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
5741         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
5742         (gst_base_sink_get_position), (gst_base_sink_query),
5743         (gst_base_sink_change_state):
5744         * libs/gst/base/gstbasesink.h:
5745         API: gst_base_sink_query_latency() to let subclasses query the upstream
5746         latency.
5747         API: gst_base_sink_get_latency() to let subclasses query the configured
5748         latency in the sink.
5749         Implement query and set latency.
5750         Update some docs.
5751         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
5752         don't continue preroll when we are flushing. Fixes #405284.
5753
5754         * tests/check/pipelines/stress.c: (change_state_timeout),
5755         (quit_timeout), (GST_START_TEST), (stress_suite):
5756         Test for #405284.
5757
5758 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
5759
5760         Patch by: René Stadler <mail at renestadler de>
5761
5762         * docs/gst/gstreamer-sections.txt:
5763         * gst/gsttaglist.c: (_gst_tag_initialize):
5764         * gst/gsttaglist.h:
5765           API: add GST_TAG_REFERENCE_LEVEL (#403597).
5766
5767 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
5768
5769         * docs/libs/Makefile.am:
5770           Fix path to core docs.
5771
5772         * gst/gstbin.c: (gst_bin_get_by_interface),
5773         (gst_bin_iterate_all_by_interface):
5774           Refix docs by also renaming 'interface' to 'iface' in implementation.
5775
5776         * docs/gst/gstreamer-sections.txt:
5777         * gst/gstcaps.c:
5778         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
5779         * gst/gstchildproxy.h:
5780         * gst/gstelementfactory.c:
5781         * gst/gstpadtemplate.h:
5782         * libs/gst/controller/gstcontroller.c:
5783         (gst_controlled_property_new):
5784           Document more.
5785
5786 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
5787
5788         * gst/gstbin.h:(gst_bin_get_by_interface),
5789         (gst_bin_iterate_all_by_interface):
5790         Replace interface parameter name by iface as interface is 
5791         a reserved keyword in Visual Studio for C++ projects so it removes
5792         a build error for application developpers using VS.
5793         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
5794         Fix a bug on Windows in uri format check. Now the prefix checked
5795         is file:// and next we check if the path after file:// is absolute.
5796         * win32/common/libgstbase.def:
5797         * win32/common/libgstdataprotocol.def:
5798         * win32/common/libgstgstreamer.def:
5799         Add new exported functions.
5800
5801 2007-02-09  Andy Wingo  <wingo@pobox.com>
5802
5803         * tests/check/pipelines/simple-launch-lines.c
5804         (simple_launch_lines_suite, test_tee): Disable tee test until I
5805         have time to fix it :-(
5806
5807         * tests/check/Makefile.am (noinst_HEADERS): 
5808         * tests/check/libs/libsabi.c: 
5809         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
5810         * tests/check/gst/gstabi.c: 
5811         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
5812
5813         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
5814         tests for push and pull tee behavior.
5815
5816         * plugins/elements/gsttee.h: 
5817         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
5818         mark as deprecated as well as unimplemented. It was a crack idea.
5819         Add support for tee operating in pull mode, off by default.
5820
5821         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
5822         normal-case logs down to LOG, raise errors to WARNING.
5823         (gst_registry_xml_read_cache): Don't log before calling a function
5824         that logs.
5825
5826         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
5827         exit (registry finalize).
5828         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
5829         DEBUG log when we emit signals that people don't even have the
5830         chance to connect to.
5831         (gst_registry_scan_path_level): Less logging in the normal case.
5832
5833 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
5834
5835         Patch by: Michal Benes <michal dot benes at itonis dot tv>
5836
5837         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5838         Correctly generate EOS for non-seekable files. We don't have a total
5839         length for them and would get an unexpected end of file if we only
5840         special-cased for regular files. (Fixes: #404569)
5841
5842 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
5843
5844         * tests/check/elements/filesrc.c: (GST_START_TEST),
5845         (filesrc_suite):
5846         Add unit test for the GstURIHandler interface in filesrc. This also
5847         tests the newly added file://localhost/foo/bar support.
5848
5849 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5850
5851         * gst/gstelementfactory.h:
5852           The klass string is not a hierarchy. Add reference to the design doc
5853           for more information and common types.
5854
5855 2007-02-02  Wim Taymans  <wim@fluendo.com>
5856
5857         * gst/gstquery.c: (gst_query_new_latency):
5858         Remove old structure field.
5859
5860 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
5861
5862         * tools/gst-launch.1.in:
5863           Give example for network streaming (#351998)
5864
5865 2007-02-02  Wim Taymans  <wim@fluendo.com>
5866
5867         * docs/gst/gstreamer-sections.txt:
5868         Add docs for new methods.
5869
5870         * gst/gstevent.c: (gst_event_new_latency),
5871         (gst_event_parse_latency):
5872         * gst/gstevent.h:
5873         Add new LATENCY event to configure latency in a pipeline.
5874         API: gst_event_new_latency
5875         API: gst_event_parse_latency
5876
5877         * gst/gstmessage.c: (gst_message_new_buffering),
5878         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
5879         (gst_message_new_latency), (gst_message_parse_buffering),
5880         (gst_message_parse_lost_preroll):
5881         * gst/gstmessage.h:
5882         Added messages used in draft-latency.
5883         API: gst_message_new_lost_preroll
5884         API: gst_message_parse_lost_preroll
5885         API: gst_message_new_prerolled
5886         API: gst_message_new_latency
5887
5888         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
5889         (gst_query_parse_latency):
5890         * gst/gstquery.h:
5891         Implemented new latency query as in design doc.
5892         API: gst_query_new_latency
5893         API: gst_query_set_latency
5894         API: gst_query_parse_latency
5895
5896 2007-02-02  Wim Taymans  <wim@fluendo.com>
5897
5898         * docs/design/draft-latency.txt:
5899         Slight redesign to allow for dynamic latency adjustments.
5900
5901         * docs/design/part-negotiation.txt:
5902         Fix some typos.
5903
5904 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
5905
5906         reviewed by: Wim Taymans <wim@fluendo.com>
5907
5908         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5909         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5910         Allow file://localhost/foo/bar URLs and correctly fail for every other
5911         hostname that one sets. This was gnomevfssrc is linked for those if
5912         installed as it can handle it (#403172)
5913
5914 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
5915
5916         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5917
5918         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5919         (unref_data), (gst_collect_pads_add_pad_full):
5920         * libs/gst/base/gstcollectpads.h:
5921         Don't put the previously added destroy notify in the GstCollectData
5922         struct as all it's padding is already used and we don't want to break
5923         ABI. Instead put in the pad's GObject data for now. This should be
5924         cleaned up for 0.11 (#402393).
5925
5926 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
5927
5928         reviewed by: Wim Taymans <wim@fluendo.com>
5929
5930         * docs/libs/gstreamer-libs-sections.txt:
5931         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5932         (unref_data), (gst_collect_pads_add_pad),
5933         (gst_collect_pads_add_pad_full):
5934         * libs/gst/base/gstcollectpads.h:
5935         API: Add function to specify a destroy notification for custom
5936         GstCollectData when adding new pads in GstCollectPads (#402393).
5937
5938 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
5939
5940         * po/sv.po:
5941           Update Swedish translation (#378255).
5942
5943 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
5944
5945         * docs/design/draft-klass.txt:
5946           Fix the previous change, this is a list of categories and not a hierarchy.
5947
5948 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
5949
5950         * docs/design/draft-klass.txt:
5951           Add info about how to get a list of used classes.
5952
5953 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
5954
5955         * plugins/elements/gsttypefindelement.c:
5956         (gst_type_find_element_chain_do_typefinding),
5957         (gst_type_find_element_change_state):
5958           Don't leak found caps in chain function (no idea why that never
5959           showed up as a leak anywhere).
5960
5961 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
5962
5963         * gst/gstplugin.h:
5964           Fix and expand GstPluginDesc API docs.
5965
5966 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
5967
5968         * gst/gstcaps.c:
5969         * gst/gstelementfactory.c:
5970         * gst/gstpadtemplate.h:
5971           api doc fixes
5972
5973         * libs/gst/controller/gstcontroller.c:
5974         (gst_controlled_property_new):
5975         * tests/examples/controller/audio-example.c:
5976           comment fixes
5977
5978 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
5979
5980         * configure.ac:
5981           comment about refining the xml deps
5982
5983         * docs/manuals.mak:
5984           comments about moving away from jade for docs
5985         
5986         * gst/gst.c:
5987           recommit the ifdefs to use the binary registry
5988         
5989         * gst/gstbin.c: (gst_bin_change_state_func):
5990           this break is obsolete
5991
5992         * gst/gstelementfactory.h:
5993           better GST_ELEMENT_DETAILS docs, add comment about translation
5994
5995         * gst/gstinfo.h:
5996           remove eol slash
5997
5998         * gst/gstobject.c: (gst_signal_object_get_type):
5999           add G_UNLIKELY as usual
6000
6001         * gst/gstpad.c: (gst_pad_event_default):
6002           add fall trhu comment
6003
6004         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6005         (gst_registry_binary_initialize_magic),
6006         (gst_registry_binary_save_string),
6007         (gst_registry_binary_save_pad_template),
6008         (gst_registry_binary_save_feature),
6009         (gst_registry_binary_save_plugin),
6010         (gst_registry_binary_write_cache),
6011         (gst_registry_binary_check_magic),
6012         (gst_registry_binary_load_pad_template),
6013         (gst_registry_binary_load_feature),
6014         (gst_registry_binary_load_plugin),
6015         (gst_registry_binary_read_cache):
6016           comment typo and formatting
6017
6018         * gst/gstutils.c: (gst_element_state_get_name),
6019         (gst_element_state_change_return_get_name):
6020           remove obsolete breaks
6021
6022         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6023           add FIXME 0.11 and remove cpp comment
6024
6025 2007-01-29  Edward Hervey  <edward@fluendo.com>
6026
6027         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6028         Fix print statement in an even more portable way.
6029
6030 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
6031
6032         * docs/gst/gstreamer-sections.txt:
6033         * gst/gstutils.h:
6034           API: add GST_ROUND_DOWN_* macros (#401781).
6035
6036 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
6037
6038         * docs/gst/gstreamer.types.in:
6039         * gst/gstregistry.c: (gst_registry_class_init):
6040           Document registry signals and make gtk-doc pick them up (#401381).
6041
6042 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
6043
6044         * docs/pwg/building-testapp.xml:
6045           Add some audioconverts and audioresample to the pipeline, and some
6046           more comments and error handling.
6047
6048 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
6049
6050         * docs/manual/manual.xml:
6051         * docs/pwg/pwg.xml:
6052           Fix typo (#400987).
6053
6054 2007-01-26  Wim Taymans  <wim@fluendo.com>
6055
6056         * gst/gstcaps.c: (gst_static_caps_get):
6057         Init caps flags too.
6058
6059 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
6060
6061         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
6062
6063         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6064         If not using mmap'ed files try to seek to the end instead of the
6065         start to determine whether we can seek at all. This fixes the case
6066         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
6067         seeks for everything afterwards fail. Fixes #400656
6068
6069 2007-01-25  Wim Taymans  <wim@fluendo.com>
6070
6071         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
6072         Add some refcount debugging.
6073         Make gst_static_caps_get threadsafe, which is needed when autoplugging
6074         in multiple streaming threads.
6075
6076 2007-01-25  Wim Taymans  <wim@fluendo.com>
6077
6078         Patch by: David Schleef <ds at schleef dot org>
6079
6080         * docs/libs/gstreamer-libs-sections.txt:
6081         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
6082         * libs/gst/base/gstadapter.h:
6083         API: gst_adapter_copy() that can reduce the amount of memcpy when
6084         getting data from the adapter. Fixes #388201.
6085
6086 2007-01-25  Edward Hervey  <edward@fluendo.com>
6087
6088         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6089         In print statements, "%x" is for guint. Fixes build on macosx.
6090
6091 2007-01-24  Edward Hervey  <edward@fluendo.com>
6092
6093         * plugins/elements/gstmultiqueue.c:
6094         (gst_multi_queue_loop):
6095         Small fix.
6096         (single_queue_overrun_cb), (single_queue_underrun_cb),
6097         (single_queue_check_full), (gst_single_queue_new):
6098         Implement single queue growth system.
6099         This uses the extra-size properties, and will grow single queues by
6100         that much if one goes full whereas there are others empty. This is
6101         called extra-mode in the code.
6102         When a single queue's levels go back below the initial max-size
6103         limits, it is no longer in extra-mode. This is to ensure we don't
6104         consume too much memory.
6105         Fixes #399875
6106
6107 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
6108
6109         * gst/gst.c: (gst_init_get_option_group):
6110           Make warning about late g_thread_init() calls a bit more explicit,
6111           so that it's more obvious to application developers what they need
6112           to do if a user files a bug against their application.
6113
6114 2007-01-22  Edward Hervey  <edward@fluendo.com>
6115
6116         * plugins/elements/gstmultiqueue.c:
6117         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
6118         Remove previous hack of unsetting the flushing flag for the source pad
6119         instead of activating it. Instead, fix the source pad activate function
6120         so that it no longer depends on having a parent set or not.
6121
6122 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
6123
6124         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
6125
6126         * docs/manual/basics-bus.xml:
6127           Fix example code, gst_element_unref() doesn't exist any longer.
6128
6129 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
6130
6131         Patch by: Mark Nauwelaerts <manauw at skynet be>
6132
6133         * gst/gstpad.c:
6134           Fix two docs typoes (#399094).
6135
6136 2007-01-19  Edward Hervey  <edward@fluendo.com>
6137
6138         * docs/faq/gst-uninstalled:
6139         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
6140         depending on libgstbaseutils can work in uninstalled environment.
6141
6142 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
6143
6144         * gst/gsttaglist.h:
6145         * gst/gsttagsetter.c:
6146         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
6147         statement for new tag.
6148
6149 2007-01-17  Edward Hervey  <edward@fluendo.com>
6150
6151         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
6152         When dynamically creating single queues, activate sinkpad before adding
6153         it.
6154         We should be doing the same thing for the source pad, but we can't
6155         since it would call a method which needs the parent to be set in order
6156         to work propertly. Instead of activating the source pad, we just unset
6157         the flushing flag, which is the minimal requirement for adding a pad
6158         to an element in a state greater than READY.
6159
6160 2007-01-17  Edward Hervey  <edward@fluendo.com>
6161
6162         * docs/faq/gst-uninstalled:
6163         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
6164         Mac OS X.
6165
6166 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
6167
6168         * tests/check/gst/gstabi.c:
6169         * tests/check/gst/struct_hppa.h:
6170         * tests/check/libs/libsabi.c:
6171         * tests/check/libs/struct_hppa.h:
6172           Add ABI structs for HPPA (see #393796).
6173
6174 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
6175
6176         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6177           Actually write ABI structs to the file specified in the GST_ABI
6178           environment variable, as the message we print claims we would.
6179
6180 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6181
6182         * tests/check/gst/gsttask.c:
6183           Fix header comment.
6184
6185 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6186
6187         * gst/gsttaglist.c: (_gst_tag_initialize):
6188           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
6189           previous two entries.
6190
6191 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6192
6193         * docs/gst/gstreamer-sections.txt:
6194         * gst/gsttaglist.c: (_gst_tag_initialize):
6195         * gst/gsttaglist.h:
6196           Add tag support for beat-per-minute.
6197
6198 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6199
6200         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6201         (gst_registry_binary_initialize_magic),
6202         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
6203         (gst_registry_binary_save_pad_template),
6204         (gst_registry_binary_save_feature),
6205         (gst_registry_binary_save_plugin),
6206         (gst_registry_binary_write_cache),
6207         (gst_registry_binary_check_magic),
6208         (gst_registry_binary_load_pad_template),
6209         (gst_registry_binary_load_feature),
6210         (gst_registry_binary_load_plugin),
6211         (gst_registry_binary_read_cache):
6212         * gst/gstregistrybinary.h:
6213           Use glib types, cleanup comments, impement interfaces and uri-types.
6214
6215 2007-01-13  Andy Wingo  <wingo@pobox.com>
6216
6217         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
6218         getrange() to return buffers with other caps, while we fix
6219         demuxers and typefind, or otherwise change part-negotiation.txt.
6220
6221 2007-01-12  Andy Wingo  <wingo@pobox.com>
6222
6223         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
6224         Factor start/stop into this private function instead of partially
6225         in activate functions and partially in the change_state function.
6226         Fixes setup before the element has changed from READY->PAUSED, as
6227         is the case in pull-mode pipelines.
6228         (gst_base_transform_sink_activate_push)
6229         (gst_base_transform_src_activate_pull): Refactor to use
6230         gst_base_transform_activate().
6231         (gst_base_transform_change_state): Removed, not needed any more.
6232
6233         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6234         Truncate before fixating.
6235         
6236         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6237         Don't set_caps() if the result of fixating is ANY, as it's not
6238         supported, and not necessary in the case of a link with no
6239         template caps on either side. Fixes tests/check/libs/basesrc in
6240         some pull-mode tests.
6241
6242         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
6243         (gst_base_transform_init, gst_base_transform_sink_activate_push)
6244         (gst_base_transform_src_activate_pull): 
6245         Track the activation mode.
6246         (gst_base_transform_setcaps): In pull mode, when activating the
6247         src pad, after activating the sink pad, activate the sink pad's
6248         peer, as discussed in part-negotiation.txt.
6249
6250         * libs/gst/base/gstbasesrc.h: 
6251         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
6252         vmethod, as in basesink.
6253
6254         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
6255
6256         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
6257         mode, first proxy the setcaps to the peer pad.
6258         (gst_base_sink_pad_fixate): Add a fixate function that calls the
6259         new fixate vmethod.
6260         (gst_base_sink_default_activate_pull): Rename from
6261         gst_base_sink_activate_pull.
6262         (gst_base_sink_negotiate_pull): New function, performs negotiation
6263         in pull mode before calling ::activate_pull().
6264         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
6265         vmethod instead of the default implementation. I have no idea how
6266         this worked before. Negotiate before calling activate_pull.
6267
6268         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
6269         sink pads in pull mode. In addition to being correct, fixes
6270         filesrc ! decodebin ! identity ! fakesink.
6271         (gst_pad_get_range, gst_pad_pull_range): Don't call
6272         gst_pad_set_caps() if the caps changes; instead error out with
6273         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
6274
6275 2007-01-12  Andy Wingo  <wingo@pobox.com>
6276
6277         * docs/design/part-negotiation.txt: Update with more policy.
6278
6279 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
6280
6281         * libs/gst/check/gstbufferstraw.h:
6282         * libs/gst/check/gstcheck.h:
6283           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
6284           belongs.
6285
6286 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
6287
6288         * tests/check/Makefile.am:
6289         * tests/check/gst/.cvsignore:
6290         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
6291         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
6292         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
6293         (GST_START_TEST), (gst_tag_setter_suite):
6294           Add minimal unit test for beforementioned GstTagSetter bug.
6295
6296 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
6297
6298         Patch by: René Stadler <mail at renestadler dot de>
6299
6300         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
6301           gst_tag_list_merge() returns a new list, so it's not the best idea
6302           to ingore its return value. Effectively meant that tags could only
6303           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
6304           Also add function guard to require a non-NULL taglist as input (has
6305           always been so due to gst_tag_list_copy(), just making it explicit).
6306
6307 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6308
6309         * docs/random/draft-missing-plugins.txt:
6310           Some additions: mention new API that is supposed to be used at the
6311           various stages; short blob about new gst-inspect introspection
6312           option; mention potential future problem with plugins that have
6313           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
6314
6315 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6316
6317         * tools/gst-inspect.c:
6318         (print_plugin_automatic_install_info_codecs),
6319         (print_plugin_automatic_install_info_protocols),
6320         (print_plugin_automatic_install_info), (main):
6321         Add --print-plugin-auto-install-info option to gst-inspect, so we can
6322         introspect plugin files and get machine-parsable output that corresponds
6323         to the last bit of the missing-plugin installer string (small gotcha:
6324         doesn't take into account ranks).
6325
6326 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
6327
6328         * configure.ac:
6329         * docs/gst/gstreamer-sections.txt:
6330         * gst/Makefile.am:
6331         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
6332         (gst_registry_lookup_locked):
6333         * gst/gstregistry.h:
6334         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6335         (gst_registry_binary_initialize_magic),
6336         (gst_registry_binary_save_string),
6337         (gst_registry_binary_save_pad_template),
6338         (gst_registry_binary_save_feature),
6339         (gst_registry_binary_save_plugin),
6340         (gst_registry_binary_write_cache),
6341         (gst_registry_binary_check_magic),
6342         (gst_registry_binary_load_pad_template),
6343         (gst_registry_binary_load_feature),
6344         (gst_registry_binary_load_plugin),
6345         (gst_registry_binary_read_cache):
6346         * gst/gstregistrybinary.h:
6347         * gst/gstregistryxml.c: (load_feature),
6348         (gst_registry_xml_read_cache):
6349           commit binary registry (disabled by default, see #359653)
6350
6351 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6352
6353         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
6354           Fix 'make check' too.
6355
6356 2007-01-10  Andy Wingo  <wingo@pobox.com>
6357
6358         * docs/design/part-negotiation.txt: Fix a typo, add a couple
6359         notes.
6360         
6361         * docs/design/part-negotiation.txt: Update with, um, one way that
6362         pull-mode negotiation might work?
6363
6364         * gst/gstpad.h: 
6365         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
6366         that the pad must be a src pad; makes sense to call it the other
6367         way in pull mode, and the logic is symmetric anyway.
6368
6369 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
6370
6371         * plugins/elements/gstfilesink.c:
6372           Include <stdio.h> for fseeko().
6373
6374 2007-01-10  Wim Taymans  <wim@fluendo.com>
6375
6376         * gst/gstevent.c:
6377         * gst/gstevent.h:
6378         Reserve LATENCY event.
6379
6380 2007-01-09  Wim Taymans  <wim@fluendo.com>
6381
6382         * docs/design/draft-latency.txt:
6383         Updates.
6384
6385 2007-01-09  Wim Taymans  <wim@fluendo.com>
6386
6387         * docs/design/draft-latency.txt:
6388         Updates.
6389
6390         * gst/gstelement.h:
6391         * gst/gststructure.c:
6392         * gst/gsttrace.c:
6393         Small typo fixes.
6394
6395 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
6396
6397         * tests/check/.cvsignore:
6398           Ignore test-registry.xml as well.
6399
6400 2007-01-09  Wim Taymans  <wim@fluendo.com>
6401
6402         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6403         unref data at the end when we are done with the pad.
6404
6405 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
6406
6407         * docs/gst/gstreamer-sections.txt:
6408         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
6409         (init_post), (gst_deinit), (gst_update_registry):
6410         * gst/gst.h:
6411           API: add gst_update_registry() (#391296).
6412
6413         * tests/check/Makefile.am:
6414         * tests/check/gst/gstregistry.c:
6415         * tests/check/gst/.cvsignore:
6416           Simple unit test for the above.
6417
6418 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
6419
6420         * gst/gstregistry.c: (gst_registry_scan_path_level):
6421           Plugin extension on HP-UX is .sl, add that to the list of approved
6422           plugin extensions (see #393796).
6423
6424         * tests/check/gst/gstpad.c: (GST_START_TEST):
6425           ulong => gulong. Fixes compilation with HP-UX compiler.
6426
6427         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6428           Fix compilation if valgrind headers are not available.
6429
6430 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
6431
6432         * win32/common/libgstreamer.def: 
6433           Add new exported function.
6434         * win32/vs6/libgstbase.dsp: 
6435           Add gstdataqueue.c to the build.
6436         * win32/vs6/libgstcoreelements.dsp:
6437           Add gstmultiqueue.c to the build.
6438         
6439 2007-01-06  Andy Wingo  <wingo@pobox.com>
6440
6441         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
6442         activate_pull(), providing for a way to specialize the process of
6443         spawning a thread to pull on the sink pad. There is a default
6444         implementation.
6445
6446         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
6447         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
6448         (gst_base_sink_init): Renamed pad activation functions (inserting
6449         "_pad" in their names). Refactor to use the new activate_pull
6450         vmethod, as appropriate.
6451         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
6452         default activate_pull function to start a task pulling from the
6453         sink pad, as before.
6454
6455         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
6456         on the pads if necessary, as in push()/chain(). Update docs.
6457         Shouldn't affect existing pull() usage as it is currently only
6458         being used on buffers without caps.
6459
6460 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6461
6462         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6463         (init_pre):
6464           Call g_thread_init() first thing in gst_init() / gst_check_init().
6465           When initialisation is done via gst_init_get_option_group() and
6466           GOption parsing, issue a warning if the GLib thread system has not
6467           been initialised yet by the time gst_init_get_option_group() is
6468           called, as it's quite likely other GLib functions such as
6469           g_option_context_new() have been called already then, and
6470           g_thread_init() must be called before any other GLib function. The
6471           application in question must be fixed in that case, since memory
6472           corruption might happen otherwise.
6473           We issue the warning because even if the GLib folks decide to work
6474           around the problem on their end in future, this is still an issue
6475           with all GLib versions >= 2.10.0, so we should warn until we depend
6476           on a GLib version we know to be safe.
6477           Update documentation as well.
6478           Closes bug #391278.
6479
6480 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6481
6482         * tools/gst-inspect.c: (main):
6483         * tools/gst-launch.c: (main):
6484         * tools/gst-typefind.c: (main):
6485         * tools/gst-xmlinspect.c: (main):
6486           Call g_thread_init() really really early, before any other GLib
6487           function (see #342564 and recent discussion on gtk-devel-list).
6488
6489 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6490
6491         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
6492
6493         * gst/gst_private.h:
6494         * gst/gstconfig.h.in:
6495         * gst/gstinfo.h:
6496           On win32, all the __declspec stuff for symbol exporting is
6497           apparently only needed with MSVC, but doesn't work with MingW.
6498           Fixes compilation with MingW and #391909.
6499
6500 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6501
6502         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
6503           Change some GST_ERROR_OBJECT that aren't really errors to
6504           GST_WARNING_OBJECT in order to reduce terminal spam.
6505
6506 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
6507
6508         * tests/check/Makefile.am:
6509           disable test again, as there seem to be still race problems
6510
6511 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
6512
6513         * tests/check/Makefile.am:
6514         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6515         (GST_START_TEST), (queue_suite):
6516           enable queue test again, add tests for the leaky behaviour
6517
6518 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
6519
6520         * configure.ac:
6521         * tests/examples/Makefile.am:
6522           Compile adapter test/example only if the required headers are
6523           available (fixes #391915).
6524
6525 2007-01-01  David Schleef  <ds@schleef.org>
6526
6527         * gst/gstplugin.c:
6528           Restore the previous signal handler for SIGSEGV instead of
6529           setting to default, since we may have stolen it away from
6530           someone.  (i.e., Mono)
6531
6532 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
6533
6534         * docs/random/draft-missing-plugins.txt:
6535           Some small additions and clarifications.
6536
6537 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
6538
6539         * gst/gstregistryxml.c: (gst_registry_save_escaped):
6540           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
6541           since that can lead to random memory corruptions and crashes
6542           (may or may not be related to #383244, #386711, and #386711).
6543
6544 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6545
6546         * tests/check/.cvsignore:
6547         * tests/check/Makefile.am:
6548           sync .cvsignome and CLEANFILES
6549
6550 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6551
6552         * tests/check/Makefile.am:
6553           fix distcheck
6554
6555 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6556
6557         * docs/design/part-states.txt:
6558           two tiny additional comments
6559         
6560         * gst/gststructure.c:
6561           doc fixing
6562
6563         * tests/check/Makefile.am:
6564         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6565         (GST_START_TEST):
6566           disable test for now, unless it gets fixed
6567
6568 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6569
6570         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6571         (GST_START_TEST):
6572           fix race in underrun test
6573
6574 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6575
6576         * tests/check/elements/.cvsignore:
6577           ignore more
6578
6579         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6580         (GST_START_TEST):
6581           try to narrow test failure
6582
6583 2006-12-21  David Schleef  <ds@schleef.org>
6584
6585         * plugins/elements/gstfakesrc.c:
6586           Use g_random_int_range(), since it produces better random
6587           numbers in a range than almost-correct floating point code.
6588
6589 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6590
6591         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6592         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6593         (gst_check_teardown_sink_pad):
6594           do not automatically (de)activate pads
6595
6596         * tests/check/Makefile.am:
6597         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6598         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
6599           add new, yet simple tests for queue
6600
6601         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
6602         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
6603         * tests/check/elements/filesrc.c: (cleanup_filesrc),
6604         (GST_START_TEST):
6605         * tests/check/elements/identity.c: (cleanup_identity):
6606           consistent pad (de)activation
6607
6608 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
6609
6610         Patch by: Sebastian Dröge  <slomo ubuntu com>
6611
6612         * libs/gst/base/gstcollectpads.c:
6613           Fix two doc typos (#387866).
6614
6615 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
6616
6617         * docs/manual/advanced-dparams.xml:
6618           Fix typo (g_object_control_properties() doesn't exist).
6619
6620 2006-12-19  Edward Hervey  <edward@fluendo.com>
6621
6622         * gst/gstsegment.c: (gst_segment_set_seek):
6623         Fine tune the cases where the segment start/stop values are really
6624         updated.
6625         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6626         Add tests for the return values of gst_segment_set_seek().
6627
6628 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
6629
6630         * gst/gst.c:
6631           Docs typo fix.
6632
6633         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6634         (gst_queue_init):
6635           Fix incorrect documentation and flesh it out a bit more.
6636           Set default values for the max properties on the GParamSpec as well,
6637           so it shows up correctly in gst-inspect.
6638
6639 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
6640
6641         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6642           Correct docs of queue, add more detail and crosslink it more.
6643
6644 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6645
6646         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6647           Print additional debug info when the stream isn't perfectly
6648           timestamped; don't try to use invalid durations.
6649
6650 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6651
6652         * docs/design/Makefile.am:
6653           Dist new design docs.
6654
6655 2006-12-16  Wim Taymans  <wim@fluendo.com>
6656
6657         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6658
6659         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
6660         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6661         (gst_collect_pads_stop), (gst_collect_pads_event),
6662         (gst_collect_pads_chain):
6663         * libs/gst/base/gstcollectpads.h:
6664         Add refcounting to the collectpads data so we can track when it's safe
6665         to free the data. Fixes #383382.
6666
6667 2006-12-15  Wim Taymans  <wim@fluendo.com>
6668
6669         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6670         (gst_collect_pads_remove_pad):
6671         Automatically activate/deactivate pads when they are added to a
6672         started/stoped collectpads.
6673
6674 2006-12-15  Wim Taymans  <wim@fluendo.com>
6675
6676         * gst/gstelement.c: (gst_element_add_pad):
6677         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6678         * gst/gstpad.c: (gst_pad_init):
6679         Set pads to FLUSHING when they are created. Check, warn and fix when a
6680         demuxer adds an inactive pad to itself when running. Fixes #339326.
6681
6682 2006-12-15  Wim Taymans  <wim@fluendo.com>
6683
6684         * gst/gstelement.c: (gst_element_class_init),
6685         (gst_element_default_send_event), (gst_element_send_event),
6686         (gst_element_default_query), (gst_element_query):
6687         Expose default element send_event and query handling as vmethods that
6688         subclasses can chain up to.
6689
6690 2006-12-15  Wim Taymans  <wim@fluendo.com>
6691
6692         * gst/gstelement.c: (gst_element_set_state_func):
6693         Small documentation fixes.
6694
6695 2006-12-15  Wim Taymans  <wim@fluendo.com>
6696
6697         * docs/design/draft-latency.txt:
6698         Checked in draft for handling latency in pipelines.
6699
6700 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6701
6702         * Makefile.am:
6703         * gstreamer.doap:
6704         * gstreamer.spec.in:
6705           adding .doap file
6706
6707 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
6708
6709         * gst/gst.c: (init_pre), (init_post):
6710           init_pre() and init_post() might be called via our GOptionGroup or
6711           from gst_init(), and we should skip both of them if we've already
6712           been initialised, otherwise we will init some things twice or add
6713           two default log functions.
6714
6715 2006-12-13  Edward Hervey  <edward@fluendo.com>
6716
6717         * docs/manual/basics-bus.xml:
6718         No, gst_main_loop does not exist. Its g_main_loop.
6719         Discovered by somebody who abused the copy-paste technique of coding :)
6720
6721 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
6722
6723         * gst/gstghostpad.c:
6724           Log ghostpad debug stuff to the GST_PADS category as well rather
6725           than just to the default category.
6726
6727 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6728
6729         * configure.ac:
6730         * gst/gst.c: (init_pre):
6731           Add some basic system details such as OS and architecture
6732           to the debug output if possible, courtesy of uname().
6733
6734 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6735
6736         * docs/gst/running.xml:
6737           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
6738           environment variables.
6739
6740 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
6741
6742         * tests/check/gst/gstbin.c: (GST_START_TEST):
6743         It is acceptable to have a refcount of 2 or 3 at this point in the
6744         test, because the pipeline might be just posting its state_change
6745         message. The next line then waits for that message to appear using
6746         bus_poll, so that should be fine too.
6747
6748 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
6749
6750         * gst/gst.c: (ensure_current_registry_forking):
6751         Ignore EINTR when reading from the child registry pipe.
6752         Explicitly ignore the return value from close, since it makes no
6753         difference.
6754
6755         * gst/gstminiobject.c: (gst_mini_object_ref),
6756         (gst_mini_object_unref):
6757         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
6758
6759         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
6760         When removing cached plugins, remove their features too, so they're
6761         not visible after they've disappeared.
6762
6763         * gst/gstutils.c: (prepare_link_maybe_ghosting):
6764         In the unlikely case that we are linking pads with no parents, don't
6765         crash trying to get the non-existent parent bin.
6766
6767         * gst/parse/grammar.y:
6768         Output debug in the PIPELINE category
6769
6770 2005-03-08  Wim Taymans  <wim@fluendo.com>
6771
6772         Patch by: René Stadler <mail at renestadler dot de>
6773
6774         * gst/gstclock.c: (gst_clock_new_periodic_id):
6775         Reject invalid clock times for interval of periodic ids.
6776         Fixes ##383506.
6777
6778 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
6779
6780         * gst/gstelementfactory.c: (gst_element_factory_create):
6781         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6782         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6783         * tools/gst-inspect.c: (print_element_info):
6784         Fix refcounting of gst_plugin_feature_load to match the docs. 
6785         Fixes: #380129
6786
6787 2006-12-07  Wim Taymans  <wim@fluendo.com>
6788
6789         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6790         (gst_base_sink_get_position):
6791         Improve debugging of events.
6792
6793 2006-12-07  Wim Taymans  <wim@fluendo.com>
6794
6795         Patch by: René Stadler <mail at renestadler dot de>
6796
6797         * gst/gstclock.c: (gst_clock_id_wait):
6798         Make period ids add the interval to the origial requested time instead
6799         of the possibly updated time which can be wrong when there are multiple
6800         waiters for the same id. Fixes #382592.
6801
6802         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
6803         (gst_system_clock_id_wait_jitter_unlocked),
6804         (gst_system_clock_id_wait_jitter):
6805         Fix restart in the async notify thread when an async entry is added to
6806         the front of the list. Fixes #381492. 
6807
6808         * tests/check/gst/gstsystemclock.c: (store_callback),
6809         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
6810         Added test for multiple async waits.
6811         Added test for async wait order.
6812
6813 2006-12-07  Wim Taymans  <wim@fluendo.com>
6814
6815         * gst/gstbin.c: (gst_bin_query):
6816         Add some more docs about the POSITION query.
6817
6818 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
6819
6820         * configure.ac:
6821         Bump version nano - back to CVS.
6822
6823 === release 0.10.11 ===
6824
6825 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
6826
6827         * configure.ac:
6828           releasing 0.10.11, "Love never runs on time"
6829
6830 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
6831
6832         * win32/common/libgstbase.def:
6833         * win32/common/libgstreamer.def:
6834         * win32/vs8/libgstbase.vcproj:
6835         * win32/vs8/libgstcoreelements.vcproj:
6836         * win32/vs8/libgstreamer.vcproj:
6837         Fix compilation on win32 under VS8
6838         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6839         Partially fixes #381175
6840
6841 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
6842
6843         * gst/gstvalue.c: (gst_value_compare_fraction):
6844         If someone is foolish enough to compare 2 fractions with denominator =
6845         0, return UNORDERED rather than aborting.
6846
6847 2006-11-28  Edward Hervey  <edward@fluendo.com>
6848
6849         * libs/gst/base/Makefile.am:
6850         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
6851         (gst_data_queue_base_init), (gst_data_queue_class_init),
6852         (gst_data_queue_init), (gst_data_queue_new),
6853         (gst_data_queue_cleanup), (gst_data_queue_finalize),
6854         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
6855         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
6856         (gst_data_queue_is_empty), (gst_data_queue_is_full),
6857         (gst_data_queue_set_flushing), (gst_data_queue_push),
6858         (gst_data_queue_pop), (gst_data_queue_drop_head),
6859         (gst_data_queue_set_property), (gst_data_queue_get_property):
6860         * libs/gst/base/gstdataqueue.h:
6861         New GstDataQueue object for threadsafe queueing. Most useful for
6862         elements that need some queueing functionnality.
6863         * docs/libs/gstreamer-libs-docs.sgml:
6864         * docs/libs/gstreamer-libs-sections.txt:
6865         Insert documentation for GstDataQueue
6866         * plugins/elements/Makefile.am:
6867         * plugins/elements/gstelements.c:
6868         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
6869         (gst_multi_queue_class_init), (gst_multi_queue_init),
6870         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6871         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
6872         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
6873         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6874         (gst_multi_queue_loop), (gst_multi_queue_chain),
6875         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6876         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
6877         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
6878         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
6879         (wake_up_next_non_linked), (compute_next_non_linked),
6880         (single_queue_overrun_cb), (single_queue_underrun_cb),
6881         (single_queue_check_full), (gst_single_queue_new):
6882         * plugins/elements/gstmultiqueue.h:
6883         New multiqueue element, using GstDataQueue. Used for queuing multiple
6884         streams.
6885         Closes #344639 and #347785
6886
6887 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
6888
6889         * docs/pwg/advanced-types.xml:
6890           add more missing type details
6891
6892         * tools/gst-run.c: (main):
6893           remove unused variable
6894
6895 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
6896
6897         * docs/libs/Makefile.am:
6898         * docs/libs/gstreamer-libs.types:
6899           add types of base classes to enable gobject specific stuff in the docs
6900
6901         * docs/random/ensonic/embedded.txt:
6902           more ideas about isolating platform specific things
6903
6904 2006-11-20  Wim Taymans  <wim@fluendo.com>
6905
6906         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
6907
6908         * libs/gst/check/gstcheck.h:
6909         Fix compilation and running against 0.9.4. Fixes #377332.
6910
6911 2006-11-20  Wim Taymans  <wim@fluendo.com>
6912
6913         * gst/gstsegment.c: (gst_segment_set_seek),
6914         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6915         (gst_segment_to_running_time):
6916         Fix boundary checking in to_running_time() and to_stream_time().
6917         Fixes #377183.
6918
6919         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6920         stream and running time can now be calculated for the complete
6921         clipped segment.
6922
6923 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
6924
6925         * gst/gstpad.c: (gst_pad_push_event):
6926           Can't access event structure after giving away ownership of
6927           the event.
6928
6929 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
6930
6931         * docs/random/ensonic/embedded.txt:
6932         * docs/random/ensonic/profiling.txt:
6933         * docs/random/ensonic/receipies.txt:
6934           more thinking
6935
6936 2006-11-13  Wim Taymans  <wim@fluendo.com>
6937
6938         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6939
6940         * gst/gstpad.c:
6941         Fix documentation for gst_pad_dispatcher. Fixes #374475.
6942
6943 2006-11-13  Wim Taymans  <wim@fluendo.com>
6944
6945         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
6946
6947         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6948         Store new length in segment duration so we don't keep on calling the
6949         potentially expensize get_size() call. Fixes #370865.
6950
6951 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
6952
6953         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
6954
6955         * win32/common/libgstreamer.def:
6956           Add two missing symbols (#366492).
6957
6958 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
6959
6960         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
6961         (gst_adapter_take_buffer):
6962         Fix format string to use all its arguments.
6963         Remove useless >= check on a guint
6964
6965 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6966
6967         * tests/examples/adapter/.cvsignore:
6968         Ignore build file as commanded by the build-bot
6969
6970 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6971
6972         * tests/examples/adapter/Makefile.am:
6973         * tests/examples/adapter/adapter_test.c: (run_test_take),
6974         (run_test_take_buffer), (run_tests), (main):
6975
6976         Add new files from the previous commit
6977
6978 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6979
6980         * Makefile.am:
6981         * configure.ac:
6982         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
6983         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
6984         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
6985         * libs/gst/base/gstadapter.h:
6986         * tests/check/libs/adapter.c: (create_and_fill_adapter),
6987         (GST_START_TEST), (gst_adapter_suite):
6988         * tests/examples/Makefile.am:
6989         Do some optimisation work in GstAdapter to avoid copies in more cases.
6990         It could still do slightly better by merging buffers when
6991         gst_buffer_is_span_fast is true, but is already faster. 
6992
6993         Also, avoid traversing a single-linked list to append each incoming 
6994         buffer inside the adapter.
6995
6996         Add simple test app that times the adapter behaviour in different
6997         situations, and extend the unit test to check that bytes enter and
6998         exit the adapter in their original order.
6999
7000 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
7001
7002         * docs/random/draft-missing-plugins.txt:
7003           Update: use element message instead of adding a new message
7004           type to the core; don't provide GStreamer API to initiate the
7005           plugin download, just provide API to compose the strings needed
7006           and let an external libgimmestuff handle the rest.
7007
7008 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
7009
7010         * tools/gst-inspect.c: (print_element_properties_info):
7011         Print a string instead of 'unknown type' for GValueArray properties
7012
7013 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
7014
7015         * docs/random/draft-missing-plugins.txt:
7016         More small fixes.
7017
7018 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7019
7020         * tests/examples/typefind/typefind.c: (type_found), (main):
7021           Make typefind element example work again (#371894); add a
7022           license header.
7023
7024 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7025
7026         * docs/random/draft-missing-plugins.txt:
7027           Commit initial draft about how to deal with missing plugins,
7028           needs work (API too).
7029
7030 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
7031
7032         * docs/pwg/advanced-types.xml:
7033           documents the new caps elements (see #363118)
7034
7035 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
7036
7037         * gst/gstplugin.c: (gst_plugin_load_file):
7038         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
7039         (gst_file_src_map_region), (gst_file_src_start):
7040         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
7041         (gst_file_index_commit):
7042           Use g_strerror() instead of strerror() - we want UTF-8.
7043
7044 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
7045
7046         Patch by: Peter Kjellerstedt <pkj at axis com>
7047
7048         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7049           Another printf fix (#371493).
7050
7051 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7052
7053         * tests/check/gst/gsttag.c:
7054           relicence (okay with author=company)
7055
7056 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7057
7058         * gst/gstpad.c: (gst_pad_event_default_dispatch),
7059         (gst_pad_push_event):
7060           Enhance debug and improve docs
7061         
7062         * gst/gsturi.c:
7063           Fix docs
7064
7065 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7066
7067         * docs/random/ensonic/distributed.txt:
7068         * docs/random/ensonic/profiling.txt:
7069           more ideas
7070
7071 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7072
7073         * docs/gst/gstreamer-sections.txt:
7074           add new API and fix the build
7075           
7076         * gst/gstbin.c: (gst_bin_recalc_state):
7077         * gst/gstelement.c: (gst_element_message_full),
7078         (gst_element_get_state_func), (gst_element_set_state_func):
7079           use new API and improve logging
7080         
7081         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7082         * gst/gstutils.h:
7083           API: add function to get StateChangereturn names to improve logs 
7084
7085 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7086
7087         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7088           I'm considering shooting the next person to put strerror stuff
7089           in the translateable part of the message.
7090
7091 2006-11-03  Wim Taymans  <wim@fluendo.com>
7092
7093         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7094         Get the type and printf conversion specifiers right.
7095
7096 2006-11-03  Wim Taymans  <wim@fluendo.com>
7097
7098         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7099
7100         * gst/gstpad.c: (gst_pad_init), (pre_activate),
7101         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
7102         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
7103         Some small cleanups. Improve debugging.
7104         * gst/gstpad.h:
7105         Signal all waiting threads with a broadcast instead of just one.
7106         Fixes #369942.
7107
7108 2006-11-03  Wim Taymans  <wim@fluendo.com>
7109
7110         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
7111         (gst_fd_src_create):
7112         Add some debugging. 
7113         Only update fd when it's different from the old.
7114
7115 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7116
7117         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
7118           Printf fixes for PPC/OSX, take two (#369366).
7119
7120 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7121
7122         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
7123
7124         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7125         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7126         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
7127           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
7128           don't cast to long long for portability reasons, but use
7129           GLib's types instead.
7130
7131 2006-10-30  Michael Smith  <msmith@fluendo.com>
7132
7133         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7134           Get the arguments to lseek() the right way around.
7135           Fixes 367677.
7136
7137 2006-10-30  Wim Taymans  <wim@fluendo.com>
7138
7139         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
7140
7141         * gst/gstinfo.h:
7142         _declspec should be __declspec (two underscores, not one). Fixes 366572.
7143
7144 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
7145
7146         Patch by: Kjartan Maraas  <kmaraas at gnome org>
7147
7148         * docs/design/part-MT-refcounting.txt:
7149         * docs/random/wtay/capsnego2-docs:
7150         * gst/gstclock.c:
7151         * gst/gstxml.c:
7152           Typo fixes (#366212).
7153
7154 2006-10-28  Wim Taymans  <wim@fluendo.com>
7155
7156         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7157
7158         * gst/gst.c:
7159         * win32/common/libgstbase.def:
7160         * win32/common/libgstreamer.def:
7161         * win32/vs8/libgstbase.vcproj:
7162         * win32/vs8/libgstcontroller.vcproj:
7163         Add needed entries in .def files.
7164         Use HAVE_UNISTD_H.
7165         Rearrange def files in vs8 solutions. Fixes #366286.
7166
7167 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
7168
7169         * win32/common/gstconfig.h:
7170           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
7171           hand-made win32 gstconfig.h. Fixes #366321.
7172
7173 2006-10-27  Wim Taymans  <wim@fluendo.com>
7174
7175         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
7176         (gst_ghost_pad_new_full):
7177         Make acceptcaps return TRUE when we don't have a target, just like
7178         setcaps does.
7179
7180 2006-10-27  Wim Taymans  <wim@fluendo.com>
7181
7182         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7183         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
7184
7185 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
7186
7187         * gst/gststructure.c: (gst_structure_id_set_value):
7188           If someone tries to set a non-UTF8 string field on a structure,
7189           don't just print a warning, but also ignore the request and do
7190           not change/add that field to the structure.
7191
7192         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7193           Test for the above.
7194
7195 2006-10-25  David Schleef  <ds@schleef.org>
7196
7197         * gst/gstinfo.c:
7198           g_hash_table_insert() needs a cast to a non-const pointer duh.
7199
7200 2006-10-25  David Schleef  <ds@schleef.org>
7201
7202         * gst/gstinfo.c:
7203         * gst/gstinfo.h:
7204           Change name parameter of _gst_debug_register_funcptr to const
7205           to reflect the constness of its use in the function as well
7206           as to quiet a gcc warning.
7207
7208 2006-10-25  Edward Hervey  <edward@fluendo.com>
7209
7210         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7211         Don't push the buffer if it's empty.
7212         Closes #363095
7213
7214 2006-10-24  Wim Taymans  <wim@fluendo.com>
7215
7216         * gst/gstevent.h:
7217         Add small comment.
7218
7219         * libs/gst/base/gstbasetransform.c:
7220         (gst_base_transform_sink_eventfunc):
7221         Debug segment values *after* updating them as this is more
7222         interesting.
7223
7224 2006-10-23  Wim Taymans  <wim@fluendo.com>
7225
7226         * docs/design/part-events.txt:
7227         Update some docs.
7228
7229         * docs/design/part-block.txt:
7230         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7231         (gst_pad_push_event):
7232         Revert BLOCKING patch, it tries to be smart without really having a
7233         clear idea what or how. So, now we discard all FLUSHING events again on
7234         a blocking pad. Should fix gnonlin again.
7235
7236 2006-10-23  Wim Taymans  <wim@fluendo.com>
7237
7238         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7239
7240         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7241         (gst_base_src_start), (gst_base_src_activate_push):
7242         Make sure size is always initialized. Fixes #364388.
7243
7244 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
7245
7246         * docs/random/ensonic/distributed.txt:
7247           add some ideas about doing distributed processing
7248
7249         * docs/random/ensonic/profiling.txt:
7250           get_rusage look promising
7251
7252 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
7253
7254         * docs/manual/basics-helloworld.xml:
7255           Add a cast in example to fix compile warning
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         Relax arg checking again, -1 is allowed.
7262
7263 2006-10-18  Wim Taymans  <wim@fluendo.com>
7264
7265         * gst/gstsegment.c: (gst_segment_set_last_stop),
7266         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7267         _set_last_stop() must be with a value != -1
7268         A _TYPE_SET to -1 means seek to 0.
7269         Calc last_stop correctly for negative rates.
7270         Make sure we work with positive durations when updating a segment.
7271
7272 2006-10-18  Wim Taymans  <wim@fluendo.com>
7273
7274         * docs/design/part-live-source.txt:
7275         * gst/gstclock.h:
7276         Small docs fixes.
7277
7278 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
7279
7280         * gst/gstbuffer.h:
7281           Add an explicit cast to GstBuffer** to keep old code that added an
7282           explicit cast to GstMiniObject** for gst_mini_object_replace()
7283           compiling without warning.
7284
7285 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
7286
7287         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
7288           check for validity of dates
7289
7290 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
7291
7292         * docs/gst/gstreamer-sections.txt:
7293           Forgot this one, makes gtk-doc shut up.
7294
7295 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
7296
7297         Patch by: Peter Kjellerstedt <pkj at axis com>
7298
7299         * gst/gstobject.h:
7300           Don't define xmlNodePtr to gpointer if the core was built with
7301           --disable-loadsave and --disable-registry, this will break
7302           applications that want to use libxml2 but are buildling against a
7303           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
7304           instead so we don't have to mess with the libxml2 namespace
7305           (#361675).
7306
7307 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
7308
7309         * gst/gstbuffer.h:
7310           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
7311           type-punned pointer warnings.
7312
7313 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
7314
7315         * gst/gstelement.h:
7316           Add casts to the correct return type to state <=> state transition
7317           macros.
7318
7319 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
7320
7321         * docs/design/part-live-source.txt:
7322           describe howto handle latency
7323         
7324         * docs/random/ensonic/profiling.txt:
7325           more ideas
7326
7327         * tools/gst-plot-timeline.py:
7328           fix log parsing for solaris, remove unused function
7329
7330 2006-10-16  Wim Taymans  <wim@fluendo.com>
7331
7332         * docs/design/part-trickmodes.txt:
7333         * gst/gstevent.c:
7334         Update some docs regarding reverse playback.
7335
7336 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
7337
7338         Patch by: Marcus Granado  <mrc dot gran at gmail com>
7339
7340         * win32/vs8/grammar.vcproj:
7341           Error out with a warning if glib-genmarshal.exe is not in path,
7342           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
7343
7344 2006-10-13  Wim Taymans  <wim@fluendo.com>
7345
7346         * gst/gstsegment.c: (gst_segment_set_seek):
7347         When seeking to stop -1, set last_stop (current position) to the
7348         duration of the segment.
7349
7350 2006-10-13  Wim Taymans  <wim@fluendo.com>
7351
7352         * gst/gstelement.h:
7353         Clarify _NO_PREROLL a bit more.
7354
7355         * gst/gstevent.c:
7356         Fix docs.
7357
7358         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
7359         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
7360         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
7361         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
7362         due to wrong locking order. Fixes #361769.
7363         Remove some redundant/misplaced checks in pad_block.
7364
7365         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7366         For negative rates, count backwards from the duration.
7367
7368 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
7369
7370         * gst/gsterror.c: (_gst_library_errors_init):
7371           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
7372           up with something better).
7373
7374 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
7375
7376         * win32/vs6/libgstreamer.dsp:
7377         * win32/vs7/libgstreamer.vcproj:
7378         * win32/vs8/libgstreamer.vcproj:
7379           Don't reference glib-compat.c which is currently not used and not
7380           disted; add gstquark.c which was recently added. Fixes #361730.
7381
7382 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
7383
7384         * win32/common/libgstbase.def:
7385         * win32/common/libgstcontroller.def:
7386         * win32/common/libgstreamer.def:
7387           Add gst_caps_merge() and a bunch of other recently-added functions.
7388           Fixes #361732.
7389
7390 2006-10-11  Wim Taymans  <wim@fluendo.com>
7391
7392         * docs/plugins/gstreamer-plugins.args:
7393         * docs/plugins/inspect/plugin-coreelements.xml:
7394         * docs/plugins/inspect/plugin-coreindexers.xml:
7395         Update element args.
7396
7397         * gst/gstsystemclock.c:
7398         Small comment update.
7399
7400         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7401         (gst_tee_request_new_pad), (gst_tee_release_pad),
7402         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
7403         (gst_tee_sink_activate_pull):
7404         * plugins/elements/gsttee.h:
7405         Some tee loving:
7406         Add default property defines.
7407         Implement release pad function.
7408         Give properties better blubs etc.
7409         Activate pads before adding them to a running tee.
7410         Do simple buffer_alloc on the first requested pad.
7411         Post error when activation fails.
7412
7413 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
7414
7415         * gst/gst.c: (ensure_current_registry_forking):
7416           Check return value of write() to make compiler happy.
7417
7418 2006-10-11  Wim Taymans  <wim@fluendo.com>
7419
7420         Patch by: Sjoerd Simons <sjoerd at luon dot net>
7421
7422         * plugins/elements/gstqueue.c: (gst_queue_chain):
7423         Recheck queue filledness after signalling the overrun when we're about
7424         to leak downstream because we released the lock when emitting the signal
7425         and the queue could be empty again. Fixes #352345.
7426
7427 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
7428
7429         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
7430           Fix refcounting here too, just like we did for _new_valist() a few
7431           days ago (#357180) (thanks to René Stadler). Also remove all those
7432           'Since: 0.9' from the gtk-doc blobs.
7433
7434         * tests/check/libs/controller.c: (controller_refcount_new_list),
7435         (gst_controller_suite):
7436           Unit test for the above.
7437
7438 2006-10-10  Wim Taymans  <wim@fluendo.com>
7439
7440         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
7441
7442         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7443         (gst_pad_save_thyself):
7444         Update some docs.
7445         Write pad direction in XML output. Fixes #345496.
7446
7447 2006-10-10  Wim Taymans  <wim@fluendo.com>
7448
7449         Patch by: René Stadler <mail at renestadler dot de>
7450
7451         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7452         (gst_controller_new_list), (_gst_controller_dispose),
7453         (_gst_controller_finalize), (_gst_controller_class_init):
7454         Take ref to controlled object so that it cannot disappear. 
7455         Fixes #357432.
7456
7457 2006-10-10  Wim Taymans  <wim@fluendo.com>
7458
7459         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7460         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7461         (gst_check_teardown_sink_pad):
7462         Activate/deactivate pads in setup/teardown respectively.
7463
7464 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7465
7466         Patch by: Josep Torra Valles <josep@fluendo.com>
7467
7468         * gst/Makefile.am:
7469         Cast values when making gstenumtypes.h.  This pacifies Forte
7470         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
7471         in the enumeration.
7472
7473 2006-10-09  Wim Taymans  <wim@fluendo.com>
7474
7475         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
7476         Rename some more @cur to @start to fix docs. 
7477
7478         * gst/gstsegment.c: (gst_segment_set_seek):
7479         Fix typo.
7480         time and start must always stay in sync as defined in design doc.
7481
7482         * gst/gsttaglist.c: (gst_tag_list_is_empty):
7483         Rename param to fix docs.
7484
7485         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7486         Check that start and time are in sync.
7487
7488         * tests/check/pipelines/parse-launch.c:
7489         (gst_parse_test_element_change_state):
7490         Activate pad before adding to the element.
7491
7492 2006-10-09  Wim Taymans  <wim@fluendo.com>
7493
7494         * docs/design/part-qos.txt:
7495         Fix typo.
7496
7497         * gst/gstevent.c:
7498         * gst/gstevent.h:
7499         Update seek event docs regarding negative rates.
7500         Rename @cur to @start. 
7501
7502         * gst/gstsegment.c: (gst_segment_set_seek):
7503         * gst/gstsegment.h:
7504         Update set_seek docs regarding negative rates.
7505         Correctly update last_stop to @stop when dealing with negative
7506         rates.
7507         Rename @cur to @start. 
7508
7509         * tests/check/gst/gstpad.c: (GST_START_TEST):
7510         Activate pads before trying to use them.
7511
7512         * tests/check/gst/gstsegment.c: (GST_START_TEST),
7513         (gst_segment_suite):
7514         Add simple check for segments and negative rates.
7515
7516 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
7517
7518         * gst/gsttaglist.c: (gst_tag_list_is_empty):
7519         * gst/gsttaglist.h:
7520         * docs/gst/gstreamer-sections.txt:
7521           API: add gst_tag_list_is_empty() (#360467).
7522
7523         * tests/check/gst/gsttag.c: (GST_START_TEST):
7524           And a test case.
7525
7526 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7527
7528         * gst/gstmessage.h:
7529         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
7530         a value that doesn't fit on enumeration.
7531
7532 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7533
7534         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7535         Remove local debugging system and use Gstreamer's instead.
7536
7537 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7538
7539         Patch by: Josep Torra Valles <josep@fluendo.com>
7540
7541         * common/m4/gst-error.m4:
7542         Disable warning of statement not reached on Forte.
7543         * gst/gstmessage.h:
7544         Fix warning on Forte (value doesn't fit on enumeration).
7545         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
7546         Fix warning on Forte (value doesn't fit on enumeration).
7547         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7548         DEBUG macro says it takes minimum of 2 args and so Forte
7549         complains about the use with just 1 arg.
7550         * plugins/elements/gstfdsink.c:
7551         * plugins/elements/gstfdsrc.c:
7552         * plugins/elements/gstfilesink.c:
7553         * plugins/elements/gstfilesrc.c:
7554         Use correct return type for the uri handler implementations.
7555
7556         All these fix warnings in Forte.  Fixes bug #360860.
7557
7558 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
7559
7560         * gst/gstelement.h:
7561           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
7562           format string, so don't use G_GNUC_PRINTF for those versions.
7563
7564 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
7565
7566         * gst/gsttaglist.c: (gst_is_tag_list):
7567         * gst/gsttaglist.h:
7568           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
7569
7570         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7571           Small test for the above.
7572
7573 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
7574
7575         * gst/gsttaglist.h:
7576           Less tabs, more spaces.
7577
7578 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
7579
7580         * gst/gstinfo.h:
7581           Those two function declarations do actually belong there, revert
7582           commit from yesterday that turned them intro macros.
7583
7584 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7585
7586         Patch by: Josep Torra Valles <josep@fluendo.com>
7587
7588         * gst/gst.c: (gst_init_get_option_group):
7589         Fix empty declaration and type mismatch.
7590         * gst/gstbin.c: (gst_bin_change_state_func):
7591         Fix type mismatch.
7592         * gst/gstelement.c: (gst_element_continue_state),
7593         (gst_element_set_state_func), (gst_element_change_state),
7594         (gst_element_change_state_func):
7595         Fix type mismatches.
7596         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
7597         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
7598         Cast as appropriate.
7599         * gst/gstobject.c: (gst_class_signal_connect):
7600         Cast as appropriate.  The function pointer parameter really
7601         has the wrong type but would break API if we change it.
7602         * gst/gstquery.c:
7603         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
7604         order of including string.h.
7605         * gst/gstutils.c: (gst_element_state_get_name):
7606         Remove unreachable line.
7607         * gst/gstxml.c: (gst_xml_parse_doc):
7608         Fix type mismatch.
7609         All these caught by Forte.
7610
7611 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7612
7613         Patch by: Josep Torra Valles <josep@fluendo.com>
7614
7615         * common/m4/gst-error.m4:
7616         Fixed bug #360151.
7617         We need to disable warnings on Forte for empty declarations
7618         due to gst-indent adding ;s to lines that just use macros
7619         where the macro actually doesn't need a ; at end to end
7620         statement.
7621
7622 2006-10-06  Wim Taymans  <wim@fluendo.com>
7623
7624         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7625         (gst_file_sink_close_file), (gst_file_sink_event),
7626         (gst_file_sink_render):
7627         Add some FIXME for the NEWSEGMENT handling.
7628
7629 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7630
7631         * gst/parse/grammar.y:
7632         Remove static function gst_parse_element_lock as all it does
7633         is return.  Looks like cruft from 0.8.
7634
7635 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7636
7637         Patch by: Josep Torra Valles <josep@fluendo.com>
7638
7639         * common/m4/gst-error.m4:
7640         * configure.ac:
7641         * libs/gst/net/Makefile.am:
7642         Fix a compilation issue with Forte on Solaris.  inet_aton is in
7643         libresolv.
7644
7645 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
7646
7647         * gst/gstpad.c: (pre_activate):
7648         * gst/gstregistry.c: (gst_registry_scan_path_level):
7649         * gst/gstregistryxml.c: (load_plugin):
7650         * libs/gst/controller/gstcontroller.c:
7651         (gst_controlled_property_set_interpolation_mode):
7652         * libs/gst/dataprotocol/dataprotocol.c:
7653         (gst_dp_packet_from_event_1_0):
7654         * libs/gst/net/gstnetclientclock.c:
7655         (gst_net_client_clock_observe_times):
7656         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7657           Printf fixes.
7658
7659 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
7660
7661         * configure.ac:
7662         * docs/gst/gstreamer-sections.txt:
7663         * gst/gstconfig.h.in:
7664         * gst/gstelement.h:
7665         * gst/gstinfo.h:
7666           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
7667           whether we can use G_GNUC_PRINTF in other header files and at
7668           least check the printf format/arguments of debug messages and
7669           GST_ELEMENT_ERROR messages when the printf extension is not
7670           being used.
7671           Replace more tabs with spaces in gstinfo.h and remove two spurious
7672           function declarations in GST_DISABLE_DEBUG part with macros.
7673
7674 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
7675
7676         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
7677           More docs for the sync-message signal (mention that it is not
7678           emitted by default); log message structures of messages posted on
7679           the bus as well.
7680
7681 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
7682
7683         * gst/gst.c: (ensure_current_registry_forking):
7684         Use a pipe pair to receive status results from the forked child, and
7685         ignore the result from waitpid. Fixes #355499
7686
7687 2006-10-02  Wim Taymans  <wim@fluendo.com>
7688
7689         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7690         (gst_ghost_pad_suite):
7691         Fix leak in check.
7692
7693 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
7694
7695         * gst/gstpad.c:
7696           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
7697
7698 2006-10-02  Edward Hervey  <edward@fluendo.com>
7699
7700         * docs/design/part-block.txt:
7701         Further explain the use of flushing on blocked pads.
7702         * docs/gst/gstreamer-sections.txt:
7703         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7704         (gst_pad_push_event):
7705         * gst/gstpad.h:
7706         Added new GstPadFlag : GST_PAD_BLOCKING.
7707         Adds the notion of pads really blocking, which enables to properly
7708         handle FLUSH_START/FLUSH_STOP events on blocked pads.
7709         Fixes #358999
7710         API: gst_pad_is_blocking()
7711         API: GST_PAD_IS_BLOCKING() macro
7712         API: GST_PAD_BLOCKING GstPadFlag
7713         
7714 2006-10-02  Wim Taymans  <wim@fluendo.com>
7715
7716         Patch by: mrcgran <mrc.gran at gmail dot com>
7717
7718         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
7719         Filter the proxied caps against the padtemplate if we have one.
7720
7721         * gst/gstquery.c: (gst_query_new_segment):
7722         Add include for gstinfo.h so that compilation with
7723         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
7724
7725 2006-10-02  Wim Taymans  <wim@fluendo.com>
7726
7727         Patch by: Alessandro Decina  <alessandro at nnva org>
7728
7729         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
7730         (gst_file_sink_set_location), (gst_file_sink_open_file),
7731         (gst_file_sink_close_file), (gst_file_sink_event),
7732         (gst_file_sink_render):
7733         Set file to NULL when closing filesink so that we can set a new filename
7734         in READY. Fixes #358613.
7735
7736 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
7737
7738         Patch by: Alessandro Decina  <alessandro at nnva org>
7739
7740         * gst/gstevent.c: (_gst_event_copy):
7741           Fix gst_mini_object_make_writable() and gst_event_copy() for events
7742           with event structures by setting the parent refcount address of the
7743           copied structure to the address of the refcount member of the newly
7744           copied event rather than the address of the refcount member of the
7745           original event. Fixes #358737.
7746
7747         * tests/check/gst/gstevent.c: (GST_START_TEST):
7748           Unit test for the above.
7749
7750 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
7751
7752         * docs/design/Makefile.am:
7753           Dist some more files.
7754
7755 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
7756
7757         * tests/check/libs/controller.c: (GST_START_TEST),
7758         (gst_controller_suite):
7759           Add test for the previous fix; add some more tests
7760           for correct refcounting behaviour; fix a few leaks
7761           in test cases; call gst_controller_init() at start
7762           of all tests.
7763
7764 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
7765
7766         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7767         (gst_controller_set_from_list):
7768           Don't g_return_val_if_fail() on timed values with invalid timestamps
7769           inside a critical section without unlocking the mutex. Spotted by
7770           René Stadler. (#357617)
7771           Also, fix up refcounting properly: when returning an existing
7772           controller, we should increase the reference only once and not
7773           once per property and when trying to control a property again
7774           we should also increase the refcount.
7775
7776 2006-09-29  Wim Taymans  <wim@fluendo.com>
7777
7778         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7779         * libs/gst/net/gstnettimeprovider.c:
7780         (gst_net_time_provider_thread):
7781         Stop reading commands when EOF as well.
7782
7783         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7784         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7785         * plugins/elements/gstidentity.c: (gst_identity_class_init):
7786         Unify description of the dump property.
7787
7788 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7789
7790         * tests/examples/manual/.cvsignore:
7791         OK, so it's actually cvsignore that needs changing. Stop laughing.
7792
7793 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7794
7795         * tests/examples/manual/Makefile.am:
7796         Gah, declare vars *before* using them
7797
7798 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7799
7800         * gst/gst.c: (init_pre), (scan_and_update_registry),
7801         (ensure_current_registry_nonforking),
7802         (ensure_current_registry_forking), (ensure_current_registry),
7803         (init_post), (gst_debug_help), (gst_deinit):
7804         * gst/gst_private.h:
7805         * gst/gstregistry.c: (gst_registry_finalize),
7806         (gst_registry_remove_features_for_plugin_unlocked),
7807         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7808         (gst_registry_scan_path),
7809         (_priv_gst_registry_remove_cache_plugins),
7810         (_priv_gst_registry_cleanup):
7811         * gst/gstregistry.h:
7812         Re-commit the registry changes, along with an extra fix:
7813           When a cached plugin is encountered at a different file path,
7814           update the stored path in the registry cache so that the parent
7815           process knows where it actually is now when it re-reads the registry
7816           cache. Fixes the thing that broke distcheck with the previous commit.
7817
7818         * tests/check/Makefile.am:
7819         Clean up files named 'core' too when running make clean.
7820
7821         * tests/examples/manual/Makefile.am:
7822         Set up a registry path for running these tests, and clean it properly
7823         for distcheck.
7824
7825 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7826
7827         * configure.ac:
7828         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
7829         want gmodule-no-export-2.0.pc instead so that we don't drag in
7830         --export-dynamic on every project that links to GStreamer.
7831
7832         Also, make our export regex only match the start of symbols, rather 
7833         than any symbol that contains '_gst' somewhere.
7834
7835         * libs/gst/check/Makefile.am:
7836         The libgstcheck we build does however need export-dynamic, as it
7837         produces some symbols that don't match our _gst... style regex.
7838         Fixes: #318031
7839
7840 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
7841
7842         * gst/gst.c: (init_pre), (scan_and_update_registry),
7843         (ensure_current_registry_nonforking),
7844         (ensure_current_registry_forking), (ensure_current_registry),
7845         (init_post), (gst_debug_help), (gst_deinit):
7846         * gst/gst_private.h:
7847         * gst/gstregistry.c: (gst_registry_finalize),
7848         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7849         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
7850         (_gst_registry_cleanup):
7851         * gst/gstregistry.h:
7852           Revert previous change until I figure out why it breaks distcheck.
7853
7854 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
7855
7856         * gst/gst.c: (init_pre), (scan_and_update_registry),
7857         (ensure_current_registry_nonforking),
7858         (ensure_current_registry_forking), (ensure_current_registry),
7859         (init_post), (gst_debug_help), (gst_deinit):
7860
7861           Make init_pre and init_post take the full complement of GOptionFunc
7862           args so they can return useful GErrors. Make the registry updating
7863           functions do so.
7864
7865           Call _priv_gst_registry_remove_cache_plugins after scanning files to
7866           ensure that the registry we're about to write out doesn't contain
7867           stale information about old-deleted plugin files.
7868
7869           Make _priv_gst_registry_remove_cache_plugins return a boolean so
7870           that deletion of plugin files is considered a registry change.
7871
7872         * gst/gst_private.h:
7873         * gst/gstregistry.c: (gst_registry_finalize),
7874         (gst_registry_remove_features_for_plugin_unlocked),
7875         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7876         (gst_registry_scan_path),
7877         (_priv_gst_registry_remove_cache_plugins),
7878         (_priv_gst_registry_cleanup):
7879         * gst/gstregistry.h:
7880         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
7881         by adding _priv prefix, so that they won't appear in the global
7882         symbol table. They still do atm though because of #318031. Move the
7883         prototypes to gst_private.h
7884
7885         When removing a plugin, remove all features for that plugin too. 
7886         Fixes #340878.
7887
7888 2006-09-27  Wim Taymans  <wim@fluendo.com>
7889
7890         * docs/random/moving-plugins:
7891         Make it clear that the "compiled-in descriptions" really mean
7892         the element details.
7893
7894         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7895         (gst_base_sink_wait_preroll):
7896         Update docs.
7897
7898         * docs/libs/gstreamer-libs-sections.txt:
7899         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7900         (gst_base_src_get_range), (gst_base_src_activate_push):
7901         * libs/gst/base/gstbasesrc.h:
7902         Added function to block while waiting for PLAYING, this function
7903         is used by live sources that block on the clock.
7904         API: gst_base_src_wait_playing()
7905
7906 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7907
7908         Patch by: Peter Kjellerstedt <pkj at axis com>
7909
7910         * Makefile.am:
7911           gst-element-check.m4 is generated and should therefore be
7912           copied from the build dir rather than the source dir (#357593).
7913           'make distcheck' hasn't noticed this because we were disting
7914           the file as well, so stop doing that.
7915
7916 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7917
7918         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7919           Add some tests for gst_caps_intersect().
7920
7921         * tools/gst-launch.c: (event_loop):
7922           Print all buffering percentages we get, even the 100% one.
7923
7924 2006-09-26  Wim Taymans  <wim@fluendo.com>
7925
7926         * tools/gst-inspect.c: (print_element_properties_info),
7927         (print_signal_info):
7928         Fix printing of flags to match the look of enums.
7929
7930 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7931
7932         * gst/gstelementfactory.c:
7933           Fix typo in docs blurb.
7934
7935 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7936
7937         * gst/gsturi.c: (search_by_entry):
7938           Don't assert/crash here if a uri handler doesn't return any
7939           supported protocols. The list of protocols could be generated
7940           dynamically at runtime or at plugin registration, and an error
7941           in the underlying library shouldn't be fatal (#353301).
7942
7943 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7944
7945         * gst/gstinfo.c:
7946           Fix warning if HAVE_PRINTF_EXTENSION is undefined
7947           (spotted by Peter Kjellerstedt).
7948
7949 2006-09-23  Wim Taymans  <wim@fluendo.com>
7950
7951         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
7952
7953         * libs/gst/base/gstbasesrc.c:
7954         (gst_base_src_default_check_get_range), (gst_base_src_start),
7955         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7956         (gst_base_src_change_state):
7957         Match _start/_stop calls in the activate functions. Remove redundant
7958         _stop call from the state change function. Fixes #356910.
7959         Turn failure DEBUG into ERROR. 
7960
7961 2006-09-22  Wim Taymans  <wim@fluendo.com>
7962
7963         * docs/design/part-buffering.txt:
7964         * gst/gstmessage.c: (gst_message_new_buffering),
7965         (gst_message_parse_buffering):
7966         Update docs about buffering.
7967
7968         * docs/design/part-trickmodes.txt:
7969         Fix typo.
7970
7971 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
7972
7973         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7974         (gst_controller_new_list):
7975           Ref instances when returning them again (fixes #357180)
7976
7977 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
7978
7979         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
7980           Don't forget to release proxy lock when there's an error.
7981
7982 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
7983
7984         * gst/gstcaps.h:
7985           Add extra initialisers for Caps things, to fix some plugin warnings
7986           when using -Wextra
7987
7988 2006-09-18  Wim Taymans  <wim@fluendo.com>
7989
7990         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7991           Also set template on the internal pad so that a getcaps from the 
7992           target pad returns the template caps.
7993
7994 2006-09-18  Wim Taymans  <wim@fluendo.com>
7995
7996         * gst/gstelement.c: (gst_element_post_message),
7997         (gst_element_dispose):
7998         Use _DEBUG_OBJECT some more.
7999
8000         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8001         Avoid typechecks.
8002
8003         * tools/gst-launch.c: (main):
8004         If the toplevel element is not a GstPipeline, it must be put in a
8005         pipeline so that a bus and clock is selected.
8006
8007 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
8008
8009         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8010           JITTER, RATE, and LATENCY query should be handled by the
8011           default case and not by the CONVERT query code.
8012
8013 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
8014
8015         * gst/gstformat.c: (gst_format_register):
8016           Fix locking order (must take lock before using n_values).
8017
8018         * gst/gstvalue.c: (gst_value_serialize_enum),
8019         (gst_value_deserialize_enum_iter_cmp),
8020         (gst_value_deserialize_enum):
8021           Fix serialisation/deserialisation of custom registered GstFormats.
8022
8023         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8024           Unit test for custom format serialisation/deserialisation.
8025
8026 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
8027
8028         * docs/pwg/building-boiler.xml:
8029         * plugins/elements/gstcapsfilter.c:
8030         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
8031         section.
8032
8033 2006-09-16  Edward Hervey  <edward@fluendo.com>
8034
8035         * libs/gst/base/gstbasetransform.c:
8036         (gst_base_transform_buffer_alloc):
8037         Check if requested caps are the same as the sinks caps IF
8038         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
8039         is FALSE.
8040         This fixes the renegotiation issues stated in #352827.
8041
8042 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8043
8044         * configure.ac:
8045         * docs/manual/advanced-autoplugging.xml:
8046         * tests/examples/Makefile.am:
8047         * tests/examples/manual/.cvsignore:
8048         * tests/examples/manual/Makefile.am:
8049         * tests/examples/manual/extract.pl:
8050           Extract the manual examples again like we used to do.
8051           Fix one of them.
8052
8053 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8054
8055         * win32/common/config.h:
8056           update for version
8057
8058 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
8059
8060         * gst/gsterror.c:
8061           Documents how to receive errors.
8062
8063 2006-09-15  Wim Taymans  <wim@fluendo.com>
8064
8065         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
8066         (event_loop), (main):
8067         Added some comments here and there.
8068         Post an application message when an interrupt is caught instead of doing
8069         an uncontrolled state change.
8070         Clean up the event loop.
8071         Handle buffering messages, pause/resume the pipeline.
8072         Make shutdown because of an interrupt more reliable.
8073
8074 2006-09-15  Wim Taymans  <wim@fluendo.com>
8075
8076         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8077         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
8078         (gst_base_sink_preroll_object):
8079         Make sure that our internal state is correct when we commit our state
8080         asynchronously. This solves a race where a state change to PLAYING
8081         could cause the sink to remain blocked in preroll in some situations.
8082
8083 2006-09-15  Wim Taymans  <wim@fluendo.com>
8084
8085         * tools/gst-inspect.c: (print_element_properties_info),
8086         (print_signal_info):
8087         List flags as hex so it's easier to deal with.
8088
8089 2006-09-15  Wim Taymans  <wim@fluendo.com>
8090
8091         * docs/libs/gstreamer-libs-sections.txt:
8092         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
8093         (gst_base_sink_do_sync):
8094         * libs/gst/base/gstbasesink.h:
8095         Expose logic to wait for preroll so that subclasses such as audiosink
8096         can also use this method.
8097         API: gst_base_sink_wait_preroll()
8098
8099 2006-09-15  Wim Taymans  <wim@fluendo.com>
8100
8101         * gst/gstobject.c: (gst_object_set_parent):
8102         * gst/gstpipeline.c: (do_pipeline_seek):
8103         Small cleanups in docs and code.
8104
8105         * gst/gstsegment.c: (gst_segment_clip):
8106         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8107         if stop == start and start is in the segment, no clipping should be
8108         done. Also add a test for this.
8109
8110 2006-09-15  Wim Taymans  <wim@fluendo.com>
8111
8112         * docs/design/part-buffering.txt:
8113         * docs/gst/gstreamer-sections.txt:
8114         * gst/gstmessage.c: (gst_message_new_buffering),
8115         (gst_message_parse_buffering):
8116         * gst/gstmessage.h:
8117         Added methods to create and parse BUFFERING messages.
8118         Added preliminary docs about buffering.
8119         API: gst_message_new_buffering
8120         API: gst_message_parse_buffering
8121
8122 2006-09-06  Wim Taymans  <wim@fluendo.com>
8123
8124         * gst/gstbin.c:
8125         Update documentation.
8126
8127         * gst/gstelement.c: (gst_element_class_init),
8128         (gst_element_release_request_pad), (gst_element_set_clock),
8129         (gst_element_get_index), (gst_element_add_pad),
8130         (gst_element_remove_pad), (gst_element_get_random_pad),
8131         (gst_element_send_event), (gst_element_get_query_types),
8132         (gst_element_query), (gst_element_post_message),
8133         (gst_element_message_full), (gst_element_continue_state),
8134         (gst_element_lost_state), (gst_element_save_thyself),
8135         (gst_element_restore_thyself):
8136         Documentation updates.
8137         Rename last bit of the new-pad -> pad-added signal rename.
8138         Fix the case where an element query would only work if the source
8139         pad was linked.
8140         Avoid some useless type checking in message handling.
8141
8142         * gst/gstevent.c:
8143         * gst/gstevent.h:
8144         * gst/gstutils.c:
8145         Documentation updates.
8146
8147 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8148
8149         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8150           add an INFO line for when we actually update the fd
8151
8152 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8153
8154         * configure.ac:
8155           back to TRUNK
8156
8157 === release 0.10.10 ===
8158
8159 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
8160
8161         * configure.ac:
8162           releasing 0.10.10, "Pais"
8163
8164 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
8165
8166         * docs/manual/advanced-position.xml:
8167           Fix typo in sample code.
8168
8169 2006-09-05  Wim Taymans  <wim@fluendo.com>
8170
8171         * libs/gst/net/gstnetclientclock.c: (inet_aton),
8172         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8173         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
8174         * libs/gst/net/gstnetclientclock.h:
8175         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8176         * libs/gst/net/gstnettimepacket.h:
8177         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
8178         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
8179         (gst_net_time_provider_thread), (gst_net_time_provider_new):
8180         * libs/gst/net/gstnettimeprovider.h:
8181         Make stuff compile on windows. Fixes #345295.
8182
8183 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
8184
8185         * gst/gst.c: (ensure_current_registry_forking):
8186           Print better details when child was terminated by signal.
8187
8188 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
8189
8190         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
8191           Print a warning rather than g_assert() if a plugin feature
8192           is a URI handler but returns no protocols (#353976).
8193
8194 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
8195
8196         * docs/random/moving-plugins:
8197         Fix two typos.         
8198
8199 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
8200
8201         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
8202           Fix locking order, handle NULL function values properly.
8203
8204         * gst/gstinfo.h:
8205           Fix docs.
8206
8207         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
8208           Initialise variable before using it and fix debug statement to
8209           print the address of the function rather than the address of the
8210           variable on the stack holding the address of the function.
8211
8212 2006-09-01  Wim Taymans  <wim@fluendo.com>
8213
8214         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
8215         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
8216         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8217         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
8218         (gst_ghost_pad_parent_unset),
8219         (gst_ghost_pad_internal_do_activate_push),
8220         (gst_ghost_pad_internal_do_activate_pull),
8221         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8222         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8223         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8224         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
8225         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
8226         (gst_ghost_pad_new_no_target_from_template),
8227         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8228         More cleanups.
8229         Avoid needless typechecking in macros.
8230         Since the internal pad is always present and never changes, there is
8231         no need to locking or ref when retrieving it.
8232         Improve debugging a bit.
8233         Handle link errors when setting the target. Fixes #341029.
8234
8235 2006-09-01  Wim Taymans  <wim@fluendo.com>
8236
8237         * docs/libs/gstreamer-libs-sections.txt:
8238         * docs/plugins/gstreamer-plugins-sections.txt:
8239         Fix docs some more.
8240
8241         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8242         (gst_collect_pads_event):
8243         * libs/gst/base/gstcollectpads.h:
8244         Documentation updates.
8245         Free queued buffer when removing a pad.
8246
8247 2006-08-31  Michael Smith  <msmith@fluendo.com>
8248
8249         * gst/gstutils.c: (gst_element_link_pads),
8250         (gst_element_link_pads_filtered):
8251           Ensure that we set a capsfilter to NULL if we failed to link it
8252           when doing filtered linking, to avoid criticals.
8253
8254           No need to check for unreffing srcpad, which is explicly NULLed
8255           above (a trivial code cleanup).
8256
8257 2006-08-31  Wim Taymans  <wim@fluendo.com>
8258
8259         * docs/design/part-gstghostpad.txt:
8260         Update ascii art in documentation.
8261
8262         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
8263         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
8264         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8265         (gst_ghost_pad_internal_do_activate_push),
8266         (gst_ghost_pad_internal_do_activate_pull),
8267         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8268         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8269         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
8270         (gst_ghost_pad_set_target):
8271         Small cleanups and leak fixes.
8272         Remove some checks now that the internal pad is never NULL.
8273         Fix the case where linking pads without a target would create nasty
8274         criticals. Fixes #341029.
8275         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
8276         value of _set_target().
8277
8278         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8279         (gst_ghost_pad_suite):
8280         Some more tests for creating and linking untargeted ghostpads.
8281
8282 2006-08-31  Edward Hervey  <edward@fluendo.com>
8283
8284         * docs/gst/gstreamer-sections.txt:
8285         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
8286         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8287         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
8288         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
8289         (gst_ghost_pad_new_from_template),
8290         (gst_ghost_pad_new_no_target_from_template):
8291         * gst/gstghostpad.h:
8292         Refactored *_new() functions.
8293         Templates are now used as a g_object_new() parameter.
8294         Use template in _do_getcaps() if we don't have a target.
8295         Small documentation cleanups.
8296         Added two new constructors:
8297         gst_ghost_pad_new_from_template()
8298         gst_ghost_pad_new_no_target_from_template()
8299         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8300         (gst_ghost_pad_suite):
8301         Added tests for new ghostpad instanciation functions.
8302
8303         API additions: gst_ghost_pad_new_from_template,
8304         gst_ghost_pad_new_no_target_from_template
8305
8306 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
8307
8308         * docs/random/ensonic/profiling.txt:
8309           Ideas about qos profiling.
8310
8311 2006-08-29  Wim Taymans  <wim@fluendo.com>
8312
8313         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
8314         Code cleanups.
8315         Fix memleak.
8316
8317 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
8318
8319         * gst/gstxml.c:
8320           Improve and detypofy docs.
8321
8322         * tests/check/Makefile.am:
8323         * tests/check/gst/.cvsignore:
8324         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
8325           Add a basic test suite for GstXML.
8326
8327 2006-08-29  Wim Taymans  <wim@fluendo.com>
8328
8329         * gst/gstelement.c: (activate_pads), (clear_caps),
8330         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8331         Clear the pad caps when the element shut down all of the pads and
8332         is not streaming data that could modify the caps. 
8333         Fixes #352958.
8334
8335 2006-08-28  Michael Smith  <msmith@fluendo.com>
8336
8337         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8338           Revert previous change; I misunderstood single-segment mode.
8339
8340 2006-08-28  Michael Smith  <msmith@fluendo.com>
8341
8342         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8343           Unset DISCONT on buffers when using single-segment mode.
8344
8345 2006-08-28  Wim Taymans  <wim@fluendo.com>
8346
8347         * gst/gstcaps.c: (gst_caps_merge_structure):
8348         * gst/gstcaps.h:
8349         Fix docs and indentation again.
8350
8351         * tests/check/gst/gstquery.c: (GST_START_TEST):
8352         Fix leak in tests and add some more tests.
8353
8354 2006-08-28  Edward Hervey  <edward@fluendo.com>
8355
8356         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8357         Inform GstSegment of the last stop position in order for the current
8358         segment to have a proper duration if it doesn't have a specific stop
8359         position from which a duration could be calculated.
8360         This bug was noticeable when a non-flushing, non-update new segment was
8361         followed by another segment (all buffers from the new segment were being
8362         dropped).
8363
8364 2006-08-28  Wim Taymans  <wim@fluendo.com>
8365
8366         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8367         Small comment update.
8368
8369         * plugins/elements/gstidentity.c: (gst_identity_class_init),
8370         (gst_identity_transform_ip):
8371         Drop-probability is broken, mention this in the code with a 
8372         FIXME and also in the property description.
8373         Make silent also be silent about the drop messages.
8374
8375 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
8376
8377         * docs/manual/appendix-win32.xml:
8378           Remove mention of popt, we don't depend on that any
8379           longer (#353136). Add some comments pointing out that
8380           this section is slightly outdated.
8381
8382 2006-08-28  Wim Taymans  <wim@fluendo.com>
8383
8384         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8385
8386         * gst/gstquery.c: (gst_query_new_segment):
8387         * tests/check/gst/gstquery.c: (GST_START_TEST):
8388         Initialize variables when creating a new segment query.
8389         Fixes #353121.
8390
8391 2006-08-28  Wim Taymans  <wim@fluendo.com>
8392
8393         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8394
8395         * gst/gstelement.c: (gst_element_get_bus):
8396         * tests/check/gst/gstelement.c: (GST_START_TEST):
8397         Check for NULL before _reffing the bus. Fixes #353122.
8398
8399 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
8400
8401         * docs/manual/basics-bus.xml:
8402           Docs update: fix wrong callback return value explanation; add
8403           some lines about the implicit relationship between main loop
8404           and main context; remove duplicate main loop variable declaration.
8405
8406 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
8407
8408         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8409           Don't leak caps in unit test; add a few more simple
8410           checks. 
8411
8412 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
8413
8414         * docs/gst/gstreamer-sections.txt:
8415         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
8416         (gst_caps_structure_is_subset), (gst_caps_merge),
8417         (gst_caps_merge_structure):
8418         * gst/gstcaps.h:
8419         * libs/gst/base/gstbasetransform.c:
8420         (gst_base_transform_transform_caps):
8421         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8422           implement caps merging (fixes #352580)
8423
8424 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
8425
8426         * tools/Makefile.am:
8427         * tools/gst-plot-timeline.py:
8428           add debug-log plotting developer tool (#340674)
8429
8430 2006-08-23  Wim Taymans  <wim@fluendo.com>
8431
8432         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
8433         (gst_pad_stop_task):
8434         Improve debugging for task functions.
8435
8436         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
8437         (gst_task_start), (gst_task_pause), (gst_task_join):
8438         Make sure that the task function started and finished after a 
8439         join(). 
8440         Don't try to push the task function on the threadpool multiple
8441         times.
8442         Improve the g_warning message with some useful suggestions
8443         about how to fix the problem. 
8444
8445 2006-08-23  Wim Taymans  <wim@fluendo.com>
8446
8447         * gst/gstutils.c: (gst_pad_proxy_getcaps):
8448         Handle RESYNC correctly in _proxy_getcaps.
8449
8450 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
8451
8452         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
8453         (gst_xml_parse_memory), (gst_xml_get_element):
8454           Chain up to parent class in dispose function and also
8455           unref the elements in the toplevel_elements GList.
8456           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
8457           Always return a reference in gst_xml_get_element() rather
8458           than only sometimes.
8459
8460         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8461           Don't leak GstXml object.
8462
8463 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
8464
8465         * docs/gst/gstreamer-sections.txt:
8466         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
8467         (gst_caps_merge):
8468         * gst/gstcaps.h:
8469         * libs/gst/base/gstbasetransform.c:
8470         (gst_base_transform_transform_caps):
8471           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
8472           in a better way
8473
8474 2006-08-21  Edward Hervey  <edward@fluendo.com>
8475
8476         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
8477         Implement GObject::dispose virtual method in GstXML so we can free the
8478         top_elements GList.
8479
8480 2006-08-21  Wim Taymans  <wim@fluendo.com>
8481
8482         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
8483         (gst_buffer_create_sub):
8484         Copy duration/offset_end/caps when creating a subbuffer of the
8485         complete parent.
8486         Make the subbuffer read-only when we make the metadata writable for
8487         now. Fixes #351768.
8488
8489         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8490         Added check for metadata copy when creating subbuffers.
8491
8492 2006-08-21  Edward Hervey  <edward@fluendo.com>
8493
8494         * libs/gst/base/gstbasetransform.c:
8495         (gst_base_transform_buffer_alloc):
8496         Only call downstream buffer_alloc if transform element is passthrough
8497         or always_in_place. Closes #350449.
8498
8499 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8500
8501         * ChangeLog:
8502           ChangeLog surgery to add comments to previous changes
8503
8504 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8505
8506         * gst/gst.c:
8507           Add comments
8508
8509         * gst/gstpad.c: (gst_pad_set_active):
8510           Be more verbose in the log
8511
8512         * libs/gst/base/gstbasetransform.c:
8513         (gst_base_transform_transform_caps):
8514           Simplify caps to get rid of duplicates, fixes #345444
8515
8516 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8517
8518         * gst/gstvalue.c:
8519         * gst/gstvalue.h:
8520           Use these optimizations only internally.
8521
8522 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8523
8524         * gst/gstvalue.c: (gst_value_compare_list),
8525         (gst_value_compare_fraction_range),
8526         (gst_value_intersect_fraction_fraction_range),
8527         (gst_value_intersect_fraction_range_fraction_range),
8528         (gst_value_subtract_fraction_fraction_range),
8529         (gst_value_subtract_fraction_range_fraction_range),
8530         (gst_value_get_compare_func), (gst_value_compare),
8531         (gst_value_compare_with_func):
8532         * gst/gstvalue.h:
8533           Saves the expensive lookup of the compare function in many cases
8534          (#345444)
8535
8536 2006-08-18  Edward Hervey  <edward@fluendo.com>
8537
8538         * tests/check/gst/gstinfo.c: (gst_info_suite):
8539         Disable test that require gstdebug if it wasn't built in core.
8540
8541 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
8542
8543         * docs/random/ensonic/logging.txt:
8544           update ideas
8545           
8546         * gst/gstinfo.c: (gst_debug_log_default):
8547           reorder fields, save some columns, add optional color codes for log
8548           levels
8549
8550 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
8551
8552         * docs/random/ensonic/logging.txt:
8553           add ideas about making the logs a bit more useful
8554
8555 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
8556
8557         * docs/pwg/advanced-events.xml:
8558         * docs/pwg/titlepage.xml:
8559           Update for 0.10 API (#340627). Add myself
8560           to authors list.
8561
8562 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
8563
8564         * docs/libs/gstreamer-libs-docs.sgml:
8565         * docs/libs/gstreamer-libs-sections.txt:
8566         * libs/gst/check/gstbufferstraw.c:
8567           Make gstcheck stuff show up in docs (still needs to
8568           be documented properly though).
8569
8570 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
8571
8572         * docs/gst/gstreamer-sections.txt:
8573         * gst/Makefile.am:
8574         * gst/gst.c: (init_post):
8575         * gst/gst_private.h:
8576         * gst/gstquark.c: (_priv_gst_quarks_initialize):
8577         * gst/gstquark.h:
8578         * gst/gstquery.c: (gst_query_new_position),
8579         (gst_query_set_position), (gst_query_parse_position),
8580         (gst_query_new_duration), (gst_query_set_duration),
8581         (gst_query_parse_duration), (gst_query_new_convert),
8582         (gst_query_set_convert), (gst_query_parse_convert),
8583         (gst_query_new_segment), (gst_query_set_segment),
8584         (gst_query_parse_segment), (gst_query_new_seeking),
8585         (gst_query_set_seeking), (gst_query_parse_seeking):
8586         Add internal helpers for pre-registering quarks from static strings
8587         and using the quark values directly instead of looking them up when
8588         creating and parsing queries. Can be used for event construction too.
8589         Closes #350432.
8590
8591 2006-08-16  Wim Taymans  <wim@fluendo.com>
8592
8593         * gst/gstbin.c:
8594         Fix bogus docs.
8595
8596 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8597
8598         * gst/gstutils.c: (gst_util_set_value_from_string):
8599           Fix memleak (#351502).
8600
8601         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8602           Add unit test for most of gst_util_set_value_from_string()
8603           (not that one would want to encourage use of this function).
8604
8605 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8606
8607         * libs/gst/check/gstcheck.h:
8608           Use const gchar * variables in fail_unless_equals_string
8609           macro to avoid compiler warnings (and don't use tabs for
8610           indenting).
8611
8612 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8613
8614         * tools/gst-launch.c: (print_tag):
8615           More space on the left for the tag names, to cater
8616           for the 'extended comment' tag (not touching the
8617           string for the first line since it's translated).
8618
8619 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8620
8621         * libs/gst/check/gstcheck.h:
8622           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
8623           print something when they fail.
8624
8625 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8626
8627         * docs/gst/gstreamer-sections.txt:
8628         * gst/gsttaglist.c: (_gst_tag_initialize):
8629         * gst/gsttaglist.h:
8630           API: add GST_TAG_EXTENDED_COMMENT (#350935).
8631           Also change merge function for GST_TAG_COMMENT to
8632           use_first.
8633
8634 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8635
8636         * gst/gstinfo.c: (gst_debug_print_object):
8637           Make GST_PTR_FORMAT print messages as well.
8638
8639         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
8640         (GST_START_TEST), (gst_info_suite):
8641           More tests.
8642
8643 2006-08-14  Edward Hervey  <edward@fluendo.com>
8644
8645         * gst/gstelementfactory.c: (gst_element_register):
8646         If the GstElementClass doesn't have a GstElementDetails with all fields
8647         filled up correctly (longname, description AND author), then error out
8648         nicely instead of crashing.
8649
8650 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8651
8652         * gst/gststructure.c:
8653           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
8654
8655         * gst/gstvalue.h:
8656           Expand on the difference between arrays and lists as we use them.
8657           
8658 2006-08-14  Wim Taymans  <wim@fluendo.com>
8659
8660         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8661         If the parent state change function failed, don't assume we can safely
8662         stop the source, this will be done when the pads are deactivated.
8663
8664 2006-08-14  Wim Taymans  <wim@fluendo.com>
8665
8666         * gst/gstbuffer.c:
8667         * gst/gsttask.c: (gst_task_join):
8668         Small doc updates.
8669
8670         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8671         (gst_pad_stop_task):
8672         When pad (de)activation failed for some reason, restore the old
8673         activation mode and set the pad to flushing instead of assuming the
8674         pad is deactivated.
8675         If the _task_join() failed, reinstall the task on the pad so that it can
8676         be stopped later and return an error.
8677
8678 2006-08-11  Andy Wingo  <wingo@pobox.com>
8679
8680         * configure.ac:
8681         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8682         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
8683         is only for users of API that don't want to see deprecated
8684         functions in the headers; people that want to compile out
8685         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
8686         CFLAGS. Fixes the build of multifdsink, or will soon..
8687
8688 2006-08-11  Wim Taymans  <wim@fluendo.com>
8689
8690         * docs/gst/gstreamer-sections.txt:
8691         Add GstClockClass vmethod docs.
8692
8693         * gst/gstcaps.h:
8694         Mark #endif with comment for associated #if
8695
8696         * gst/gstclock.c: (gst_clock_id_wait):
8697         * gst/gstclock.h:
8698         Add vmethod wait_jitter to avoid an unneeded _get_time() for
8699         most clock implementations.
8700         Document vmethods.
8701         Flesh out docs about resolution methods.
8702         API: GstClockClass::wait_jitter
8703
8704         * gst/gstsystemclock.c: (gst_system_clock_class_init),
8705         (gst_system_clock_async_thread),
8706         (gst_system_clock_id_wait_jitter_unlocked),
8707         (gst_system_clock_id_wait_jitter):
8708         Use base class wait_jitter variant for improved performance
8709         due to less clock polling.
8710
8711 2006-08-11  Edward Hervey  <edward@fluendo.com>
8712
8713         * gst/gst.c: (gst_init_check), (init_post):
8714         Set gst as being initialized before scanning/updating the registry,
8715         since there might be my python plugin loader that calls gst_init() and
8716         we don't want to loop back in.
8717         Closes #350879
8718
8719 2006-08-11  Wim Taymans  <wim@fluendo.com>
8720
8721         * docs/design/part-qos.txt:
8722         Bring docs in line with the code. Mostly the sign of the jitter was
8723         wrong in the docs. Fixes #349943.
8724
8725         * gst/gstclock.c:
8726         Fix the docs for the jitter.
8727
8728         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
8729         (gst_event_parse_tag), (gst_event_new_buffer_size),
8730         (gst_event_parse_buffer_size), (gst_event_parse_qos),
8731         (gst_event_new_seek), (gst_event_parse_seek),
8732         (gst_event_new_navigation):
8733         Make sure the GstStructure has no parent when creating custom
8734         events.
8735         Add some more argument checking so that we avoid 0.0 rates.
8736         Flesh out the docs for the QoS event some more.
8737
8738 2006-08-11  Wim Taymans  <wim@fluendo.com>
8739
8740         * docs/gst/gstreamer-sections.txt:
8741         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8742         (ensure_current_registry_forking), (ensure_current_registry),
8743         (parse_one_option), (parse_goption_arg), (gst_deinit),
8744         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
8745         * gst/gst.h:
8746         Doc updates.
8747         Added API and command line option to disable registry forking in
8748         addition to the environment variable.
8749         Constify some static arrays.
8750         Added some more debug.
8751         Don't deinit twice.
8752         API: gst_registry_fork_is_enabled()
8753         API: gst_registry_fork_set_enabled()
8754         API: --gst-disable-registry-fork command line option
8755         Fixes #348918.
8756
8757 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
8758
8759         * gst/gst.c: (gst_init):
8760           Fix typo in error message.
8761
8762 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
8763
8764         * libs/gst/controller/gstcontroller.h:
8765           fix ABI size-correction
8766
8767         * tests/check/libs/gdp.c: (gst_dp_suite):
8768           make tests that use deprecated API conditional
8769
8770 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
8771
8772         * docs/libs/gstreamer-libs-sections.txt:
8773         * libs/gst/controller/gstcontroller.c:
8774         (_gst_controller_get_property), (_gst_controller_set_property),
8775         (_gst_controller_init), (_gst_controller_class_init):
8776         * libs/gst/controller/gstcontroller.h:
8777         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
8778         (gst_object_set_control_rate):
8779           API: add gst_object_{s,g}et_control_rate(), add private data section,
8780           fix docs
8781
8782         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8783         * libs/gst/dataprotocol/dataprotocol.h:
8784           add deprecation guards to make gtk-doc happy and allow disabling cruft
8785
8786 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8787
8788         * tests/check/Makefile.am:
8789         * tests/check/gst/.cvsignore:
8790           Let's enable the new unit test as well.
8791
8792 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8793
8794         * configure.ac:
8795         * docs/gst/gstreamer-sections.txt:
8796         * gst/gstconfig.h.in:
8797         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
8798         (_gst_info_printf_extension_ptr),
8799         (_gst_info_printf_extension_segment):
8800           API: add GST_SEGMENT_FORMAT, which is a printf extension we
8801           register that lets us easily dump GstSegments into debug
8802           logs (#350419).
8803
8804         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
8805         (info_segment_format_printf_extension), (gst_info_suite):
8806           Add simple unit test that logs a bunch of different segments (not
8807           valgrinded at the moment because of leaks in
8808           gst_debug_add_log_function).
8809
8810 2006-08-09  Edward Hervey  <edward@fluendo.com>
8811
8812         * libs/gst/base/gstbasetransform.c:
8813         (gst_base_transform_buffer_alloc):
8814         Even if we can't figure out the proper format to request downstream,
8815         call buffer_alloc() downstream with the input parameters without setting
8816         the caps on the srcpad. This will force negotiation in the chain
8817         function.
8818         Closes #350449
8819
8820 2006-08-08  Edward Hervey  <edward@fluendo.com>
8821
8822         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
8823         Unlinking from a pad without a target is now a perfectly valid case
8824         which should NOT raise an assertion.
8825         This case would happen if a linked ghostpad its target set to NULL after
8826         it was previously linked.
8827
8828 2006-08-08  Edward Hervey  <edward@fluendo.com>
8829
8830         * tests/check/libs/gdp.c:
8831         Also comment out the test (see below).
8832
8833 2006-08-08  Edward Hervey  <edward@fluendo.com>
8834
8835         * tests/check/libs/gdp.c: (gst_dp_suite):
8836         Use the architecture information from config.h and not gcc macros
8837         in order to properly disable a test that fails on PPC64.
8838
8839 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
8840
8841         * gst/gstelement.c: (gst_element_remove_pad):
8842           Don't crash printing the warning if the pad has no parent.
8843
8844 2006-08-02  Wim Taymans  <wim@fluendo.com>
8845
8846         * libs/gst/dataprotocol/dataprotocol.c:
8847         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8848         (gst_dp_crc), (gst_dp_header_payload_length),
8849         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
8850         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
8851         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
8852         (gst_dp_event_from_packet), (gst_dp_validate_header),
8853         (gst_dp_validate_payload):
8854         Make debug category static
8855         Constify the crc table.
8856         Do some more arg checking in public functions.
8857         Fix some docs and do some small cleanups.
8858
8859         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
8860         Add some more checks to see if GDP deals with bogus input.
8861
8862 2006-07-31  Wim Taymans  <wim@fluendo.com>
8863
8864         * gst/gstvalue.c: (gst_value_compare_list):
8865         Fix GstValueList comparison code. Fixes #347293.
8866
8867         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8868         Check to test GstValueList comparison.
8869
8870 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
8871
8872         * gst/gstelementfactory.c: (gst_element_factory_create):
8873         Remove unnecessary ref/unref pair
8874
8875         * gst/parse/grammar.y:
8876         Make sure to free the parse buffer on all code paths.
8877         Move a g_free up to the error handler where it's easier to see.
8878
8879         * tests/check/gst/gstevent.c: (test_event):
8880         Extending timeout for downstream travelling events to 10 seconds to
8881         hopefully avoid intermittent failure on the buildbots.
8882
8883         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
8884         Don't manually set the state of the src element - it will happen as a
8885         natural consequence of the pipeline changing state, and that way it
8886         will do it in the right order too.
8887
8888 2006-07-31  Wim Taymans  <wim@fluendo.com>
8889
8890         * libs/gst/base/gstbasetransform.c:
8891         (gst_base_transform_buffer_alloc):
8892         Use OBJECT_LOCK and refcounting to get the pad caps in the
8893         buffer_alloc function because the caps could change while we are
8894         busy with them. Fixes #349105
8895
8896 2006-07-31  Wim Taymans  <wim@fluendo.com>
8897
8898         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
8899         Protect _PAD_CAPS with OBJECT_LOCK.
8900
8901 2006-07-31  Wim Taymans  <wim@fluendo.com>
8902
8903         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
8904         (gst_pad_get_property), (gst_pad_activate_pull),
8905         (gst_pad_activate_push), (gst_pad_set_blocked_async),
8906         (gst_pad_set_activate_function),
8907         (gst_pad_set_activatepull_function),
8908         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
8909         (gst_pad_set_getrange_function),
8910         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
8911         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8912         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
8913         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
8914         (gst_pad_set_acceptcaps_function),
8915         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
8916         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
8917         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
8918         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
8919         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
8920         (gst_pad_configure_sink), (gst_pad_configure_src),
8921         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
8922         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
8923         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
8924         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
8925         (gst_pad_send_event):
8926         Use _DEBUG_OBJECT when it makes sense.
8927         Protect GST_PAD_CAPS with the OBJECT_LOCK.
8928         Small cleanups and code reflows.
8929         Avoid caps refcounting in _accept_caps.
8930         Refactor alloc_buffer so that the code performed on the peer is in a
8931         separate function. Also if the pad does not implement a buffer alloc
8932         function, we should still check if the pad is flushing before falling
8933         back to the default allocator.
8934
8935 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
8936
8937         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8938         Make all uses of identity and fakesink have silent=true to avoid
8939         serialising every passing data structure, which is breaking tests
8940         on FC4 for some unknown reason.
8941
8942 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
8943
8944         * gst/parse/Makefile.am:
8945         * gst/parse/grammar.y:
8946         * gst/parse/parse.l:
8947           Reverted previous patch as it required to bump the flex dependency to
8948           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
8949
8950 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
8951
8952         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
8953
8954         * gst/parse/Makefile.am:
8955         * gst/parse/grammar.y:
8956         * gst/parse/parse.l:
8957           push & pop the state of the lexer for reentrant use case
8958           Fixes #349180
8959
8960 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
8961
8962         * libs/gst/base/gstbasesrc.h:
8963           Note in the docs that the ::newsegment vfunc is not actually used by
8964           GstBaseSrc.
8965
8966 2006-07-28  Wim Taymans  <wim@fluendo.com>
8967
8968         * libs/gst/base/gstcollectpads.c:
8969         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
8970         (gst_collect_pads_clear), (gst_collect_pads_flush),
8971         (gst_collect_pads_event), (gst_collect_pads_chain):
8972         When flushing a pad, also clear the queued buffer so that we don't
8973         accidentally use it when we shouldn't.
8974         Fix leaks by inreffing incomming buffer.
8975         Flush out queued buffers in case of errors.
8976         Fixes #347452.
8977
8978 2006-07-28  Wim Taymans  <wim@fluendo.com>
8979
8980         * docs/random/phonon-gst:
8981         Random notes about a Phonon backend.
8982
8983 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
8984
8985         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8986         Extra debug output
8987         * tests/check/libs/gdp.c: (gst_dp_suite):
8988         Take a whack at fixing the ppc compile using a different define to
8989         disable the broken test.
8990
8991         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8992         Remove excess g_print()
8993
8994 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
8995
8996         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8997         Oops, meant to uncomment this line too to dampen the noise a bit.
8998
8999 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
9000
9001         * gst/parse/grammar.y:
9002         * gst/parse/parse.l:
9003         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9004         (GST_START_TEST), (parse_suite):
9005         Fix some of the leaks exposed by extending the parse-launch testsuite,
9006         and move the 3 I can't figure out into a separate test that won't run
9007         the pipelines unless the appropriate line is uncommented.
9008
9009 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
9010
9011         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9012           Requesting 0 bytes before the end of the file should result in
9013           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
9014           unit test.
9015
9016 2006-07-27  Wim Taymans  <wim@fluendo.com>
9017
9018         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
9019         Fix useless assert, a uint is always positive.
9020
9021         * gst/gststructure.c: (gst_structure_nth_field_name),
9022         (gst_structure_foreach), (gst_structure_map_in_place):
9023         Check input arguments for public functions to avoid obvious crashes.
9024
9025         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
9026         * plugins/elements/gstfakesink.h:
9027         Do less useless typechecking.
9028
9029 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
9030
9031         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9032           Do not use mmap() by default since there are a number of error
9033           conditions that we would like to handle in a non-fatal way that
9034           will result in a SIGBUS if we use mmap(). Examples: external
9035           devices (USB harddrive, portable music player) being unplugged
9036           while in use; file on mounted CD/DVD that can't be read because
9037           the medium is partly damaged. Fixes #348455 and #348475.
9038
9039 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
9040
9041         * gst/gstquery.h:
9042         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
9043         rates are a gdouble
9044
9045 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
9046
9047         * gst/gstregistry.c:
9048           Move big documentation comment into class section header, so that it
9049           appears in the API docs.
9050
9051 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9052
9053         * docs/gst/gstreamer-sections.txt:
9054         Oops. Commit the docs additions too for new API.
9055         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
9056
9057 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9058
9059         * gst/gststructure.c: (gst_structure_id_set),
9060         (gst_structure_id_set_valist):
9061         * gst/gststructure.h:
9062         Add API for setting values into structures without performing
9063         a quark lookup, if the appropriate quark is already known.
9064
9065         API: gst_structure_id_set
9066         API: gst_structure_id_set_valist
9067
9068         * gst/parse/grammar.y:
9069         * gst/parse/parse.l:
9070         Remove some dead code shown by the coverage information.
9071         Don't throw a critical g_warning when encountering a syntax error,
9072         just warn and let the normal error path handle it.
9073
9074         * plugins/elements/gstelements.c:
9075         Bump the rank of filesink up to PRIMARY so that it is preferred over
9076         gnomevfssink for file:// sink uri's
9077
9078         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9079         (GST_START_TEST), (run_delayed_test),
9080         (gst_parse_test_element_base_init),
9081         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
9082         (gst_parse_test_element_change_state),
9083         (gst_register_parse_element), (parse_suite):
9084         Beef up the tests for parse syntax to check that more error cases
9085         fail as they are supposed to. Increases the test coverage a bit.
9086
9087 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
9088
9089         * docs/manual/basics-elements.xml:
9090           Fix gst_element_link() example.
9091
9092         * gst/gstutils.c:
9093           Mention in API docs that one should usually gst_bin_add()
9094           elements to a bin or pipeline before doing the linking.
9095           
9096 2006-07-26  Wim Taymans  <wim@fluendo.com>
9097
9098         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
9099         (gst_subbuffer_get_type), (gst_buffer_create_sub):
9100         Avoid function call for known types by keeping the buffer and
9101         subbuffer GType global.
9102
9103         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9104         Random silly optimisations in read() path.
9105
9106 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9107
9108         * tools/gst-launch.c: (main):
9109           If the top-level of the parse is a normal bin, it doesn't do the
9110           right logic to run as a top-level element, so place it inside a
9111           pipeline.
9112
9113 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
9114
9115         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
9116           Remove superfluous g_object_notify() calls, GObject does
9117           that for us automatically.
9118
9119 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
9120
9121         * gst/gstinfo.h:
9122           on Win32, use dllspec to export the debug category symbols
9123
9124 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
9125
9126         * gst/gsttaglist.c: (_gst_tag_initialize):
9127           Allow more than one GST_TAG_IMAGE per taglist.
9128
9129 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9130
9131         * gst/gstminiobject.c:
9132           update docs
9133         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
9134         (gst_fd_src_create):
9135           log recurring events at LOG level
9136           add more debug for when the fd gets set
9137
9138 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
9139
9140         * gst/gstparse.c: (gst_parse_launch):
9141           Also remove reentrance checks if flex is MT safe (#348179)
9142          Fix my empty ChangeLog entry below
9143
9144 2006-07-21  Andy Wingo  <wingo@pobox.com>
9145
9146         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
9147
9148         * libs/gst/check/Makefile.am
9149         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
9150         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
9151         * libs/gst/check/gstbufferstraw.h:
9152         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
9153         functions, thus proving I am still a GStreamer haxor. OK I wrote
9154         them a long time ago, but anyways.
9155
9156 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
9157
9158         * configure.ac:
9159         * gst/gstparse.c: (gst_parse_launch):
9160           Check for flex version and omit mutex if we have a MT save flex
9161           (fixes #348179)
9162
9163 2006-07-21  Wim Taymans  <wim@fluendo.com>
9164
9165         * gst/gstparse.c: (gst_parse_launch):
9166         Protect recursive calls to _parse with a recursive mutex
9167         and busy flag.
9168
9169 2006-07-21  Wim Taymans  <wim@fluendo.com>
9170
9171         * tests/check/gst/gstpad.c: (GST_START_TEST):
9172         Fix leak in test.
9173
9174 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
9175
9176         * gst/gstparse.c: (gst_parse_launch):
9177           Do not hang on recursive usage of gst_parse_launch()
9178
9179 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
9180
9181         * gst/gsttaglist.c:
9182           Add some more docs, comments and FIXME 0.11s here and there
9183           and also fix some typos.
9184
9185 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
9186
9187         * gst/gstsegment.h:
9188           Convert tabs to spaces for better readability. 
9189
9190 2006-07-20  Edward Hervey  <edward@fluendo.com>
9191
9192         * tests/check/libs/gdp.c: (gst_dp_suite):
9193         the test_buffer test fails at line 140 on ppc64 at the following
9194         check:
9195         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
9196                 GST_BUFFER_FLAG_IN_CAPS),
9197                 "GST_BUFFER_IN_CAPS flag should have been copied !");
9198         See bug #348114 for more details.
9199
9200 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
9201
9202         * docs/pwg/advanced-scheduling.xml:
9203         * gst/gstpad.c:
9204           Fix typos (#348000).
9205
9206 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
9207
9208         * docs/pwg/intro-basics.xml:
9209           Fix wrong links (#347927).
9210
9211 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
9212
9213         * gst/gstregistry.h:
9214         * gst/gstregistryxml.c: (load_feature),
9215         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
9216         * win32/common/config.h:
9217           make --disable-index work (#342564)
9218
9219 2006-07-18  Wim Taymans  <wim@fluendo.com>
9220
9221         Patch by: Peter Kjellerstedt <pkj at axis dot com>
9222
9223         * gst/Makefile.am:
9224         * gst/gsttrace.h:
9225         The attached patch adds two missing defines to gsttrace.h when tracing
9226         is disabled.  It also corrects one existing define.
9227         Fixes #347756.
9228
9229 2006-07-17  Wim Taymans  <wim@fluendo.com>
9230
9231         * docs/gst/gstreamer-sections.txt:
9232         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
9233         * gst/gst.h:
9234         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
9235         Add two functions to check and change the SIGSEGV behaviour
9236         when loading plugins.
9237         Don't mess with the SIGSEGV handler when we were told not to.
9238         Fixes #347794.
9239         API: gst_segtrap_is_enabled
9240         API: gst_segtrap_set_enabled
9241
9242 2006-07-14  Wim Taymans  <wim@fluendo.com>
9243
9244         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9245         * tests/check/elements/filesrc.c: (GST_START_TEST):
9246         Revert fix for regression in #347408 after release.
9247
9248 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
9249
9250         Patch by: Antoine Tremblay <hexa00 at gmail com>
9251
9252         * gst/gstutils.c: (gst_element_unlink):
9253           Free iterator when done (#347311).
9254
9255         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9256           And add a test case for this.
9257
9258 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
9259
9260         * configure.ac:
9261         Bump nano back to CVS
9262
9263 === release 0.10.9 ===
9264
9265 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
9266
9267         * configure.ac:
9268           releasing 0.10.9, "On the road again"
9269
9270 2006-07-13  Wim Taymans  <wim@fluendo.com>
9271
9272         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9273         * tests/check/elements/filesrc.c: (GST_START_TEST):
9274         Revert pull-0 fix for release. Disable check. Fixes #347408.
9275
9276 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9277
9278         * libs/gst/dataprotocol/dataprotocol.c:
9279         (gst_dp_event_from_packet_1_0):
9280           Fixes #347337: failure to deserialize event packets with
9281           empty payload (only event type)
9282
9283 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9284
9285         * gst/Makefile.am:
9286           do not install a .c file in the header directory
9287
9288 2006-07-13  Edward Hervey  <edward@fluendo.com>
9289
9290         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9291         GhostPad no longer implicitely use the padtemplates of the targets.
9292         Fixes #347384
9293
9294 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
9295
9296         * gst/gstvalue.c: (gst_value_compare_list),
9297         (gst_value_compare_array), (_gst_value_initialize):
9298         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9299         Make GstValueArray comparison be order dependent as designed.
9300         Add checks for value lists and value array comparisons.
9301         Fixes #347221
9302
9303 2006-07-11  Edward Hervey  <edward@fluendo.com>
9304
9305         * gst/gstbin.c: (activate_pads),
9306         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
9307         (gst_bin_change_state_func):
9308         (de)activate src pads before calling state_change on the childs.
9309         This is to avoid the case where a src ghostpad is blocked (holding the
9310         stream lock), which would block the deactivation of the ghostpad's
9311         target pad.
9312         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
9313         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
9314         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
9315         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
9316         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
9317         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9318         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9319         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
9320         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
9321         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
9322         (gst_ghost_pad_class_init),
9323         (gst_ghost_pad_internal_do_activate_push),
9324         (gst_ghost_pad_internal_do_activate_pull),
9325         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9326         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9327         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
9328         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
9329         GhostPads now create their internal GstProxyPad at creation (and not
9330         when they're linked, as it was being done previously).
9331         The internal and target pads are linked straight away.
9332         The data will also travel through the other pad in order to make
9333         pad blocking and probes non-hackish (the probe/block now really happens
9334         on the GhostPad and not on the target).
9335         * gst/gstpad.c: (gst_pad_set_blocked_async),
9336         (gst_pad_link_prepare), (gst_pad_push_event):
9337         Remove previous ghostpad cruft.
9338         * gst/gstutils.c: (gst_pad_add_data_probe),
9339         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9340         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9341         (gst_pad_remove_buffer_probe):
9342         Remove previous ghost pad cruft.
9343         Added more detailed debug statements.
9344         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9345         Fix the testsuite for refcounting changes.
9346         The comments about who has references were correct, but the refcount
9347         being checked wasn't the same (!?!).
9348
9349         Fixes #341029
9350
9351 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
9352
9353         * docs/gst/gstreamer-sections.txt:
9354         * gst/gstconfig.h.in:
9355         More docs for configuration options, add docs to gtk-doc.
9356
9357 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
9358
9359         * gst/Makefile.am:
9360         * gst/gstconfig.h.in:
9361         * win32/common/config.h:
9362         Fix build when disabling tracing (fixes #344016). Also start to document
9363         the defines that disable the sub-systems.
9364
9365 2006-07-10  Edward Hervey  <edward@fluendo.com>
9366
9367         * gst/gst.c: (ensure_current_registry_forking):
9368         let's make valgrind happy...
9369
9370 2006-07-09  Wim Taymans  <wim@fluendo.com>
9371
9372         * gst/gstelement.c: (activate_pads),
9373         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9374         Better pad activation code: Reset the collect value too on resync.
9375         Add some comments.
9376
9377 2006-07-09  Wim Taymans  <wim@fluendo.com>
9378
9379         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
9380         (gst_pad_activate_push):
9381         Use some more macros where it makes sense.
9382         Allow pad mode switching instead of asserting. When a pad
9383         is activated in one mode and we activate it in another, 
9384         deactivate it first before activating it in a different mode.
9385         Fixes #329198.
9386
9387 2006-07-08  Andy Wingo  <wingo@pobox.com>
9388
9389         * tools/gst-launch.c (main): Handle err == NULL.
9390
9391         * gst/gst.c (init_post, ensure_current_registry)
9392         (ensure_current_registry_forking)
9393         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
9394         factoring out the registry scanning into separate functions. Don't
9395         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
9396         Better environment var name/interface suggestions accepted.
9397
9398 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9399
9400         * gst/gstobject.c: (gst_object_set_name_default),
9401         (gst_object_set_name):
9402           Random micro-optimisation: don't use a hash table
9403           with strings as keys and the usual strdup/strcmp
9404           involved, but rather just use the GQuark of the
9405           type name as key, since it needs to be looked up
9406           anyway to get the type name string.
9407
9408         * tests/check/gst/gstobject.c: (GST_START_TEST):
9409           Fix various leaks.
9410
9411 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9412
9413         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
9414         (gst_bin_iterate_all_by_interface):
9415           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
9416           GTypes are gulongs and thus the top 4 bytes might be cut
9417           off on some platforms when doing GPOINTER_TO_INT, leading
9418           to invalid GTypes and bad things happening (see RH bug #179654).
9419           Also add a check to make sure the type passed in is really
9420           an interface type.
9421
9422 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9423
9424         * .cvsignore:
9425           Ignore more.
9426
9427 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9428
9429         * Makefile.am:
9430         * configure.ac:
9431         * gst-element-check.m4:
9432         * gst-element-check.m4.in:
9433           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
9434           instead of the unversioned gst-inspect (#324176, #168659).
9435
9436 2006-07-06  Wim Taymans  <wim@fluendo.com>
9437
9438         * gst/gstmessage.h:
9439         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
9440         warnings.
9441
9442 2006-07-06  Wim Taymans  <wim@fluendo.com>
9443
9444         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9445         (gst_base_src_wait), (gst_base_src_update_length),
9446         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
9447         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
9448         (gst_base_src_loop), (gst_base_src_start),
9449         (gst_base_src_activate_pull):
9450         Update docs.
9451         blocksize == 0 now means the default blocksize when working in push
9452         based mode.
9453         Remove some pointless asserts in _wait function.
9454         Fix offset/length calculations and EOS handling. We can now pull 0
9455         bytes as well, which is allowed.
9456         use _check_get_range() to decide if we can operate in _pull based
9457         mode.
9458         Fix refcounting leak when check_get_range function was not 
9459         implemented.
9460         API GstBaseSrc::blocksize range can be 0 too now (default)
9461
9462         * tests/check/elements/filesrc.c: (GST_START_TEST),
9463         (filesrc_suite):
9464         Added check to test _get_range() behaviour.
9465
9466 2006-07-06  Wim Taymans  <wim@fluendo.com>
9467
9468         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9469         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
9470         (gst_pad_pull_range):
9471         * gst/gstpad.h:
9472         Lots of comments and docs added to the pad functions.
9473         Flesh out the expected behaviour of the get_range() functions.
9474
9475 2006-07-06  Wim Taymans  <wim@fluendo.com>
9476
9477         * gst/gstbus.h:
9478         * gst/gstclock.h:
9479         * gst/gstevent.h:
9480         * gst/gstiterator.h:
9481         * gst/gstpad.h:
9482         * gst/gstplugin.h:
9483         * gst/gsttask.h:
9484         Remove comma at end of enumerator list. 
9485
9486 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
9487
9488         * win32/common/libgstbase.def:
9489         * win32/common/libgstdataprotocol.def:
9490         * win32/common/libsgtreamer.def:
9491         Add new exported functions.
9492
9493 2006-07-05  Wim Taymans  <wim@fluendo.com>
9494
9495         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
9496         Add some more docs here and there.
9497
9498 2006-07-05  Wim Taymans  <wim@fluendo.com>
9499
9500         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
9501         (gst_base_sink_loop), (gst_base_sink_get_position):
9502         When operating in pull mode update the offset so that we
9503         read sequentially.
9504
9505 2006-07-05  Wim Taymans  <wim@fluendo.com>
9506
9507         * gst/gstregistryxml.c: (read_string):
9508         Avoid strdup. (will happen in libxml, but hey!)
9509
9510         * gst/gsturi.c:
9511         Add some more docs.
9512
9513 2006-07-05  Wim Taymans  <wim@fluendo.com>
9514
9515         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
9516         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9517         (gst_buffer_suite):
9518         No point in checking if the size of the subbuffer > 0, the
9519         code handles it correclty as demonstrated by unit test.
9520         Also add a unit test for the zero sized _new_and_alloc and
9521         _copy. Fixes #346663.
9522
9523 2006-07-05  Wim Taymans  <wim@fluendo.com>
9524
9525         * libs/gst/base/gstbasetransform.c:
9526         (gst_base_transform_prepare_output_buffer),
9527         (gst_base_transform_buffer_alloc),
9528         (gst_base_transform_handle_buffer):
9529         Make sure the buffer we pass to transform_ip has a refcount of
9530         1 and thus is writable. Fixes #343196
9531
9532 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
9533
9534         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9535         (gst_file_src_init), (gst_file_src_set_property),
9536         (gst_file_src_get_property), (gst_file_src_map_region):
9537         * plugins/elements/gstfilesrc.h:
9538         Add "sequential" property, off by default, to use madvise and hint
9539         to the kernel that sequential access is desired.
9540         Touch all retrieved pages by default to ensure they are pulled
9541         into memory. (Closes #345720)
9542
9543 2006-07-03  Wim Taymans  <wim@fluendo.com>
9544
9545         * docs/design/part-block.txt:
9546         * docs/design/part-dynamic.txt:
9547         Small docs updates.
9548
9549 2006-07-03  Wim Taymans  <wim@fluendo.com>
9550
9551         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
9552         (gst_caps_unref), (gst_static_caps_get),
9553         (gst_caps_append_structure):
9554         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
9555         Use GSlice when the glib we build against is >= 2.10
9556
9557 2006-07-03  Wim Taymans  <wim@fluendo.com>
9558
9559         * gst/gstelement.c: (gst_element_pads_activate):
9560         Small cleanup in pad activation code.
9561
9562 2006-07-03  Wim Taymans  <wim@fluendo.com>
9563
9564         Patch by: Peter Kjellerstedt <pkj at axis dot com>
9565
9566         * gst/gst-i18n-app.h:
9567         * gst/gst-i18n-lib.h:
9568         * tools/gst-inspect.c: (print_signal_info):
9569         The attached patch will make the inclusion of gettext.h unconditional in
9570         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
9571         libintl.h in tools/gst-inspect.c.
9572         This allows use of --disable-nls again and fixes #344642.
9573
9574 2006-07-03  Edward Hervey  <edward@fluendo.com>
9575
9576         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
9577         Implement pad blocking on events according to part-block.txt.
9578         More comments on behaviour.
9579         * tests/check/gst/gstevent.c: (test_event):
9580         Send event to peer pad of blocked pad (else it will block).
9581
9582 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9583
9584         * libs/gst/check/gstcheck.c: (gst_check_message_error),
9585         (gst_check_run_suite):
9586           if we get the wrong message, give us the types as string
9587         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9588           Fix a translatable
9589         * tests/check/elements/filesrc.c: (GST_START_TEST):
9590           add a test for trying to open a non-existing file
9591
9592 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9593
9594         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9595           add a test for adding self
9596
9597 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9598
9599         * libs/gst/check/gstcheck.h:
9600           add some assert_ as alias for fail_unless_*
9601         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
9602           increase test coverage
9603
9604 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9605
9606         * Makefile.am:
9607           include lcov.mak for lcov coverage generation
9608         * tools/Makefile.am:
9609           add to CLEANFILES
9610
9611 2006-07-02  Edward Hervey  <edward@fluendo.com>
9612
9613         * tests/check/elements/.cvsignore:
9614         moaping
9615
9616 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9617
9618         * configure.ac:
9619           don't set CFLAGS and friends for gcov, done from GST_GCOV now
9620         * tests/check/Makefile.am:
9621           clean up gcov files
9622
9623 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9624
9625         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
9626           remove gst_caps_simplify; it was not declared and not used
9627           and deprecated in 0.8
9628
9629 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9630
9631         * docs/faq/gst-uninstalled:
9632           don't put empty paths on PYTHONPATH
9633         * docs/gst/gstreamer-sections.txt:
9634           remove some symbols that are not there
9635
9636 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9637
9638         * gst/gstcaps.c: (gst_caps_compare_structures):
9639           whitespace fixes
9640         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9641         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9642           add more tests
9643
9644 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9645
9646         * libs/gst/dataprotocol/Makefile.am:
9647           build dataprotocol test by linking to the lib, instead of
9648           compiling the source, so we get coverage
9649         * tests/check/Makefile.am:
9650         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
9651         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
9652           add a test for filesrc
9653
9654 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9655
9656         * tests/check/gst/gststructure.c: (GST_START_TEST),
9657         (gst_structure_suite):
9658           Push coverage from 59.04% to 70.00%
9659
9660 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9661
9662         * tests/check/Makefile.am:
9663           gst-inspect every element; this makes sure that we also get
9664           coverage on element's get/set functions
9665
9666 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9667
9668         * configure.ac:
9669           set CFLAGS and friends to -O0 if gcov is being used
9670           add GCOV LIBS
9671         * gst/Makefile.am:
9672         * libs/gst/base/Makefile.am:
9673         * libs/gst/check/Makefile.am:
9674         * libs/gst/controller/Makefile.am:
9675         * libs/gst/dataprotocol/Makefile.am:
9676         * libs/gst/net/Makefile.am:
9677         * plugins/elements/Makefile.am:
9678         * plugins/indexers/Makefile.am:
9679           add makefile rules to generate gcov data and clean up
9680         * tests/check/Makefile.am:
9681           add a coverage target that generates an html overview
9682           of coverage data
9683
9684 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9685
9686         * tests/check/elements/fakesink.c:
9687         * tests/check/elements/fakesrc.c:
9688         * tests/check/elements/fdsrc.c:
9689         * tests/check/elements/identity.c:
9690         * tests/check/generic/sinks.c: (gst_sinks_suite):
9691         * tests/check/generic/states.c:
9692         * tests/check/gst/gst.c:
9693         * tests/check/gst/gstabi.c:
9694         * tests/check/gst/gstbin.c:
9695         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
9696         * tests/check/gst/gstbus.c: (gst_bus_suite):
9697         * tests/check/gst/gstcaps.c: (GST_START_TEST):
9698         * tests/check/gst/gstelement.c:
9699         * tests/check/gst/gstevent.c: (gst_event_suite):
9700         * tests/check/gst/gstghostpad.c:
9701         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
9702         * tests/check/gst/gstmessage.c: (gst_message_suite):
9703         * tests/check/gst/gstminiobject.c:
9704         * tests/check/gst/gstobject.c:
9705         * tests/check/gst/gstpad.c:
9706         * tests/check/gst/gstpipeline.c:
9707         * tests/check/gst/gstplugin.c:
9708         * tests/check/gst/gstquery.c: (gst_query_suite):
9709         * tests/check/gst/gstsegment.c: (gst_segment_suite):
9710         * tests/check/gst/gststructure.c:
9711         * tests/check/gst/gstsystemclock.c:
9712         * tests/check/gst/gsttag.c:
9713         * tests/check/gst/gsttask.c: (gst_task_suite):
9714         * tests/check/gst/gstutils.c:
9715         * tests/check/gst/gstvalue.c:
9716         * tests/check/libs/adapter.c:
9717         * tests/check/libs/basesrc.c:
9718         * tests/check/libs/collectpads.c:
9719         * tests/check/libs/controller.c:
9720         * tests/check/libs/gdp.c: (gst_dp_suite):
9721         * tests/check/libs/gstnetclientclock.c:
9722         * tests/check/libs/gstnettimeprovider.c:
9723         * tests/check/libs/libsabi.c: (libsabi_suite):
9724         * tests/check/libs/typefindhelper.c:
9725         * tests/check/pipelines/cleanup.c:
9726         * tests/check/pipelines/parse-launch.c:
9727         * tests/check/pipelines/simple-launch-lines.c:
9728         * tests/check/pipelines/stress.c: (stress_suite):
9729           use the new macro
9730
9731 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9732
9733         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
9734         * libs/gst/check/gstcheck.h:
9735           create a macro and function so that the simple unit test
9736           case can be just one macro to create main()
9737
9738 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
9739
9740         * gst/gstbin.c: (gst_bin_restore_thyself):
9741         * gst/gstxml.c: (gst_xml_make_element):
9742           Fix deserialisation from XML. Set parent manually
9743           instead of using gst_bin_add(), since gst_bin_add()
9744           will unlink all pads of the element being added.
9745           Fixes #341667.
9746
9747 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
9748
9749         Patch by: Peter Kjellerstedt <pkj at axis com>
9750
9751         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
9752           Fix missing g_strdup() and double free when using the
9753           --gst-plugin-load command line option (#346097).
9754
9755 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
9756
9757         * gst/gstinfo.c:
9758           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
9759
9760         * libs/gst/net/gstnetclientclock.c:
9761         * libs/gst/net/gstnettimeprovider.c:
9762           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
9763
9764 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
9765
9766         * docs/manual/advanced-dataaccess.xml:
9767           Fix buffer probe example compilation in
9768           ADM (#345708).
9769         
9770 2006-06-22  Edward Hervey  <edward@fluendo.com>
9771
9772         * gst/gstelement.c: (gst_element_pads_activate):
9773         We need to deactivate src pads first and then sink pads.
9774         The reason is the src pads might be blocking while holding the streaming
9775         lock, so we need to deactivate them first so that deactivating the sink
9776         pads doesn't block (since it will require the streaming lock).
9777
9778 2006-06-22  Wim Taymans  <wim@fluendo.com>
9779
9780         * libs/gst/base/gstbasetransform.c:
9781         (gst_base_transform_buffer_alloc):
9782         Forgot to remove two unneeded unrefs.
9783         Simplify a check _is_equal allready checks the obvious case.
9784
9785 2006-06-22  Wim Taymans  <wim@fluendo.com>
9786
9787         * docs/design/part-block.txt:
9788         Some docs about what pad_block should do.
9789
9790 2006-06-22  Wim Taymans  <wim@fluendo.com>
9791
9792         * gst/gstcaps.c: (gst_caps_replace):
9793         Fix crasher when passed NULL. Doc clarification.
9794         Optimize for the trivial case.
9795
9796         * gst/gstpipeline.c: (gst_pipeline_change_state):
9797         Small cleanups.
9798
9799         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9800         Small documentation cleanup.
9801
9802         * libs/gst/base/gstbasetransform.c:
9803         (gst_base_transform_buffer_alloc):
9804         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
9805         is what we need and it avoids a whole lot of redundant 
9806         refcount operations.
9807
9808 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
9809
9810         Patch by: Philip Jägenstedt  <philip at lysator liu se>
9811
9812         * docs/manual/advanced-dataaccess.xml:
9813           Fix 'Embedding static elements' section to use
9814           GST_PLUGIN_DEFINE_STATIC (#345607).
9815
9816 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9817
9818         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
9819           Attempt to 'fix' spuriously failing test case: it seems like the
9820           timeout of half a second is simply too small when the system is under
9821           load otherwise, and the timeout doesn't really seem to serve any
9822           particular purpose here. Give the pipeline a few seconds to preroll
9823           first, and then give it another half a second to go from PAUSED to
9824           PLAYING and marshal the message into the main thread.
9825
9826 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9827
9828         * tools/gst-feedback-m.m:
9829           Don't only use unversioned tools, try versioned tools as well
9830           (#345086).
9831
9832 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9833
9834         * gst/gstbus.c: (gst_bus_class_init):
9835           Fix some typos, make docs more explicit.
9836
9837 2006-06-20  Wim Taymans  <wim@fluendo.com>
9838
9839         * tests/check/gst/gstghostpad.c: (block_callback),
9840         (GST_START_TEST), (gst_ghost_pad_suite):
9841         Added some more ghostpad tests, mainly blocking
9842         and probes.
9843
9844 2006-06-16  Wim Taymans  <wim@fluendo.com>
9845
9846         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9847         (gst_file_sink_close_file), (gst_file_sink_do_seek),
9848         (gst_file_sink_event), (gst_file_sink_render):
9849         * plugins/elements/gstfilesink.h:
9850         Check if we can seek in the file instead of assuming
9851         we always can. Post an error when we are asked to seek in a
9852         non-seekable file (like a fifo). Fixes #343312.
9853         Some cleanups.
9854
9855 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
9856
9857         * tools/gst-launch.1.in:
9858           Un-garble (fourcc) bit in filtered caps section.
9859
9860 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
9861
9862         * docs/manual/advanced-autoplugging.xml:
9863         * docs/manual/basics-helloworld.xml:
9864         * docs/manual/highlevel-components.xml:
9865           Don't leak bus reference in sample code.
9866
9867 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
9868
9869         * autogen.sh:
9870           Add default for new --enable-plugin-docs switch.
9871
9872         * configure.ac:
9873           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
9874           Fixes #344039.
9875
9876         * docs/Makefile.am:
9877           Use new ENABLE_PLUGIN_DOCS conditional.
9878
9879 2006-06-14  Wim Taymans  <wim@fluendo.com>
9880
9881         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
9882         Make it clear with a FIXME and a real define what the #if 0
9883         previously disabled.
9884
9885 2006-06-14  Wim Taymans  <wim@fluendo.com>
9886
9887         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9888         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9889         * libs/gst/base/gstbasetransform.c:
9890         (gst_base_transform_sink_eventfunc):
9891         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9892         Don't randomly and silently reset a segment when the format 
9893         changes as this is a bug somewhere upstream. Fixes #330379.
9894
9895 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
9896
9897         Patch by: Wouter Paesen  <wouter at kangaroot net>
9898
9899         * libs/gst/controller/gstcontroller.c:
9900         (gst_controlled_property_new):
9901           Fix controlling of float properties (#344849).
9902
9903         * tests/check/libs/controller.c:
9904         (gst_test_mono_source_get_property),
9905         (gst_test_mono_source_set_property),
9906         (gst_test_mono_source_class_init), (GST_START_TEST):
9907           While we're at it, add some float stuff to unit test.
9908
9909 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9910
9911         * docs/README:
9912         * docs/images/gdp-header.svg:
9913           add a gdp image
9914         * docs/libs/Makefile.am:
9915         * docs/libs/gdp-header.png:
9916         * libs/gst/dataprotocol/dataprotocol.c:
9917           add it to the API docs
9918         * docs/manual/intro-motivation.xml:
9919           fix typo
9920
9921 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
9922
9923         * gst/gst.c: (scan_and_update_registry), (init_post):
9924           If the fork()'ed child process can't write the updated registry cache
9925           file to disk for some reason, make it exit with a failure exit code,
9926           so that the parent can then re-scan the plugins itself and update the
9927           registry structures in memory and work with that (rather than failing
9928           when creating elements because seemingly no plugins are available).
9929           Refactor registry scanning code into separate function for this and
9930           also separate fork() and non-fork() code paths. Fixes #344748.
9931
9932 2006-06-13  Wim Taymans  <wim@fluendo.com>
9933
9934         * docs/manual/advanced-dataaccess.xml:
9935         Fix wrong PluginDesc. Fixes #344755.
9936
9937 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
9938
9939         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9940           Fix silly bug that prevented us from creating
9941           ~/.gstreamer-0.10 and writing the registry in one
9942           go (the first call to g_mkstemp() would overwrite the
9943           placeholder in the template string, so the second call
9944           to g_mkstemp() after creating the missing directory
9945           would then error out with 'invalid argument').
9946
9947 2006-06-13  Edward Hervey  <edward@fluendo.com>
9948
9949         * gst/gst.c: (init_post):
9950         Free string.
9951
9952 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9953
9954         * gst/glib-compat-private.h:
9955         * gst/glib-compat.c:
9956         * gst/glib-compat.h:
9957         * gst/gstvalue.c: (gst_value_serialize_flags):
9958           remove GLib 2.6 compatibility code
9959
9960 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
9961
9962         * gst/parse/Makefile.am:
9963           Fix build with 'make -j N' even more (#340016).
9964
9965 2006-06-12  Wim Taymans  <wim@fluendo.com>
9966
9967         * docs/gst/gstreamer-sections.txt:
9968         Fix docs.
9969
9970 2006-06-12  Wim Taymans  <wim@fluendo.com>
9971
9972         * gst/gstsegment.c: (gst_segment_set_duration),
9973         (gst_segment_set_last_stop), (gst_segment_set_seek),
9974         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9975         (gst_segment_to_running_time), (gst_segment_clip):
9976         Use G_UNLIKELY to help the compiler a bit.
9977
9978 2006-06-12  Wim Taymans  <wim@fluendo.com>
9979
9980         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9981
9982         * gst/gstevent.c: (gst_event_get_type):
9983         * gst/gstmessage.c:
9984         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9985         (gst_pad_push):
9986         constify quark registration strings. Fixes #344115
9987         Avoid unneeded type checking is _pad_push() by internally
9988         calling gst_pad_chain_unchecked().
9989
9990 2006-06-12  Wim Taymans  <wim@fluendo.com>
9991
9992         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
9993         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
9994         (gst_subbuffer_finalize), (gst_buffer_create_sub),
9995         (gst_buffer_is_span_fast), (gst_buffer_span):
9996         Init _type for consistency.
9997         Use _FLAGS macro to avoid type check.
9998         Avoid unneeded type checks in subbufer code.
9999
10000 2006-06-12  Wim Taymans  <wim@fluendo.com>
10001
10002         * gst/gst.c: (gst_debug_help):
10003         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
10004         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
10005         (gst_plugin_feature_list_free):
10006         * gst/gstregistry.c: (gst_registry_add_plugin),
10007         (gst_registry_add_feature), (gst_registry_plugin_filter),
10008         (gst_registry_feature_filter), (gst_registry_find_plugin),
10009         (gst_registry_find_feature), (gst_registry_get_plugin_list),
10010         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
10011         * gst/gstregistryxml.c: (load_feature),
10012         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
10013         * gst/gstminiobject.c: (gst_mini_object_unref),
10014         (gst_mini_object_replace), (gst_value_mini_object_free),
10015         (gst_value_mini_object_copy):
10016         Use _CAST macros to avoid unneeded type checking.
10017         Added some more G_UNLIKELY.
10018
10019 2006-06-12  Wim Taymans  <wim@fluendo.com>
10020
10021         * gst/gstbuffer.h:
10022         Avoid unneeded type checking.
10023         API: GST_BUFFER_IS_DISCONT
10024
10025         * gst/gstminiobject.h:
10026         Avoid type check in flag accessor.
10027
10028         * gst/gstelementfactory.h:
10029         * gst/gstplugin.h:
10030         * gst/gstpluginfeature.h:
10031         Add _CAST macros.
10032         API: GST_ELEMENT_FACTORY_CAST
10033         API: GST_PLUGIN_CAST
10034         API: GST_PLUGIN_FEATURE_CAST
10035
10036 2006-06-12  Wim Taymans  <wim@fluendo.com>
10037
10038         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
10039         (gst_object_unref):
10040         Add G_UNLIKELY in type registration.
10041         Avoid type check in _ref/_unref since that is also
10042         done in glib.
10043
10044 2006-06-12  Wim Taymans  <wim@fluendo.com>
10045
10046         * gst/gsterror.c: (gst_g_error_get_type):
10047         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10048         (gst_static_pad_template_get_type):
10049         * gst/gsttaglist.c: (gst_tag_list_get_type):
10050         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
10051         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
10052         * gst/gsturi.c: (gst_uri_handler_get_type):
10053         * gst/gstvalue.c: (gst_date_get_type):
10054         * gst/gstxml.c: (gst_xml_get_type):
10055         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
10056         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10057         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
10058         Add G_UNLIKELY in type registration.
10059
10060 2006-06-12  Wim Taymans  <wim@fluendo.com>
10061
10062         * tools/gst-inspect.c: (print_signal_info):
10063         Properly print enum values.
10064
10065 2006-06-12  Wim Taymans  <wim@fluendo.com>
10066
10067         * gst/gstinfo.c: (gst_debug_set_active),
10068         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
10069         * gst/gstinfo.h:
10070         Add some G_[UN]LIKELY.
10071         Maintain __gst_debug_min to avoid formatting the arguments of
10072         debug messages that will be dropped anyway to avoid a lot of 
10073         overhead from the debugging system.
10074
10075 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10076
10077         * po/POTFILES.in:
10078         * po/POTFILES.skip:
10079           add missing files containing translatable strings, tell intltool about
10080           one exception
10081
10082 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10083
10084         * tests/check/libs/.cvsignore:
10085         add test-binary to ignore list
10086
10087 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10088
10089         * docs/libs/gstreamer-libs-docs.sgml:
10090         reorder (put dp into a chapter) and indent
10091
10092 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10093
10094         * configure.ac:
10095           back to HEAD
10096
10097 === release 0.10.8 ===
10098
10099 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
10100
10101         * configure.ac:
10102           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
10103
10104 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10105
10106         * gst/gst.c: (init_post):
10107           move pid declaration to declaration block
10108
10109 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10110
10111         * gst/gst.c: (init_post):
10112           use _exit() instead of exit() in our forked child; this ensures
10113           that none of the registered exit handlers from whatever is using
10114           GStreamer get executed.  This fixes gnome-mixer-applet failing
10115           to load, because ORBit would shut down.
10116           Spotted by: Edward Hervey  <edward@fluendo.com>
10117           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
10118           Fixes #344474
10119
10120 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10121
10122         * configure.ac:
10123           back to TRUNK
10124
10125 === release 0.10.7 ===
10126
10127 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
10128
10129         * configure.ac:
10130           releasing 0.10.7, "Soepeke, ik zie ou"
10131
10132 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10133
10134         * configure.ac:
10135         * po/af.po:
10136         * po/az.po:
10137         * po/bg.po:
10138         * po/ca.po:
10139         * po/cs.po:
10140         * po/de.po:
10141         * po/en_GB.po:
10142         * po/fr.po:
10143         * po/it.po:
10144         * po/nb.po:
10145         * po/nl.po:
10146         * po/ru.po:
10147         * po/sq.po:
10148         * po/sr.po:
10149         * po/sv.po:
10150         * po/tr.po:
10151         * po/uk.po:
10152         * po/vi.po:
10153         * po/zh_CN.po:
10154         * po/zh_TW.po:
10155         * win32/common/config.h:
10156           0.10.6.2 prerelease
10157
10158 2006-06-07  Wim Taymans  <wim@fluendo.com>
10159
10160         * gst/gstindex.c: (gst_index_gtype_resolver):
10161         * tools/gst-xmlinspect.c: (print_plugin_info):
10162         Fix leak spotted by coverity checker. Fixes #343827
10163         Fix another other leak found by paolo borelli.
10164
10165 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10166
10167         * libs/gst/dataprotocol/dataprotocol.c:
10168         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10169         (gst_dp_version_get_type), (gst_dp_init),
10170         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
10171         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
10172         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
10173         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
10174         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
10175         (gst_dp_packetizer_free):
10176         * libs/gst/dataprotocol/dataprotocol.h:
10177           API: add a GstDPPacketizer object, and create/free functions
10178           API: add GstDPVersion enum
10179           Add 1.0 event function that uses the string serialization
10180           Serialize more useful buffer flags
10181           Fixes #343988
10182
10183 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10184
10185         * tests/check/Makefile.am:
10186         * tests/check/gst/gstabi.c:
10187         * tests/check/gst/struct_ppc64.h:
10188         * tests/check/libs/libsabi.c:
10189         * tests/check/libs/struct_ppc64.h:
10190           add ppc64 structure sizes
10191
10192 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10193
10194         * tests/check/Makefile.am:
10195         * tests/check/gst/gstabi.c:
10196         * tests/check/gst/struct_x86_64.h:
10197         * tests/check/libs/libsabi.c:
10198         * tests/check/libs/struct_x86_64.h:
10199           generate and add structure size lists for x86_64
10200
10201 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10202
10203         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10204         * libs/gst/check/gstcheck.h:
10205           factor out the method from tests that checks size of structures,
10206           and add code to generate the header containing these sizes
10207         * tests/check/gst/gstabi.c: (GST_START_TEST):
10208         * tests/check/gst/struct_i386.h:
10209         * tests/check/libs/libsabi.c: (GST_START_TEST):
10210         * tests/check/libs/struct_i386.h:
10211           use it
10212
10213 2006-06-06  Michael Smith  <msmith@fluendo.com>
10214
10215         * gst/gstsegment.h:
10216           Don't use c++-style comments, fixes #343929
10217
10218 2006-06-05  Edward Hervey  <edward@fluendo.com>
10219
10220         * gst/gst.c:
10221         plugin_paths is not used if we build without registry support.
10222
10223         * gst/gstsegment.c: (gst_segment_copy): 
10224         _copy() was always returning NULL...
10225
10226 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10227
10228         * libs/gst/dataprotocol/dataprotocol.c:
10229         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10230         (gst_dp_packet_from_event):
10231           factor out CRC code
10232
10233 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10234
10235         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
10236           make sure we unset caps
10237
10238 2006-06-02  Michael Smith  <msmith@fluendo.com>
10239
10240         * libs/gst/check/gstcheck.c: (gst_check_init),
10241         (gst_check_chain_func):
10242         * libs/gst/check/gstcheck.h:
10243           Add a cond/mutex to the check support lib, signal this whenever we
10244           add to the buffers list. This will allow tests to not busy-wait on
10245           the buffer-list.
10246
10247 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10248
10249         * libs/gst/dataprotocol/dataprotocol.c:
10250         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10251         (gst_dp_packet_from_event):
10252           factor out some common header init code
10253
10254 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10255
10256         * docs/libs/gstreamer-libs-sections.txt:
10257         * docs/libs/tmpl/gstdataprotocol.sgml:
10258         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
10259         * libs/gst/dataprotocol/dataprotocol.h:
10260           API: make gst_dp_crc() public
10261
10262 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
10263
10264         * plugins/indexers/gstindexers.c: (plugin_init):
10265         conditionally register fileindexer (fixes #343598)
10266
10267 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
10268
10269         * gst/gsttagsetter.h:
10270         Can't cast ifaces to a class
10271
10272         * libs/gst/net/gstnetclientclock.h:
10273         * libs/gst/net/gstnettimeprovider.h:
10274         * plugins/elements/gstfakesink.h:
10275         * plugins/elements/gstfakesrc.h:
10276         * plugins/elements/gstfdsink.h:
10277         * plugins/elements/gstfdsrc.h:
10278         * plugins/elements/gstfilesink.h:
10279         * plugins/elements/gstfilesrc.h:
10280         * plugins/elements/gstidentity.h:
10281         * plugins/elements/gstqueue.h:
10282         * plugins/elements/gsttee.h:
10283         * plugins/indexers/gstfileindex.c:
10284         * plugins/indexers/gstmemindex.c:
10285         * tests/old/examples/plugins/example.h:
10286         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
10287
10288 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10289
10290         * libs/gst/dataprotocol/dataprotocol.c:
10291         (gst_dp_header_from_buffer):
10292           make sure we zero the whole ABI-compatible area
10293
10294 2006-06-01  Wim Taymans  <wim@fluendo.com>
10295
10296         Patch by: Alessandro Decina <alessandro at nnva dot org>
10297
10298         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
10299         Make sure the EOS flag is cleared from pads after a flush
10300         or stop. Fixes #343538.
10301
10302         * tests/check/libs/collectpads.c: (GST_START_TEST),
10303         (gst_collect_pads_suite):
10304         Added test for collectpads reusage after EOS.
10305
10306 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
10307
10308         * gst/gst.c:
10309          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
10310         * win32/common/libgstbase.def:
10311          export gst_collect_pads_set_flushing
10312         * win32/common/libgstreamer.def:
10313          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
10314          gst_value_fraction_multiply
10315         * win32/vs6/gst_inspect.dsp:
10316          add a link to intl.lib
10317
10318 2006-05-30  Wim Taymans  <wim@fluendo.com>
10319
10320         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10321         (gst_collect_pads_chain):
10322         Handle the case where a pad is removed from the collection
10323         that could cause the other pads to become collectable.
10324
10325 2006-05-30  Wim Taymans  <wim@fluendo.com>
10326
10327         * gst/gstelement.c:
10328         Clarify the use of _release_request_pad() and
10329         _get_request_pad() a bit better.
10330
10331         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
10332         (gst_adapter_take_buffer):
10333         Fix some doc and comment typos.
10334
10335 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10336
10337         * docs/gst/gstreamer-sections.txt:
10338         * docs/libs/gstreamer-libs-sections.txt:
10339           add declared symbols
10340
10341 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
10342
10343         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10344         Add debug that can be enabled using a #define at the top of the file,
10345         for dumping stats about how late/early we were when waking up from
10346         waiting on the clock.
10347
10348 2006-05-30  Wim Taymans  <wim@fluendo.com>
10349
10350         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
10351         When rebuilding the pad list, don't leak the previous list.
10352
10353 2006-05-30  Wim Taymans  <wim@fluendo.com>
10354
10355         Patch by: Lutz Mueller <lutz at topfrose dot de>
10356
10357         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10358         (gst_base_src_get_query_types), (gst_base_src_update_length):
10359         Publish supported query types.
10360         Update last_stop field in get_range mode so the position
10361         query works. Fixes #342321.
10362
10363 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
10364
10365         * docs/gst/gstreamer-sections.txt:
10366         * gst/gsttaglist.c: (_gst_tag_initialize):
10367         * gst/gsttaglist.h:
10368           API: add GST_TAG_PREVIEW_IMAGE (#343341).
10369
10370 2006-05-30  Wim Taymans  <wim@fluendo.com>
10371
10372         Patch by: Alessandro Decina <alessandro at nnva dot org>
10373
10374         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10375         Unlock mutex when removing an unknown pad.
10376         Fixes #343334.
10377
10378         * tests/check/Makefile.am:
10379         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
10380         (push_event), (setup), (teardown), (GST_START_TEST),
10381         (gst_collect_pads_suite), (main):
10382         Added collecpads check, disabled for now as check crashes for
10383         some reason.
10384
10385 2006-05-29  Wim Taymans  <wim@fluendo.com>
10386
10387         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
10388         Don't leak pads lists.
10389
10390 2006-05-29  Wim Taymans  <wim@fluendo.com>
10391
10392         * docs/libs/gstreamer-libs-sections.txt:
10393         * libs/gst/base/gstcollectpads.c:
10394         (gst_collect_pads_set_flushing_unlocked),
10395         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10396         (gst_collect_pads_stop):
10397         * libs/gst/base/gstcollectpads.h:
10398         API: gst_collect_pads_set_flushing()
10399         Added api to set the pads to flushing, useful for seeking
10400         code in elements using collectpads.
10401         Clear segment when receiving a flush.
10402
10403 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
10404
10405         * gst/gst.c: (add_path_func), (init_post):
10406           Don't scan registry paths passed via --gst-plugin-path immediately
10407           (will crash, because absolutely nothing is set up and no types are
10408           registered etc.); do this later in init_post(). Fixes #343057.
10409
10410 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10411
10412         * gst/gst.c: (init_post):
10413           if we have fork, fork while reading/rebuilding the registry
10414           so the parent doesn't take the hit of having all plugins loaded
10415           in memory.  Fixes #342777.
10416         * configure.ac:
10417           Check if we have fork()
10418         * win32/common/config.h.in:
10419           no fork() on win32
10420
10421 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
10422
10423         * plugins/elements/gstelements.c:
10424         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10425         (gst_file_src_init), (gst_file_src_set_property),
10426         (gst_file_src_get_property), (gst_file_src_start):
10427         * plugins/elements/gstfilesrc.h:
10428           API: GstFileSrc::use-mmap
10429
10430         Add a use-mmap property to enable easier testing of all code paths.
10431         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
10432         in the absence of gnomevfssrc. (Closes #340501)
10433
10434 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10435
10436         * tools/gst-inspect.c:
10437         Add missing include, removes warning of ngettext not being defined on
10438         some arches.
10439
10440 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
10441
10442         * gst/gstvalue.c: (gst_value_deserialize_fraction):
10443         Handle NULL input and output pointers silently as a failed conversion,
10444         rather than g_warnings.
10445
10446 2006-05-25  Wim Taymans  <wim@fluendo.com>
10447
10448         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
10449         Initialize variable before using. Fixes #342820.
10450
10451 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
10452
10453         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
10454           Fix off-by-one bug that would only allow peeks of N-1 bytes
10455           from the start even if the buffer to typefind on contains
10456           in fact N bytes of data (makes vorbis typefinding from a
10457           vorbis identification header buffer work).
10458
10459         * tests/check/Makefile.am:
10460         * tests/check/libs/.cvsignore:
10461         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
10462         (gst_typefindhelper_suite), (main), (foobar_typefind),
10463         (plugin_init):
10464           Add very basic unit test for gst_type_find_helper_for_buffer()
10465           that checks for the problem fixed above.
10466
10467 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10468
10469         * tools/gst-inspect.c: (print_interfaces),
10470         (print_element_properties_info), (print_element_list), (main):
10471           add more translatable strings
10472
10473 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
10474
10475         Patch by: Julien Moutte  <julien at moutte net>
10476
10477         * docs/gst/gstreamer-sections.txt:
10478           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
10479           
10480         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
10481         (gst_fake_sink_preroll):
10482         * plugins/elements/gstfakesink.h:
10483           API: Add new GstFakeSink::preroll-handoff signal (#337100).
10484
10485 2006-05-23  Wim Taymans  <wim@fluendo.com>
10486
10487         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
10488         * gst/gstpad.h:
10489         Added _CUSTOM error and success GstFlowReturn that can be
10490         used be elements internally. 
10491         Added macro to check for SUCCESS flowreturns.
10492         API: GST_FLOW_CUSTOM_SUCCESS
10493         API: GST_FLOW_CUSTOM_ERROR
10494         API: GST_FLOW_IS_SUCCESS
10495
10496         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
10497         Added check for GstFlowReturn sanity.
10498
10499 2006-05-23  Wim Taymans  <wim@fluendo.com>
10500
10501         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10502
10503         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10504         (gst_collect_pads_event):
10505         clear/reset segment info in FLUSH_STOP.
10506         Fixes #336929.
10507
10508 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
10509
10510         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
10511         (gst_collect_pads_check_collected):
10512         Flush queued buffer on _stop(), fixes playing again (#342454)
10513
10514 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10515
10516         * tests/check/gst/gststructure.c: (GST_START_TEST),
10517         (gst_structure_suite):
10518           add a test for a complete structure
10519
10520 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
10521
10522         * docs/faq/developing.xml:
10523         * docs/faq/faq.xml:
10524         * docs/faq/troubleshooting.xml:
10525         * docs/faq/using.xml:
10526           Some minor FAQ updates that won't change the fact that
10527           our FAQ is badly structured, full of information hardly
10528           anyone new to GStreamer needs to know and lacking lots
10529           of information people constantly ask for.
10530           
10531 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
10532
10533         * gst/gstpad.c: (gst_pad_set_caps):
10534           Short-circuit gst_pad_set_caps if setting the existing
10535           caps pointer again, and avoid printing debug and 
10536           reffing/unreffing the caps.
10537
10538         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10539           There's actually no need to set the caps before pushing -
10540           the acceptcaps method will handle it anyway.
10541
10542 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
10543
10544         * docs/gst/gstreamer-sections.txt:
10545         * win32/common/libgstreamer.def:
10546         * gst/gstutils.c: (gst_element_seek_simple):
10547         * gst/gstutils.h:
10548           API: add gst_element_seek_simple() (#342238).
10549
10550 2006-05-18  Edward Hervey  <edward@fluendo.com>
10551
10552         * gst/gsttypefind.c: (gst_type_find_get_type):
10553         * gst/gsttypefind.h:
10554         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
10555         registered for GstTypeFind pointers. This allows wrapping the structure
10556         in bindings (i.e. gst-python).
10557
10558 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
10559
10560         * gst/gsttagsetter.c:
10561           Docs additions and fixes (see #339918).
10562
10563 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10564
10565         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10566         The caps intersection algorithm can produce multiple copies of the
10567         caps. Until that is fixed, we need to simplify the result to be
10568         sure whether the allowed caps are fixed or not.
10569
10570         * plugins/elements/gstqueue.c: (gst_queue_init),
10571         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
10572         (gst_queue_push_one):
10573         Proxied buffer alloc should not set the caps on the source pad.
10574         When pushing buffers, we always accept the caps change that triggers.
10575         This prevents negotiation errors caused by caps changing mid-stream 
10576         and then being refused on our source pad (because upstream is now
10577         refusing those caps).
10578
10579 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
10580
10581         * tests/examples/helloworld/helloworld.c: (main):
10582           Must plug audioconvert and audioresample between decoder
10583           and audio sink.
10584
10585 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
10586
10587         * gst/gstregistryxml.c: (read_string), (load_pad_template),
10588         (load_feature), (load_plugin):
10589         Allow empty strings for some of the plugin fields so we don't 
10590         drop valid plugin entries that were written out correctly
10591         (Fixes #341479)
10592
10593 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
10594         
10595         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10596           Use g_remove and g_rename instead of remove and rename that don't 
10597           handle utf8 characters. rename was failing for users who had specific
10598           characters in their name then the registry was built at each 
10599           gstreamer init.
10600         * win32/vs6/gst_inspect.dsp:
10601         * win32/vs6/gst_launch.dsp:
10602         * win32/vs6/libgstbase.dsp:
10603         * win32/vs6/libgstcoreelements.dsp:
10604         * win32/vs6/libgstreamer.dsp:
10605           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
10606           build of libgstreamer and clean unused libraries in projects link 
10607           settings.
10608
10609 2006-05-17  Edward Hervey  <edward@fluendo.com>
10610
10611         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10612         The queue is not responsible for pushing an EOS when receiving a fatal
10613         flow error. It's up to the real element driving the pipeline to do that.
10614
10615 2006-05-16  Edward Hervey  <edward@fluendo.com>
10616
10617         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10618         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
10619         buffer returned a fatal error. It should just send an EOS and stop
10620         its task.
10621         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
10622         when pushing buffers on the queue and will be able to handle the event.
10623
10624 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
10625
10626         * docs/manual/basics-bins.xml:
10627         * docs/manual/basics-init.xml:
10628           Fix typos and minor errors in sample code (#341856).
10629
10630 2006-05-16  Wim Taymans  <wim@fluendo.com>
10631
10632         * docs/design/part-qos.txt:
10633         Fix indexes in formulas to make more sense.
10634
10635 2006-05-15  Wim Taymans  <wim@fluendo.com>
10636
10637         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10638         Don't report POSITION based on clock time if sync is
10639         disabled in a sink.
10640
10641 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
10642
10643         * gst/gstobject.h:
10644           Add cast to make compiler happy - refcount variable was a gint
10645           in GstObject but is a guint in GObject and g_atomic_int_get()
10646           wants a gint *.
10647
10648 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10649
10650         * gst/parse/Makefile.am:
10651           chain commands using &&, which also makes parallel make work
10652
10653 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
10654
10655         * docs/gst/gstreamer-sections.txt:
10656         * gst/gstevent.c:
10657         * gst/gstevent.h:
10658         * gst/gstmessage.h:
10659           Minor docs fixes.
10660
10661 === release 0.10.6 ===
10662
10663 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
10664
10665         * configure.ac:
10666           releasing 0.10.6, "Take the cannoli"
10667
10668 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10669
10670         * tools/gst-launch.c: (print_tag):
10671           Fix use of uninitialized variable in the hypothetical
10672           case that some broken plugin creates a GST_TAG_IMAGE
10673           tag containing a NULL buffer (#341667).
10674
10675 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10676
10677         * tools/gst-launch.c: (print_tag):
10678           Print something more intelligible for image tags when
10679           using the -t switch (#341556).
10680
10681 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10682
10683         * Makefile.am:
10684           updates for win32
10685         * configure.ac:
10686           define GST_MAJORMINOR so we have it available in win32/common/config.h
10687           Possibly remove it from our Makefile.am files later
10688         * win32/common/config.h:
10689         * win32/common/config.h.in:
10690           added GST_MAJORMINOR
10691         * win32/common/gstenumtypes.c: (register_gst_resource_error):
10692         * win32/common/gstversion.h:
10693           updated
10694
10695 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
10696
10697         * win32/MANIFEST:
10698           Update win32 files listing.
10699         * win32/common/gstversion.h:
10700           Add GST_MAJORMINOR definition.
10701         * win32/common/libgstreamer.def:
10702           Add new exported functions.
10703           
10704 2006-05-12  Michael Smith  <msmith@fluendo.com>
10705
10706         * gst/gstplugin.c: (gst_plugin_load_file):
10707           If an so file has no plugin entry point, unload the module.
10708
10709 2006-05-11  Wim Taymans  <wim@fluendo.com>
10710
10711         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
10712         (gst_queue_set_property):
10713         Don't forget to signal the _chain or _loop function 
10714         when the queue size or thresholds change since that might
10715         cause them to make progres again.
10716
10717 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
10718
10719         * gst/gstclock.c: (gst_clock_class_init):
10720         * gst/gstindex.c: (gst_index_class_init):
10721         * gst/gstobject.c: (gst_object_class_init):
10722         * gst/gstpad.c: (gst_pad_class_init):
10723         * gst/gstpipeline.c: (gst_pipeline_class_init):
10724         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10725         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
10726         * libs/gst/base/gstbasetransform.c:
10727         (gst_base_transform_class_init):
10728         * libs/gst/net/gstnetclientclock.c:
10729         (gst_net_client_clock_class_init):
10730         * libs/gst/net/gstnettimeprovider.c:
10731         (gst_net_time_provider_class_init):
10732         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
10733         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10734         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10735         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
10736         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10737         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
10738         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
10739         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10740         * plugins/elements/gsttee.c: (gst_tee_class_init):
10741         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10742         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10743           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
10744
10745 2006-05-11  Wim Taymans  <wim@fluendo.com>
10746
10747         * gst/gstbuffer.c: (_gst_buffer_initialize):
10748         Register subbufer along with the buffer type so that
10749         it does not accidentally gets registered from N
10750         different streaming threads in a non threadsafe way.
10751
10752 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
10753
10754         * gst/gstbuffer.h:
10755         * gst/gstevent.h:
10756         * gst/gstmessage.h:
10757           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
10758           gst_event_ref() and gst_message_ref() functions again
10759           (ugly hack, please do fix if there's a better way besides
10760           overrides.txt, which doesn't seem to work).
10761
10762 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10763
10764         * libs/gst/check/gstcheck.h:
10765           add an assert for setting state to avoid lots of repetitive code
10766           in the future
10767
10768 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10769
10770         * gst/gstvalue.c: (gst_value_serialize_flags):
10771           fix a leak if no flags are set
10772         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10773           fix leak in tests
10774
10775 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
10776
10777         * docs/manual/basics-pads.xml:
10778           Expand a bit on caps and filtered links and update
10779           examples that were still using the no longer existing
10780           gst_pad_link_filtered() (#338206).
10781
10782 2006-05-10  Wim Taymans  <wim@fluendo.com>
10783
10784         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10785         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10786         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10787         (gst_collect_pads_stop):
10788         * libs/gst/base/gstcollectpads.h:
10789         No need to call _stop in _finalize.
10790         Iterate the main pad list in _finalize.
10791         Added some more debug.
10792         Free lists and data in the right order.
10793         Also free data whem doing _remove_pad when stopped for
10794         backward compatibility protect ::started with PAD_LOCK as
10795         well.
10796
10797 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10798
10799         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
10800         (gst_structure_parse_value):
10801           add some comments
10802           rename a method so that it actually says what it does better
10803
10804 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10805
10806         * gst/gstevent.c: (_gst_event_initialize):
10807         * gst/gstformat.c: (_gst_format_initialize):
10808           make sure some essential types used by events are registered
10809           as part of gst_init()
10810         * gst/gstvalue.c: (gst_value_serialize_flags):
10811           if no flags are set, serialize them to a value that represents NONE
10812           so that deserializing them works
10813         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10814           add tests for serialization and deserialization of flags
10815
10816 2006-05-10  Wim Taymans  <wim@fluendo.com>
10817
10818         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
10819         (gst_collect_pads_collect_range), (gst_collect_pads_available),
10820         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
10821         (gst_collect_pads_event), (gst_collect_pads_chain):
10822         Update docs.
10823         Better debug info.
10824         Catch and return errors from the collect function
10825         Refuse data on eos pads.
10826
10827 2006-05-10  Edward Hervey  <edward@fluendo.com>
10828
10829         * gst/gstinterface.h:
10830         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
10831         GInterface type checking.
10832         They were previously using non-defined macros.
10833
10834 2006-05-09  Wim Taymans  <wim@fluendo.com>
10835
10836         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
10837         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
10838         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
10839         (gst_collect_pads_start), (gst_collect_pads_stop),
10840         (gst_collect_pads_peek), (gst_collect_pads_pop),
10841         (gst_collect_pads_available), (gst_collect_pads_read),
10842         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
10843         (gst_collect_pads_is_collected), (gst_collect_pads_event),
10844         (gst_collect_pads_chain):
10845         * libs/gst/base/gstcollectpads.h:
10846         Clean up the mess that is collectpads, add comments and
10847         FIXMEs where needed.
10848         Maintain a separate pad list so we can add pads while
10849         collecting the other ones. For this we need a new separate 
10850         lock (see comics).
10851         Fix memory leak in finalize.
10852         Refactor some weird code to set/unset pad flushing flags, mark
10853         with comments.
10854         Don't crash in _available, _read, _flush when we're EOS.
10855
10856         * tests/check/libs/.cvsignore:
10857         Ignore adapter check binary.
10858
10859 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10860
10861         * gst/gstindex.c: (gst_index_resolver_get_type):
10862         * plugins/elements/gstfakesink.c:
10863         (gst_fake_sink_state_error_get_type):
10864         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
10865         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
10866         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10867           Const-ify GEnumValue arrays.
10868
10869 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10870
10871         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10872           Add test case for flags + gst_buffer_make_metadata_writable().
10873
10874 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10875
10876         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
10877           gst_buffer_make_metadata_writable() should maintain the
10878           buffer flags (those that make sense at least) (see #340859).
10879
10880 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10881
10882         * tools/gst-inspect.c:
10883         * tools/gst-launch.c:
10884         * tools/gst-typefind.c:
10885         * tools/gst-xmlinspect.c:
10886         * tools/tools.h:
10887           Fix up includes: need to include stdlib.h in tools.h for exit().
10888
10889 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10890
10891         * gst/gsttaglist.c: (_gst_tag_initialize):
10892         * gst/gsttaglist.h:
10893           API: add GST_TAG_IMAGE tag (#340721).
10894
10895 2006-05-08  Wim Taymans  <wim@fluendo.com>
10896
10897         * gst/gstquery.c:
10898         Added some docs for the segment query.
10899
10900 2006-05-08  Wim Taymans  <wim@fluendo.com>
10901
10902         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10903         (gst_base_src_loop), (gst_base_src_change_state):
10904         Always push non-flushing serialized events in the streaming 
10905         thread.
10906
10907 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10908
10909         * gst/gsterror.c: (_gst_stream_errors_init):
10910           Add a missing error string.
10911
10912 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
10913
10914         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
10915         Add applied_rate to the debug
10916
10917         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10918         Copy applied_rate into the outgoing NEWSEGMENT event
10919
10920 2006-05-08  Wim Taymans  <wim@fluendo.com>
10921
10922         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
10923
10924         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
10925         (gst_base_sink_change_state):
10926         call ::unlock before taking the PREROLL_LOCK so we can safely
10927         handle elements that lock in ::render.
10928         Fixes #340174.
10929
10930 2006-05-08  Edward Hervey  <edward@fluendo.com>
10931
10932         * autogen.sh: (CONFIGURE_DEF_OPT): 
10933         Darwin's libtoolize is in fact called glibtoolize.
10934         Adding glibtoolize to the list of accepted names for libtoolize.
10935
10936 2006-05-08  Wim Taymans  <wim@fluendo.com>
10937
10938         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10939         Unify error handling, don't post an error message
10940         when a push() returns EOS but perform our normal EOS
10941         handling code. Fixes #340772.
10942
10943 2006-05-08  Wim Taymans  <wim@fluendo.com>
10944
10945         * docs/design/part-overview.txt:
10946         Make upsteam/downstream concepts more clear.
10947         Give an example of serialized/non-serialized events.
10948
10949         * docs/design/part-events.txt:
10950         * docs/design/part-streams.txt:
10951         Mention applied_rate.
10952
10953         * docs/design/part-trickmodes.txt:
10954         Mention applied rate, flesh out some more use cases.
10955
10956         * gst/gstevent.c: (gst_event_new_new_segment),
10957         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
10958         (gst_event_parse_new_segment_full), (gst_event_new_tag),
10959         (gst_event_parse_tag), (gst_event_new_buffer_size),
10960         (gst_event_parse_buffer_size), (gst_event_new_qos),
10961         (gst_event_parse_qos), (gst_event_parse_seek),
10962         (gst_event_new_navigation):
10963         * gst/gstevent.h:
10964         Add applied_rate field to NEWSEGMENT event.
10965         API: gst_event_new_new_segment_full()
10966         API: gst_event_parse_new_segment_full()
10967
10968         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
10969         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
10970         (gst_segment_to_stream_time), (gst_segment_to_running_time):
10971         * gst/gstsegment.h:
10972         Add applied_rate to GstSegment structure.
10973         Make calculation of stream_time and running_time more correct
10974         wrt rate/applied_rate.
10975         Add some more docs.
10976         API: GstSegment::applied_rate field
10977         API: gst_segment_set_newsegment_full();
10978
10979         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10980         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
10981         * libs/gst/base/gstbasetransform.c:
10982         (gst_base_transform_sink_eventfunc),
10983         (gst_base_transform_handle_buffer):
10984         Parse and use applied_rate in the GstSegment field.
10985
10986         * tests/check/gst/gstevent.c: (GST_START_TEST):
10987         Add check for applied_rate field.
10988
10989         * tests/check/gst/gstsegment.c: (GST_START_TEST),
10990         (gstsegments_suite):
10991         Add more checks for various GstSegment operations.
10992
10993 2006-05-08  Wim Taymans  <wim@fluendo.com>
10994
10995         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10996         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
10997         (gst_base_sink_get_position), (gst_base_sink_change_state):
10998         Store the sync time of the buffer end position separatly in a
10999         new variable eos_rtime so we can properly sync the EOS event.
11000         Fixes #340697.
11001         Fix the docs for gst_base_sink_set_qos_enabled().
11002         Don't set segment start to invalid value when we receive a 
11003         non TIME newsegment.
11004         get closer to handling position reporting for negative rates 
11005         correctly.
11006
11007 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
11008
11009         * gst/gstcaps.c:
11010         Docs about how to print caps for debug purposes.
11011
11012         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
11013         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
11014
11015 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
11016
11017         * gst/gstelement.c:
11018           use full enum names and preprend a '%' in docs strings to make recent 
11019           gtk-doc turn that into a link
11020
11021 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11022
11023         * docs/manual/basics-bins.xml:
11024         * docs/manual/basics-bus.xml:
11025         * docs/manual/basics-pads.xml:
11026           Some typo fixes, some additions, some clarifications. 
11027
11028 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11029
11030         * tools/gst-inspect.c: (main):
11031         * tools/gst-launch.c: (main):
11032         * tools/gst-run.c: (main):
11033         * tools/gst-typefind.c: (main):
11034         * tools/gst-xmlinspect.c: (main):
11035           Use the string passed to g_option_context_new() for
11036           what it's intended for - the program name is already
11037           printed elsewhere.
11038
11039 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11040
11041         * tools/Makefile.am:
11042         * tools/gst-inspect.c: (main):
11043         * tools/gst-launch.c: (main):
11044         * tools/gst-xmlinspect.c: (main):
11045         * tools/tools.h:
11046           Add back --version command line option (#340460).
11047
11048         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
11049           Add --version option and use GOption for argument parsing; refactor a
11050           bit; accept directories as arguments and recurse into them; lastly,
11051           print a decent error message when things go wrong.
11052
11053 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11054
11055         * docs/manual/basics-bins.xml:
11056         Don't mention GstThread (#340611)
11057         * docs/manual/basics-elements.xml:
11058         Update link to GObject tutorial (#340607)
11059         
11060 2006-05-05  Wim Taymans  <wim@fluendo.com>
11061
11062         * gst/gstbuffer.h:
11063         * gst/gstminiobject.c:
11064         Add note about refcounting and miniobject/buffer writeability
11065         to docs. Fixes #340604
11066
11067         * gst/gstelementfactory.h:
11068         Added some explanation about @klass.
11069
11070 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11071
11072         * docs/manual/intro-motivation.xml:
11073         * docs/manual/manual.xml:
11074         Avoid CORBA & Bonobo references (#340598)
11075
11076 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11077
11078         * docs/manual/basics-bus.xml:
11079         * docs/manual/basics-pads.xml:
11080         Fix up some inaccuracies and omissions (#340609)
11081         
11082 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11083
11084         * gst/gstghostpad.c:
11085           Small typo in docs (#340625)
11086
11087 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11088
11089         * gst/parse/Makefile.am:
11090           Make 'make -j' proof (see #340698).
11091
11092 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11093
11094         * configure.ac:
11095           Require GLib-2.8 here as well.
11096
11097 2006-05-05  Wim Taymans  <wim@fluendo.com>
11098
11099         * gst/glib-compat.c:
11100         * gst/gst.c: (init_pre):
11101         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11102         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
11103         (gst_object_dispatch_properties_changed):
11104         * gst/gstobject.h:
11105         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11106         * gst/gststructure.c: (gst_structure_set_valist):
11107         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11108         Remove pre glib2.8 compatibility, fixes #340508
11109
11110 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
11111
11112         * gst/gsttaglist.h:
11113           Mention type of tags in doc blurbs.
11114
11115 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
11116
11117         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11118         (gst_pad_configure_src), (gst_pad_push):
11119         Restore acceptcaps checking behaviour now that good plugins have
11120         been released.
11121
11122 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
11123
11124         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
11125
11126         * gst/gst.c:
11127         * gst/gstbus.c:
11128         * gst/gstclock.c:
11129         * gst/gstevent.c:
11130         * gst/gstformat.c:
11131         * gst/gstmessage.c:
11132         * gst/gstparse.c:
11133         * gst/gstquery.c:
11134         * gst/gstutils.c:
11135         * gst/parse/Makefile.am:
11136         * libs/gst/base/gstadapter.c:
11137         * libs/gst/base/gstbasesrc.c:
11138         * libs/gst/base/gstpushsrc.c:
11139         * libs/gst/base/gsttypefindhelper.c:
11140         * plugins/elements/gstfakesrc.c:
11141         * plugins/elements/gstidentity.c:
11142           Make sure gstprivate.h and/or config.h are
11143           always included first, otherwise some of our
11144           defines (like _FILE_OFFSET_BITS) might be
11145           redefined in the system headers. Fixes build
11146           on opensolaris (#340016).
11147
11148 2006-05-04  Wim Taymans  <wim@fluendo.com>
11149
11150         * docs/libs/gstreamer-libs-sections.txt:
11151         API: addition: gst_adapter_take_buffer()
11152         
11153         * libs/gst/base/gstadapter.c: (gst_adapter_push),
11154         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
11155         (gst_adapter_available_fast):
11156         * libs/gst/base/gstadapter.h:
11157         Prepare for optimizing the hell out of this hugely inefficient
11158         piece of code. 
11159         Added gst_adapter_take_buffer() so we can at least start thinking
11160         about subbuffering and merging.
11161         Added some comments.
11162
11163         * tests/check/Makefile.am:
11164         * tests/check/libs/adapter.c: (GST_START_TEST),
11165         (gst_adapter_suite), (main):
11166         Added GstAdapter check.
11167
11168 2006-05-04  Wim Taymans  <wim@fluendo.com>
11169
11170         * docs/design/part-overview.txt:
11171         Fix some typos, add blurb about buffer flags.
11172
11173 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11174
11175         * docs/libs/gstreamer-libs-sections.txt:
11176           make sure GstBaseTransformClass shows up in the docs
11177         * libs/gst/base/gstbasetransform.c:
11178         * libs/gst/base/gstbasetransform.h:
11179           move docs so gtk-doc picks it up now
11180
11181 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
11182
11183         * docs/libs/gstreamer-libs-sections.txt:
11184           add missing symbols to docs
11185
11186 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
11187
11188         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11189           back out the newsegment handling change, see #340060 for ongoing
11190           discussion
11191
11192 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
11193
11194         * tools/gst-run.c: (get_candidates), (main):
11195           Fix wrong g_file_test() usage (see glib docs for why it doesn't
11196           work); fix typo in error message. Fixes #340079.
11197
11198 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11199
11200         * common/Makefile.am:
11201         * docs/Makefile.am:
11202         * docs/faq/Makefile.am:
11203         * docs/gst/Makefile.am:
11204         * docs/libs/Makefile.am:
11205         * docs/manual/Makefile.am:
11206         * docs/plugins/Makefile.am:
11207         * docs/pwg/Makefile.am:
11208         * docs/slides/Makefile.am:
11209         * docs/upload.mak:
11210         * common/upload.mak:
11211           move upload.mak to common
11212
11213 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11214
11215         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11216           add more asserts on refcounts
11217           do more cleanup at end of tests
11218           fix test leaks showing in FC5
11219
11220 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
11221
11222         * plugins/elements/gsttypefindelement.c:
11223         (gst_type_find_element_handle_event):
11224         reverted wrong change and reflowed code to avoid others falling into
11225         this trap
11226
11227 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11228
11229         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11230           fix changelog entry about last collectpads change,
11231           add notes about proper fix
11232
11233 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11234
11235         * gst/gst.c:
11236         * gst/gstregistry.c: (gst_registry_scan_path_level),
11237         (gst_registry_scan_path):
11238         * gst/gstregistry.h:
11239           only write out registry if it has changed, fixes #338339
11240
11241 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11242
11243         * gst/gstbin.c:
11244         * gst/gstpipeline.c:
11245         * plugins/elements/gstcapsfilter.c:
11246         * plugins/elements/gstfakesink.c:
11247         * plugins/elements/gstfakesrc.c:
11248         * plugins/elements/gstfdsink.c:
11249         * plugins/elements/gstfdsrc.c:
11250         * plugins/elements/gstfilesink.c:
11251         * plugins/elements/gstfilesrc.c:
11252         * plugins/elements/gstidentity.c:
11253         * plugins/elements/gstqueue.c:
11254         * plugins/elements/gsttee.c:
11255         * plugins/elements/gsttypefindelement.c:
11256         (gst_type_find_element_handle_event):
11257           make GstElementDetails const
11258
11259 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11260
11261         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
11262         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11263         (gst_collect_pads_is_collected), (gst_collect_pads_event):
11264           more detailed debug and formatting cleanup,
11265           forward newsegments to src-pad (so that e.g. adder not eats them)
11266
11267 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11268
11269         * gst/gstutils.c: (gst_element_link_pads):
11270           cleanup double code
11271
11272 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11273
11274         * libs/gst/controller/gstcontroller.c:
11275         (gst_controller_sync_values):
11276           some little tuning
11277         * tests/check/libs/controller.c: (GST_START_TEST),
11278         (gst_controller_suite):
11279           a new test for live value handling
11280
11281 2006-04-28  Wim Taymans  <wim@fluendo.com>
11282
11283         * gst/gstutils.c: (push_and_ref):
11284         Added some more docs.
11285         Fix refcount issue whith gst_element_found_tags() helper 
11286         function. Fixes #338335
11287
11288         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11289         Added testsuite for gst_element_found_tags().
11290
11291 2006-04-28  Michael Smith  <msmith@fluendo.com>
11292
11293         * gst/gstvalue.c: (gst_value_serialize_flags):
11294           Avoid NULL dereference when trying to serialize flags containing
11295           invalid values.
11296
11297 2006-04-28  Michael Smith  <msmith@fluendo.com>
11298
11299         * plugins/elements/gsttypefindelement.c:
11300         (gst_type_find_element_handle_event):
11301           If we get EOS before any data is accumulated, don't use
11302           uninitialised local variables.
11303
11304 2006-04-28  Michael Smith  <msmith@fluendo.com>
11305
11306         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11307         (gst_dp_event_from_packet):
11308           Fixes in reading/writing events over GDP (not currently used?) - 
11309           dereferencing NULL events for unknown/invalid event types, memory
11310           leak, and change g_warning to GST_WARNING.
11311
11312 2006-04-28  Wim Taymans  <wim@fluendo.com>
11313
11314         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
11315         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11316         (gst_base_sink_get_position), (gst_base_sink_change_state):
11317         When frame dropping is enabled, we should not ignore frames
11318         without a duration.
11319         Update some documentation.
11320
11321 2006-04-28  Wim Taymans  <wim@fluendo.com>
11322
11323         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11324         (gst_base_src_send_event), (gst_base_src_change_state):
11325         Documentation updates.
11326
11327 2006-04-28  Wim Taymans  <wim@fluendo.com>
11328
11329         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
11330         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
11331         handle EAGAIN, EINTR and short writes correctly. Also clean
11332         up some error cases, avoid a deadlock on bad file descriptors and
11333         use GST_DEBUG_OBJECT.
11334         Fixes #339843
11335
11336 2006-04-28  Wim Taymans  <wim@fluendo.com>
11337
11338         * gst/gstvalue.c: (gst_value_serialize_buffer),
11339         (gst_value_deserialize_buffer):
11340         Don't try to serialize a GValue with a NULL buffer. 
11341         Fixes #339821.
11342
11343         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11344         Added check for serialisation of NULL buffers.
11345
11346 2006-04-28  Wim Taymans  <wim@fluendo.com>
11347
11348         * gst/gstminiobject.c: (gst_value_take_mini_object):
11349         Taking a NULL miniobject is valid, fix the case where
11350         we try to unref the NULL miniobject.
11351
11352 2006-04-28  Wim Taymans  <wim@fluendo.com>
11353
11354         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
11355
11356         * gst/gstbin.c: (gst_bin_handle_message_func):
11357         Update docs.
11358         Don't leak bin refcount when a state recalc is
11359         in progress and we delay another one #339808.
11360
11361 2006-04-28  Wim Taymans  <wim@fluendo.com>
11362
11363         * docs/design/part-TODO.txt:
11364         Mention QoS as an ongoing work item.
11365
11366         * docs/design/part-buffering.txt:
11367         New doc about buffering that needs to be fleshed out
11368         at some point.
11369
11370         * docs/design/part-qos.txt:
11371         More QoS policy for decoders/demuxers/transforms
11372
11373         * docs/design/part-trickmodes.txt:
11374         Small update.
11375
11376 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11377
11378         * configure.ac:
11379           back to HEAD
11380
11381 === release 0.10.5 ===
11382
11383 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
11384
11385         * configure.ac:
11386           releasing 0.10.5, "Fogo"
11387
11388 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11389
11390         patch by: Wim Taymans
11391
11392         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11393         (gst_pad_configure_src), (gst_pad_push):
11394         * gst/gstpipeline.c: (gst_pipeline_init):
11395           Fix internal data flow errors.  Fixes #338711.
11396
11397 2006-04-12  Wim Taymans  <wim@fluendo.com>
11398
11399         * tests/check/gst/gstelement.c: (GST_START_TEST):
11400         Don't leak the factory.
11401
11402 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11403
11404         * configure.ac:
11405         * win32/common/config.h:
11406           prerelease
11407
11408 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
11409
11410         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11411         (gst_controller_unset_all):
11412           Free allocated GstTimedValues when freeing list nodes.
11413           Should fix leaks 'make check-valgrind' complains about.
11414
11415         * win32/common/libgstcontroller.def:
11416           Add gst_controller_unset_all.
11417
11418 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
11419
11420         * docs/libs/gstreamer-libs-sections.txt:
11421         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11422         (gst_controller_unset_all):
11423         * libs/gst/controller/gstcontroller.h:
11424         API: Added new method gst_controller_unset_all()
11425         fixed gst_controller_unset()
11426         * tests/check/libs/controller.c: (GST_START_TEST),
11427         (gst_controller_suite):
11428         Added two testcases for new and fixed method
11429
11430 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
11431
11432         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11433           MSG_DONTWAIT is not defined on Cygwin, so work
11434           around that (fixes #317048).
11435           
11436 2006-04-11  Wim Taymans  <wim@fluendo.com>
11437
11438         * gst/gstelementfactory.c: (gst_element_register),
11439         (gst_element_factory_create), (gst_element_factory_make):
11440         Some cleanups.
11441         Fixed a FIXME.
11442         Updated docs (Fixes #131079)
11443
11444         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11445         Small cleanups.
11446
11447         * tests/check/gst/gstelement.c: (GST_START_TEST),
11448         (gst_element_suite):
11449         Added testcase for elementfactory class field.
11450
11451 2006-04-10  Wim Taymans  <wim@fluendo.com>
11452
11453         * gst/gstsegment.c:
11454         Added some more docs.
11455
11456         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
11457         (gst_base_sink_reset_qos):
11458         Calculate more accurate rate values.
11459
11460 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
11461
11462         * gst/gst_private.h:
11463           add a new #ifdef to use __declspec(dllimport) only for
11464           other modules and not for gstreamer core
11465         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
11466           use gst_guint64_to_gdouble for conversion
11467         * win32/common/libgstreamer.def:
11468           add new exported functions
11469         * win32/vs6/gst_inspect.dsp:
11470         * win32/vs6/gst_launch.dsp:
11471         * win32/vs6/libgstbase.dsp:
11472         * win32/vs6/libgstcontroller.dsp:
11473         * win32/vs6/libgstcoreelements.dsp:
11474         * win32/vs6/libgstdataprotocol.dsp:
11475         * win32/vs6/libgstnet.dsp:
11476           update project files
11477
11478 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
11479
11480         * gst/gstbuffer.c: (gst_subbuffer_class_init):
11481         * gst/gstclock.c: (gst_clock_class_init):
11482         * gst/gstelement.c: (gst_element_class_init):
11483         * gst/gstindex.c: (gst_index_class_init):
11484         * gst/gstindexfactory.c: (gst_index_factory_class_init):
11485         * gst/gstobject.c: (gst_object_class_init),
11486         (gst_signal_object_class_init):
11487         * gst/gstpad.c: (gst_pad_class_init):
11488         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
11489         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
11490         * gst/gstregistry.c: (gst_registry_class_init):
11491         * gst/gstsystemclock.c: (gst_system_clock_class_init):
11492         * gst/gsttask.c: (gst_task_class_init):
11493         * gst/gstxml.c: (gst_xml_class_init):
11494         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11495         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11496         (gst_base_src_loop):
11497         * libs/gst/controller/gstcontroller.c:/
11498         (_gst_controller_class_init):
11499         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11500         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
11501         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
11502         * tests/old/examples/plugins/example.c: (gst_example_class_init):
11503         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11504         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
11505
11506 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
11507
11508         * gst/gstpad.c: (gst_pad_link):
11509           Must set peer pads before calling the link function, otherwise
11510           a task started from a link function might get a flow-not-linked
11511           result when trying to push because the other thread where the
11512           linking happens hasn't had a chance to set the peers yet. This
11513           might happen for example when a queue gets linked to a downstream
11514           element, as queue starts a streaming task when its source pad
11515           gets linked. Happens in real life when playing back flac/musepack
11516           files in playbin (#332390).
11517           
11518 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
11519
11520         * gst/gstindex.h:
11521         * gst/gstxml.h:
11522         * libs/gst/base/gstadapter.h:
11523         * libs/gst/base/gstbasesink.h:
11524         * libs/gst/base/gstbasesrc.h:
11525         * libs/gst/base/gstbasetransform.h:
11526         * libs/gst/base/gstcollectpads.h:
11527         * libs/gst/base/gstpushsrc.h:
11528         Fix broken GObject macros
11529
11530 2006-04-07  Wim Taymans  <wim@fluendo.com>
11531
11532         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11533         Initialize start and stop times, thanks valgrind.
11534
11535 2006-04-07  Wim Taymans  <wim@fluendo.com>
11536
11537         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11538         Be a bit nicer to badly behaving upstream elements that expect
11539         us to deal with non TIME segments and timestamps (such as fakesrc
11540         in the testsuite).
11541
11542 2006-04-07  Wim Taymans  <wim@fluendo.com>
11543
11544         * gst/gstbus.c:
11545         Small documentation clarification about the signal watch.
11546
11547         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11548         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11549         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11550         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11551         (gst_base_sink_get_position_last),
11552         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
11553         Convert and store timestamps in stream time and running time, the
11554         raw timestamps are not useful, also document this better.
11555         Use different window sizes for good and bad QoS observations so
11556         we react to badness a little quicker.
11557         Keep track of the amount of rendered and dropped buffers.
11558         Send QoS timestamps in running time.
11559
11560         * libs/gst/base/gstbasetransform.c:
11561         (gst_base_transform_sink_eventfunc),
11562         (gst_base_transform_handle_buffer):
11563         Compare QoS timestamps against running time.
11564
11565 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
11566
11567         * gst/gstpad.c:
11568           Typo fixes in docs.
11569
11570 2006-04-06  Michael Smith  <msmith@fluendo.com>
11571
11572         * gst/gstpad.c: (gst_pad_set_property):
11573           Use g_value_get_object() instead of g_value_dup_gst_object(),
11574           to avoid double-reffing the pad template (which we then sink,
11575           so this worked previously if (and only if) the pad template
11576           was floating.
11577
11578         * gst/gstpadtemplate.c: (gst_pad_template_init),
11579         (gst_pad_template_pad_created):
11580           Never return floating references to pad templates, create
11581           them as initially-sunken.
11582
11583           Document an extra function (and make this stop sinking our
11584           pad template, since that is now guaranteed to do nothing,
11585           since we created it sunken).
11586
11587         * gst/gstghostpad.c:
11588           Fix docs typo.
11589
11590 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
11591
11592         * gst/gstinfo.c: (__gst_in_valgrind):
11593           Add some newlines.
11594
11595         * plugins/elements/gsttypefindelement.c:
11596         (gst_type_find_element_chain):
11597           Don't leak buffer caps.
11598
11599 2006-04-06  Michael Smith  <msmith@fluendo.com>
11600
11601         * gst/parse/grammar.y:
11602           Fix a leak in parse-launch for any source-or-sink named element 
11603           references used.
11604
11605         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11606           Unref the pipeline if it exists after we've failed parsing.
11607
11608 2006-04-05  Michael Smith  <msmith@fluendo.com>
11609
11610         * gst/gstpipeline.c: (gst_pipeline_init):
11611           When we create a pipeline bus, initially create it in flushing mode.
11612           Fixes leaks in at least one test, and makes a new pipeline work the
11613           same as one that has gone to READY and then back to NULL.
11614
11615         * gst/gstelement.c:
11616           Typo fix in docs.
11617
11618 2006-04-05  Michael Smith  <msmith@fluendo.com>
11619
11620         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11621           Unref a pad we reffed.
11622         * tests/check/gst/gstutils.c: (GST_START_TEST):
11623           Unref bins
11624
11625 2006-04-05  Michael Smith  <msmith@fluendo.com>
11626
11627         * gst/gstquery.c: (gst_query_set_formats),
11628         (gst_query_set_formatsv):
11629           Fix leaking GValues in queries, as shown by valgrind/testsuite.
11630
11631 2006-04-05  Michael Smith  <msmith@fluendo.com>
11632
11633         * tests/check/generic/sinks.c: (GST_START_TEST):
11634           Fix a variety of memleaks in sinks check, which are only sometimes 
11635           shown by running the tests under valgrind (weird?).
11636
11637 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
11638
11639         * docs/version.entities.in:
11640           Fix the substituted entity name after thomas' changes on the
11641           weekend.
11642
11643 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11644
11645         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
11646         VALGRIND_PRINTF
11647         
11648 2006-04-05  Andy Wingo  <wingo@pobox.com>
11649
11650         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
11651
11652         * libs/gst/base/gstbasetransform.c
11653         (gst_base_transform_sink_eventfunc): When resetting our segment on
11654         FLUSH_STOP, also update the flag saying we haven't seen a
11655         newsegment.
11656
11657 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11658
11659         Patch by: Paolo Borelli  <pborelli at katamail dot com>
11660
11661         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11662         (gst_plugin_check_license):
11663           minor clean-ups: G_DEFINE_TYPE already takes care of the
11664           parent_class stuff, no need to do it twice. Mark array of
11665           license strings as constant. (#337103)
11666           
11667 2006-04-04  Michael Smith  <msmith@fluendo.com>
11668
11669         * tools/gst-inspect.c: (print_element_list):
11670           Free the right plugin list; fixes a memory leak.
11671
11672 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11673
11674         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
11675
11676         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11677           Don't error out on empty buffers (#336945).
11678           
11679 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
11680
11681         * docs/libs/gstreamer-libs-sections.txt:
11682         * gst/gsttaglist.c:
11683         * libs/gst/base/gstbasesink.c:
11684         * libs/gst/base/gstbasesink.h:
11685         * libs/gst/base/gstbasesrc.c:
11686         * libs/gst/base/gstbasesrc.h:
11687           Documentation updates. Make BaseSink and BaseSrc docs contain the
11688           class structure so that people can actually see the prototypes for
11689           virtual functions they're supposed to be overriding.
11690
11691 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11692
11693         * plugins/elements/gsttypefindelement.c:
11694         (gst_type_find_element_chain):
11695           More debug info; when skipping typefinding, send cached
11696           events in all cases.
11697
11698 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11699
11700         * configure.ac:
11701           use new AS_VERSION and AS_NANO macros
11702         * gst/gst-i18n-lib.h:
11703         * gst/gst.c:
11704         * gst/gsterror.c:
11705         * gst/gstversion.h.in:
11706         * win32/common/config.h:
11707         * win32/common/config.h.in:
11708           update accordingly
11709
11710 2006-03-31  Michael Smith  <msmith@fluendo.com>
11711
11712         * plugins/elements/gsttypefindelement.c:
11713         (gst_type_find_element_chain):
11714           Do not typefind content if the buffers already have caps.
11715           Neccesary for icydemux (#333657), and the right thing to do anyway.
11716
11717 2006-03-30  Wim Taymans  <wim@fluendo.com>
11718
11719         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11720         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
11721         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
11722         (gst_base_sink_record_qos_observation),
11723         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11724         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11725         (gst_base_sink_change_state):
11726         More QoS measurements as described in the design doc.
11727         Get rid of ringbuffer with observations, running average is
11728         more simple and equally good.
11729         Calculates valid proportion now.
11730         Added beginning of flood measurement.
11731
11732 2006-03-29  Wim Taymans  <wim@fluendo.com>
11733
11734         * docs/design/part-qos.txt:
11735         * gst/gstclock.c:
11736         Small documentation updates and additions.
11737
11738 2006-03-29  Wim Taymans  <wim@fluendo.com>
11739
11740         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11741         (gst_base_src_send_event), (gst_base_src_loop),
11742         (gst_base_src_change_state):
11743         Perform the EOS logic when we reach the segment stop position.
11744         Fix compilation on gcc4.1
11745
11746 2006-03-29  Wim Taymans  <wim@fluendo.com>
11747
11748         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
11749
11750         * plugins/elements/gstqueue.c: (gst_queue_init),
11751         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11752         (gst_queue_set_property):
11753         * plugins/elements/gstqueue.h:
11754         In queue, when EOS is received, if minimum threshold > max_size -
11755         current_level, there is chance that queue blocks forever in conditional
11756         item del wait. This is because the queue is not emptied completely due
11757         to minimum threshold.  Here is another approach. Instead of setting
11758         cur_levels to max in EOS, just zero all minimum threshold levels. This
11759         should make sure that queue gives out all data. When going to READY
11760         (stop) state, just reset the original minimum threshold levels.
11761         Fixes #336336.
11762
11763 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
11764
11765         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
11766         (gst_type_find_element_handle_event),
11767         (gst_type_find_element_send_cached_events),
11768         (gst_type_find_element_change_state):
11769         * plugins/elements/gsttypefindelement.h:
11770           When typefinding is done in push mode, we should cache
11771           events we receive during typefinding instead of just
11772           dropping them (e.g. newsegment, custom events from
11773           dvdreadsrc etc.) and then send them out once we've
11774           determined the type of the stream (and decodebin
11775           has had a chance to plug in a decoder/demuxer).
11776           
11777 2006-03-27  Wim Taymans  <wim@fluendo.com>
11778
11779         * docs/design/part-qos.txt:
11780         First QoS ideas.
11781
11782 2006-03-27  Wim Taymans  <wim@fluendo.com>
11783
11784         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
11785
11786         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11787         (gst_base_src_send_event), (gst_base_src_change_state):
11788         Handle element seek correctly when we are streaming.
11789         Fixes #326998.
11790
11791 2006-03-24  Michael Smith  <msmith@fluendo.com>
11792
11793         * docs/faq/gst-uninstalled:
11794           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
11795           allow you to correctly run intalled applications built against old 
11796           core, using plugins that require updated core (e.g. running
11797           installed totem against a full uninstalled gstreamer stack)
11798
11799 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11800
11801         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11802         more debug details
11803
11804 2006-03-24  Wim Taymans  <wim@fluendo.com>
11805
11806         * docs/gst/gstreamer-sections.txt:
11807         Rearrange the order of the methods so that related methods
11808         are grouped together in sections.
11809
11810 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11811
11812         * gst/gstelement.c:
11813           Little clarification in the docs
11814
11815 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11816
11817         * docs/README:
11818         formatting fix
11819         * plugins/elements/gstidentity.c:
11820         * plugins/elements/gstqueue.c:
11821         * plugins/elements/gsttee.c:
11822         * plugins/elements/gsttypefindelement.c:
11823         GST_ELEMENT_DETAILS formatting
11824
11825 2006-03-24  Wim Taymans  <wim@fluendo.com>
11826
11827         * libs/gst/base/gstbasesink.h:
11828         Only add fields, not insert or we break ABI.
11829
11830 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11831
11832         * win32/common/libgstbase.def:
11833         * win32/common/libgstreamer.def:
11834           Update, add recently added functions.
11835
11836 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11837
11838         * docs/gst/gstreamer-sections.txt:
11839         * gst/gstutils.c: (gst_pad_query_peer_position),
11840         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
11841         * gst/gstutils.h:
11842           API: add some new utility functions:
11843            - gst_pad_query_peer_position()
11844            - gst_pad_query_peer_duration()
11845            - gst_pad_query_peer_convert()
11846           
11847 2006-03-23  Wim Taymans  <wim@fluendo.com>
11848
11849         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11850         (gst_base_sink_init), (gst_base_sink_finalize),
11851         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
11852         (gst_base_sink_set_property), (gst_base_sink_get_property),
11853         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
11854         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11855         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
11856         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11857         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11858         (gst_base_sink_preroll_object), (gst_base_sink_event),
11859         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
11860         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
11861         (gst_base_sink_query), (gst_base_sink_change_state):
11862         Decouple max-lateness and the fact that QoS messages are generated
11863         with a new property (qos).
11864         added API: GstBaseSink::async_play()
11865         Add vmethod so subclasses can be notified of ASYNC playing
11866         state changes.
11867         Collect timestamp start and stop to report better current
11868         position in EOS/PLAYING/PAUSED/READY/NULL.
11869         Refactor QoS/frame dropping and other measurements.
11870         API: GstBaseSrc::qos
11871         Fixes #326311
11872
11873         * libs/gst/base/gstbasesink.h:
11874         Added Private struct.
11875         API: gst_base_sink_set_qos_enabled()
11876         API: gst_base_sink_is_qos_enabled()
11877
11878 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11879
11880         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11881           If compiling against GLib-2.8 or newer, try to read the
11882           registry file using GMappedFile first before falling back
11883           to fopen() + fread() (#332151).
11884
11885 2006-03-22  Wim Taymans  <wim@fluendo.com>
11886
11887         * gst/gstinfo.c: (gst_debug_set_active),
11888         (gst_debug_category_set_threshold):
11889         Disable debugging unless explicitly activated.
11890         Fixes #335480.
11891
11892 2006-03-22  Wim Taymans  <wim@fluendo.com>
11893
11894         * gst/gstelement.c: (gst_element_set_locked_state),
11895         (gst_element_dispose):
11896         Cleanup the error case.
11897
11898         * gst/gstobject.c: (gst_object_dispose):
11899         print a critical when some object was disposed with
11900         a parent, also revive the object since it might
11901         crash the parent.
11902
11903 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
11904
11905         * tools/gst-launch.1.in:
11906           Fix another typo.
11907
11908 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11909
11910         * configure.ac:
11911         * tests/check/Makefile.am:
11912           disable some tests when we don't have a registry
11913         * tests/check/gst/gstutils.c: (gst_utils_suite):
11914           don't build the part that needs parsing
11915
11916 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11917
11918         * gst/Makefile.am
11919         * tests/examples/Makefile.am:
11920           fix --disable-parse build
11921
11922 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11923
11924         * tools/gst-feedback.1.in:
11925           Fix typo: s/feeback/feedback/ (#133494).
11926
11927 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11928
11929         * tools/Makefile.am:
11930         * tools/gst-launch.1.in:
11931           Add FILES section and correct entry about GST_REGISTRY_PATH
11932           environment variable (#133495; #133494).
11933
11934 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11935
11936         * tools/Makefile.am:
11937         * tools/gst-md5sum.1.in:
11938         * tools/gst-md5sum.c:
11939           Remove gst-md5sum and man page (the md5sink element
11940           required was removed ages ago)
11941
11942 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11943
11944         * gst/gststructure.c: (gst_structure_id_set_value):
11945           Make sure that string fields in structures/taglists
11946           contain valid UTF-8 - we don't want to pass rubbish to
11947           applications because of a buggy plugin (cp. #334167).
11948
11949 2006-03-21  Edward Hervey  <edward@fluendo.com>
11950
11951         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11952         (gst_bin_handle_message_func):
11953         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
11954         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
11955         (gst_element_set_bus_func):
11956         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
11957         * gst/gstminiobject.c: (gst_value_set_mini_object),
11958         (gst_value_take_mini_object):
11959         * gst/gstpad.c: (gst_pad_set_pad_template):
11960         * gst/gstpipeline.c: (gst_pipeline_dispose),
11961         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11962         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
11963         (gst_collect_pads_chain):
11964         * libs/gst/net/gstnettimeprovider.c:
11965         (gst_net_time_provider_set_property):
11966         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
11967         It's in fact all issues with gst_*object_replace().
11968
11969 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11970
11971         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
11972         
11973         * pkgconfig/gstreamer-check-uninstalled.pc.in:
11974         * pkgconfig/gstreamer-check.pc.in:
11975           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
11976
11977 2006-03-21  Edward Hervey  <edward@fluendo.com>
11978
11979         * gst/gstbuffer.h:
11980         * gst/gstevent.h:
11981         * gst/gstmessage.h:
11982         gst_[buffer|event|message]_ref() macros are replaced by a static
11983         inline functions because gcc-4.1 will about if the return value
11984         isn't used.
11985         * tests/check/gst/gstevent.c: (event_probe):
11986         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
11987
11988 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
11989
11990         * gst/gstutils.h:
11991         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
11992         the type' case. (Closes: #335195 for now). In the future, when we
11993         depend on GLib 2.10, we could also intern the type name using
11994         g_intern_static_string()
11995
11996 2006-03-20  Wim Taymans  <wim@fluendo.com>
11997
11998         * gst/gstbin.c: (gst_bin_handle_message_func),
11999         (bin_query_max_init), (bin_query_position_fold),
12000         (bin_query_position_done), (gst_bin_query):
12001         Position query should also take max of all streams.
12002
12003 2006-03-20  Wim Taymans  <wim@fluendo.com>
12004
12005         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12006         (gst_fake_src_finalize):
12007         Fix leaks in fakesrc.
12008
12009         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12010         Fix leaks in the testcase.
12011
12012 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
12013
12014         * gst/gst_private.h:
12015           add win32 specific import decoration(__declspec(dllimport)) 
12016           for all extern GstDebugCategory * variables
12017         * win32/common/libgstbase.def:
12018         * win32/common/libgstcontroller.def:
12019         * win32/common/libgstreamer.def:
12020           Add some exports, remove empty lines
12021         * win32/common/libgstdataprotocol.def:
12022         * win32/common/libgstdataprotocol.dsp:
12023         * win32/common/libgstnet.def:
12024         * win32/common/libgstnet.dsp:
12025           new project files and exportation files added
12026         
12027 2006-03-19  Wim Taymans  <wim@fluendo.com>
12028
12029         * tests/check/libs/basesrc.c: (eos_event_counter):
12030         Use proper return value for probe.
12031
12032 2006-03-17  Wim Taymans  <wim@fluendo.com>
12033
12034         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12035         (gst_pad_push):
12036         Don't leak buffers, caps and pads on negotiation errors.
12037
12038 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
12039
12040         * docs/faq/cvs.xml:
12041         * docs/faq/dependencies.xml:
12042         * docs/faq/developing.xml:
12043         * docs/faq/faq.xml:
12044         * docs/faq/general.xml:
12045         * docs/faq/getting.xml:
12046         * docs/faq/legal.xml:
12047         * docs/faq/troubleshooting.xml:
12048         * docs/faq/using.xml:
12049         Faq review and update.
12050
12051 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
12052
12053         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12054         (gst_pad_push):
12055         Don't pound the cpu to pieces by checking get_caps when accept_caps
12056         is called with the same caps as the pad already has.
12057         Use GST_DEBUG_OBJECT when outputting caps change information.
12058
12059 2006-03-15  Wim Taymans  <wim@fluendo.com>
12060
12061         * gst/gstclock.c: (gst_clock_class_init):
12062         Fix docs.
12063
12064 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
12065
12066         * gst/gstbuffer.h:
12067         Documentation fix.
12068
12069         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
12070         (gst_pad_accept_caps), (gst_pad_configure_sink),
12071         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
12072         Make the default acceptcaps behaviour be to check the requested 
12073         caps against the gst_pad_get_caps output. 
12074
12075         Ensure that gst_pad_accept_caps is used to check caps when a pad
12076         doesn't have a setcaps function, so that pads automatically refuse 
12077         caps that they don't allow in their pad template. (Fixes #332986)
12078
12079         When a buffer with attached caps is pushed, ensure that the source 
12080         pad receives those caps even if the element didn't call
12081         gst_pad_set_caps first.
12082
12083 2006-03-15  Wim Taymans  <wim@fluendo.com>
12084
12085         * libs/gst/base/gstadapter.c:
12086         Add some docs.
12087
12088 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
12089
12090         * win32/common/libgstbase.def:
12091         * win32/common/libgstcontroller.def:
12092         * win32/common/libgstreamer.def:
12093           Add a whole bunch of missing functions (#334434).
12094
12095 2006-03-14  Wim Taymans  <wim@fluendo.com>
12096
12097         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12098         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12099         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
12100         Better debug info when we receive a segment event.
12101         Reorganize a bit so we can pass the get_times() results around.
12102         Use the segment format when calculating the running time.
12103         Don't do QoS is sync is disabled or we have no clock or the
12104         element does not want us to sync to the clock.
12105         Don't drop buffers if QoS is disabled for now.
12106
12107 2006-03-14  Wim Taymans  <wim@fluendo.com>
12108
12109         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
12110         Marked the stats property as unimplemented so people don't get
12111         wild ideas.
12112         Add debug message when regression goes wrong.
12113         Added some more docs.
12114
12115 2006-03-14  Wim Taymans  <wim@fluendo.com>
12116
12117         * gst/gstsegment.c: (gst_segment_to_stream_time):
12118         Return correct return type in case of errors.
12119
12120 2006-03-14  Wim Taymans  <wim@fluendo.com>
12121
12122         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
12123           Don't segfault on invalid formats.
12124
12125 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
12126
12127         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12128           Can't use gst_segment_to_running_time() when the segment
12129           is not in GST_TIME_FORMAT (like with filesink, for example).
12130           Stops flac encoding pipelines from spewing critical warnings
12131           at EOS (#331248).
12132           
12133 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
12134
12135         * gst/gstpipeline.c: (gst_pipeline_class_init):
12136           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
12137
12138         * plugins/elements/gsttypefindelement.c:
12139         (gst_type_find_element_handle_event):
12140           Don't try to typefind empty streams.
12141
12142 2006-03-14  Wim Taymans  <wim@fluendo.com>
12143
12144         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12145         (gst_base_sink_do_qos):
12146         Separate QoS calculation.
12147         Only drop buffers when lateness is bigger than the 
12148         duration of the buffer.
12149
12150 2006-03-13  Wim Taymans  <wim@fluendo.com>
12151
12152         * gst/gstpipeline.c: (gst_pipeline_set_property),
12153         (gst_pipeline_get_property), (do_pipeline_seek),
12154         (gst_pipeline_change_state), (gst_pipeline_set_delay),
12155         (gst_pipeline_get_delay):
12156         Don't deadlock when reading properties.
12157
12158 2006-03-13  Wim Taymans  <wim@fluendo.com>
12159
12160         * libs/gst/base/gstbasetransform.c:
12161         (gst_base_transform_class_init), (gst_base_transform_init),
12162         (gst_base_transform_sink_event),
12163         (gst_base_transform_sink_eventfunc),
12164         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
12165         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12166         (gst_base_transform_set_property),
12167         (gst_base_transform_get_property),
12168         (gst_base_transform_change_state), (gst_base_transform_update_qos),
12169         (gst_base_transform_set_qos_enabled),
12170         (gst_base_transform_is_qos_enabled):
12171         * libs/gst/base/gstbasetransform.h:
12172         Make basetransform virtual method for src events too.
12173         Handle QOS in basetransform.
12174         API: gst_base_transform_update_qos()
12175         API: gst_base_transform_set_qos_enabled()
12176         API: gst_base_transform_is_qos_enabled()
12177
12178 2006-03-13  Wim Taymans  <wim@fluendo.com>
12179
12180         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12181         (gst_base_sink_do_sync):
12182         Small cleanups.
12183         Use QOS debug category.
12184
12185 2006-03-13  Wim Taymans  <wim@fluendo.com>
12186
12187         * plugins/elements/gstqueue.c:
12188         Very small doc update.
12189
12190 2006-03-13  Wim Taymans  <wim@fluendo.com>
12191
12192         * gst/gst_private.h:
12193         * gst/gstinfo.c: (_gst_debug_init):
12194         Added QOS debug category
12195
12196 2006-03-13  Wim Taymans  <wim@fluendo.com>
12197
12198         * docs/gst/gstreamer-sections.txt:
12199         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
12200         * gst/gstbin.h:
12201         * gst/gstbus.c: (gst_bus_class_init):
12202         * gst/gstbus.h:
12203         * gst/gstclock.c:
12204         * gst/gstelement.c: (gst_element_set_locked_state):
12205         * gst/gstsegment.c:
12206         Documentation updates.
12207
12208         * gst/gstpipeline.c: (gst_pipeline_get_type),
12209         (gst_pipeline_class_init), (gst_pipeline_init),
12210         (gst_pipeline_dispose), (gst_pipeline_set_property),
12211         (gst_pipeline_get_property), (do_pipeline_seek),
12212         (gst_pipeline_send_event), (gst_pipeline_change_state),
12213         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
12214         (gst_pipeline_get_delay):
12215         * gst/gstpipeline.h:
12216         Added methods for setting the delay.
12217         API: gst_pipeline_set_delay()
12218         API: gst_pipeline_get_delay()
12219         Add pipeline debug category
12220         Various cleanups.
12221         Updated docs.
12222         Don't reset stream time when seek failed.
12223
12224 2006-03-13  Wim Taymans  <wim@fluendo.com>
12225
12226         * docs/design/draft-klass.txt:
12227         * docs/design/part-clocks.txt:
12228         * docs/design/part-events.txt:
12229         * docs/design/part-gstbin.txt:
12230         * docs/design/part-gstpipeline.txt:
12231         * docs/design/part-messages.txt:
12232         * docs/design/part-negotiation.txt:
12233         * docs/design/part-overview.txt:
12234         * docs/design/part-preroll.txt:
12235         * docs/design/part-seeking.txt:
12236         * docs/design/part-states.txt:
12237         * docs/design/part-streams.txt:
12238         Documentation updates.
12239
12240 2006-03-12  Julien MOUTTE  <julien@moutte.net>
12241
12242         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
12243         us to leak strings...
12244
12245 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12246
12247         * libs/gst/net/gstnettimeprovider.c:
12248           fix docs
12249         * win32/common/config.h:
12250           update
12251
12252 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
12253
12254         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
12255
12256         * configure.ac:
12257           Don't check for libgnomeui (leftover from old examples
12258           that aren't built or disted any longer) (#334303).
12259           
12260 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
12261
12262         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
12263         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12264           Emit RESOURCE_NO_SPACE_LEFT error here as well when
12265           there's no space left on the device.
12266
12267 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
12268
12269         * gst/gstclock.h:
12270           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
12271           to cast the input to GstClockTime before comparing with
12272           another GstClockTime value.
12273
12274 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12275
12276         * configure.ac:
12277           back to trunk
12278
12279 === release 0.10.4 ===
12280
12281 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
12282
12283         * configure.ac:
12284           releasing 0.10.4, "Light"
12285
12286 2006-03-10  Michael Smith  <msmith@fluendo.com>
12287
12288         * libs/gst/dataprotocol/dataprotocol.c:
12289           Fix docs for dataprocotol to not get the return types completely
12290           wrong for a few functions.
12291
12292 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
12293
12294         * docs/gst/gstreamer-sections.txt:
12295         * gst/gstpipeline.c: (gst_pipeline_class_init),
12296         (gst_pipeline_init), (gst_pipeline_set_property),
12297         (gst_pipeline_get_property), (gst_pipeline_change_state),
12298         (gst_pipeline_set_auto_flush_bus),
12299         (gst_pipeline_get_auto_flush_bus):
12300         * gst/gstpipeline.h:
12301           Add new API: gst_pipeline_set_auto_flush_bus() and
12302           gst_pipeline_get_auto_flush_bus() to disable automatic
12303           flushing of the pipeline's GstBus when going from READY
12304           to NULL state (#332045).
12305
12306 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
12307
12308         * docs/gst/gstreamer-sections.txt:
12309         * gst/gsturi.c: (gst_uri_has_protocol):
12310         * gst/gsturi.h:
12311            Add new API: gst_uri_has_protocol() (#333779).
12312
12313 2006-03-09  Wim Taymans  <wim@fluendo.com>
12314
12315         * gst/gstclock.c: (gst_clock_entry_new),
12316         (gst_clock_id_compare_func), (gst_clock_id_wait),
12317         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
12318         (gst_clock_init), (gst_clock_get_internal_time),
12319         (gst_clock_set_master), (do_linear_regression),
12320         (gst_clock_add_observation), (gst_clock_set_property):
12321         * gst/gstclock.h:
12322         Review docs.
12323         Small cleanups.
12324         Fix a possible segfault when the window-size is made smaller.
12325         Calculate jitter before performing the clock wait. Ideally
12326         the clock implementation should calculate jitter but we need
12327         API breakage for that.
12328
12329         * gst/gstsystemclock.c: (gst_system_clock_init):
12330         Docs review.
12331         
12332         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12333         Remove leftover else
12334
12335         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
12336         (gst_systemclock_suite):
12337         Added check to test GST_CLOCK_DIFF.
12338
12339 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
12340
12341         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
12342         (gst_type_find_helper_get_range):
12343           If we are provided with the size, we should implement
12344           GstTypeFind::get_length, so that typefind functions who
12345           want to can actually peek at the middle of a file.
12346
12347 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
12348
12349         * docs/manual/advanced-dataaccess.xml:
12350           Add some very very basic error checking.
12351
12352         * docs/pwg/appendix-checklist.xml:
12353           Some updates to the list of things to check when writing an element.
12354
12355 2006-03-08  Wim Taymans  <wim@fluendo.com>
12356
12357         * docs/design/part-element-transform.txt:
12358         Added some docs about the design of tranform elements.
12359
12360         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12361         (gst_base_src_loop), (gst_base_src_change_state):
12362         Mark buffers with the DISCONT flag.
12363
12364 2006-03-08  Michael Smith  <msmith@fluendo.com>
12365
12366         * gst/gstregistry.h:
12367         * gst/gstregistryxml.c: (gst_registry_save),
12368         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
12369         (gst_registry_xml_save_pad_template),
12370         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
12371         (gst_registry_xml_write_cache):
12372           Rewrite registry-saving to avoid race conditions and check for
12373           failed writes.
12374
12375 2006-03-08  Wim Taymans  <wim@fluendo.com>
12376
12377         * libs/gst/base/gstbasetransform.c:
12378         (gst_base_transform_transform_caps),
12379         (gst_base_transform_transform_size),
12380         (gst_base_transform_prepare_output_buffer),
12381         (gst_base_transform_get_unit_size),
12382         (gst_base_transform_buffer_alloc),
12383         (gst_base_transform_handle_buffer),
12384         (gst_base_transform_change_state):
12385         Cleanups, separate normal flow from errors, add sensible
12386         DEBUG lines.
12387         Don't try to renegotiate when allocating an output buffer.
12388         Also copy DISCONT buffer flag when copying a buffer.
12389         Reset the transform after we finish streaming, not during.
12390
12391 2006-03-08  Wim Taymans  <wim@fluendo.com>
12392
12393         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12394         Use last buffer timestamp in qos message.
12395
12396 2006-03-07  Wim Taymans  <wim@fluendo.com>
12397
12398         Patch by: Christophe Fergeau
12399
12400         * docs/pwg/advanced-tagging.xml:
12401         * docs/pwg/building-pads.xml:
12402           fixes #333416
12403
12404 2006-03-07  Wim Taymans  <wim@fluendo.com>
12405
12406         * docs/libs/gstreamer-libs-sections.txt:
12407         Added basesink new methods.
12408
12409         * gst/gstevent.c:
12410         * gst/gstevent.h:
12411         Docs updates. Flesh out the QoS docs.
12412
12413         * libs/gst/base/gstadapter.c:
12414         Small doc clarification about ownership and flushing.
12415
12416         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
12417         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
12418         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
12419         (gst_base_sink_get_property), (gst_base_sink_do_sync):
12420         * libs/gst/base/gstbasesink.h:
12421         API additions: 
12422         Added new methods to allow subclass to control max-lateness 
12423         and sync.
12424         Generate very basic QoS events based on last sync observation.
12425         Updated docs, fix typo, added some QoS blurb.
12426
12427         * libs/gst/base/gstbasesrc.c:
12428         Remove obsolete _get_state() calls from docs.
12429
12430 2006-03-07  Wim Taymans  <wim@fluendo.com>
12431
12432         * docs/libs/gstreamer-libs-sections.txt:
12433         * libs/gst/base/gstbasetransform.h:
12434         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
12435         Fix docs for GstBaseSrc.
12436
12437 2006-03-07  Wim Taymans  <wim@fluendo.com>
12438
12439         * docs/gst/gstreamer-sections.txt:
12440         * gst/gstbuffer.h:
12441         * gst/gstvalue.c:
12442         * libs/gst/base/gstbasetransform.h:
12443         Small documentation fixes.
12444
12445 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
12446
12447         * gst/gstvalue.c:
12448           Document thread-unsafety of gst_value_register_foo_func()
12449           when used at the same time as gst_value_foo() (#322628).
12450
12451 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
12452
12453         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
12454         (gst_push_src_check_get_range):
12455           Push sources don't support pull mode by default.
12456
12457 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
12458
12459         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12460         (gst_base_src_init), (gst_base_src_pad_check_get_range),
12461         (gst_base_src_default_check_get_range):
12462         * libs/gst/base/gstbasesrc.h:
12463           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
12464           provide default implementation, and rename
12465           gst_base_src_check_get_range() to
12466           gst_base_src_pad_check_get_range() for clarity.
12467
12468 2006-03-06  Wim Taymans  <wim@fluendo.com>
12469
12470         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12471         Make property overridable.
12472
12473 2006-03-06  Wim Taymans  <wim@fluendo.com>
12474
12475         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12476         (gst_base_sink_init), (gst_base_sink_set_property),
12477         (gst_base_sink_get_property), (gst_base_sink_do_sync):
12478         * libs/gst/base/gstbasesink.h:
12479         API addition: Make max-lateness a property.
12480
12481 2006-03-06  Wim Taymans  <wim@fluendo.com>
12482
12483         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
12484         (gst_base_sink_do_sync), (gst_base_sink_render_object):
12485         Don't ever draw a frame that is >10ms late.
12486
12487 2006-03-06  Michael Smith  <msmith@fluendo.com>
12488
12489         * gst/gstmessage.c: (_gst_message_copy):
12490           When copying a message, set the parent_refcount of the enclosed
12491           structure to point at the copy, not the original message.
12492
12493 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
12494
12495         Patch by: Christophe Fergeau
12496
12497         * gst/gstutils.h:
12498           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
12499           usable in c++ code (#333417)
12500
12501 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12502
12503         * gst/gstclock.h:
12504           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
12505
12506 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
12507
12508         * libs/gst/base/gstbasetransform.c:
12509         (gst_base_transform_transform_caps):
12510           Make sure caps are writable before passing them to
12511           gst_caps_append().
12512
12513 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
12514
12515         * gst/gsterror.h:
12516           Fix some minor docs errors.
12517
12518 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
12519
12520           Patch by: Ross Burton <ross at burtonini dot com>
12521
12522         * gst/gsterror.c: (_gst_resource_errors_init):
12523         * gst/gsterror.h:
12524           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
12525
12526 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
12527
12528         * gst/gst.c:
12529         Add a check and output a g_warning when GStreamer is built
12530         against GLib 2.6 but running against 2.8 or higher, and vice 
12531         versa. (Closes: #323542)
12532
12533 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
12534
12535         * gst/parse/parse.l:
12536           Commit patch for parse_launch syntax from #331255. Removes 
12537           support for quoted strings and mimetypes when writing filtered 
12538           caps. See the bug report for more details - I'm pretty sure this
12539           obscure feature is not in use by _anyone_ anywhere.
12540
12541           With this simple change, the size of the gstreamer.so here 
12542           drops from 2193KB to 1565KB.
12543
12544 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
12545
12546         * plugins/elements/gsttypefindelement.h:
12547         * plugins/elements/gsttypefindelement.c:
12548         (gst_type_find_element_src_event), (start_typefinding),
12549         (stop_typefinding), (gst_type_find_element_handle_event),
12550         (gst_type_find_element_chain),
12551         (gst_type_find_element_chain_do_typefinding):
12552           Use gst_type_find_helper_for_buffer() for chain-based
12553           typefinding.
12554
12555 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
12556
12557         * plugins/elements/gsttypefindelement.c:
12558         (gst_type_find_element_class_init),
12559         (gst_type_find_element_set_property),
12560         (gst_type_find_element_get_property):
12561           Deprecate "maximum" property (not only was it only taken into
12562           account for typefinding in push-mode anyway, it also was never
12563           actually possible to set it in the first place because the
12564           property was registered with the numeric property ID for the
12565           "minimum" property). Register "maximum" property correctly,
12566           for the sake of future copy'n'pasters. Remove some cruft
12567           from property get/set functions.
12568
12569 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
12570
12571         * plugins/elements/gsttypefindelement.c:
12572         (gst_type_find_element_activate):
12573           Use gst_type_find_helper_get_range() here, so we
12574           can honour the "minimum" property and also emit
12575           the signal with the correct probability of the found caps.
12576
12577 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
12578
12579         * docs/libs/gstreamer-libs-sections.txt:
12580         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
12581         (helper_find_suggest), (gst_type_find_helper_get_range),
12582         (gst_type_find_helper):
12583         * libs/gst/base/gsttypefindhelper.h:
12584           New API: gst_type_find_helper_get_range() (#333042).
12585
12586 2006-03-02  Michael Smith  <msmith@fluendo.com>
12587
12588         * gst/gstregistryxml.c: (load_feature):
12589           Asserting on a failure to read part of the registry is Not Cool.
12590           Just log a warning and return NULL (which is already handled)
12591
12592 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
12593
12594         * win32/common/libgstbase.def:
12595           added export of gst_type_find_helper_for_buffer
12596         * win32/common/libgstbase.def:
12597           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
12598           gst_ghost_pad_get_target
12599
12600 2006-02-28  Wim Taymans  <wim@fluendo.com>
12601
12602         * docs/design/draft-klass.txt:
12603         We use Filter now.
12604         Added Connector to mark elements that are only used to
12605         allow pipeline connections.
12606         Moved Debug to extra feature since most of them are 
12607         functionally something else.
12608
12609 2006-02-28  Wim Taymans  <wim@fluendo.com>
12610
12611         * docs/design/draft-klass.txt:
12612         Some updates and clarifications.
12613
12614 2006-02-28  Wim Taymans  <wim@fluendo.com>
12615
12616         * docs/design/draft-klass.txt:
12617         Proposal for klass field values.
12618
12619         * docs/design/part-streams.txt:
12620         Start of a doc describing stream anatomy.
12621
12622 2006-02-28  Wim Taymans  <wim@fluendo.com>
12623
12624         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
12625         Help the compiler a bit with type registration.
12626         Use existing forward cod path instead of duplicating it when 
12627         handling a message.
12628         
12629         * gst/gstbus.c: (gst_bus_get_type):
12630         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
12631         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
12632         * gst/gstclock.c: (gst_clock_get_type):
12633         * gst/gstelement.c: (gst_element_get_type),
12634         * gst/gstelementfactory.c: (gst_element_factory_get_type):
12635         * gst/gstindexfactory.c: (gst_index_factory_get_type):
12636         * gst/gstminiobject.c: (gst_mini_object_get_type):
12637         * gst/gstpad.c: (gst_pad_get_type):
12638         * gst/gstsegment.c: (gst_segment_get_type):
12639         * gst/gststructure.c: (gst_structure_get_type):
12640         * gst/gstsystemclock.c: (gst_system_clock_get_type):
12641         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
12642         * gst/gstvalue.c:
12643         Help compiler with type registration.
12644
12645         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
12646         Small doc update.
12647
12648 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12649
12650         * plugins/elements/gsttypefindelement.c:
12651         (gst_type_find_element_handle_event):
12652           When we get an EOS event and have not found a type yet
12653           (most likely because we had not yet accumulated
12654           TYPE_FIND_MIN_SIZE of data yet), try to determine the
12655           type given the data we have so far. Fixes typefinding
12656           for very short streams again, most notably quicktime
12657           redirections as used on Apple's trailer site (#331701).
12658
12659 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12660
12661         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
12662         (gst_type_find_helper):
12663           Try typefinding factories with the highest rank first.
12664
12665 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12666
12667         * docs/libs/gstreamer-libs-docs.sgml:
12668         * docs/libs/gstreamer-libs-sections.txt:
12669         * libs/gst/base/gsttypefindhelper.c:
12670           Add section for typefind helper and add documentation
12671           for the old and the new function.
12672
12673 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12674
12675         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
12676         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
12677         (gst_type_find_helper_for_buffer):
12678         * libs/gst/base/gsttypefindhelper.h:
12679           New API: gst_type_find_helper_for_buffer() (#332723).
12680           
12681 2006-02-27  Michael Smith  <msmith@fluendo.com>
12682
12683         Patch by: Loïc Minier
12684
12685         * configure.ac:
12686         * docs/Makefile.am:
12687         * docs/slides/Makefile.am:
12688           prevent CVS directories getting disted.
12689
12690 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12691
12692         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
12693           Use the REFCOUNTING category for caps refcounting.
12694           
12695 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
12696
12697         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12698           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
12699
12700 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
12701
12702         * plugins/elements/gsttypefindelement.c:
12703         (gst_type_find_element_activate):
12704           Use gst_pad_check_pull_range() before _activate_pull()
12705           to avoid unnecessary open/close (see #331690).
12706
12707 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
12708
12709         * gst/gstutils.c:
12710           Docs enhancement: make it crystal clear what the
12711           gst_pad_add_*_probe() callbacks should look like.
12712
12713 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
12714
12715         * libs/gst/base/gstbasesrc.c:
12716           Document how applications can stop recording from
12717           live sources (see #330996).
12718
12719 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12720
12721         * tests/check/Makefile.am:
12722         * tests/check/libs/basesrc.c: (eos_event_counter),
12723         (basesrc_eos_events_pull), (basesrc_eos_events_push),
12724         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
12725         (gst_basesrc_suite), (main):
12726           ... and add some tests for the base source EOS stuff.
12727
12728 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12729
12730         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
12731           Test case originally showed the problem fixed below,
12732           but was then amended. Add checks back at the place
12733           where they used to be.
12734
12735 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12736
12737         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12738         (gst_base_src_init), (gst_base_src_loop),
12739         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12740         (gst_base_src_change_state):
12741         * libs/gst/base/gstbasesrc.h:
12742           Don't unconditionally send EOS when going from PAUSED to
12743           READY state, esp. make sure we don't send two EOS events
12744           in some cases (e.g. one when reaching EOS and one when
12745           going from PAUSED to READY). Also, we don't want to send
12746           EOS events when operating in pull mode. However, we do
12747           want to send an EOS event when shutting down a live
12748           source explicitly, for example (fixes #330996).
12749           
12750 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12751
12752         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12753           Update src->read_position after a seek when not using mmap.
12754           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
12755
12756 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
12757
12758         * gst/Makefile.am:
12759         * gst/gstparse.h:
12760         * gst/gstutils.c:
12761         * gst/gstutils.h:
12762         Make things work with --disable-parse as they do with 
12763         --disable-load-save - the symbols involved disappear, but the
12764         header is still installed and GST_DISABLE_PARSE is included via
12765         gstconfig.h
12766
12767 2006-02-20  Julien MOUTTE  <julien@moutte.net>
12768
12769         * libs/gst/base/gstbasetransform.c:
12770         (gst_base_transform_change_state): Fix a stupid bug. I was 
12771         sure I compiled that.
12772
12773 2006-02-20  Julien MOUTTE  <julien@moutte.net>
12774
12775         * gst/gstpad.c: (gst_pad_set_blocked_async):
12776         * gst/gstutils.c: (gst_pad_add_data_probe),
12777         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12778         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12779         (gst_pad_remove_buffer_probe): Make those function act on the
12780         ghostpad target when it's a ghostpad. (Closes #331727)
12781
12782 2006-02-20  Julien MOUTTE  <julien@moutte.net>
12783
12784         * libs/gst/base/gstbasetransform.c:
12785         (gst_base_transform_change_state): Make basetransform reusable.
12786         (Closes #331898)
12787
12788 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
12789
12790         * docs/random/release:
12791         Move the current documentation of how to do a release to the top
12792         of the file.
12793
12794         * gst/gstbin.c: (gst_bin_class_init),
12795         (gst_bin_handle_message_func):
12796         Allow multiple state-recalculation threads. (Closes #328873)
12797
12798 2006-02-19  Julien MOUTTE  <julien@moutte.net>
12799
12800         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
12801         * gst/gstpad.c: (gst_pad_set_event_function),
12802         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12803         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
12804         2 strings. You can't use the STR_NULL macro on that.
12805
12806 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
12807
12808         * gst/gstpad.c: (gst_pad_set_event_function),
12809         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12810         (gst_pad_set_getcaps_function)
12811         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
12812           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
12813           So now, we can use --gst-debug-level=5 on Windows
12814         * win32/common/libgstcontroller.def:
12815           Added export of gst_controller_init
12816         * win32/vs6/libgstcontroller.dsp:
12817           Fixed Release post build configuration
12818
12819 2006-02-17  Wim Taymans  <wim@fluendo.com>
12820
12821         * tests/check/gst/gstquery.c: (GST_START_TEST):
12822         Added another check.
12823
12824 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
12825
12826         * plugins/elements/gsttypefindelement.c: (find_peek):
12827           We can do peeks at non-zero offsets, as long as they
12828           fall within the buffer we have.
12829
12830 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
12831
12832         * tests/check/Makefile.am:
12833         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
12834         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
12835         (parse_suite), (main):
12836           Add testsuite for parse launch syntax
12837
12838 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
12839
12840         * plugins/elements/gsttypefindelement.c:
12841         (gst_type_find_element_chain):
12842           When typefinding is unsuccessful in the chain function, don't
12843           error out immediately. Only error out with NO_CAPS_FOUND if
12844           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
12845           otherwise simply wait for more data so we can try typefinding
12846           again with more data later. Also, don't attempt to typefind
12847           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
12848           this should improve typefinding from network sources where the
12849           size of the first buffer can be somewhat random.
12850
12851 2006-02-14  Wim Taymans  <wim@fluendo.com>
12852
12853         * docs/gst/gstreamer-sections.txt:
12854         * gst/gstpadtemplate.c:
12855         * gst/gstpadtemplate.h:
12856         Fix padtemplate docs, fixes #328805.
12857
12858 2006-02-14  Wim Taymans  <wim@fluendo.com>
12859
12860         * tools/gst-launch.c: (main):
12861         NO_PREROLL is not an ERROR so don't send confusing messages
12862         to the user.
12863
12864 2006-02-14  Wim Taymans  <wim@fluendo.com>
12865
12866         Patch by: Torsten Schoenfeld
12867
12868         * gst/gstregistry.c: (gst_registry_get_default),
12869         (_gst_registry_cleanup):
12870         Protect default registry with lock and ref/sink it.
12871         Fixes #324818
12872
12873 2006-02-14  Wim Taymans  <wim@fluendo.com>
12874
12875         * gst/gstbuffer.c:
12876         * gst/gstquery.c: (gst_query_list_add_format),
12877         (gst_query_set_formatsv), (gst_query_parse_formats_length),
12878         (gst_query_parse_formats_nth):
12879         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12880         Docs fixes.
12881
12882 2006-02-14  Wim Taymans  <wim@fluendo.com>
12883
12884         * docs/gst/gstreamer-sections.txt:
12885         Reworked query docs.
12886
12887         * gst/gstquery.c: (gst_query_new_formats),
12888         (gst_query_list_add_format), (gst_query_set_formats),
12889         (gst_query_set_formatsv), (gst_query_parse_formats_length),
12890         (gst_query_parse_formats_nth):
12891         * gst/gstquery.h:
12892         Flesh out formats query, added some new methods.
12893         Fix part of #324398.
12894
12895         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
12896         Added query creation tests.
12897
12898 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
12899
12900         * gst/gstpad.c: (fixate_value):
12901         Add a default fixation for fraction lists.
12902
12903 2006-02-13  Wim Taymans  <wim@fluendo.com>
12904
12905         * gst/gsttask.c: (gst_task_init), (gst_task_func),
12906         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
12907         (gst_task_join):
12908         * gst/gsttask.h:
12909         Detect and warn for obvious deadlocks. fixes #320340
12910         Fix error case where lock was not released.
12911
12912         * tests/check/Makefile.am:
12913         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
12914         (task_func), (gst_element_suite), (main):
12915         Add task check.
12916
12917 2006-02-13  Wim Taymans  <wim@fluendo.com>
12918
12919         * docs/gst/gstreamer-sections.txt:
12920         * gst/gstbus.c:
12921         Add new functions to docs.
12922
12923 2006-02-13  Wim Taymans  <wim@fluendo.com>
12924
12925         * docs/design/part-TODO.txt:
12926         Updated TODO list, basesrc supports seeking to non-bytes
12927         formats.
12928
12929         * docs/design/part-element-sink.txt:
12930         Update docs.
12931
12932         * gst/gstbin.c: (bin_replace_message),
12933         (gst_bin_handle_message_func):
12934         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
12935         * gst/gstevent.c: (gst_event_finalize):
12936         * gst/gstpad.c: (gst_pad_event_default_dispatch),
12937         (gst_pad_send_event):
12938         Use shiny new _TYPE_NAME macros.
12939
12940         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12941         Move debug statement up.
12942
12943         * gst/gstelement.c: (gst_element_set_locked_state):
12944         Add some debugging.
12945
12946 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
12947
12948         * docs/gst/gstreamer-sections.txt:
12949         * gst/gstmessage.h:
12950         * gst/gstquery.h:
12951           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
12952           macros (#330906). Also, document the already existing
12953           GST_QUERY_TYPE macro.
12954
12955 2006-02-13  Wim Taymans  <wim@fluendo.com>
12956
12957         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
12958         (event_probe), (GST_START_TEST):
12959         Only events up to the pipeline EOS are counted, there are
12960         some more when going to NULL currently which we don't care
12961         about for now.
12962
12963 2006-02-13  Wim Taymans  <wim@fluendo.com>
12964
12965         * gst/gstpad.c: (gst_pad_send_event):
12966         Correctly check flushing and emit probes. fixes #330125
12967
12968 2006-02-10  Andy Wingo  <wingo@pobox.com>
12969
12970         * gst/gstbus.c (gst_bus_class_init): Declare our private data
12971         structure.
12972         (gst_bus_init): Cache the location of the private data in the
12973         instance structure.
12974         (gst_bus_enable_sync_message_emission) 
12975         (gst_bus_disable_sync_message_emission): Implement new public
12976         functions.
12977         (gst_bus_post): Emit the sync-message signal if the user asked for
12978         it. Fixes #330684.
12979
12980         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
12981         location of the bus-private structure.
12982         (gst_bus_enable_sync_message_emission)
12983         (gst_bus_disable_sync_message_emission): API addition
12984
12985 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
12986
12987         Patch by: Vincent Torri
12988
12989         * docs/pwg/building-boiler.xml:
12990         PWG patch from #326800
12991
12992 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
12993
12994         * configure.ac:
12995         * docs/Makefile.am:
12996         * docs/design/Makefile.am:
12997           Dist design docs.
12998
12999 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
13000
13001         * configure.ac:
13002           back to CVS
13003
13004 === release 0.10.3 ===
13005
13006 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
13007
13008         * configure.ac:
13009           releasing 0.10.3, "Like a virgin"
13010
13011 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
13012
13013         * configure.ac:
13014           2nd prerelease of 0.10.3
13015           Bump libtool versioning.
13016
13017 2006-02-07  Andy Wingo  <wingo@pobox.com>
13018
13019         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
13020         update last_stop if we're in TIME format and the timestamp is
13021         valid.
13022
13023         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
13024         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
13025         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
13026         If we get a new newsegment with a different format, adapt
13027         accordingly.
13028
13029         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
13030         of 0. Not a problem, really.
13031
13032         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
13033         warn if sync=true.
13034
13035 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
13036
13037         * configure.ac:
13038           Prelease of 0.10.3
13039
13040 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
13041
13042         * win32/vs7:
13043           project files updated to the default vs7 configuration
13044         * win32/common/libgstbase.def:
13045         * win32/common/libgstreamer.def:
13046           added new symbols,
13047           removed empty lines,
13048           sorted all exported symbols alphabetically
13049         * win32/common/dirent.c:
13050         * win32/common/dirent.h:
13051         * win32/common/gchar.h:
13052           use windows line end.
13053           
13054 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
13055
13056         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13057           Send EOS event when stopping.
13058
13059 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
13060
13061         * docs/README:
13062           Tell folks what to do if the plugin-foobar.xml file
13063           hasn't been generated for a newly-added plugin.
13064
13065 2006-02-05  Julien MOUTTE  <julien@moutte.net>
13066
13067         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13068         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13069         (gst_collect_pads_start), (gst_collect_pads_stop),
13070         (gst_collect_pads_event): Collectpads now holds a reference
13071         to the GstPad that was added. Indeed we don't want to look
13072         at pads that might just go away with no warning...
13073
13074 2006-02-05  Julien MOUTTE  <julien@moutte.net>
13075
13076         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13077         (gst_collect_pads_start), (gst_collect_pads_stop),
13078         (gst_collect_pads_event), (gst_collect_pads_chain):
13079         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
13080         Mark Nauwelaerts's patch on bug #328491.
13081
13082 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
13083
13084         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
13085         (gst_utils_suite):
13086           Add some simple tests for gst_parse_bin_from_description() and
13087           gst_bin_find_unconnected_pad() (#329069).
13088
13089 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
13090
13091         * tools/gst-launch.c: (event_loop), (main):
13092           Catch errors during preroll (#320084).
13093
13094 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
13095
13096         * plugins/elements/gsttypefindelement.c:
13097         (gst_type_find_element_activate):
13098           Post TYPE_NOT_FOUND error message when typefinding
13099           is unsuccessful in the activate function as well.
13100
13101 2006-02-02  Wim Taymans  <wim@fluendo.com>
13102
13103         * docs/design/part-element-sink.txt:
13104         Updated doc.
13105
13106 2006-02-02  Wim Taymans  <wim@fluendo.com>
13107
13108         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13109         (gst_base_sink_render_object),
13110         (gst_base_sink_queue_object_unlocked):
13111         Only keep track of prerollable items when we are 
13112         prerolling.
13113         Before rendering after preroll, always check if we
13114         have queued items.
13115         Added some more debugging.
13116
13117 2006-02-02  Wim Taymans  <wim@fluendo.com>
13118
13119         * gst/gstelement.c: (gst_element_continue_state),
13120         (gst_element_set_state_func), (gst_element_change_state):
13121         Fixed #326576, been running this for quite some time with
13122         no regressions at all.
13123
13124 2006-02-02  Wim Taymans  <wim@fluendo.com>
13125
13126         * common/gst.supp:
13127         Added more suppressions
13128
13129 2006-02-02  Wim Taymans  <wim@fluendo.com>
13130
13131         * docs/design/part-element-sink.txt:
13132         Updated document.
13133
13134         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13135         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
13136         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
13137         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13138         (gst_base_sink_do_sync), (gst_base_sink_render_object),
13139         (gst_base_sink_preroll_object),
13140         (gst_base_sink_queue_object_unlocked),
13141         (gst_base_sink_queue_object), (gst_base_sink_event),
13142         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
13143         (gst_base_sink_loop), (gst_base_sink_activate_pull),
13144         (gst_base_sink_get_position), (gst_base_sink_change_state):
13145         * libs/gst/base/gstbasesink.h:
13146         Totally refactored matching the design doc.
13147         Use two segments, one to clip incomming buffers and another to
13148         perform sync.
13149         Handle queueing correctly, bypass the queue when playing.
13150         Make EOS cancelable.
13151         Handle errors correctly when operating in pull based mode.
13152
13153         * tests/check/elements/fakesink.c: (GST_START_TEST),
13154         (fakesink_suite):
13155         Added new check for sinks.
13156
13157 2006-02-02  Wim Taymans  <wim@fluendo.com>
13158
13159         * gst/gstsegment.c: (gst_segment_clip):
13160         No reason to refuse to clip when start == -1
13161
13162 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
13163
13164         * docs/README:
13165         * docs/manual/intro-basics.xml:
13166         * docs/manual/intro-preface.xml:
13167         * docs/manual/manual.xml:
13168         * docs/pwg/advanced-dparams.xml:
13169         * docs/pwg/intro-basics.xml:
13170         * docs/pwg/intro-preface.xml:
13171         * docs/pwg/pwg.xml:
13172           describe dparams (controller) for plugins
13173           unify docs a little more
13174
13175 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
13176
13177         * docs/gst/gstreamer-sections.txt:
13178         * gst/gstutils.c: (element_find_unconnected_pad),
13179         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
13180         * gst/gstutils.h:
13181           Add new API: gst_parse_bin_from_description() and
13182           gst_bin_find_unconnected_pad() (#329069).
13183
13184 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
13185
13186         * docs/manual/README:
13187           uncover a nasty detail of the docs build
13188
13189 2006-01-31  Wim Taymans  <wim@fluendo.com>
13190
13191         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
13192         Don't cache duration messages if we're not going to use or
13193         free them.
13194
13195 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
13196
13197         * docs/manual/advanced-dparams.xml:
13198         * docs/pwg/advanced-dparams.xml:
13199           more dparam docs
13200         * gst/gstindex.c:
13201           fix docs
13202         * libs/gst/controller/lib.c: (gst_controller_init):
13203           init just once
13204
13205 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13206
13207         * gst/gstelement.c: (gst_element_message_full):
13208           also show file/line/func if no additional debug was given
13209
13210 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
13211         
13212         * win32/vs7/grammar.vcproj:
13213           activate copy of autogenerated files for Release mode
13214
13215 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
13216         
13217         * win32/common/libgstreamer.def:
13218           export gst_value_compare
13219
13220 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
13221
13222         * plugins/elements/Makefile.am:
13223         * plugins/elements/gstelements.c:
13224         * plugins/elements/gstfdsink.c: (_do_init),
13225         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
13226         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
13227         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
13228         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
13229         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
13230         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
13231         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
13232         * plugins/elements/gstfdsink.h:
13233         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
13234
13235 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
13236
13237         * docs/manual/advanced-dparams.xml:
13238           describe controller
13239         * docs/manual/advanced-position.xml:
13240         * docs/manual/basics-init.xml:
13241         * docs/manual/manual.xml:
13242         * docs/manual/titlepage.xml:
13243         * docs/pwg/pwg.xml:
13244         * docs/pwg/titlepage.xml:
13245           cleanup xml (more to come)
13246         * libs/gst/controller/gstcontroller.c:
13247           fix typo
13248
13249 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
13250         
13251         * win32/vs6/grammar.dsp:
13252           add autogen of gstmarshal.c,h for Release mode
13253                 
13254 2006-01-30  Wim Taymans  <wim@fluendo.com>
13255
13256         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13257         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
13258         (gst_base_sink_handle_object), (gst_base_sink_event),
13259         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
13260         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13261         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
13262         (gst_base_sink_deactivate), (gst_base_sink_activate),
13263         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13264         (gst_base_sink_query), (gst_base_sink_change_state):
13265         Basesink cleanups, remove some old code.
13266         Handle the case where a subclass can preroll in the render
13267         method (mostly audiosinks).
13268         Handle more events.
13269         Remove some locks around variables that are now protected
13270         with the PREROLL_LOCK (clock_id, flushing, ..).
13271         Optimize position query some more, do correct locking.
13272         Remove old code to push queue in state change, this is not
13273         needed anymore since preroll blocks on all prerollable items 
13274         now.
13275         Almost implemented as described in design doc.
13276
13277 2006-01-30  Wim Taymans  <wim@fluendo.com>
13278
13279         * tests/check/gst/gstbin.c: (GST_START_TEST):
13280         Wait for refcount to settle down before checking.
13281
13282 2006-01-30  Wim Taymans  <wim@fluendo.com>
13283
13284         * docs/design/part-element-sink.txt:
13285         Pseudo code overview of desired sink behaviour regarding
13286         preroll.
13287
13288 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
13289         * win32/vs6/grammar.dsp:
13290           fix some bugs in Release mode for autogenerated files
13291                 
13292 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
13293         * win32/common/libgstbase.def:
13294         * win32/common/libgstreamer.def:
13295           export some new symbols: gst_base_src_set_format,
13296           gst_iterator_next, gst_structure_set_valist
13297
13298 2006-01-29  Julien MOUTTE  <julien@moutte.net>
13299
13300         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13301         Set pad functions unconditionally. Fixes #329105.
13302
13303 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
13304         * win32/vs8:
13305           add vs8 project files created by Sergey Scobich
13306
13307 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
13308
13309         * gst/gstutils.c: (gst_element_unlink_pads):
13310         Don't leak pad references.
13311
13312         * tests/check/elements/fakesink.c: (GST_START_TEST):
13313         * tests/check/generic/sinks.c: (GST_START_TEST):
13314         * tests/check/generic/states.c: (GST_START_TEST):
13315         * tests/check/gst/gstbin.c: (GST_START_TEST):
13316         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13317         * tests/check/gst/gstelement.c: (GST_START_TEST):
13318         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13319         * tests/check/gst/gstiterator.c: (GST_START_TEST):
13320         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13321         Fix a bunch of leaks. Make generic/sinks.c
13322         use a bit less cpu by slowing the buffer rate
13323         between fakesrc and fakesink.
13324         
13325 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
13326         * gst/gstcaps.c:
13327         * gst/gstelement.c: (gst_element_send_event):
13328         * gst/gstevent.c:
13329         * gst/gstinfo.c:
13330         * gst/gstiterator.c:
13331         * gst/gstiterator.h:
13332         * gst/gstpad.c: (gst_pad_send_event):
13333         * gst/gststructure.c:
13334         * gst/gsturi.c:
13335         * gst/gstutils.c:
13336         * gst/gstvalue.c:
13337         * libs/gst/base/gstadapter.c:
13338           doc fixes, to link to function, just write gst_cool_function(), don't
13339           prefix with '#'
13340
13341 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
13342
13343         * plugins/elements/gsttee.c: (gst_tee_do_push),
13344         (gst_tee_handle_buffer):
13345         Always prefer an actual return value from a src
13346         pad in place of NOT_LINKED. This means we return
13347         WRONG_STATE when all src pads are WRONG_STATE
13348         instead of NOT_LINKED.
13349
13350         Lock when replacing the last message to prevent
13351         racing with the get_property method.
13352
13353         Add debug output
13354
13355 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
13356
13357         * tests/check/Makefile.am:
13358         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
13359         (main):
13360         Add a very simple check that should have caught the memleak I fixed
13361         last night (if not for the slice allocator hiding it)
13362
13363 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
13364
13365         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13366         (gst_bin_remove_func), (gst_bin_handle_message_func),
13367         (bin_query_duration_fold), (bin_query_generic_fold):
13368         Clean up references to the clock provider when disposed or when
13369         handling a clock-lost message from it.
13370
13371         Unref sinks when performing a query via gst_iterator_fold, as the
13372         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
13373
13374         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
13375         (gst_clock_set_master):
13376         Drop our reference to the master clock, if any, when we are disposed.
13377
13378         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
13379         Chain up in dispose. 
13380
13381 2006-01-26  Wim Taymans  <wim@fluendo.com>
13382
13383         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13384         Add some debugging.
13385
13386 2006-01-26  Julien MOUTTE  <julien@moutte.net>
13387
13388         * plugins/elements/gsttee.c: (gst_tee_do_push),
13389         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
13390         handles pad being NOT_LINKED or in WRONG_STATE.
13391
13392 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
13393
13394         * win32/MANIFEST:
13395           more updating
13396
13397 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
13398
13399         * win32/MANIFEST:
13400           remove obsolete entry
13401
13402 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
13403
13404         * docs/gst/gstreamer-sections.txt:
13405         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
13406         (gst_bin_iterate_sources), (gst_bin_send_event):
13407         * gst/gstbin.h:
13408         * gst/gstelement.c: (gst_element_send_event):
13409         * gst/gstevent.c:
13410         * gst/gstpad.c: (gst_pad_send_event):
13411           added code for downstream events, reviewed docs in gstevent.c
13412
13413 2006-01-25  Julien MOUTTE  <julien@moutte.net>
13414
13415         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13416         We only query position using the clock in the playing state.
13417         Query peer in the other cases.
13418         * win32/common/config.h: Updates.
13419
13420 2006-01-24  Wim Taymans  <wim@fluendo.com>
13421
13422         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13423         A clock entry that is scheduled for the exact time of the
13424         clock is still in time.
13425
13426         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13427         (gst_base_sink_do_sync):
13428         Add some more debug info.
13429
13430 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
13431
13432         * win32/vs7:
13433           Add new vs7 project files and solution.
13434
13435 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
13436
13437         * win32/vs7:
13438           all files removed as they were out-dated.
13439
13440 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13441
13442         * docs/random/release:
13443           update notes
13444         * gst/gstbin.c: (gst_bin_init):
13445         * gst/gstbus.c: (gst_bus_new):
13446         * gst/gstbus.h:
13447         * gst/gstpipeline.c: (gst_pipeline_init):
13448           use gst_bus_new(), improve logging, fix docs
13449         * win32/common/config.h:
13450           update for cvs build
13451
13452 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13453
13454         * autogen.sh:
13455           up required version of automake to 1.7
13456
13457 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
13458
13459         * win32/common/libgstreamer.def:
13460           export gst_buffer_is_metadata_writable
13461
13462 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
13463
13464         * docs/gst/gstreamer-sections.txt:
13465         * gst/gstevent.h:
13466           Add gst_event_replace() (#327001)
13467
13468 2006-01-20  Wim Taymans  <wim@fluendo.com>
13469
13470         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
13471         Make it actually compile too..
13472
13473 2006-01-20  Wim Taymans  <wim@fluendo.com>
13474
13475         * gst/gstcaps.c:
13476         Clarify behaviour of _is_equal() when passing NULL parameters.
13477
13478         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13479         (gst_pad_set_caps):
13480         Cleanups. Don't unref NULL caps.
13481         When setting the same caps, protect caps of the pad with
13482         proper lock.
13483         Use full functionality of _is_equal() when comparing caps.
13484
13485 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
13486
13487         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13488         Don't loop infinitely if there are no buffers to present. Partially
13489         fixes #327197, but collectpads is just broken for reusing elements
13490         to do multiple encodes atm.
13491
13492 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
13493
13494         * tools/gst-inspect.c: (print_element_features):
13495         * tools/gst-xmlinspect.c: (main):
13496         URL_HANDLER is not a plugin feature we can search for in
13497         the registry.
13498
13499 2006-01-19  Edward Hervey  <edward@fluendo.com>
13500
13501         * gst/gstelement.c: (gst_element_pads_activate): 
13502         When activating, do src pads first, then sink pads.
13503         When de-activating, do sink pads first, then src pads.
13504
13505 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13506
13507         * docs/gst/gstreamer-sections.txt:
13508         Add gst_index_add_associationv to the docs
13509
13510 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13511
13512         * gst/gstevent.c:
13513           Fix docs typo
13514
13515         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
13516         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
13517           Do some refactoring. Doesn't actually change functionality,
13518           but makes landing the DRAIN event easier later.
13519
13520 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
13521
13522         * docs/pwg/advanced-scheduling.xml:
13523           Update from 0.9.x to 0.10 API and make example a bit
13524           clearer.
13525
13526 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13527
13528         * docs/gst/gstreamer-sections.txt:
13529         Add gst_buffer_(is|make)_metadata_writable methods.
13530
13531 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13532
13533         * docs/design/part-sparsestreams.txt:
13534         Update sparse streams doc, hopefully for greater clarity
13535
13536 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
13537
13538         * docs/design/part-events.txt:
13539         Remove mention of FILLER events.
13540         Add DRAIN event.
13541
13542         * docs/design/part-sparsestreams.txt:
13543         Write some things about using NEWSEGMENT to keep sparse streams
13544         flowing.
13545
13546 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
13547
13548         * gst/gstbin.c: (gst_bin_dispose):
13549           Guard gst_object_unref call against a NULL object (dispose
13550           can theoretically be called multiple times).
13551           
13552 2006-01-18  Wim Taymans  <wim@fluendo.com>
13553
13554         * gst/gstbin.c: (gst_bin_element_set_state):
13555         * gst/gstclock.c: (gst_clock_id_wait):
13556         Added some more debug info.
13557
13558         * libs/gst/base/gstadapter.c:
13559         Added more docs.
13560
13561         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13562         (gst_base_sink_do_sync), (gst_base_sink_chain):
13563         Added some comments.
13564
13565 2006-01-18  Wim Taymans  <wim@fluendo.com>
13566
13567         * tests/check/Makefile.am:
13568         * tests/check/elements/fakesink.c: (chain_async_buffer),
13569         (chain_async), (chain_async_return), (GST_START_TEST),
13570         (fakesink_suite), (main):
13571         Added fakesink test that checks prerolling and clipping
13572         behaviour.
13573
13574         * tests/check/gst/gstutils.c: (GST_START_TEST):
13575         Make check run faster so that buildbots don't timeout.
13576
13577 2006-01-18  Wim Taymans  <wim@fluendo.com>
13578
13579         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13580         (gst_base_sink_do_sync):
13581         Some cleanups.
13582         When the sink finishes blocking on the preroll buffer, it can
13583         immediatly render it instead of rendering when the next buffer
13584         arrives.
13585
13586 2006-01-18  Wim Taymans  <wim@fluendo.com>
13587
13588         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
13589         (gst_base_sink_get_property), (gst_base_sink_do_sync),
13590         (gst_base_sink_chain):
13591         Small cleanups.
13592         GST_ELEMENT_CLOCK and sync are protected with LOCK.
13593         Don't store _last_stop if the buffer is dropped.
13594
13595 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
13596
13597         * plugins/elements/gsttypefindelement.c:
13598         (gst_type_find_element_class_init):
13599           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
13600           object method handler that sets the caps on the pad and we want
13601           that to happen before we emit the signal (fixes e.g. feeding a
13602           plain text file to decodebin).
13603
13604 2006-01-18  Christian Schaller  <Christian@fluendo.com>
13605
13606         * gst/gstplugin.c: Add MPL and Proprietary as license options
13607
13608 2006-01-18  Andy Wingo  <wingo@pobox.com>
13609
13610         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
13611         symbol was exported before, it appears this was just an oversight.
13612         Fixes #168703.
13613         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
13614
13615         * gst/gstindex.c (gst_index_add_associationv): Changed int in
13616         prototype to gint. OK since this prototype was not in the header.
13617
13618 2006-01-17  Andy Wingo  <wingo@pobox.com>
13619
13620         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
13621         registry while we remove plugins.
13622
13623         * tools/gst-inspect.c (print_element_info): Don't unref the
13624         factory arg, that should be the responsibility of whatever code
13625         received the ref. Fixes a double-free when called from
13626         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
13627         (main): Unref the factory if we have one.
13628         (print_element_list): No change -- relies on the
13629         plugin_feature_list_free to free the list of features.
13630
13631 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
13632
13633         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13634         (gst_buffer_make_metadata_writable):
13635         * gst/gstbuffer.h:
13636         * libs/gst/base/gstbasetransform.c:
13637         (gst_base_transform_prepare_output_buf):
13638         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13639         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13640           Replace gst_buffer_(make|is)_metadata_writable patch now
13641           that the release is out.
13642
13643 2006-01-17  Andy Wingo  <wingo@pobox.com>
13644
13645         * gst/gstregistry.c: Reflow design comment. Update so as to speak
13646         in the present tense without reference to versions.
13647
13648         * gst/gstregistry.c (gst_registry_add_plugin)
13649         (gst_registry_remove_plugin, gst_registry_remove_feature)
13650         (gst_registry_find_feature, gst_registry_get_feature_list)
13651         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
13652         (gst_registry_lookup, gst_registry_scan_path)
13653         (_gst_registry_remove_cache_plugins)
13654         (gst_registry_get_feature_list_by_plugin): Add argument
13655         validation.
13656
13657 === release 0.10.2 ===
13658
13659 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
13660
13661         * configure.ac:
13662           releasing 0.10.2, "If man is five"
13663
13664 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
13665
13666         * gst/gstbuffer.c:
13667         * gst/gstbuffer.h:
13668         * libs/gst/base/gstbasetransform.c:
13669         (gst_base_transform_prepare_output_buf):
13670         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13671         * tests/check/gst/gstbuffer.c: (gst_test_suite):
13672           Back out patch until after the release.
13673
13674 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
13675
13676         * gst/gstminiobject.c:
13677           Spelling fix in docs.
13678         * ChangeLog - remove conflict indicator
13679
13680 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
13681
13682         Reviewed By: Andy Wingo
13683
13684         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13685         (gst_buffer_make_metadata_writable):
13686         * gst/gstbuffer.h:
13687           Add gst_buffer_(is|make)_metadata_writable as analogues of
13688           gst_buffer_(is|make)_writable.
13689
13690         * libs/gst/base/gstbasetransform.c:
13691         (gst_base_transform_prepare_output_buf):
13692         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13693           Use name gst_buffer_(is|make)_metadata_writable functions.
13694
13695         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13696           Test gst_buffer_(is|make)_metadata_writable
13697         
13698           (Closes: #324162)
13699
13700 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
13701
13702         * docs/manual/Makefile.am:
13703           don't do parallel make
13704         * configure.ac:
13705           AC_SUBST HOST_CPU
13706         * win32/common/config.h.in:
13707           add generations for HOST_CPU and GST_MAJORMINOR
13708         * win32/common/config.h:
13709           commit generated result
13710
13711 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
13712
13713         * docs/manual/appendix-integration.xml:
13714           Update GNOME integration section to use gst_init_get_option_group()
13715           instead of the old popt stuff (#322911). Also, GNOME applications
13716           should  now use gconf*sink and gconf*src instead of the old gconf
13717           helper lib we had.
13718
13719 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
13720
13721
13722         * docs/gst/gstreamer-docs.sgml:
13723         * docs/gst/gstreamer-sections.txt:
13724         * docs/libs/gstreamer-libs-sections.txt:
13725           add new API entries to the docs
13726         * libs/gst/controller/Makefile.am:
13727         * libs/gst/controller/gstcontroller.c:
13728         * libs/gst/controller/gstcontroller.h:
13729         * libs/gst/controller/gstcontrollerprivate.h:
13730         * libs/gst/controller/gsthelper.c:
13731         * libs/gst/controller/gstinterpolation.c:
13732           move private structs to private header
13733         * po/README:
13734           gstreamer-0.7 -> gstreamer-0.10
13735         * tests/check/libs/struct_i386.h:
13736           remove private structs
13737
13738 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13739
13740         * plugins/indexers/Makefile.am:
13741           Fixes as part of #317048
13742
13743 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13744
13745         * plugins/indexers/Makefile.am:
13746           fix #316086 - compilation when mmap is missing
13747
13748 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
13749
13750         * libs/gst/base/gstbasesink.c:
13751           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
13752           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
13753         * win32/common/config.h:
13754           added some defines GST_MAJORMINOR and HOST_CPU
13755         * win32/common/libgstbase.def:
13756         * win32/common/libgstreamer.def:
13757           added some exported functions.
13758
13759 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
13760
13761         * libs/gst/controller/gstcontroller.c:
13762         (gst_controlled_property_set_interpolation_mode),
13763         (gst_controlled_property_new):
13764         * libs/gst/controller/gstcontroller.h:
13765         * libs/gst/controller/gstinterpolation.c:
13766         (interpolate_none_get_string_value_array):
13767           make G_TYPE_STRING controlable
13768
13769 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
13770
13771         * tools/README:
13772         * tools/gst-feedback.1.in:
13773         * tools/gst-inspect.1.in:
13774         * tools/gst-launch.1.in:
13775         * tools/gst-md5sum.1.in:
13776         * tools/gst-typefind.1.in:
13777         * tools/gst-xmlinspect.1.in:
13778         * tools/gst-xmllaunch.1.in:
13779           cleanup man-pages, remove reference to gst-register, document env-vars
13780
13781 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
13782
13783         * gst/gstbuffer.c: (gst_buffer_span):
13784           gst_buffer_span should copy the timestamp of the first buffer
13785           if they were both originally overlapping subbuffers of the 
13786           same parent, using the same logic as the 'slow copy' case.
13787
13788 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
13789
13790         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
13791           Need to awaken ALL the pads when we pop a buffer, otherwise
13792           collectpads only works when there is 2 input streams.
13793
13794 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
13795
13796         * docs/random/ensonic/media-device-daemon.txt:
13797           more ideas (dbus)
13798         * gst/gstbuffer.c:
13799           fix doc example, add clarification
13800         * tools/gst-launch.1.in:
13801           add initial info about GST_PLUGIN_PATH, needs more work
13802
13803 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
13804
13805         * docs/manual/basics-bins.xml:
13806         * docs/manual/basics-elements.xml:
13807         * docs/manual/intro-basics.xml:
13808           Some more minor docs additions and updates.
13809
13810 2006-01-11  Wim Taymans  <wim@fluendo.com>
13811
13812         * docs/manual/basics-bins.xml:
13813         * docs/manual/basics-elements.xml:
13814         Some small fixes as pointed out by Ser-ver on IRC.
13815
13816 2006-01-10  Edward Hervey  <edward@fluendo.com>
13817
13818         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13819         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
13820         the single-segment mode.
13821
13822 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
13823
13824         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13825
13826         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
13827         (gst_base_src_perform_seek), (gst_base_src_send_event),
13828         (gst_base_src_set_property), (gst_base_src_get_property),
13829         (gst_base_src_loop), (gst_base_src_start),
13830         (gst_base_src_activate_push):
13831         * libs/gst/base/gstbasesrc.h:
13832           Name (private) union; makes Sun's Forte compiler happy (#324900).
13833
13834 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
13835
13836         * README:
13837           gst-register is gone.
13838
13839 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
13840
13841         * gst/gstvalue.c: (_gst_value_initialize):
13842           make the G_TYPE_DATE instantiation work if debug is disabled
13843
13844 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
13845
13846         * gst/gstmessage.c: (gst_message_parse_tag),
13847         (gst_message_parse_error), (gst_message_parse_warning):
13848           Don't crash when return location for error/warning debug
13849           string is NULL; add fact that return locations can be
13850           NULL to docs where appropriate.
13851
13852 2006-01-05  Wim Taymans  <wim@fluendo.com>
13853
13854         * gst/gstplugin.c: (gst_plugin_load_file):
13855         Replace strdup by g_strdup.
13856
13857 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13858
13859         * docs/pwg/advanced-types.xml:
13860           fix doc borkage
13861
13862 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13863
13864         submitted by: Abel Cheung
13865
13866         * po/LINGUAS:
13867         * po/zh_TW.po:
13868           Added Chinese (traditional) translation
13869
13870 2006-01-04  Wim Taymans  <wim@fluendo.com>
13871
13872         * docs/manual/basics-pads.xml:
13873         * docs/plugins/Makefile.am:
13874         * docs/plugins/gstreamer-plugins-docs.sgml:
13875         * docs/plugins/gstreamer-plugins-sections.txt:
13876         * docs/pwg/advanced-clock.xml:
13877         * docs/pwg/advanced-scheduling.xml:
13878         * docs/pwg/advanced-types.xml:
13879         * plugins/elements/gstfdsink.c:
13880         * plugins/elements/gstfdsrc.c:
13881         * plugins/elements/gstfdsrc.h:
13882         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13883         * plugins/elements/gstidentity.h:
13884         * plugins/elements/gstqueue.h:
13885         * plugins/elements/gsttee.c:
13886         * plugins/elements/gsttee.h:
13887         * plugins/elements/gsttypefindelement.c:
13888         (gst_type_find_element_class_init):
13889         * plugins/elements/gsttypefindelement.h:
13890         Small updates to various docs.
13891         Added core plugins to docs.
13892
13893 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13894
13895         * common/gst.supp:
13896           add a suppression for liboil's uninitialized variable
13897
13898 2006-01-02  James Livingston  <jrl at ids dot org dot au>
13899
13900         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13901
13902         * gst/gstutils.h:
13903           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
13904           macro, so that gcc doesn't complain if the -Wmissing-prototypes
13905           compiler switch is being used (#325429).
13906
13907 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
13908
13909         * gst/gstbin.c: (gst_bin_query):
13910           Disable duration query caching in bins until it gets
13911           fixed (see #324807).
13912
13913 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
13914
13915         * tools/gst-inspect.c: (print_element_properties_info):
13916           Handle properties of POINTER and BOXED type.
13917
13918 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
13919
13920         * gst/gst.c: (init_post):
13921           Init tags stuff and some other things before loading
13922           any static plugins (there may be other static plugins
13923           than just the GStreamer ones, and they may want to
13924           register their own tags or formats or whatever, and
13925           preferably without segfaulting).
13926
13927         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
13928           Print at least a warning in the debug logs if we drop a
13929           query just because we don't know how to adjust the value
13930           in the particular format.
13931
13932 2005-12-24  David Schleef  <ds@schleef.org>
13933
13934         * tools/gstreamer-completion:
13935           Replacement for gst-complete written in sh and sed.  Only
13936           completes names of features, but that's 90% of what I want
13937           it for.  Properties are not available in registry.xml.  (Maybe
13938           they should be...)
13939
13940 === release 0.10.1 ===
13941
13942 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
13943
13944         * configure.ac:
13945           releasing 0.10.1, "Nollaig chridheil"
13946
13947 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
13948
13949         * docs/faq/cvs.xml:
13950           Add missing quote, should be make ERROR_CFLAGS="".
13951
13952 2005-12-20  Wim Taymans  <wim@fluendo.com>
13953
13954         * docs/design/part-trickmodes.txt:
13955         More documentation on trickmodes.
13956
13957 2005-12-20  Edward Hervey  <edward@fluendo.com>
13958
13959         * gst/gstcaps.c: (gst_static_caps_get_type):
13960         * gst/gstcaps.h:
13961           API addition: GST_TYPE_STATIC_CAPS
13962         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
13963         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
13964         * gst/gstpadtemplate.h:
13965           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
13966         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
13967         bindings.
13968
13969 2005-12-18  Wim Taymans  <wim@fluendo.com>
13970
13971         * libs/gst/base/gstadapter.c:
13972         * libs/gst/base/gstadapter.h:
13973         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13974         (gst_base_sink_get_position):
13975         * libs/gst/base/gstbasesink.h:
13976         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13977         (gst_base_src_default_query), (gst_base_src_default_do_seek),
13978         (gst_base_src_do_seek), (gst_base_src_perform_seek),
13979         (gst_base_src_send_event), (gst_base_src_update_length),
13980         (gst_base_src_get_range), (gst_base_src_loop),
13981         (gst_base_src_start):
13982         * libs/gst/base/gstbasesrc.h:
13983         * libs/gst/base/gstbasetransform.h:
13984         * libs/gst/base/gstcollectpads.h:
13985         * libs/gst/base/gstpushsrc.c:
13986         * libs/gst/base/gstpushsrc.h:
13987         * libs/gst/dataprotocol/dataprotocol.c:
13988         * libs/gst/dataprotocol/dataprotocol.h:
13989         * libs/gst/net/gstnetclientclock.h:
13990         * libs/gst/net/gstnettimeprovider.h:
13991         Documentation updates.
13992
13993 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
13994
13995         * docs/manual/basics-helloworld.xml:
13996           Remove superfluous closing bracket in helloworld example.
13997
13998 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
13999
14000         * tools/gst-launch.1.in:
14001           Update gst-launch man page; add a section with useful
14002           environment variables. Fixes #323882.
14003
14004 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
14005
14006         * gst/gst.c:
14007         * gst/gst_private.h:
14008           change some char* into char[]
14009
14010 2005-12-16  Wim Taymans  <wim@fluendo.com>
14011
14012         * gst/gstregistryxml.c: (load_feature):
14013         Cleanups.
14014         Don't use g_object_unref on GstObjects so that we avoid
14015         leaks on unsafe glibs.
14016
14017 2005-12-16  Wim Taymans  <wim@fluendo.com>
14018
14019         * gst/gstbin.c: (gst_bin_recalc_state):
14020         Small doc updates.
14021
14022 2005-12-16  Wim Taymans  <wim@fluendo.com>
14023
14024         * common/check.mak:
14025         Added make forever target for check.
14026
14027 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14028
14029         * gst/gst.c: (init_post):
14030           make the registry cache file HOST_CPU-dependent
14031
14032 2005-12-16  Andy Wingo  <wingo@pobox.com>
14033
14034         * plugins/elements/gstbufferstore.c
14035         (gst_buffer_store_cleared_func): Pay attention to g_list_append
14036         return value.
14037
14038         * tests/check/gst/gstobject.c
14039         (test_fake_object_name_threaded_unique): Pay attention to
14040         g_list_sort return value.
14041
14042 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
14043
14044         * tools/gst-feedback-m.m:
14045           Update for 0.9/0.10 (fixes #323870).
14046
14047 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
14048
14049         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
14050           Fix lcopy for mini objects, the mini object needs to be ref'ed.
14051           
14052         * tests/check/gst/gstminiobject.c: (my_foo_init),
14053         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
14054         (test_value_collection), (gst_mini_object_suite):
14055           Add test to ensure refcounts end up as expected when passing
14056           GstMiniObjects through g_object_get() and g_object_set().
14057
14058 2005-12-14  Julien MOUTTE  <julien@moutte.net>
14059
14060         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14061         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
14062         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
14063         of collectpads. This version removes a lot of races without
14064         touching API/ABI. Yay !
14065
14066 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
14067
14068         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
14069           Don't allow activation of a srcpad in pull_range if it has no
14070           getrange function.
14071           Change some debug statements to be a little clearer
14072
14073         * plugins/elements/gsttypefindelement.c:
14074         (gst_type_find_handle_src_query):
14075           Check that we have a peer before executing queries thereupon.
14076
14077         * tests/examples/metadata/read-metadata.c: (message_loop):
14078           Use gst_bus_pop instead of gst_bus_poll when we just want it to
14079           immediately return us any available message with 0 timeout.
14080
14081 2005-12-12  Michael Smith  <msmith@fluendo.com>
14082
14083         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
14084           Don't unref factories after calling them.
14085         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
14086         * plugins/elements/gsttypefindelement.c:
14087         (gst_type_find_element_chain):
14088           Free lists of factories after using them. Fixing typefinding memory
14089           leaks.
14090
14091 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14092
14093         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14094         (gst_plugin_feature_load):
14095           more meaningful debug output
14096         * configure.ac:
14097         * tests/Makefile.am:
14098         * tests/old/examples/Makefile.am:
14099           make make distcheck happy again
14100
14101 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
14102
14103         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14104           Catch the special case where we are operating chain-based,
14105           but the downstream peer pad has no chain function. Emit a
14106           custom error message in this case instead of letting the
14107           core generate one implying that this is some sort of core
14108           bug. It's not, it just means that whatever got plugged
14109           into the pipeline downstream when we announced the type
14110           can only operate pull-based, while our source can only
14111           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
14112           Error string has not been marked for translation yet, as
14113           it probably needs some more work first.
14114
14115         (gst_type_find_element_get_best_possibility):
14116           Add helper function to find the best of all available
14117           found possibilities that qualify given the min. threshold.
14118
14119         (gst_type_find_element_handle_event):
14120           Fix the case where we get an EOS while still in TYPEFIND
14121           mode (we want to chose the best of all possible types,
14122           not just the first type that happens to be in our unsorted
14123           list of possible types).
14124
14125         (gst_type_find_element_chain):
14126           Make sure we return GST_FLOW_ERROR when we errored out
14127           in stop_typefinding(); also, don't just find the best of
14128           all found type entries and then use the last examined
14129           type entry, but actually use the best entry.
14130
14131 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
14132
14133         * tests/examples/typefind/typefind.c: (type_found):
14134         * tests/examples/xml/runxml.c: (xml_loaded):
14135           More gcc4 fixes and a mem leak fix.
14136
14137 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14138
14139         * tests/examples/xml/createxml.c: (object_saved):
14140           gcc 4 fixes
14141
14142 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14143
14144         * tests/Makefile.am:
14145           enable the examples even more
14146
14147 2005-12-12  Andy Wingo  <wingo@pobox.com>
14148
14149         * libs/gst/net/gstnettimeprovider.c
14150         (gst_net_time_provider_class_init, gst_net_time_provider_init)
14151         (gst_net_time_provider_set_property)
14152         (gst_net_time_provider_get_property):
14153         API addition: Export "active" as a GObject property.
14154         (gst_net_time_provider_thread): Only respond to time queries if
14155         the time provider is active.
14156
14157         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
14158         NetTimeProvider, preserving binary compat.
14159
14160 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14161
14162         * tests/examples/controller/audio-example.c: (main):
14163         * tests/examples/launch/Makefile.am:
14164           convert comments again
14165
14166 2005-12-12  Wim Taymans  <wim@fluendo.com>
14167
14168         * libs/gst/base/gstpushsrc.c:
14169         Fix typo.
14170
14171 2005-12-12  Wim Taymans  <wim@fluendo.com>
14172
14173         * docs/libs/gstreamer-libs-sections.txt:
14174         Added new symbol to docs.
14175
14176         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14177         (gst_base_src_init), (gst_base_src_set_format),
14178         (gst_base_src_default_query), (gst_base_src_query),
14179         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
14180         (gst_base_src_perform_seek), (gst_base_src_send_event),
14181         (gst_base_src_default_event), (gst_base_src_event_handler),
14182         (gst_base_src_set_property), (gst_base_src_get_property),
14183         (gst_base_src_wait), (gst_base_src_do_sync),
14184         (gst_base_src_update_length), (gst_base_src_get_range),
14185         (gst_base_src_check_get_range), (gst_base_src_loop),
14186         (gst_base_src_default_negotiate), (gst_base_src_start),
14187         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14188         (gst_base_src_change_state):
14189         * libs/gst/base/gstbasesrc.h:
14190         Implement seeking to other formats than _BYTES.
14191         Implement more seeking methods correctly.
14192         Doc updates.
14193         Added query vmethod.
14194         Added do_seek vmethod to make life easier for subclasses
14195         when seeking.
14196         API addition: gst_base_src_set_format()
14197
14198 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14199
14200         * tests/examples/Makefile.am:
14201           added that too
14202
14203 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14204
14205         * configure.ac:
14206         * docs/random/ensonic/media-device-daemon.txt:
14207         * tests/examples/controller/.cvsignore:
14208         * tests/examples/controller/Makefile.am:
14209         * tests/examples/controller/audio-example.c: (main):
14210         * tests/examples/helloworld/.cvsignore:
14211         * tests/examples/helloworld/Makefile.am:
14212         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
14213         * tests/examples/launch/.cvsignore:
14214         * tests/examples/launch/Makefile.am:
14215         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
14216         * tests/examples/metadata/.cvsignore:
14217         * tests/examples/metadata/Makefile.am:
14218         * tests/examples/metadata/read-metadata.c: (message_loop),
14219         (make_pipeline), (print_tag), (main):
14220         * tests/examples/queue/.cvsignore:
14221         * tests/examples/queue/Makefile.am:
14222         * tests/examples/queue/queue.c: (event_loop), (main):
14223         * tests/examples/typefind/.cvsignore:
14224         * tests/examples/typefind/Makefile.am:
14225         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
14226         (main):
14227         * tests/examples/xml/.cvsignore:
14228         * tests/examples/xml/Makefile.am:
14229         * tests/examples/xml/createxml.c: (object_saved), (main):
14230         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
14231         * tests/old/examples/Makefile.am:
14232         * tests/old/examples/TODO:
14233         * tests/old/examples/controller/.cvsignore:
14234         * tests/old/examples/controller/Makefile.am:
14235         * tests/old/examples/controller/audio-example.c:
14236         * tests/old/examples/helloworld/.cvsignore:
14237         * tests/old/examples/helloworld/Makefile.am:
14238         * tests/old/examples/helloworld/helloworld.c:
14239         * tests/old/examples/launch/.cvsignore:
14240         * tests/old/examples/launch/Makefile.am:
14241         * tests/old/examples/launch/mp3parselaunch.c:
14242         * tests/old/examples/launch/mp3play:
14243         * tests/old/examples/manual/Makefile.am:
14244         * tests/old/examples/metadata/Makefile.am:
14245         * tests/old/examples/metadata/read-metadata.c:
14246         * tests/old/examples/queue/.cvsignore:
14247         * tests/old/examples/queue/Makefile.am:
14248         * tests/old/examples/queue/queue.c:
14249         * tests/old/examples/typefind/.cvsignore:
14250         * tests/old/examples/typefind/Makefile.am:
14251         * tests/old/examples/typefind/typefind.c:
14252         * tests/old/examples/xml/.cvsignore:
14253         * tests/old/examples/xml/Makefile.am:
14254         * tests/old/examples/xml/createxml.c:
14255         * tests/old/examples/xml/runxml.c:
14256           applied some simple fixing to some examples
14257           re-enabled the working examples
14258
14259 2005-12-12  Wim Taymans  <wim@fluendo.com>
14260
14261         * gst/gstsegment.c: (gst_segment_init),
14262         (gst_segment_set_last_stop), (gst_segment_set_seek),
14263         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14264         (gst_segment_to_running_time):
14265         Added more documentation.
14266         Make sure the last_pos value is updated properly.
14267         Make sure to_stream_time and to_running_time don't
14268         operate on wrong values.
14269
14270         * tests/check/gst/gstsegment.c: (GST_START_TEST):
14271         Update check.
14272
14273 2005-12-12  Michael Smith  <msmith@fluendo.com>
14274
14275         * plugins/elements/gsttypefindelement.c: (free_entry),
14276         (gst_type_find_element_chain):
14277           Now that we're not leaking factories, make sure we keep references
14278           to them while we need them.
14279
14280 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14281
14282         * tests/check/gst/struct_i386.h:
14283           ifdef out the XML structs
14284
14285 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14286
14287         * gst/gstvalue.c: (gst_value_transform_double_fraction):
14288           floor is not needed, F is always positive; this obviates the
14289           need for adding -lm when building without libxml
14290
14291 2005-12-12  Wim Taymans  <wim@fluendo.com>
14292
14293         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14294         Take current playback rate into account when reporting
14295         the position.
14296
14297 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14298
14299         * docs/manual/mime-world.fig:
14300           Let's try this again, this time with a file that is
14301           actually in XFig format.
14302
14303 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14304
14305         * docs/manual/mime-world.fig:
14306           Add audioconvert element to diagram so that it
14307           matches the text and the code (fixes #319526).
14308
14309 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14310
14311         * docs/pwg/building-chainfn.xml:
14312         * docs/pwg/building-pads.xml:
14313         * docs/pwg/building-state.xml:
14314         * docs/pwg/other-source.xml:
14315           Update state change stuff for 0.10 (fixes #322969).
14316
14317 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14318
14319         * docs/manual/advanced-dataaccess.xml:
14320         * docs/manual/appendix-checklist.xml:
14321         * docs/manual/appendix-programs.xml:
14322         * docs/manual/basics-pads.xml:
14323         * docs/manual/highlevel-components.xml:
14324         * docs/manual/manual.xml:
14325           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
14326           add converters in front of pipelines; remove curly
14327           brackets for threads stuff, they no longer exist; use
14328           GST_TYPE_FRACTION for framerates; update some pieces of
14329           code to 0.10, but there's plenty more to do.
14330
14331         * docs/manual/appendix-porting.xml:
14332           Expand on asynchroneous state changes; s/0.9/0.10/;
14333           mention disappearance of gst_init_get_popt_table()
14334           (fixes #322916).
14335
14336 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14337
14338         * docs/faq/using.xml:
14339           Spider no longer exists, and neither does gst-launch-ext.
14340           Update examples to use decodebin and playbin and put
14341           converters in front of sinks (fixes #323726).
14342
14343 2005-12-09  Michael Smith  <msmith@fluendo.com>
14344
14345         * plugins/elements/gsttypefindelement.c: (find_peek),
14346         (gst_type_find_element_chain):
14347           Fix leaking element factories in typefinding.
14348           Fix problem where we forgot about a probable type on non-seekable
14349           files, and thus later mis-typefound it.
14350
14351 2005-12-09  Michael Smith  <msmith@fluendo.com>
14352
14353         * common/m4/gst-makecontext.m4:
14354         * common/m4/gst-mcsc.m4:
14355         * configure.ac:
14356         * win32/common/config.h:
14357         * win32/common/config.h.in:
14358           Remove makecontext stuff; not used in 0.10 and causes problems on
14359           HPUX according to bug #322441
14360
14361 2005-12-07  Wim Taymans  <wim@fluendo.com>
14362
14363         * tests/check/Makefile.am:
14364         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
14365         (main):
14366         * tests/check/libs/struct_i386.h:
14367         Added ABI check for libs
14368
14369 2005-12-07  Wim Taymans  <wim@fluendo.com>
14370
14371         * tests/check/Makefile.am:
14372         And add the struct_i386.h to dist.
14373
14374 2005-12-07  Wim Taymans  <wim@fluendo.com>
14375
14376         * tests/check/Makefile.am:
14377         * tests/check/gst/.cvsignore:
14378         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
14379         (main):
14380         * tests/check/gst/struct_i386.h:
14381         Added check for ABI compatibility.
14382
14383 2005-12-07  Wim Taymans  <wim@fluendo.com>
14384
14385         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14386         (gst_fake_src_get_times), (gst_fake_src_create):
14387         Fix broken sync option, fixes #323259
14388
14389 2005-12-07  Wim Taymans  <wim@fluendo.com>
14390
14391         * gst/gstbuffer.c:
14392         Small docs update.
14393
14394         * gst/gstcaps.c: (gst_caps_is_equal):
14395         Don't assert on NULL <--> X. Fixes #323260
14396
14397         * gst/gstminiobject.c: (gst_mini_object_replace):
14398         If we're doing atomic operations, we might just as well use
14399         the proper way to get an atomic pointer.
14400
14401         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14402         Clean up debugging.
14403
14404 2005-12-07  Michael Smith  <msmith@fluendo.com>
14405
14406         * gst/parse/grammar.y:
14407           Remove handling of { } for threads.
14408
14409 2005-12-06  David Schleef  <ds@schleef.org>
14410
14411         * libs/gst/base/gstbasetransform.c: speling fix.
14412
14413 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14414
14415         * docs/libs/tmpl/gstdataprotocol.sgml:
14416         * docs/random/omega/testing/gstobject.c:
14417         * gst/gst.c:
14418         * gst/gstclock.c:
14419         * gst/gstelement.c:
14420         * gst/gstelementfactory.c:
14421         * gst/gsterror.c:
14422         * gst/gstevent.c:
14423         * gst/gstghostpad.c:
14424         * gst/gstinfo.c:
14425         * gst/gstpadtemplate.c:
14426         * gst/gstregistryxml.c:
14427         * gst/gsttaglist.c:
14428         * gst/gsttagsetter.c:
14429         * gst/gsttypefind.c:
14430         * gst/gstvalue.c:
14431         * libs/gst/base/gstbasesrc.c:
14432         * libs/gst/net/gstnetclientclock.c:
14433         * libs/gst/net/gstnettimeprovider.c:
14434         * plugins/elements/gstfakesrc.c:
14435         * plugins/elements/gstfdsrc.c:
14436         * plugins/elements/gstfilesrc.c:
14437         * plugins/elements/gstidentity.c:
14438         * plugins/elements/gstqueue.c:
14439         * plugins/elements/gsttypefindelement.c:
14440         * plugins/indexers/gstfileindex.c:
14441         * plugins/indexers/gstmemindex.c:
14442         * tests/check/gst/gsttag.c:
14443         * tests/old/examples/cutter/cutter.c:
14444         * tests/old/examples/mixer/mixer.c:
14445         * tests/old/examples/xml/runxml.c: (main):
14446         * tests/old/testsuite/caps/normalisation.c:
14447         * tests/old/testsuite/debug/global.c:
14448         * tests/old/testsuite/parse/parse1.c:
14449         * tools/gst-xmlinspect.c:
14450         * win32/common/dirent.c:
14451           expand tabs
14452
14453 === release 0.10.0 ===
14454
14455 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14456
14457         * configure.ac:
14458           releasing 0.10.0, "Maroilles"
14459
14460 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14461
14462         submitted by: Funda Wang <fundawang@linux.net.cn>
14463
14464         * po/LINGUAS:
14465         * po/zh_CN.po:
14466           added Chinese (Traditional) translation
14467
14468 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14469
14470         * docs/gst/gstreamer-sections.txt:
14471         * docs/libs/tmpl/gstdataprotocol.sgml:
14472         * docs/random/thomasvs/TODO:
14473         * gst/gstutils.c:
14474         * gst/gstutils.h:
14475           fix docs
14476
14477 2005-12-05  Andy Wingo  <wingo@pobox.com>
14478
14479         patch by: Wim Taymans <wim@fluendo.com>
14480
14481         * libs/gst/base/gstbasetransform.c
14482         (gst_base_transform_prepare_output_buf)
14483         (gst_base_transform_buffer_alloc):
14484         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
14485         alloc_buffer_and_set_caps.
14486
14487         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
14488         set_caps on the source pad.
14489         (gst_pad_alloc_buffer_and_set_caps): New function, does what
14490         alloc_buffer used to do. Fixes #322874.
14491
14492         * docs/gst/gstreamer-sections.txt: 
14493         * docs/design/part-negotiation.txt: 
14494         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
14495         changes.
14496
14497 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14498
14499         patch by: Sebastien Moutte
14500
14501         * win32/MANIFEST:
14502         * win32/common/config.h.in:
14503         * win32/vs6/libgstcontroller.dsp:
14504           win32 build fixes
14505
14506 2005-12-05  Wim Taymans  <wim@fluendo.com>
14507
14508         * gst/gstcaps.c: (gst_caps_is_equal):
14509         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14510         (gst_fake_src_create):
14511         Back out previous code changes, leave doc updates, file bugs 
14512         instead. 
14513
14514 2005-12-05  Wim Taymans  <wim@fluendo.com>
14515
14516         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14517         (gst_fake_src_get_times), (gst_fake_src_create):
14518         * plugins/elements/gstfakesrc.h:
14519         Fix broken sync code.
14520
14521 2005-12-05  Wim Taymans  <wim@fluendo.com>
14522
14523         * gst/gstcaps.c: (gst_caps_is_equal):
14524         Comparing NULL against !NULL yields different caps, not a
14525         failure.
14526
14527 2005-12-05  Wim Taymans  <wim@fluendo.com>
14528
14529         * gst/gstpipeline.c:
14530         Fix small typo in docs.
14531
14532 2005-12-05  Andy Wingo  <wingo@pobox.com>
14533
14534         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
14535
14536         * gst/gst.c (init_post): remove hard-coded 0.9 location for
14537         registries/plugins with a MAJORMINOR one.
14538         (plugin_desc): Rename library from gstcoreleements to
14539         staticelements. Fixes #323222.
14540
14541 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
14542
14543         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
14544           Change debug category to 'collectpads' from 'collect_pads'
14545           (fixes #323250).
14546
14547 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
14548
14549         patch by: Sebastien Moutte
14550
14551         * libs/gst/controller/gstinterpolation.c:
14552           use convert function for uint64/double
14553         * win32/vs6/libgstcontroller.dsp:
14554           link to GLib
14555
14556 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
14557
14558         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
14559         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
14560         * gst/gstutils.h:
14561         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14562           add tests that seem to show that the guint64/gdouble conversions
14563           are correct.
14564
14565 2005-12-02  Wim Taymans  <wim@fluendo.com>
14566
14567         * gst/gstregistry.c: (gst_registry_add_path):
14568         * gst/gstregistry.h:
14569         * gst/gstregistryxml.c:
14570         Fix docs again.
14571
14572 2005-12-02  Wim Taymans  <wim@fluendo.com>
14573
14574         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14575         (gst_util_uint64_scale_int):
14576         Small cleanup.
14577
14578         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14579         Add debug log line.
14580
14581         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
14582         Add FIXME.
14583
14584 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14585
14586         * win32/MANIFEST:
14587         * win32/common/config.h:
14588         * win32/vs6/gstreamer.dsw:
14589         * win32/vs6/libgstcoreelements.dsp:
14590         * win32/vs6/libgstelements.dsp:
14591           renamed core elements plugin
14592
14593 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14594
14595         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
14596         (get_candidates):
14597           do piece-wise major/minor comparison so 0.9 < 0.10
14598           also allow .exe extensions for tools
14599
14600 2005-12-02  Michael Smith  <msmith@fluendo.com>
14601
14602         * gst/gst.c:
14603           Escape a % to make gtkdoc happier; bug 322958.
14604
14605 === release 0.9.7 ===
14606
14607 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14608
14609         * configure.ac:
14610           releasing 0.9.7, "My Dog Has No Nose"
14611
14612 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14613
14614         * common/gst-xmlinspect.py:
14615         * configure.ac:
14616         * docs/libs/tmpl/gstdataprotocol.sgml:
14617         * docs/random/release:
14618         * po/af.po:
14619         * po/az.po:
14620         * po/bg.po:
14621         * po/ca.po:
14622         * po/cs.po:
14623         * po/de.po:
14624         * po/en_GB.po:
14625         * po/fr.po:
14626         * po/it.po:
14627         * po/nb.po:
14628         * po/nl.po:
14629         * po/ru.po:
14630         * po/sq.po:
14631         * po/sr.po:
14632         * po/sv.po:
14633         * po/tr.po:
14634         * po/uk.po:
14635         * po/vi.po:
14636         * win32/common/config.h:
14637         * win32/common/config.h.in:
14638         * win32/vs6/gst_inspect.dsp:
14639         * win32/vs6/gst_launch.dsp:
14640         * win32/vs6/libgstbase.dsp:
14641         * win32/vs6/libgstelements.dsp:
14642         * win32/vs6/libgstreamer.dsp:
14643         * win32/vs7/GStreamer.vcproj:
14644         * win32/vs7/gst-inspect.vcproj:
14645         * win32/vs7/gst-launch.vcproj:
14646         * win32/vs7/libgstbase.vcproj:
14647           bump GST_MAJORMINOR to 0.10
14648           reset libtool version
14649
14650 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14651
14652         * po/LINGUAS:
14653         * po/bg.po:
14654           Added Bulgarian translation by (Alexander Shopov)
14655
14656 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14657
14658         * tests/check/gst/gstplugin.c:
14659           fix test
14660
14661 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14662
14663         * common/gst-xmlinspect.py:
14664         * common/gtk-doc-plugins.mak:
14665         * configure.ac:
14666         * docs/Makefile.am:
14667         * docs/gst/Makefile.am:
14668         * docs/gst/gstreamer-docs.sgml:
14669         * docs/gst/gstreamer-sections.txt:
14670         * docs/gst/gstreamer.types:
14671         * docs/gst/gstreamer.types.in:
14672         * docs/plugins/Makefile.am:
14673         * docs/plugins/gstreamer-plugins-docs.sgml:
14674         * docs/plugins/gstreamer-plugins-sections.txt:
14675         * docs/plugins/gstreamer-plugins.types:
14676         * docs/plugins/inspect.stamp:
14677         * docs/plugins/inspect/plugin-coreelements.xml:
14678         * docs/plugins/inspect/plugin-coreindexers.xml:
14679         * docs/plugins/scanobj-build.stamp:
14680         * gstreamer.spec.in:
14681         * plugins/elements/Makefile.am:
14682         * plugins/elements/gstelements.c:
14683         * plugins/elements/gstfakesink.c:
14684         * plugins/elements/gstfakesrc.c:
14685         * plugins/elements/gstfilesink.c:
14686         * plugins/elements/gstfilesrc.c:
14687         * plugins/elements/gstqueue.c:
14688         * plugins/indexers/Makefile.am:
14689         * plugins/indexers/gstindexers.c:
14690           document core plugins in a separate document just like all the
14691           others
14692           rename these plugins to something starting with core
14693
14694 2005-12-01  Andy Wingo  <wingo@pobox.com>
14695
14696         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
14697         padding here before, but it missed the commit.
14698
14699 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14700
14701         * libs/gst/controller/gstinterpolation.c:
14702           whitespace prices have crashed, we should feel free to use some now
14703           use gst_guint64_to_gdouble
14704
14705 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14706
14707         * libs/gst/controller/gstcontroller.c:
14708         * libs/gst/controller/gsthelper.c:
14709         * libs/gst/controller/gstinterpolation.c:
14710         * libs/gst/controller/lib.c:
14711           wrap config.h include
14712
14713 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14714
14715         * docs/gst/gstreamer-sections.txt:
14716           update docs
14717
14718 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14719
14720         * plugins/elements/gstelements.c:
14721         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
14722         (gst_fd_sink__class_init), (gst_fd_sink__init),
14723         (gst_fd_sink__chain), (gst_fd_sink__set_property),
14724         (gst_fd_sink__get_property):
14725         * plugins/elements/gstfdsink.h:
14726         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
14727         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
14728         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
14729         (gst_fd_src_unlock), (gst_fd_src_set_property),
14730         (gst_fd_src_get_property), (gst_fd_src_create),
14731         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
14732         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
14733         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
14734         (gst_fd_src_uri_handler_init):
14735         * plugins/elements/gstfdsrc.h:
14736         * plugins/elements/gstqueue.c: (gst_queue_get_type):
14737           more anal cleanup
14738
14739 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14740
14741         * docs/gst/Makefile.am:
14742         * docs/gst/gstreamer.types.in:
14743         * gst/Makefile.am:
14744           fix the docs build
14745
14746 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14747
14748         * configure.ac:
14749         * gst/Makefile.am:
14750         * gst/gst.c:
14751         * gst/gstplugin.h:
14752         * gst/gstregistry.h:
14753         * tests/benchmarks/complexity.c:
14754         * tests/benchmarks/mass-elements.c:
14755         * tests/check/Makefile.am:
14756         * tools/Makefile.am:
14757         * tools/gst-inspect.c:
14758         * tools/gst-xmlinspect.c:
14759           various fixes to make
14760           --disable-nls --disable-registry --disable-loadsave
14761           --disable-parse --disable-gst-debug
14762           work and get the core .so down to 360444 bytes after stripping
14763
14764 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14765
14766         * Makefile.am:
14767         * configure.ac:
14768           descend into tests
14769         * docs/random/thomasvs/TODO:
14770         * tests/Makefile.am:
14771         * tests/README:
14772           add a README
14773
14774 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14775
14776         * win32/GStreamer.vcproj:
14777         * win32/MANIFEST:
14778         * win32/Makefile:
14779         * win32/Makefile.inspect:
14780         * win32/Makefile.launch:
14781         * win32/Makefile.register:
14782         * win32/README.txt:
14783         * win32/gst-inspect.vcproj:
14784         * win32/gst-launch.vcproj:
14785         * win32/gst-register.vcproj:
14786         * win32/gstelements.vcproj:
14787         * win32/gstgetbits.def:
14788         * win32/gstgetbits.vcproj:
14789         * win32/gstreamer-dbg.def:
14790         * win32/gstreamer.def:
14791         * win32/libgstbase.def:
14792         * win32/libgstbase.vcproj:
14793         * win32/link_oldruntime.c:
14794         * win32/mman.c:
14795         * win32/mman.h:
14796         * win32/mman.inl:
14797         * win32/msvc71.sln:
14798           move even more stuff, win32/ is nice and clean now
14799
14800 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14801
14802         * libs/gst/control/.cvsignore:
14803         * win32/MANIFEST:
14804         * win32/config.h:
14805         * win32/dirent.c:
14806         * win32/dirent.h:
14807         * win32/gstbytestream.def:
14808         * win32/gstbytestream.vcproj:
14809         * win32/gstconfig.h:
14810         * win32/gstenumtypes.c:
14811         * win32/gstenumtypes.h:
14812         * win32/gstoptimalscheduler.vcproj:
14813         * win32/gstversion.h:
14814         * win32/gtchar.h:
14815         * win32/testsuite/bins.vcproj:
14816         * win32/testsuite/bytestream.vcproj:
14817         * win32/testsuite/caps.vcproj:
14818         * win32/testsuite/cleanup.vcproj:
14819         * win32/testsuite/clock.vcproj:
14820         * win32/testsuite/debug.vcproj:
14821         * win32/testsuite/dlopen.vcproj:
14822         * win32/testsuite/dynparams.vcproj:
14823         * win32/testsuite/elements.vcproj:
14824         * win32/testsuite/ghostpads.vcproj:
14825         * win32/testsuite/indexers.vcproj:
14826         * win32/testsuite/negotiation.vcproj:
14827         * win32/testsuite/parse.vcproj:
14828         * win32/testsuite/plugin.vcproj:
14829         * win32/testsuite/refcounting.vcproj:
14830         * win32/testsuite/schedulers.vcproj:
14831         * win32/testsuite/states.vcproj:
14832         * win32/testsuite/tags.vcproj:
14833         * win32/testsuite/threads.vcproj:
14834           remove old win32 stuff that isn't maintained and should be
14835           reorganized
14836
14837 2005-11-30  Andy Wingo  <wingo@pobox.com>
14838
14839         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
14840         loading the gst.interfaces python module bork.
14841
14842         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
14843         available since GLib 2.2. Fixes #318031.
14844
14845 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14846
14847         * Makefile.am:
14848         * check/.cvsignore:
14849         * check/Makefile.am:
14850         * check/elements/.cvsignore:
14851         * check/elements/fakesrc.c:
14852         * check/elements/fdsrc.c:
14853         * check/elements/identity.c:
14854         * check/generic/.cvsignore:
14855         * check/generic/states.c:
14856         * check/gst-libs/.cvsignore:
14857         * check/gst-libs/controller.c:
14858         * check/gst-libs/gdp.c:
14859         * check/gst/.cvsignore:
14860         * check/gst/capslist.h:
14861         * check/gst/gst.c:
14862         * check/gst/gstbin.c:
14863         * check/gst/gstbuffer.c:
14864         * check/gst/gstbus.c:
14865         * check/gst/gstcaps.c:
14866         * check/gst/gstelement.c:
14867         * check/gst/gstevent.c:
14868         * check/gst/gstghostpad.c:
14869         * check/gst/gstiterator.c:
14870         * check/gst/gstmessage.c:
14871         * check/gst/gstminiobject.c:
14872         * check/gst/gstobject.c:
14873         * check/gst/gstpad.c:
14874         * check/gst/gstpipeline.c:
14875         * check/gst/gstplugin.c:
14876         * check/gst/gstsegment.c:
14877         * check/gst/gststructure.c:
14878         * check/gst/gstsystemclock.c:
14879         * check/gst/gsttag.c:
14880         * check/gst/gstutils.c:
14881         * check/gst/gstvalue.c:
14882         * check/net/.cvsignore:
14883         * check/net/gstnetclientclock.c:
14884         * check/net/gstnettimeprovider.c:
14885         * check/pipelines/.cvsignore:
14886         * check/pipelines/cleanup.c:
14887         * check/pipelines/simple_launch_lines.c:
14888         * check/pipelines/stress.c:
14889         * check/states/.cvsignore:
14890         * check/states/sinks.c:
14891         * configure.ac:
14892         * examples/Makefile.am:
14893         * examples/appreader/.cvsignore:
14894         * examples/appreader/Makefile.am:
14895         * examples/appreader/appreader.c:
14896         * examples/controller/.cvsignore:
14897         * examples/controller/Makefile.am:
14898         * examples/controller/audio-example.c:
14899         * examples/cutter/.cvsignore:
14900         * examples/cutter/Makefile.am:
14901         * examples/cutter/cutter.c:
14902         * examples/cutter/cutter.h:
14903         * examples/events/Makefile.am:
14904         * examples/events/seek.c:
14905         * examples/helloworld/.cvsignore:
14906         * examples/helloworld/Makefile.am:
14907         * examples/helloworld/helloworld.c:
14908         * examples/helloworld2/.cvsignore:
14909         * examples/helloworld2/Makefile.am:
14910         * examples/helloworld2/helloworld2.c:
14911         * examples/launch/.cvsignore:
14912         * examples/launch/Makefile.am:
14913         * examples/launch/mp3parselaunch.c:
14914         * examples/launch/mp3play:
14915         * examples/manual/.cvsignore:
14916         * examples/manual/Makefile.am:
14917         * examples/manual/extract.pl:
14918         * examples/metadata/Makefile.am:
14919         * examples/metadata/read-metadata.c:
14920         * examples/mixer/.cvsignore:
14921         * examples/mixer/Makefile.am:
14922         * examples/mixer/mixer.c:
14923         * examples/mixer/mixer.h:
14924         * examples/pingpong/.cvsignore:
14925         * examples/pingpong/Makefile.am:
14926         * examples/pingpong/pingpong.c:
14927         * examples/plugins/.cvsignore:
14928         * examples/plugins/Makefile.am:
14929         * examples/plugins/example.c:
14930         * examples/plugins/example.h:
14931         * examples/pwg/.cvsignore:
14932         * examples/pwg/Makefile.am:
14933         * examples/pwg/extract.pl:
14934         * examples/queue/.cvsignore:
14935         * examples/queue/Makefile.am:
14936         * examples/queue/queue.c:
14937         * examples/queue2/.cvsignore:
14938         * examples/queue2/Makefile.am:
14939         * examples/queue2/queue2.c:
14940         * examples/queue3/.cvsignore:
14941         * examples/queue3/Makefile.am:
14942         * examples/queue3/queue3.c:
14943         * examples/queue4/.cvsignore:
14944         * examples/queue4/Makefile.am:
14945         * examples/queue4/queue4.c:
14946         * examples/retag/.cvsignore:
14947         * examples/retag/Makefile.am:
14948         * examples/retag/retag.c:
14949         * examples/retag/transcode.c:
14950         * examples/thread/.cvsignore:
14951         * examples/thread/Makefile.am:
14952         * examples/thread/thread.c:
14953         * examples/typefind/.cvsignore:
14954         * examples/typefind/Makefile.am:
14955         * examples/typefind/typefind.c:
14956         * examples/xml/.cvsignore:
14957         * examples/xml/Makefile.am:
14958         * examples/xml/createxml.c:
14959         * examples/xml/runxml.c:
14960         * tests/Makefile.am:
14961         * tests/check/Makefile.am:
14962         * testsuite/.cvsignore:
14963         * testsuite/Makefile.am:
14964         * testsuite/Rules:
14965         * testsuite/caps/.cvsignore:
14966         * testsuite/caps/Makefile.am:
14967         * testsuite/caps/app_fixate.c:
14968         * testsuite/caps/audioscale.c:
14969         * testsuite/caps/caps.c:
14970         * testsuite/caps/caps.h:
14971         * testsuite/caps/caps_strings:
14972         * testsuite/caps/compatibility.c:
14973         * testsuite/caps/deserialize.c:
14974         * testsuite/caps/enumcaps.c:
14975         * testsuite/caps/eratosthenes.c:
14976         * testsuite/caps/filtercaps.c:
14977         * testsuite/caps/fixed.c:
14978         * testsuite/caps/fraction-convert.c:
14979         * testsuite/caps/fraction-multiply-and-zero.c:
14980         * testsuite/caps/intersect2.c:
14981         * testsuite/caps/intersection.c:
14982         * testsuite/caps/normalisation.c:
14983         * testsuite/caps/random.c:
14984         * testsuite/caps/renegotiate.c:
14985         * testsuite/caps/sets.c:
14986         * testsuite/caps/simplify.c:
14987         * testsuite/caps/string-conversions.c:
14988         * testsuite/caps/structure.c:
14989         * testsuite/caps/subtract.c:
14990         * testsuite/caps/union.c:
14991         * testsuite/debug/.cvsignore:
14992         * testsuite/debug/Makefile.am:
14993         * testsuite/debug/category.c:
14994         * testsuite/debug/commandline.c:
14995         * testsuite/debug/global.c:
14996         * testsuite/debug/output.c:
14997         * testsuite/debug/printf_extension.c:
14998         * testsuite/dlopen/.cvsignore:
14999         * testsuite/dlopen/Makefile.am:
15000         * testsuite/dlopen/dlopen_gst.c:
15001         * testsuite/dlopen/loadgst.c:
15002         * testsuite/elements/.cvsignore:
15003         * testsuite/elements/Makefile.am:
15004         * testsuite/elements/gst-inspect-check.in:
15005         * testsuite/elements/struct_i386.h:
15006         * testsuite/elements/struct_size.c:
15007         * testsuite/indexers/.cvsignore:
15008         * testsuite/indexers/Makefile.am:
15009         * testsuite/indexers/cache1.c:
15010         * testsuite/indexers/indexdump.c:
15011         * testsuite/parse/.cvsignore:
15012         * testsuite/parse/Makefile.am:
15013         * testsuite/parse/parse1.c:
15014         * testsuite/parse/parse2.c:
15015         * testsuite/plugin/.cvsignore:
15016         * testsuite/plugin/Makefile.am:
15017         * testsuite/plugin/README:
15018         * testsuite/plugin/dynamic.c:
15019         * testsuite/plugin/linked.c:
15020         * testsuite/plugin/loading.c:
15021         * testsuite/plugin/registry.c:
15022         * testsuite/plugin/static.c:
15023         * testsuite/plugin/static2.c:
15024         * testsuite/plugin/testplugin.c:
15025         * testsuite/plugin/testplugin2.c:
15026         * testsuite/plugin/testplugin2_s.c:
15027         * testsuite/plugin/testplugin_s.c:
15028         * testsuite/refcounting/.cvsignore:
15029         * testsuite/refcounting/Makefile.am:
15030         * testsuite/refcounting/bin.c:
15031         * testsuite/refcounting/element.c:
15032         * testsuite/refcounting/element_pad.c:
15033         * testsuite/refcounting/mainloop.c:
15034         * testsuite/refcounting/mem.c:
15035         * testsuite/refcounting/mem.h:
15036         * testsuite/refcounting/object.c:
15037         * testsuite/refcounting/pad.c:
15038         * testsuite/refcounting/sched.c:
15039         * testsuite/refcounting/thread.c:
15040         * testsuite/states/.cvsignore:
15041         * testsuite/states/Makefile.am:
15042         * testsuite/states/bin.c:
15043         * testsuite/states/locked.c:
15044         * testsuite/states/parent.c:
15045         * testsuite/threads/.cvsignore:
15046         * testsuite/threads/159566.c:
15047         * testsuite/threads/159852.c:
15048         * testsuite/threads/Makefile.am:
15049         * testsuite/threads/queue.c:
15050         * testsuite/threads/signals.c:
15051         * testsuite/threads/staticrec.c:
15052         * testsuite/threads/thread.c:
15053         * testsuite/threads/threadb.c:
15054         * testsuite/threads/threadc.c:
15055         * testsuite/threads/threadd.c:
15056         * testsuite/threads/threade.c:
15057         * testsuite/threads/threadf.c:
15058         * testsuite/threads/threadg.c:
15059         * testsuite/threads/threadh.c:
15060         * testsuite/threads/threadi.c:
15061           move all of these under tests
15062
15063 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15064
15065         * configure.ac:
15066         * tests/Makefile.am:
15067           fix distcheck
15068
15069 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15070
15071         * docs/gst/gstreamer-sections.txt:
15072         * tests/sched/.cvsignore:
15073         * tests/sched/Makefile.am:
15074         * tests/sched/cases/(fs-fs).xml:
15075         * tests/sched/cases/(fs-i-fs).xml:
15076         * tests/sched/cases/(fs-i-i-fs).xml:
15077         * tests/sched/cases/(fs-i-q[i-fs]).xml:
15078         * tests/sched/dynamic-pipeline.c:
15079         * tests/sched/interrupt1.c:
15080         * tests/sched/interrupt2.c:
15081         * tests/sched/interrupt3.c:
15082         * tests/sched/runtestcases:
15083         * tests/sched/runxml.c:
15084         * tests/sched/sched-stress.c:
15085         * tests/sched/sort.c:
15086         * tests/sched/testcases:
15087         * tests/sched/testcases1.tc:
15088         * tests/seeking/.cvsignore:
15089         * tests/seeking/Makefile.am:
15090         * tests/seeking/seeking1.c:
15091         * tests/threadstate/.cvsignore:
15092         * tests/threadstate/Makefile.am:
15093         * tests/threadstate/test1.c:
15094         * tests/threadstate/test2.c:
15095         * tests/threadstate/threadstate1.c:
15096         * tests/threadstate/threadstate2.c:
15097         * tests/threadstate/threadstate3.c:
15098         * tests/threadstate/threadstate4.c:
15099         * tests/threadstate/threadstate5.c:
15100           remove obsolete tests
15101         * configure.ac:
15102         * tests/bench-complexity.scm:
15103         * tests/bench-mass_elements.scm:
15104         * tests/complexity.c:
15105         * tests/complexity.gnuplot:
15106         * tests/instantiate/.cvsignore:
15107         * tests/instantiate/Makefile.am:
15108         * tests/instantiate/caps.c:
15109         * tests/mass_elements.c:
15110         * tests/network-clock-utils.scm:
15111         * tests/network-clock.scm:
15112         * tests/plot-data:
15113         First pass at cleaning up tests/ dir before moving the rest
15114         Combined with CVS surgery
15115
15116 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15117
15118         * po/POTFILES.in:
15119           queue has moved, update
15120
15121 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15122
15123         * docs/gst/gstreamer-sections.txt:
15124           remove double entries from the docs
15125         * gst/gst_private.h:
15126         * gst/gstinfo.c: (_gst_debug_init):
15127           remove the THREAD debug category
15128         * gst/Makefile.am:
15129         * gst/gstqueue.c:
15130         * gst/gstqueue.h:
15131         * docs/gst/gstreamer.types:
15132         * plugins/elements/gstqueue.c: (gst_queue_get_type),
15133         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
15134           completely move queue and fix up debugging categories
15135
15136 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15137
15138         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15139           make initialization portable, using LL is not
15140
15141 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15142
15143         * win32/common/gstconfig.h:
15144           add large padding
15145
15146 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15147
15148         * win32/common/libgstreamer.def:
15149           rename symbols; sort base section
15150
15151 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15152
15153         * gst/gstclock.c: (do_linear_regression):
15154           remove crack non-portable handrolled DEBUG macro
15155
15156 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15157
15158         * docs/random/release:
15159           update notes
15160         * win32/common/gstenumtypes.c: (register_gst_object_flags),
15161         (gst_object_flags_get_type), (register_gst_bin_flags),
15162         (gst_bin_flags_get_type), (register_gst_buffer_flag),
15163         (gst_buffer_flag_get_type), (register_gst_bus_flags),
15164         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15165         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
15166         (gst_caps_flags_get_type), (register_gst_clock_return),
15167         (gst_clock_return_get_type), (register_gst_clock_entry_type),
15168         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15169         (gst_clock_flags_get_type), (register_gst_state),
15170         (gst_state_get_type), (register_gst_state_change_return),
15171         (gst_state_change_return_get_type), (register_gst_state_change),
15172         (gst_state_change_get_type), (register_gst_element_flags),
15173         (gst_element_flags_get_type), (register_gst_core_error),
15174         (gst_core_error_get_type), (register_gst_library_error),
15175         (gst_library_error_get_type), (register_gst_resource_error),
15176         (gst_resource_error_get_type), (register_gst_stream_error),
15177         (gst_stream_error_get_type), (register_gst_event_type_flags),
15178         (gst_event_type_flags_get_type), (register_gst_event_type),
15179         (gst_event_type_get_type), (register_gst_seek_type),
15180         (gst_seek_type_get_type), (register_gst_seek_flags),
15181         (gst_seek_flags_get_type), (register_gst_format),
15182         (gst_format_get_type), (register_gst_index_certainty),
15183         (gst_index_certainty_get_type), (register_gst_index_entry_type),
15184         (gst_index_entry_type_get_type),
15185         (register_gst_index_lookup_method),
15186         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15187         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15188         (gst_index_resolver_method_get_type), (register_gst_index_flags),
15189         (gst_index_flags_get_type), (register_gst_debug_level),
15190         (gst_debug_level_get_type), (register_gst_debug_color_flags),
15191         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15192         (gst_iterator_result_get_type), (register_gst_iterator_item),
15193         (gst_iterator_item_get_type), (register_gst_message_type),
15194         (gst_message_type_get_type), (register_gst_mini_object_flags),
15195         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15196         (gst_pad_link_return_get_type), (register_gst_flow_return),
15197         (gst_flow_return_get_type), (register_gst_activate_mode),
15198         (gst_activate_mode_get_type), (register_gst_pad_direction),
15199         (gst_pad_direction_get_type), (register_gst_pad_flags),
15200         (gst_pad_flags_get_type), (register_gst_pad_presence),
15201         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15202         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15203         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15204         (gst_plugin_error_get_type), (register_gst_plugin_flags),
15205         (gst_plugin_flags_get_type), (register_gst_rank),
15206         (gst_rank_get_type), (register_gst_query_type),
15207         (gst_query_type_get_type), (register_gst_tag_merge_mode),
15208         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15209         (gst_tag_flag_get_type), (register_gst_task_state),
15210         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15211         (gst_alloc_trace_flags_get_type),
15212         (register_gst_type_find_probability),
15213         (gst_type_find_probability_get_type), (register_gst_uri_type),
15214         (gst_uri_type_get_type), (register_gst_parse_error),
15215         (gst_parse_error_get_type):
15216         * win32/common/gstenumtypes.h:
15217         * win32/common/gstversion.h:
15218           update visual studio generated files
15219
15220 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15221
15222         * win32/vs6/libgstbase.dsp:
15223         * win32/vs6/libgstelements.dsp:
15224           update project files for new locations
15225
15226 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15227
15228         * Makefile.am:
15229           remove some files
15230         * README:
15231           reinstate and update
15232         * DEVEL:
15233         * REQUIREMENTS:
15234           removed
15235         * LICENSE:
15236         * docs/random/LICENSE:
15237           moved to random
15238
15239 2005-11-30  Edward Hervey  <edward@fluendo.com>
15240
15241         * gst/gsttypefind.c: (gst_type_find_register):
15242         * gst/gsttypefind.h:
15243         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
15244         (gst_type_find_factory_dispose):
15245         * gst/gsttypefindfactory.h:
15246         Fix memory leak in GstTypeFindFactory.
15247
15248 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15249
15250         * gst/gst.c:
15251         * plugins/elements/Makefile.am:
15252         * plugins/elements/gstelements.c:
15253         * plugins/elements/gstqueue.c:
15254           move queue from core to the elements plugin
15255
15256 2005-11-29  Andy Wingo  <wingo@pobox.com>
15257
15258         * libs/gst/base/gstbasetransform.h: 
15259         * libs/gst/base/gstbasesrc.h: 
15260         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
15261
15262         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
15263         of pointers by which to pad very extensible base classes (like the
15264         ones in libs/gst/base).
15265
15266 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15267
15268         * docs/gst/gstreamer-docs.sgml:
15269         * docs/gst/gstreamer-sections.txt:
15270         * docs/libs/gstreamer-libs-docs.sgml:
15271         * docs/libs/gstreamer-libs-sections.txt:
15272           moving documentation from core to lib
15273
15274 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15275
15276         * check/Makefile.am:
15277         * configure.ac:
15278         * docs/gst/Makefile.am:
15279         * gst/Makefile.am:
15280         * gst/base/.cvsignore:
15281         * gst/base/Makefile.am:
15282         * gst/base/README:
15283         * gst/base/gstadapter.c:
15284         * gst/base/gstadapter.h:
15285         * gst/base/gstbasesink.c:
15286         * gst/base/gstbasesink.h:
15287         * gst/base/gstbasesrc.c:
15288         * gst/base/gstbasesrc.h:
15289         * gst/base/gstbasetransform.c:
15290         * gst/base/gstbasetransform.h:
15291         * gst/base/gstcollectpads.c:
15292         * gst/base/gstcollectpads.h:
15293         * gst/base/gstpushsrc.c:
15294         * gst/base/gstpushsrc.h:
15295         * gst/base/gsttypefindhelper.c:
15296         * gst/base/gsttypefindhelper.h:
15297         * gst/check/Makefile.am:
15298         * gst/check/gstcheck.c:
15299         * gst/check/gstcheck.h:
15300         * gst/net/Makefile.am:
15301         * gst/net/gstnet.h:
15302         * gst/net/gstnetclientclock.c:
15303         * gst/net/gstnetclientclock.h:
15304         * gst/net/gstnettimepacket.c:
15305         * gst/net/gstnettimepacket.h:
15306         * gst/net/gstnettimeprovider.c:
15307         * gst/net/gstnettimeprovider.h:
15308         * libs/gst/Makefile.am:
15309         * libs/gst/base/Makefile.am:
15310         * libs/gst/base/gstbasetransform.c:
15311         * libs/gst/check/Makefile.am:
15312         * plugins/elements/Makefile.am:
15313         * po/POTFILES.in:
15314           CVS surgery + support to move base, check, and net out of gst
15315           and into libs/gst
15316
15317 2005-11-29  Andy Wingo  <wingo@pobox.com>
15318
15319         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
15320
15321         * gst/gststructure.h (struct _GstStructure): Only one pointer of
15322         padding.
15323
15324         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
15325
15326         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
15327
15328         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
15329
15330         * gst/gstobject.h: (struct _GstObject): Only one pointer of
15331         padding; reduces object size by about 30%. We don't expect
15332         anything else to go into gstobject.
15333
15334         * gst/gstminiobject.h (struct _GstMiniObject)
15335         (struct _GstMiniObjectClass): Only one pointer of padding; the
15336         payload is only a pointer and two ints anyway. For the class there
15337         are only two methods as well.
15338         
15339         * gst/gstelement.h (struct _GstElementClass): Removed
15340         the state_changed signal callback, it is not used.
15341
15342 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15343
15344         * docs/gst/gstreamer.types:
15345           fix includes, though they are a little dinky
15346
15347 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15348
15349         * check/Makefile.am:
15350           look in the right place for elements, a lot more chance of
15351           success
15352         * gst/Makefile.am:
15353           remove indexers and elements subdirs
15354         * plugins/Makefile.am:
15355           make indexers conditional
15356
15357 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15358
15359         * Makefile.am:
15360         * configure.ac:
15361         * plugins/elements/Makefile.am:
15362         * plugins/elements/gstcapsfilter.c:
15363         * plugins/elements/gstfilesink.c:
15364         * plugins/elements/gstfilesrc.c:
15365         * plugins/elements/gstidentity.c:
15366         * plugins/indexers/Makefile.am:
15367           do CVS surgery and related build fixery to move elements
15368           and indexers in a new gstreamer/plugins directory, out of the
15369           gst/ directory
15370
15371 2005-11-29  Andy Wingo  <wingo@pobox.com>
15372
15373         * check/Makefile.am:
15374         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15375         * pkgconfig/gstreamer-net.pc.in:
15376         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
15377         #322257.
15378
15379 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15380
15381         * tools/Makefile.am:
15382         * tools/gst-complete.1.in:
15383         * tools/gst-complete.c:
15384         * tools/gst-compprep.1.in:
15385         * tools/gst-compprep.c:
15386           removing -compprep and -complete
15387
15388 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15389
15390         * gst/gstevent.c: (gst_event_new_new_segment),
15391         (gst_event_parse_new_segment):
15392         * gst/gstevent.h:
15393           fix #320529 - clean up new_segment API and structure.
15394           Let's hope everyone was using the methods, and not the structure.
15395
15396 2005-11-29  Edward Hervey  <edward@fluendo.com>
15397
15398         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15399         (gst_base_sink_event), (gst_base_sink_do_sync),
15400         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15401         Properly handle non GST_FORMAT_TIME segment
15402         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15403         Properly handle non GST_FORMAT_TIME segment
15404         * gst/gstsegment.c:
15405         This function is valid if the accumulator is 0 and the format
15406         is different from the requested format.
15407         
15408 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
15409
15410         * docs/gst/gstreamer-sections.txt:
15411         Add gst_query_new_seeking and gst_query_parse_seeking to the
15412         docs.
15413
15414 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
15415
15416         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15417           Treat a pad alloc with new caps the same as if we were not
15418           negotiated, in order to allow a changing upstream output
15419           to produce a new format of data.
15420
15421 2005-11-29  Edward Hervey  <edward@fluendo.com>
15422
15423         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15424         (gst_base_transform_event), (gst_base_transform_eventfunc):
15425         The event virtual method is now properly implemented, with a default
15426         handler
15427         Sub classes should call the parent_class event method. They should
15428         return FALSE if they had a problem handling the given event, or don't
15429         want GstBaseTransform to send that even downstream
15430         * gst/elements/gstidentity.c: (gst_identity_class_init),
15431         (gst_identity_init), (gst_identity_event),
15432         (gst_identity_transform_ip), (gst_identity_set_property),
15433         (gst_identity_get_property):
15434         * gst/elements/gstidentity.h:
15435         Added the single-segment boolean property.
15436         If set to TRUE, it will output a single segment of data, starting from
15437         0, will eat up all incoming newsegment, and modify the timestamp of the
15438         buffers accordingly
15439
15440 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
15441
15442         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
15443           Don't ref NULL target pad (#322751). Improve docs.
15444
15445 2005-11-29  Michael Smith  <msmith@fluendo.com>
15446
15447         * gst/gstregistryxml.c: (load_plugin):
15448           Don't crash if we failed to load a feature from a plugin. 
15449
15450 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15451
15452         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
15453         (GST_START_TEST):
15454           use more check API and less GLib API
15455
15456 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15457
15458         * Makefile.am:
15459           don't run checks if we don't have check
15460         * common/check.mak:
15461           remove the registry when running make torture
15462         * docs/gst/gstreamer-sections.txt:
15463           remove second multiply
15464         * gst/gstqueue.c: (gst_queue_loop):
15465           fix a compile warning when disabling debug
15466
15467 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
15468
15469         * gst/gstinfo.h:
15470         Hey! Let's print the pad name if the pointer != NULL instead
15471         of when it == NULL :-)
15472
15473 2005-11-28  Wim Taymans  <wim@fluendo.com>
15474
15475         * check/gst/gstutils.c: (GST_START_TEST):
15476         Updated check, add some scaling accuracy checking code.
15477
15478         * gst/gstutils.c: (gst_util_div128_64),
15479         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
15480         (gst_util_uint64_scale_int):
15481         Fix 6 times faster division code. Optimize for common 
15482         1/1 and less common X/1 cases.
15483
15484 2005-11-28  Wim Taymans  <wim@fluendo.com>
15485
15486         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15487         More checks.
15488
15489         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
15490         (do_linear_regression), (gst_clock_add_observation):
15491         Cleanups.
15492         Release lock when the clock cannot be slaved.
15493         Catch the case where the regression returned an invalid denominator.
15494
15495         * gst/gstutils.c: (gst_util_div128_64_iterate),
15496         (gst_util_div128_64), (gst_util_uint64_scale_int64),
15497         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15498         Add protentially more performant non-iterative 128/64 divide function
15499         that unfortunatly does not work yet.
15500         Shortcut the trivial 0/X = 0 case.
15501         Remove the warnings on overflow.
15502
15503 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15504
15505         * gst/gstplugin.c: (gst_plugin_register_func):
15506           everything causing a plugin not to load should be at least a WARNING
15507
15508 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
15509
15510         * docs/random/ensonic/dparams.txt:
15511           some TODOs for the next dev cycle
15512         * libs/gst/controller/gstcontroller.c:
15513         (gst_controlled_property_set_interpolation_mode),
15514         (gst_controlled_property_new):
15515         * libs/gst/controller/gstcontroller.h:
15516           use base type to assign acccessor functions
15517
15518 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
15519
15520         * check/Makefile.am:
15521         Oops, that should have been top_srcdir
15522
15523 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
15524
15525         * check/Makefile.am:
15526         * check/elements/fdsrc.c: (GST_START_TEST):
15527         Use a cmdline define to specify the location of a file to use for
15528         testing, to avoid breaking distcheck.
15529
15530 2005-11-28  Andy Wingo  <wingo@pobox.com>
15531
15532         * gst/gstpad.c (fixate_value): Use array functions for arrays.
15533
15534 2005-11-28  Edward Hervey  <edward@fluendo.com>
15535
15536         * tools/gst-launch.c: (main):
15537         Clarify the output strings, makes it easier to translate.
15538         Fixes #322626
15539
15540 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15541
15542         * gst/Makefile.am:
15543           don't try and build net if we don't even have <sys/socket.h>
15544
15545 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
15546
15547         * check/Makefile.am:
15548         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
15549         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
15550           Add tests for fdsrc seekability
15551
15552         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15553         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
15554         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
15555         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
15556         * gst/elements/gstfdsrc.h:
15557           fdsrc should not be a 'live' source.
15558           Implement seeking on seekable fd's.
15559
15560         * gst/gstquery.c: (gst_query_new_seeking),
15561         (gst_query_parse_seeking):
15562         * gst/gstquery.h:
15563           Implement SEEKING query functions: 
15564             *_new_seeking and *_parse_seeking
15565
15566 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
15567
15568         * gst/gstelement.c: (gst_element_dispose):
15569           don't loop forever
15570
15571         * gst/gstiterator.c:
15572         * gst/gststructure.c:
15573           doc fixes
15574
15575         * libs/gst/controller/gstcontroller.c:
15576         (gst_controlled_property_set_interpolation_mode):
15577         * libs/gst/controller/gstcontroller.h:
15578         * libs/gst/controller/gstinterpolation.c:
15579         (interpolate_none_get_enum_value_array):
15580           support controlling enums
15581
15582 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
15583
15584         * gst/gstvalue.c:
15585           Improve documentation for gst_value_union().
15586
15587         * gst/gstvalue.h:
15588           Change return value for union, intersect and subtract functions
15589           from gint to gboolean.
15590
15591 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
15592
15593         * gst/gstvalue.c: (gst_value_serialize_any_list),
15594         (gst_value_transform_any_list_string),
15595         (gst_value_deserialize_list), (gst_value_deserialize_array),
15596         (gst_value_set_int_range), (gst_value_deserialize_int_range),
15597         (gst_value_set_double_range), (gst_value_deserialize_double_range),
15598         (gst_value_set_fraction_range_full),
15599         (gst_value_deserialize_fraction_range),
15600         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
15601         (gst_value_deserialize_boolean),
15602         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
15603         (gst_value_serialize_float), (gst_value_deserialize_float),
15604         (gst_string_wrap), (gst_value_deserialize_string),
15605         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
15606         (gst_value_union_int_range_int_range),
15607         (gst_value_intersect_int_range_int_range),
15608         (gst_value_intersect_double_range_double_range),
15609         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
15610         (gst_value_subtract_int_range_int_range),
15611         (gst_value_subtract_double_double_range),
15612         (gst_value_subtract_double_range_double_range),
15613         (gst_value_deserialize_fraction):
15614         * gst/gstvalue.h:
15615           Use gint, gdouble and gchar in our API instead of int, double and
15616           char (and make usage in gstvalue.c more consistent).
15617
15618 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15619
15620         * check/Makefile.am:
15621         * libs/gst/controller/Makefile.am:
15622         * libs/gst/dataprotocol/Makefile.am:
15623           fix up Makefile.am and remove GST_ENABLE_NEW
15624
15625 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15626
15627         * configure.ac:
15628         * gst/Makefile.am:
15629         * gst/base/Makefile.am:
15630         * gst/check/Makefile.am:
15631         * gst/elements/Makefile.am:
15632         * gst/net/Makefile.am:
15633           update LDFLAGS use some more
15634
15635 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15636
15637         * common/m4/gst-doc.m4:
15638           Fixes #312589
15639
15640 2005-11-26  Edward Hervey  <edward@fluendo.com>
15641
15642         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15643         This shouldn't issue a g_warning since it returns NULL if it
15644         couldn't find the plugin, and all functions using this behave
15645         properly on a NULL return. Switching to a GST_WARNING.
15646
15647 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
15648
15649         * gst/gstbin.c: (gst_bin_handle_message_func):
15650         Don't leak clock messages.
15651
15652 2005-11-25  Wim Taymans  <wim@fluendo.com>
15653
15654         * gst/gstutils.c: (gst_util_uint64_scale_int64),
15655         (gst_util_uint64_scale_int):
15656         Optimisations, remove unneeded vars.
15657
15658 2005-11-25  Wim Taymans  <wim@fluendo.com>
15659
15660         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15661         Added more checks for the high precision uint64 cases.
15662
15663         * gst/gstutils.c: (gst_util_uint64_scale_int64),
15664         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15665         Implement high precision (guint64 * guint64) / guint64.
15666
15667 2005-11-24  Wim Taymans  <wim@fluendo.com>
15668
15669         * gst/base/gstbasesrc.c: (gst_base_src_query):
15670         Fix wrong percentage query.
15671
15672         * gst/gstutils.c: (gst_util_uint64_scale),
15673         (gst_util_uint64_scale_int):
15674         Add some more common cases that can be handled 
15675         efficiently to _scale.
15676
15677 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15678
15679         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
15680         (gst_mini_object_suite):
15681           don't use check calls from threads; check probably isn't
15682           threadsafe and using a lock to make it threadsafe would
15683           defeat the purpose of this check
15684         * gst/check/gstcheck.c:
15685         * gst/check/gstcheck.h:
15686           use GST_DEBUG some more
15687
15688 2005-11-24  Wim Taymans  <wim@fluendo.com>
15689
15690         * gst/gstutils.c: (gst_util_uint64_scale),
15691         (gst_util_uint64_scale_int):
15692         Chain trivial case to _scale_int.
15693
15694 2005-11-24  Wim Taymans  <wim@fluendo.com>
15695
15696         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15697         Added test for scaling.
15698
15699         * gst/gstclock.h:
15700         Small doc fix.
15701
15702         * gst/gstutils.c: (gst_util_uint64_scale_int):
15703         Implemented high precision scaling code.
15704
15705 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
15706
15707         * gst/gstinfo.h:
15708           do not crash on pad==NULL
15709
15710 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15711
15712         Patch by: Stefan Kost
15713
15714         * common/gtk-doc.mak:
15715         * docs/gst/Makefile.am:
15716         * docs/libs/Makefile.am:
15717           Fix distcheck issues for the libraries docs build
15718           Closes #319599.
15719
15720 2005-11-24  Michael Smith <msmith@fluendo.com>
15721
15722         * docs/manual/basics-helloworld.xml:
15723           Fix bug #315027: memory leak in example code in docs.
15724
15725 2005-11-24  Michael Smith <msmith@fluendo.com>
15726
15727         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15728           Unlock the PREROLL_LOCK in a failure case.
15729
15730 2005-11-24  Wim Taymans  <wim@fluendo.com>
15731
15732         * docs/gst/gstreamer-sections.txt:
15733         * gst/base/gstadapter.h:
15734         * gst/base/gstbasesink.h:
15735         * gst/base/gstbasesrc.h:
15736         * gst/base/gstbasetransform.h:
15737         * gst/base/gstpushsrc.h:
15738         * gst/elements/gstfakesink.h:
15739         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
15740         * gst/elements/gstfakesrc.h:
15741         * gst/elements/gstfilesink.h:
15742         * gst/elements/gstfilesrc.h:
15743         * gst/gst.c:
15744         * gst/gstbin.c:
15745         * gst/gstbuffer.c: (_gst_buffer_copy):
15746         * gst/gstbus.h:
15747         * gst/gstcaps.c:
15748         * gst/gstchildproxy.c:
15749         * gst/gstclock.c:
15750         * gst/gstelement.c:
15751         * gst/gstelementfactory.c:
15752         * gst/gstelementfactory.h:
15753         * gst/gstevent.c:
15754         * gst/gstghostpad.h:
15755         * gst/gstindex.h:
15756         * gst/gstinterface.h:
15757         * gst/gstminiobject.c:
15758         * gst/gstminiobject.h:
15759         * gst/gstpad.c:
15760         * gst/gstpad.h:
15761         * gst/gstpadtemplate.h:
15762         * gst/gstpipeline.h:
15763         * gst/gstpluginfeature.h:
15764         * gst/gstquery.h:
15765         * gst/gstqueue.h:
15766         * gst/gsttaglist.c:
15767         * gst/gsttaglist.h:
15768         * gst/gsttagsetter.c:
15769         * gst/gsttagsetter.h:
15770         * gst/gsttrace.c:
15771         * gst/gsttrace.h:
15772         * gst/gsttypefind.h:
15773         * gst/gsturi.h:
15774         * gst/gstvalue.c:
15775         * gst/net/gstnetclientclock.c:
15776         * gst/net/gstnetclientclock.h:
15777         * gst/net/gstnettimepacket.c:
15778         * gst/net/gstnettimeprovider.c:
15779         * gst/net/gstnettimeprovider.h:
15780         Doc fixes.
15781
15782 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15783
15784         * configure.ac: back to HEAD
15785
15786 === release 0.9.6 ===
15787
15788 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
15789
15790         * configure.ac:
15791           releasing 0.9.6, "Always On Time"
15792
15793 2005-11-23  Wim Taymans  <wim@fluendo.com>
15794
15795         * docs/gst/gstreamer-sections.txt:
15796         * gst/glib-compat.c:
15797         * gst/gsttagsetter.c:
15798         * gst/gstvalue.c:
15799         * gst/net/gstnetclientclock.c:
15800         * gst/net/gstnettimepacket.h:
15801         Doc updates.
15802
15803 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15804
15805         * docs/faq/using.xml:
15806         * docs/libs/tmpl/gstcontrol.sgml:
15807         * docs/manual/advanced-dparams.xml:
15808         * docs/manual/appendix-checklist.xml:
15809         * docs/manual/basics-elements.xml:
15810         * docs/pwg/other-source.xml:
15811         * docs/random/moving-plugins:
15812         * gst/gstpad.c:
15813         * tools/gst-launch.1.in:
15814           remove mentions of sinesrc
15815
15816 2005-11-23  Michael Smith <msmith@fluendo.com>
15817
15818         * docs/gst/gstreamer-sections.txt:
15819           Update for new API and API changes.
15820         * gst/gstobject.h:
15821           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
15822         * gst/gstvalue.c:
15823           Documentation typo fix.
15824         * gst/net/gstnettimepacket.c:
15825           Documentation fixes for arguments.
15826
15827 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
15828
15829         * gst/gststructure.c: (gst_structure_get_fraction),
15830         (gst_structure_parse_value),
15831         (gst_structure_fixate_field_nearest_fraction):
15832         * gst/gststructure.h:
15833         * gst/gstutils.c: (gst_util_uint64_scale_int):
15834         * gst/gstutils.h:
15835         * scripts/update-funcnames:
15836         API Changes. 
15837         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
15838         Make gst_structure_fixate_field_nearest_fraction take a numerator
15839         and denominator argument instead of a GValue
15840         add gst_structure_get_fraction helper function.
15841
15842 2005-11-23  Wim Taymans  <wim@fluendo.com>
15843
15844         * docs/design/part-TODO.txt:
15845         Update TODO.
15846
15847         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
15848         * gst/net/gstnetclientclock.h:
15849         Use parent fields for timeout and window_size.
15850
15851 2005-11-23  Andy Wingo  <wingo@pobox.com>
15852
15853         * check/net/gstnetclientclock.c (test_functioning): Adjust to
15854         rate_num/rate_denom change.
15855
15856         * gst/net/gstnetclientclock.c
15857         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
15858         OBJECT_LOCK. Don't call add_observation with the lock.
15859
15860         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
15861         fraction.
15862         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
15863         rate fraction.
15864         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
15865         deal with rate as a fraction whose numerator and denominator are
15866         GstClockTime values.
15867         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
15868         master; the other fields are protected by the SLAVE_LOCK.
15869         (do_linear_regression): Note that this must be called with the
15870         SLAVE_LOCK.
15871         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
15872         OBJECT_LOCK. Call set_calibration instead of touching the
15873         variables directly.
15874         (gst_clock_set_property, gst_clock_get_property): Protect
15875         master/slave parameters with the SLAVE_LOCK.
15876
15877         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
15878         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
15879         note that all of the instance variables that add_observation and
15880         the set_master functions use are protected by that lock and not
15881         the OBJECT_LOCK.
15882         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
15883
15884         * gst/gstclock.c (gst_clock_add_observation): No longer requires
15885         the caller to take the object lock.
15886
15887 2005-11-23  Wim Taymans  <wim@fluendo.com>
15888
15889         * gst/gsterror.c: (_gst_core_errors_init):
15890         * gst/gsterror.h:
15891         Add error for clock stuff.
15892
15893         * gst/gstpipeline.c: (gst_pipeline_change_state),
15894         (gst_pipeline_set_clock):
15895         Post clock error when clock cannot be used in a pipeline.
15896
15897 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
15898
15899         * docs/gst/gstreamer-sections.txt:
15900           make two symbols from gstinfo private for the docs
15901         * gst/base/gstcollectpads.h:
15902         * gst/gstutils.c:
15903           fix doc typos, update docs
15904
15905 2005-11-22  Wim Taymans  <wim@fluendo.com>
15906
15907         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15908         (gst_base_sink_wait), (gst_base_sink_do_sync),
15909         (gst_base_sink_handle_event):
15910         * gst/base/gstbasesink.h:
15911         No need to store the clock, the parent element class already
15912         has it.
15913
15914         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
15915         Updates for clock_set returning a gboolean
15916
15917         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
15918         (gst_clock_id_wait_async), (gst_clock_class_init),
15919         (gst_clock_init), (gst_clock_finalize),
15920         (gst_clock_get_internal_time), (gst_clock_get_time),
15921         (gst_clock_slave_callback), (gst_clock_set_master),
15922         (gst_clock_get_master), (do_linear_regression),
15923         (gst_clock_add_observation), (gst_clock_set_property),
15924         (gst_clock_get_property):
15925         * gst/gstclock.h:
15926         Implement master/slave. When setting a clock as a slave, a
15927         periodic timeout is scheduled to sample master and slave times.
15928         Then the slave clock is recalibrated to match offset and rate
15929         of the master clock.
15930         Update logging a bit.
15931         Add flag so that a clock can state that is cannot be slaved to
15932         another clock.
15933
15934         * gst/gstelement.c: (gst_element_set_clock):
15935         * gst/gstelement.h:
15936         The set clock returns a gboolean for when an element cannot
15937         deal with the selected clock in the pipeline. 
15938
15939         * gst/gstpipeline.c: (gst_pipeline_change_state),
15940         (gst_pipeline_set_clock):
15941         * gst/gstpipeline.h:
15942         Handle the case where the selected clock cannot be set on
15943         the pipeline.
15944
15945         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
15946         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
15947         (gst_net_client_clock_set_property),
15948         (gst_net_client_clock_get_property),
15949         (gst_net_client_clock_observe_times):
15950         * gst/net/gstnetclientclock.h:
15951         Use regression code in GstClock parent, remove duplicated
15952         functionality.
15953
15954 2005-11-22  Michael Smith <msmith@fluendo.com>
15955
15956         * gst/gstutils.c: (gst_util_clock_time_scale):
15957         * gst/gstutils.h:
15958         * docs/gst/gstreamer-sections.txt:
15959           Rename method to have extra underscore.
15960
15961 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15962
15963         * gst/elements/Makefile.am:
15964         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
15965         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15966         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15967         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
15968         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
15969         * gst/elements/gstfakesrc.h:
15970         * gst/gstqueue.c: (queue_leaky_get_type):
15971           correctly fix GEnumValues so that nick is the short lowercase
15972           dashed tag
15973         * tools/gst-inspect.c: (print_element_properties_info):
15974           also show the nick, since it's useful to use from parse_launch
15975           syntax
15976           Fixes #322139
15977
15978 2005-11-22  Michael Smith <msmith@fluendo.com>
15979
15980         * gst/gstutils.c: (gst_util_clocktime_scale):
15981         * gst/gstutils.h:
15982         * docs/gst/gstreamer-sections.txt:
15983           Add util method for scaling a clocktime by a fraction. Useful 
15984           implementation is left as an exercise for the reader.
15985
15986 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15987
15988         * gst/gstvalue.c: (gst_value_collect_fraction_range):
15989         If needed, allocate storage in the destination value during
15990         collection.
15991
15992 2005-11-22  Edward Hervey  <edward@fluendo.com>
15993
15994         * docs/gst/gstreamer-sections.txt:
15995         * gst/Makefile.am:
15996         * gst/gst.h:
15997         * gst/gsturitype.c:
15998         * gst/gsturitype.h:
15999         * gst/gstutils.c: (gst_util_set_object_arg):
16000         * tools/gst-compprep.c: (main):
16001         * tools/gst-inspect.c: (print_element_properties_info):
16002         Removed GstURI, closes bug #321061
16003
16004 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16005
16006         * check/gst/gststructure.c: (GST_START_TEST):
16007         * gst/gststructure.c: (gst_structure_parse_value):
16008           Oops, broke automatic string type parsing.
16009           Add a test to catch it in future.
16010
16011 2005-11-22  Andy Wingo  <wingo@pobox.com>
16012
16013         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
16014         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
16015         Actually rename the function implementations. Grr.
16016
16017 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16018
16019         * check/gst/capslist.h:
16020           Comment test cases
16021         * check/gst/gststructure.c: (GST_START_TEST),
16022         (gst_structure_suite):
16023           Test automatic value type detection in gst_structure_from_string.
16024         * gst/gststructure.c: (gst_structure_parse_value):
16025           Add fraction as a type we try and guess automatically in
16026           caps/structure strings.
16027
16028 2005-11-22  Andy Wingo  <wingo@pobox.com>
16029
16030         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
16031
16032         * gst/gsttagsetter.h:
16033         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
16034         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
16035         (gst_tag_setter_add_tag_valist)
16036         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
16037         _add_values, _add_valist, and _add_valist_values. Since this is an
16038         interface the function suffixes should be more explicit so
16039         language binding don't end up with element.add_valist ->
16040         gst_tag_setter_add_valist, for example. Fixes #322069.
16041
16042 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16043
16044         * check/gst/gstcaps.c: (GST_START_TEST):
16045           Extend caps string tests to check that a caps to string
16046           conversion is reversible and produces the same caps.
16047
16048         * gst/gststructure.c: (gst_structure_value_get_generic_type):
16049           Output "fraction" as the generic type fraction range, so caps
16050           serialisation and deserialisation works.
16051         * check/gst/capslist.h:
16052         * gst/gstvalue.c: (gst_value_deserialize_fraction):
16053           Support 'MIN' and 'MAX' for deserialising fractions.
16054
16055 2005-11-22  Andy Wingo  <wingo@pobox.com>
16056
16057         * gst/gstevent.h (gst_event_new_new_segment)
16058         (gst_event_parse_new_segment, gst_event_new_buffer_size)
16059         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
16060         Renamed from *_newsegment, *_buffersize, *_notarget.
16061
16062         * scripts/update-funcnames: New script, performs the changes
16063         listed above.
16064
16065 2005-11-22  Wim Taymans  <wim@fluendo.com>
16066
16067         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16068         Make sure the GstFlowReturn is returned.
16069
16070         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
16071         (gst_bus_add_signal_watch):
16072         * gst/gstbus.h:
16073         add gst_bus_add_signal_watch_full.
16074
16075         * gst/gstplugin.c: (gst_plugin_load_file):
16076         Small style cleanup.
16077
16078 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16079
16080         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
16081           Block the fakesrc srcpad when we send an event, to avoid
16082           contention on the stream_lock causing random test failures.
16083
16084 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16085
16086         * check/gst/gstvalue.c: (GST_START_TEST):
16087         * gst/gstvalue.c: (gst_value_fraction_subtract):
16088           Fix subtraction.
16089
16090 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
16091
16092         * gst/gst.h:
16093           include "gstchildproxy.h"
16094         * gst/gstchildproxy.h:
16095         * libs/gst/controller/gstcontroller.h:
16096           use G_GNUC_NULL_TERMINATED
16097
16098 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16099
16100         * check/gst/capslist.h:
16101         * check/gst/gstcaps.c: (GST_START_TEST):
16102         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16103         * gst/gststructure.c: (gst_structure_parse_range),
16104         (gst_structure_fixate_field_nearest_fraction):
16105         * gst/gststructure.h:
16106         * gst/gstvalue.c: (gst_value_init_fraction_range),
16107         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
16108         (gst_value_collect_fraction_range),
16109         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
16110         (gst_value_set_fraction_range_full),
16111         (gst_value_get_fraction_range_min),
16112         (gst_value_get_fraction_range_max),
16113         (gst_value_serialize_fraction_range),
16114         (gst_value_transform_fraction_range_string),
16115         (gst_value_compare_fraction_range),
16116         (gst_value_deserialize_fraction_range),
16117         (gst_value_intersect_fraction_fraction_range),
16118         (gst_value_intersect_fraction_range_fraction_range),
16119         (gst_value_subtract_fraction_fraction_range),
16120         (gst_value_subtract_fraction_range_fraction),
16121         (gst_value_subtract_fraction_range_fraction_range),
16122         (gst_value_collect_fraction), (gst_value_fraction_multiply),
16123         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
16124         (gst_value_transform_string_fraction), (_gst_value_initialize):
16125         * gst/gstvalue.h:
16126           Implement fraction ranges and extend GstFraction to support
16127           arithmetic subtraction, as well as deserialization from integer
16128           strings such as "100"
16129           Add a testsuite as for int and double range set operations
16130
16131 2005-11-21  Andy Wingo  <wingo@pobox.com>
16132
16133         * gst/gsttaglist.h: 
16134         * gst/gstcaps.h: 
16135         * gst/gststructure.h: Add glib-compat.h.
16136
16137 2005-11-21  Wim Taymans  <wim@fluendo.com>
16138
16139         * gst/gstbin.c: (gst_bin_change_state_func):
16140         Fix for #321595
16141
16142 2005-11-21  Wim Taymans  <wim@fluendo.com>
16143
16144         * gst/gstsegment.h:
16145         And add a nice define too.
16146
16147 2005-11-21  Wim Taymans  <wim@fluendo.com>
16148
16149         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
16150         (gst_segment_new), (gst_segment_free), (gst_segment_init),
16151         (gst_segment_set_duration), (gst_segment_set_last_stop),
16152         (gst_segment_set_seek), (gst_segment_set_newsegment),
16153         (gst_segment_to_stream_time), (gst_segment_to_running_time),
16154         (gst_segment_clip):
16155         * gst/gstsegment.h:
16156         Make binding friendly.
16157
16158 2005-11-21  Andy Wingo  <wingo@pobox.com>
16159
16160         * gst/gsttagsetter.h: 
16161         * gst/gsttaglist.h: 
16162         * gst/gststructure.h: 
16163         * gst/gstcaps.h: 
16164         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
16165         #319940.
16166
16167         * gst/gsterror.c (_gst_core_errors_init):
16168         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
16169         category.
16170
16171         * gst/Makefile.am (gst_headers): Add glib-compat.h.
16172         (noinst_HEADERS): noinst the -private.
16173
16174 2005-11-21  Michael Smith <msmith@fluendo.com>
16175
16176         * gst/gstplugin.h:
16177         * gst/gstregistry.h:
16178           Remove unimplemented declarations for which we can see no sensible
16179           use.
16180
16181 2005-11-21  Andy Wingo  <wingo@pobox.com>
16182
16183         * gst/gst.h: Include glib-compat.h.
16184
16185         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
16186
16187         * gst/glib-compat.c: Include the public and the private header.
16188
16189         * gst/glib-compat-private.h: Copied here from glib-compat.h.
16190
16191         * gst/gstvalue.c: 
16192         * gst/gstpad.c: 
16193         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
16194
16195         * check/gst/gstevent.c (create_custom_events): Check that
16196         FLUSH_STOP is serialized.
16197
16198         * check/elements/identity.c (event_func): 
16199         * check/elements/fakesrc.c (event_func): No stream lock, the core
16200         takes it.
16201
16202         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
16203         stream lock taking, yay.
16204
16205         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
16206         ensure that core takes the stream lock.
16207
16208         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
16209         lock name change.
16210
16211         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
16212         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
16213         it already. For the flush start we do take it though so we get the
16214         right preroll state change messages.
16215
16216         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
16217         the stream lock here, the core does it for us.
16218
16219         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
16220         GST_STREAM_GET_LOCK.
16221         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
16222         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
16223         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
16224         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
16225         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
16226         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
16227
16228         * gst/gstpad.c: Update for stream lock name change.
16229
16230         * gst/base/gstbasesink.c: Update for preroll lock name change.
16231
16232 2005-11-21  Wim Taymans  <wim@fluendo.com>
16233
16234         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
16235         (gst_clock_get_master):
16236         * gst/gstclock.h:
16237         * gst/gstsystemclock.c: (gst_system_clock_init):
16238         Convert Clock flags to object flags.
16239         Added methods to manage master/slave clocks.
16240
16241 2005-11-21  Wim Taymans  <wim@fluendo.com>
16242
16243         * check/gst/gstsegment.c: (GST_START_TEST):
16244         * docs/design/part-TODO.txt:
16245         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16246         (gst_base_sink_event), (gst_base_sink_do_sync),
16247         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16248         (gst_base_sink_query), (gst_base_sink_change_state):
16249         * gst/base/gstbasesink.h:
16250         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16251         (gst_base_src_default_newsegment),
16252         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16253         (gst_base_src_get_range), (gst_base_src_loop),
16254         (gst_base_src_change_state):
16255         * gst/base/gstbasesrc.h:
16256         * gst/base/gstbasetransform.c:
16257         (gst_base_transform_prepare_output_buf),
16258         (gst_base_transform_event), (gst_base_transform_change_state):
16259         * gst/base/gstbasetransform.h:
16260         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
16261         (gst_collect_pads_event):
16262         * gst/base/gstcollectpads.h:
16263         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
16264         (gst_fake_src_create):
16265         * gst/elements/gstfakesrc.h:
16266         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16267         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16268         (gst_segment_set_last_stop), (gst_segment_set_seek),
16269         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16270         (gst_segment_to_running_time), (gst_segment_clip):
16271         * gst/gstsegment.h:
16272         More segment updates, replace code in plugins with segment
16273         helper functions.
16274
16275 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
16276
16277         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
16278         Don't ignore sscanf results
16279
16280 2005-11-21  Andy Wingo  <wingo@pobox.com>
16281
16282         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
16283
16284         * *.h:
16285         * *.c: Ran scripts/update-macros. Oh yes.
16286
16287         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
16288         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
16289         GST_GET_LOCK, etc.
16290
16291         * scripts/update-macros: New script. Run it on your files to
16292         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
16293         well.
16294
16295 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
16296
16297         * docs/gst/Makefile.am:
16298         * docs/gst/gstreamer-docs.sgml:
16299         * docs/gst/gstreamer-sections.txt:
16300         * docs/gst/gstreamer.types:
16301         * gst/gstinfo.h:
16302           more docs fixes, add new api to the docs
16303
16304 2005-11-21  Andy Wingo  <wingo@pobox.com>
16305
16306         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
16307         state_broadcast call.
16308
16309         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
16310
16311 2005-11-21  Julien MOUTTE  <julien@moutte.net>
16312
16313         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
16314         function calls for arrays.
16315
16316 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
16317
16318         * docs/random/ensonic/media-device-daemon.txt:
16319           wild idea, can this be done?
16320         * docs/gst/gstreamer-sections.txt:
16321         * gst/gsterror.h:
16322         * gst/gstfilter.c:
16323         * gst/gstfilter.h:
16324         * gst/gstplugin.h:
16325         * gst/gstpluginfeature.c:
16326         * gst/gsttrace.c:
16327         * gst/gstvalue.c:
16328         * gst/gstvalue.h:
16329           doc fixes and additions
16330
16331 2005-11-21  Andy Wingo  <wingo@pobox.com>
16332
16333         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
16334         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
16335         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
16336         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
16337         private to the basesrc implementation.
16338
16339         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
16340         behalf of event function if necessary. It should no longer be
16341         necessary to take the stream lock in pad's event functions. Fixes
16342         #320299.
16343
16344 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
16345         * docs/gst/gstreamer-sections.txt:
16346         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
16347         (gst_structure_fixate_field_nearest_double),
16348         (gst_structure_fixate_field_boolean):
16349         * gst/gststructure.h:
16350         * win32/common/libgstreamer.def:
16351         * win32/gstreamer.def:
16352
16353         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
16354         (#322027)
16355
16356 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
16357
16358         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
16359         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
16360         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
16361         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
16362         (gst_fdsrc_uri_handler_init):
16363         * gst/elements/gstfdsrc.h:
16364           Port fd:// URI handler from 0.8 to fdsrc
16365
16366 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16367
16368         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
16369         (gst_value_serialize_fourcc):
16370         * gst/gstvalue.h:
16371           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
16372           consistent with our other format defines (#320324).
16373
16374 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16375
16376         * gst/gstvalue.c: (gst_value_is_fixed):
16377           Revert previous commit. Value lists are by definition
16378           not fixed, as they are a list of possible values.
16379
16380 2005-11-21  Andy Wingo  <wingo@pobox.com>
16381
16382         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
16383         during the stable series if we need it. Fixes #319178.
16384
16385         * gst/gstevent.c (gst_event_new_filler): Removed.
16386
16387         * check/gst/gstevent.c: Update comment about filler events.
16388
16389 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16390
16391         * gst/gstvalue.c: (gst_value_is_fixed):
16392           Should handle both value arrays and value lists.
16393
16394 2005-11-21  Andy Wingo  <wingo@pobox.com>
16395
16396         patch by: Alessandro Dessina <alessandro nnva org>
16397
16398         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
16399         functions to access arrays. Fixes #321962.
16400
16401 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16402
16403         * docs/gst/gstreamer.types:
16404           gst_collectpads_get_type => gst_collect_pads_get_type.
16405           
16406         * gst/base/gstbasetransform.c:
16407           Remove unused SIGNAL_HANDOFF enum.
16408
16409 2005-11-21  Andy Wingo  <wingo@pobox.com>
16410
16411         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
16412         the event type (upstream, downstream, serialized). Renamed
16413         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
16414         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
16415         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
16416
16417         * gst/gstevent.c: Update for new CUSTOM event names.
16418
16419         * check/gst/gstevent.c: Update check for new CUSTOM event names.
16420
16421         * gst/gstevent.h:
16422         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
16423         bug #319392.
16424
16425 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16426
16427         * docs/gst/gstreamer-sections.txt:
16428         * win32/common/libgstbase.def:
16429         * win32/libgstbase.def:
16430         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16431         (gst_collect_pads_class_init), (gst_collect_pads_init),
16432         (gst_collect_pads_finalize), (gst_collect_pads_new),
16433         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
16434         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
16435         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
16436         (gst_collect_pads_start), (gst_collect_pads_stop),
16437         (gst_collect_pads_peek), (gst_collect_pads_pop),
16438         (gst_collect_pads_available), (gst_collect_pads_read),
16439         (gst_collect_pads_flush), (gst_collect_pads_event),
16440         (gst_collect_pads_chain):
16441         * gst/base/gstcollectpads.h:
16442           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
16443           unimplemented functions as unimplemented. Add padding to
16444           GstCollectData. (#320766, #320423)
16445
16446 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16447
16448         * gst/gstmessage.c:
16449           Improve docs for DURATION message (usage of duration parameter)
16450           (#320113)
16451
16452 2005-11-20  Wim Taymans  <wim@fluendo.com>
16453
16454         * check/Makefile.am:
16455         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
16456         (main):
16457         * gst/Makefile.am:
16458         * gst/gst.h:
16459         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16460         (gst_segment_set_seek), (gst_segment_set_newsegment),
16461         (gst_segment_to_stream_time), (gst_segment_to_running_time),
16462         (gst_segment_clip):
16463         * gst/gstsegment.h:
16464         Added segment helper structure and methods. Not fully implemented
16465         yet.
16466         Added segment check.
16467
16468 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
16469
16470         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16471           Add a deserialisation test for fractions
16472         * examples/metadata/read-metadata.c: (message_loop),
16473         (make_pipeline), (main):
16474           Fix up metadata reading sample.
16475         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16476           Debug format fix
16477         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16478           Don't try and fixate empty caps
16479         * gst/gst_private.h:
16480           Wrap in G_BEGIN_DECLS/G_END_DECLS
16481         * gst/gstvalue.c: (gst_value_collect_fraction),
16482         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
16483         (gst_value_transform_string_fraction),
16484         (gst_value_compare_fraction):
16485           Add some extra guards to ensure that we don't end up 
16486           with an invalid denominator of 0 in a gstfraction and
16487           that fractions always get reduced.
16488
16489 2005-11-20  Wim Taymans  <wim@fluendo.com>
16490
16491         * docs/gst/gstreamer-sections.txt:
16492         * gst/gstbuffer.h:
16493         * gst/gstelement.c:
16494         * gst/gstformat.c:
16495         * gst/gstformat.h:
16496         * gst/gstindex.h:
16497         * gst/gstquery.c:
16498         * gst/gstquery.h:
16499         * gst/gstvalue.c:
16500         Doc fixes.
16501
16502 2005-11-20  Wim Taymans  <wim@fluendo.com>
16503
16504         * docs/design/part-TODO.txt:
16505         * gst/gstcaps.h:
16506         Make a proper enum of the flag.
16507
16508 2005-11-19  Wim Taymans  <wim@fluendo.com>
16509
16510         * docs/design/part-TODO.txt:
16511         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
16512         (gst_format_to_quark), (gst_format_register):
16513         * gst/gstformat.h:
16514         * gst/gstquery.c: (_gst_query_initialize),
16515         (gst_query_type_get_name), (gst_query_type_to_quark),
16516         (gst_query_type_register):
16517         * gst/gstquery.h:
16518         Add type to quark and type to string conversions.
16519
16520 2005-11-19  Andy Wingo  <wingo@pobox.com>
16521
16522         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
16523         #320097.
16524
16525 2005-11-19  Wim Taymans  <wim@fluendo.com>
16526
16527         * docs/design/part-TODO.txt:
16528         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16529         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
16530         (gst_bin_handle_message_func):
16531         * gst/gstbin.h:
16532         Make message handling overridable.
16533
16534 2005-11-19  Andy Wingo  <wingo@pobox.com>
16535
16536         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
16537
16538         * gst/gstclock.h:
16539         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
16540         be a GstClockTime.
16541         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
16542         is a GstClockTime. Fixes #321710.
16543
16544         * gst/gstclock.h (GstClock): Remove offset property. Add
16545         internal_calibration and external_calibration. Fix padding. Pad
16546         also by GstClockTime so we don't run into problems.
16547
16548         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
16549         (gst_clock_get_rate_offset): Remove.
16550         (gst_clock_set_time_adjust): Remove. Fixes #321712.
16551
16552         * gst/gstutils.h:
16553         * gst/gstutils.c (g_static_rec_cond_wait)
16554         (g_static_rec_cond_timed_wait): Removed, no longer needed.
16555
16556         * gst/gstbin.c: Remove terrible continue_state prototype.
16557
16558         * gst/gstelement.h (gst_element_continue_state): Make public.
16559
16560         * gst/gstelement.h:
16561         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
16562         by continue_state. Fixes #319389.
16563
16564         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
16565         Really fixes #168438. However I don't see anywhere where the
16566         filter function is called... stupid GStreamer...
16567         
16568         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
16569         don't have a dispose function, so it won't get called when the
16570         object is unreffed, but oh well!
16571
16572         * gst/gstindex.c (gst_index_set_filter_full): New API function,
16573         allows a destroy function to be set so user_data can be freed.
16574         Fixes #168438.
16575         (gst_index_set_filter): Call gst_index_set_filter_full.
16576
16577         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
16578
16579         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
16580         string should produce an error, given the lack of a way to
16581         represent NULL strings. Fixes #165650.
16582         
16583         * gst/gstvalue.h: 
16584         * gst/gstvalue.c (gst_value_array_append_value) 
16585         (gst_value_array_prepend_value, gst_value_array_get_size) 
16586         (gst_value_array_get_value): New API, copied from
16587         gst_value_list_*, only operates on arrays.
16588         (gst_value_list_append_value, gst_value_list_prepend_value) 
16589         (gst_value_list_concat, gst_value_list_get_size) 
16590         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
16591
16592         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
16593         init_list, because it works on both.
16594         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
16595         (gst_value_copy_list_or_array): Renamed from copy_list.
16596         (gst_value_free_list_or_array): Renamed from free_list.
16597         (gst_value_collect_list_or_array): Renamed from collect_list.
16598         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
16599         (gst_value_list_or_array_peek_pointer): Renamed from
16600         list_peek_pointer.
16601         (_gst_value_array_value_table, _gst_value_list_value_table):
16602         Update value table functions.
16603         (gst_value_compare_list_or_array): Renamed from compare_list.
16604
16605         * gsttaglist.h: Whoops, foreach function returns void. Also fix
16606         some constness.
16607
16608         * gst/gsttaglist.c:
16609         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
16610         GstTagList*. Fixes #143472.
16611
16612         * gst/gststructure.h: Clarify what the foreach/map functions can
16613         or can't do to their arguments.
16614
16615 2005-11-18  Wim Taymans  <wim@fluendo.com>
16616
16617         * gst/gstclock.c: (gst_clock_set_calibration),
16618         (gst_clock_get_calibration):
16619         Doc and API fixes.
16620         Calibration can be set with internal time equal to current
16621         internal time too.
16622
16623 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16624
16625         * gst/gsterror.c:
16626         * gst/gsterror.h:
16627           document
16628
16629 2005-11-18  Andy Wingo  <wingo@pobox.com>
16630
16631         * configure.ac: 
16632         * pkgconfig/gstreamer-net.pc.in:
16633         * pkgconfig/gstreamer-net-uninstalled.pc.in:
16634         * pkgconfig/Makefile.am: Add net pkgconfig files.
16635
16636 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
16637
16638         * gst/gstcaps.c:
16639         * gst/gstghostpad.c:
16640         * gst/gsttrace.c:
16641         * gst/gstvalue.c:
16642         * gst/gstvalue.h:
16643           docs fixes
16644
16645 2005-11-18  Andy Wingo  <wingo@pobox.com>
16646
16647         * gst/net/gstnetclientclock.c: Turn off debugging.
16648
16649         * check/net/gstnetclientclock.c (test_functioning): Assert that the
16650         times connverge somewhat. Can't make a real test.
16651
16652         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
16653         integer arithmetic. Return the minimum of the domain, which can be
16654         set as "internal" for gst_clock_set_calibration.
16655         (gst_net_client_clock_observe_times): Call _set_calibration.
16656         (gst_net_client_clock_new): Call _set_calibration instead of
16657         rate_offset.
16658
16659         * check/net/gstnetclientclock.c (test_functioning): Use the right
16660         adjustment api.
16661
16662         * gst/gstclock.h:
16663         * gst/gstclock.c (gst_clock_get_calibration) 
16664         (gst_clock_set_calibration): New functions, obsolete the ones I
16665         added yesterday. Doh. Precision issues mean we have to extrapolate
16666         from a point in the more recent past than 1970.
16667         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
16668         obsolete.
16669         (gst_clock_adjust_unlocked): Use the right calibration data.
16670
16671 2005-11-18  Edward Hervey  <edward@fluendo.com>
16672
16673         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
16674         Also reset the ->current_* values in READY->PAUSED
16675
16676 2005-11-18  Andy Wingo  <wingo@pobox.com>
16677
16678         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
16679         Whoops, check the right fd. Also add some debugging.
16680         (gst_net_client_clock_observe_times): Adjust for int64 offset.
16681         (do_linear_regression): Add a crapload of debugging. Subtract off
16682         the minimum values from the input series to discard unneeded bits.
16683         Use only int arithmetic. There is still double arithmetic when
16684         calculating the intercept that needs fixing. Return boolean to
16685         indicate success; FALSE would mean the domain or range is too
16686         great. Still needs fixes.
16687
16688 2005-11-18  Wim Taymans  <wim@fluendo.com>
16689
16690         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16691         For the current position in stream time, we need to subtract
16692         accumulated time.
16693         
16694         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16695         Release lock before calling the callback function of async
16696         entries.
16697
16698 2005-11-18  Andy Wingo  <wingo@pobox.com>
16699
16700         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
16701         Port goes all the way to MAXUINT16.
16702
16703         * gst/net/gstnettimeprovider.c: Make the port range the same as
16704         for the kernel: 0 assigns, otherwise ports are less than
16705         MAXUINT16.
16706
16707         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
16708         port change.
16709
16710         * check/net/gstnetclientclock.c (test_functioning): Add the start
16711         of another test. 
16712
16713 2005-11-18  Wim Taymans  <wim@fluendo.com>
16714
16715         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16716         (gst_bin_remove_func), (bin_bus_handler):
16717         * gst/gstbin.h:
16718         Removing a clock provider from a bin, triggers a clock lost message
16719         so that a new clock will be selected.
16720         Adding a clock to a bin triggers a clock provider message.
16721         Make sure we reselect a clock when we received a clock lost message.
16722         Keep a reference to the element that provided the clock.
16723
16724 2005-11-18  Andy Wingo  <wingo@pobox.com>
16725
16726         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
16727         the clock initially so it produces values around the base time.
16728         (gst_net_client_clock_class_init): Typo fix.
16729         (gst_net_client_clock_thread): Add note on when the socket gets
16730         closed.
16731
16732 2005-11-17  Wim Taymans  <wim@fluendo.com>
16733
16734         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
16735         Free remote and local time arrays.
16736
16737 2005-11-17  Wim Taymans  <wim@fluendo.com>
16738
16739         * gst/net/gstnetclientclock.c: (do_linear_regression),
16740         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
16741         Fix compilation, uninitialized vars and a forgotten continue.
16742
16743 2005-11-17  Andy Wingo  <wingo@pobox.com>
16744
16745         * check/Makefile.am (check_PROGRAMS): 
16746         * check/net/gstnetclientclock.c: Add a most minimal test for the
16747         net client clock. More to come later.
16748
16749         * gst/net/gstnet.h: 
16750         * gst/net/Makefile.am: Add netclientclock.
16751
16752         * gst/net/gstnetclientclock.h:
16753         * gst/net/gstnetclientclock.c: New files, implement an untested
16754         GstClock that takes its time from a network time provider.
16755         Implements the algorithm in network-clock.scm.
16756
16757         * tests/network-clock.scm (*window-size*): Rename from
16758         *queue-length*.
16759         * tests/network-clock.scm (network-time): 
16760         * tests/network-clock-utils.scm (q-push): Update callers.
16761
16762 2005-11-17  Wim Taymans  <wim@fluendo.com>
16763
16764         * gst/gstbin.c: (gst_bin_provide_clock_func),
16765         (gst_bin_sort_iterator_new):
16766         And unref the child too..
16767
16768 2005-11-17  Wim Taymans  <wim@fluendo.com>
16769
16770         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16771         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
16772         Refactor the sort iterator so it can be used while holding the
16773         LOCK too.
16774         Make clock selection select a clock closest to the source.
16775
16776 2005-11-17  Michael Smith <msmith@fluendo.com>
16777
16778         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
16779         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
16780         * gst/gstclock.h:
16781           Anonymous structs are a gcc (and some other compilers) extension, so
16782           don't use them. Since this is only for ABI-compatibility, and our
16783           API/ABI freeze is over in a few days, this whole thing will only
16784           last a few days, so don't bother trying to think up a meaningful
16785           name for the struct.
16786
16787 2005-11-17  Andy Wingo  <wingo@pobox.com>
16788
16789         * gst/gstclock.h (GstClock): Add rate and offset properties,
16790         preserving ABI stability. Add rate/offset accessors. Will file bug
16791         for the freeze break.
16792
16793         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
16794         and offset, trying to keep precision and avoiding
16795         underflow/overflow.
16796         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
16797         functions. Make gst_clock_set_time_adjust obsolete.
16798         (gst_clock_set_time_adjust): Note that this function is obsolete.
16799         Will file bug soon.
16800
16801         * gst/base/gstbasetransform.h: Make the ABI-stability hack
16802         greppable by using GST_PADDING-1+1.
16803
16804 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
16805
16806         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16807
16808         * gst/gstmessage.c: (gst_message_parse_clock_lost):
16809           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
16810
16811         * gst/gstpadtemplate.h:
16812         * gst/gstpluginfeature.h:
16813           Don't use c++ style comments in headers (#321638).
16814
16815 2005-11-16  Andy Wingo  <wingo@pobox.com>
16816
16817         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
16818         buffer.
16819
16820         * check/net/gstnettimeprovider.c: Check to see that the time
16821         provider actually provides times. Works, yo!
16822
16823 2005-11-16  Wim Taymans  <wim@fluendo.com>
16824
16825         * check/Makefile.am:
16826         Enable more tests.
16827
16828         * check/elements/fakesrc.c: (GST_START_TEST):
16829         Set element to NULL before disposing it.
16830
16831 2005-11-16  Andy Wingo  <wingo@pobox.com>
16832
16833         * gst/net/Makefile.am:
16834         * gst/net/gstnet.h:
16835         * gst/net/gstnettimeprovider.c: 
16836         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
16837         provider, include it from gstnet.h, and add it to the build.
16838
16839         * gst/net/gstnettimepacket.h: 
16840         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
16841         sending and receiving.
16842
16843 2005-11-16  Wim Taymans  <wim@fluendo.com>
16844
16845         * check/Makefile.am:
16846         Enable valgrind check.
16847
16848         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
16849         (gst_fake_src_alloc_buffer):
16850         Fix memleak.
16851
16852 2005-11-16  Wim Taymans  <wim@fluendo.com>
16853
16854         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
16855         Call parent finalize too.
16856
16857 2005-11-16  Wim Taymans  <wim@fluendo.com>
16858
16859         * check/Makefile.am:
16860         Enable valgrind check that should work fine now.
16861
16862         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16863         * gst/gstqueue.c: (gst_queue_init):
16864         Fix memleaks in pad allocation.
16865
16866 2005-11-16  Andy Wingo  <wingo@pobox.com>
16867
16868         * gst/net/Makefile.am:
16869         * gst/net/gstnet.h: New part of core to hold network elements and
16870         objects. Put in core because it exposes API that applications want
16871         to use. The library is named libgstnet-tempname right now because
16872         of the existing libgstnet in gst-plugins-base. Solution is
16873         probably to rename the one in plugins-base; will file a bug for
16874         the freeze break.
16875
16876         * gst/net/gstnettimeprovider.c: 
16877         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
16878         get_time call over the network.
16879
16880         * configure.ac: 
16881         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
16882
16883         * check/Makefile.am:
16884         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
16885         get additions shortly.
16886
16887 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16888
16889         * gst/gstpad.c: (gst_pad_new_from_static_template):
16890         * gst/gstpad.h:
16891           add gst_pad_new_from_static_template functions
16892         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
16893         (gst_check_setup_sink_pad):
16894         * gst/elements/gsttee.c: (gst_tee_init):
16895           and use them
16896
16897 2005-11-16  Wim Taymans  <wim@fluendo.com>
16898
16899         * gst/gstpad.c: (gst_pad_pause_task):
16900         Removed warning, it's not really an error either.
16901
16902 2005-11-16  Wim Taymans  <wim@fluendo.com>
16903
16904         * gst/base/gstbasetransform.c:
16905         (gst_base_transform_prepare_output_buf),
16906         (gst_base_transform_event):
16907         Check if the caps are NULL, this can happen if the element
16908         is shutting down and the pad caps are set to NULL.
16909
16910 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16911
16912         * gst/elements/gsttee.c: (gst_tee_init):
16913           fix pad template leak in tee
16914
16915 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16916
16917         * gst/glib-compat.c: (g_value_dup_gst_object):
16918         * gst/glib-compat.h:
16919         * gst/gstpad.c: (gst_pad_set_property):
16920           use gst_object_ref when setting the pad template; this will
16921           trigger the pad template leaks on GLib 2.6 and the slaves
16922
16923 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16924
16925         * gst/glib-compat.c: (gst_flags_get_first_value):
16926         * gst/glib-compat.h:
16927         * gst/gstregistryxml.c:
16928           remove functions copied from GLib 2.6
16929
16930 2005-11-16  Michael Smith <msmith@fluendo.com>
16931
16932         * gst/Makefile.am:
16933           Don't link against VALGRIND_LIBS. That was always the wrong thing to
16934           do, but only breaks with newer valgrind versions. We're not a
16935           valgrind tool, we have no link-time dependencies on libcoregrind.
16936
16937 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16938
16939         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16940           some debug changes
16941         * gst/gstmessage.h:
16942           typo fixes
16943
16944 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16945
16946         * gst/base/gstbasesrc.c: (gst_base_src_init):
16947         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16948         * gst/gstqueue.c: (gst_queue_init):
16949         * gst/gstregistryxml.c: (load_feature):
16950           Revert all these unrefs, they don't even pass make check !
16951
16952 2005-11-15  Johan Dahlin  <johan@gnome.org>
16953
16954         * gst/base/gstbasesrc.c: (gst_base_src_init):
16955         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16956         * gst/gstqueue.c: (gst_queue_init): 
16957         Free pad templates, fixes a couple of leaks.
16958
16959 2005-11-15  Daniel Fischer  <dan at f3c dot com>
16960
16961         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16962
16963         * gst/gstpad.c: (gst_pad_get_property):
16964           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
16965           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
16966           (#321452)
16967
16968 2005-11-15  Wim Taymans  <wim@fluendo.com>
16969
16970         * gst/gstevent.c:
16971         Small doc update.
16972
16973 2005-11-15  Andy Wingo  <wingo@pobox.com>
16974
16975         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
16976
16977         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
16978         using GST_CLOCK_TIME_NONE to disable base time management.
16979         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
16980         time if it was NONE before.
16981         (gst_pipeline_change_state): Only munge the base time if
16982         stream_time != GST_CLOCK_TIME_NONE.
16983
16984         * check/gst/gstpipeline.c (test_base_time): Punt around the
16985         problem of the probe not being called, because that's not the
16986         issue I'm looking at. Add a check that setting stream_time to NONE
16987         disables base time management.
16988         
16989 2005-11-15  Wim Taymans  <wim@fluendo.com>
16990
16991         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16992         segment_stop == -1 at startup.
16993
16994         * gst/base/gstbasetransform.c: (gst_base_transform_event),
16995         (gst_base_transform_change_state):
16996         Init segment values at start.
16997
16998 2005-11-15  Wim Taymans  <wim@fluendo.com>
16999
17000         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17001         0 segment values are 0 in any format.
17002
17003         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17004         * gst/base/gstbasetransform.h:
17005         Parse newsegment correctly in basetransform
17006
17007         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17008         Sync to clock using updated segment values.
17009
17010 2005-11-15  Andy Wingo  <wingo@pobox.com>
17011
17012         * check/gst/gstpipeline.c (test_base_time): Add check that the
17013         base time and stream time are reset correctly.
17014
17015 2005-11-15  Wim Taymans  <wim@fluendo.com>
17016
17017         * docs/design/part-TODO.txt:
17018         Some more TODO items.
17019
17020 2005-11-15  Andy Wingo  <wingo@pobox.com>
17021
17022         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
17023         error if the user selected "no clock" as the clocking method.
17024
17025         * check/gst/gstpipeline.c (test_base_time): New test for buffer
17026         timestamps with live capture.
17027
17028         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
17029         is 0 but we are a live source, timestamp the buffers using the
17030         element's clock.
17031
17032 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
17033
17034         * docs/gst/gstreamer-sections.txt:
17035         * gst/gsterror.c:
17036         * gst/gstghostpad.c:
17037         * gst/gstobject.h:
17038         * gst/gstxml.c:
17039           more section docs
17040
17041 2005-11-14  Wim Taymans  <wim@fluendo.com>
17042
17043         * common/gst.supp:
17044           add suppressions from Wim's Debian machine
17045
17046 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17047
17048         * common/gst.supp:
17049           add suppressions from Andy's AMD64 Ubuntu machine
17050
17051 2005-11-14  Andy Wingo  <wingo@pobox.com>
17052
17053         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
17054         STATE_LOCK not necessary. Fixes #311489.
17055
17056         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
17057         #305291.
17058
17059         * gst/gstindex.c (gst_index_add_object): Note in the docs that
17060         this function is not implemented.
17061
17062 2005-11-14  Julien MOUTTE  <julien@moutte.net>
17063
17064         * gst/base/gstbasetransform.c:
17065         (gst_base_transform_prepare_output_buf):
17066         Ref the source pad caps while we need them.
17067         Fixes (#321386)
17068
17069 2005-11-11  Wim Taymans  <wim@fluendo.com>
17070
17071         * docs/gst/gstreamer-sections.txt:
17072         Added some docs for GstCollectData.
17073
17074         * gst/base/gstadapter.c:
17075         Some small code example fix.
17076
17077         * gst/base/gstcollectpads.c:
17078         * gst/base/gstcollectpads.h:
17079         Document some more.
17080
17081 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17082
17083         * configure.ac: back to HEAD
17084
17085 === release 0.9.5 ===
17086
17087 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
17088
17089         * configure.ac:
17090           releasing 0.9.5, "Bike Lunch Day"
17091
17092 2005-11-11  Wim Taymans  <wim@fluendo.com>
17093
17094         * gst/gstbuffer.c: (_gst_buffer_copy):
17095         Copy more flags.
17096
17097         * gst/gstcaps.c: (gst_caps_is_equal):
17098         Fix some docs.
17099         Make _is_equal fast in the trivial cases.
17100
17101         * gst/gstminiobject.c:
17102         * gst/gstminiobject.h:
17103         More docs. Spifify .h file.
17104
17105         * gst/gstutils.c:
17106         Small doc update.
17107
17108 2005-11-11  Wim Taymans  <wim@fluendo.com>
17109
17110         * gst/base/gstbasetransform.c:
17111         (gst_base_transform_prepare_output_buf),
17112         (gst_base_transform_handle_buffer):
17113         Small cleanups.
17114         If we're processing a buffer and need to allocate an output
17115         buffer, we cannot accept a format change. If we did get a 
17116         format change, we have to alloc a buffer ourselves of the 
17117         right size.
17118
17119 2005-11-11  Wim Taymans  <wim@fluendo.com>
17120
17121         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
17122         While checking the flag for reentrancy in the gstcaps function
17123         is nice to detect recursive invocations, it also makes it 
17124         impossible to call getcaps from multiple threads, which must be
17125         possible. So, checking for recursive calls has to go.
17126
17127 2005-11-11  Michael Smith <msmith@fluendo.com>
17128
17129         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17130           Don't sync on buffers that fall partially outside our current
17131           segment. Prevents an assertion failure/abort playing some files.
17132
17133 2005-11-10  Andy Wingo  <wingo@pobox.com>
17134
17135         * check/gst/gstbin.c (test_message_state_changed_children): Style
17136         fix..
17137
17138         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
17139         gst_bus_poll with the signal watch. Ensures that poll and a signal
17140         watch see the same messages.
17141
17142         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
17143         a poll and a watch at the same time get the same messages.
17144
17145 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17146
17147         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
17148         * gst/gstcaps.c: (gst_caps_intersect):
17149           Don't call gst_caps_do_simplify - it doesn't respect order of caps
17150           and it's not needed.
17151
17152 2005-11-10  Wim Taymans  <wim@fluendo.com>
17153
17154         * docs/design/part-TODO.txt:
17155         Updated todo.
17156
17157 2005-11-10  Wim Taymans  <wim@fluendo.com>
17158
17159         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17160         * gst/base/gstbasesrc.c: (gst_base_src_wait),
17161         (gst_base_src_do_sync), (gst_base_src_get_range):
17162         Implement clock sync in base class.
17163
17164 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17165
17166         patch by: Tim-Philipp Müller <tim at centricular dot net>
17167
17168         * gst/gststructure.c: (gst_structure_parse_field),
17169         (gst_structure_from_string):
17170           Forward-port a 0.8 patch to handle escaped spaces in structure string,
17171           so that gst_parse_launch() can deal with spaces in filtered link
17172           caps (fixes #164479)
17173         * check/gst/capslist.h:
17174         * check/gst/gststructure.c: (GST_START_TEST):
17175           add unit tests for this change
17176
17177 2005-11-10  Wim Taymans  <wim@fluendo.com>
17178
17179         * docs/gst/gstreamer-sections.txt:
17180         * gst/gstelement.c:
17181         * gst/gstelement.h:
17182         Fix docs, move some STATE macros to private.
17183
17184 2005-11-10  Wim Taymans  <wim@fluendo.com>
17185
17186         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17187         Added check for bug #317341
17188
17189         * gst/gstbuffer.c:
17190         * gst/gstbuffer.h:
17191         Some more spiffifying.
17192
17193         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
17194         Call peer linkfunction if we are a source pad. Totally fixes
17195         #317341
17196
17197         * gst/gstpad.c:
17198         Update docs, source pads should call the peer linkfunction
17199         so they can atomically perform the pad link.
17200
17201 2005-11-09  Wim Taymans  <wim@fluendo.com>
17202
17203         * gst/gstbuffer.c:
17204         * gst/gstbuffer.h:
17205         Uber-spiffy-spiffify some more.
17206
17207 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
17208
17209         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
17210         * gst/elements/gstfilesink.c: (gst_file_sink_init):
17211         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17212         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
17213         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
17214         * gst/gstpad.c: (gst_pad_init):
17215           Use GST_DEBUG_FUNCPTR() more extensively.
17216
17217 2005-11-09  Wim Taymans  <wim@fluendo.com>
17218
17219         * gst/gstobject.c: (gst_object_class_init):
17220         * gst/gstobject.h:
17221         Documentation fixes.
17222
17223 2005-11-09  Edward Hervey  <edward@fluendo.com>
17224
17225         * gst/gsttypefindfactory.c:
17226         Fix docs.
17227         
17228 2005-11-09  Edward Hervey  <edward@fluendo.com>
17229
17230         * gst/base/gsttypefindhelper.c:
17231         * gst/gsttypefind.c:
17232         * gst/gsttypefind.h:
17233         Fix docs.
17234
17235 2005-11-09  Wim Taymans  <wim@fluendo.com>
17236
17237         * gst/gstiterator.c:
17238         Fix revision data.
17239
17240         * gst/gsttask.c:
17241         * gst/gsttask.h:
17242         Fix docs.
17243
17244 2005-11-09  Wim Taymans  <wim@fluendo.com>
17245
17246         * gst/gstevent.h:
17247         * gst/gsturi.h:
17248         Fix docs.
17249
17250 2005-11-09  Wim Taymans  <wim@fluendo.com>
17251
17252         * docs/gst/gstreamer-sections.txt:
17253         Moved the message async delivery private lock and cond
17254         to the private section.
17255
17256         * gst/gstmessage.c:
17257         * gst/gstmessage.h:
17258         Fixed docs.
17259
17260 2005-11-09  Edward Hervey  <edward@fluendo.com>
17261
17262         * docs/gst/gstreamer-sections.txt:
17263         * gst/gsturi.c:
17264         * gst/gsturi.h:
17265         Document GstURIHandler
17266
17267 2005-11-09  Wim Taymans  <wim@fluendo.com>
17268
17269         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
17270         (gst_iterator_find_custom):
17271         * gst/gstiterator.h:
17272         Fix iterator docs.
17273
17274 2005-11-09  Wim Taymans  <wim@fluendo.com>
17275
17276         * gst/gstbin.h:
17277         Document another field.
17278
17279         * gst/gststructure.c:
17280         * gst/gststructure.h:
17281         Document.
17282
17283 2005-11-09  Wim Taymans  <wim@fluendo.com>
17284
17285         * gst/gstbin.h:
17286         Documented structs.
17287
17288 2005-11-09  Wim Taymans  <wim@fluendo.com>
17289
17290         * docs/gst/gstreamer-sections.txt:
17291         Added some new macros.
17292
17293         * gst/gstclock.c:
17294         * gst/gstclock.h:
17295         * gst/gstobject.h:
17296         Docs updates.
17297
17298 2005-11-09  Wim Taymans  <wim@fluendo.com>
17299
17300         * docs/design/part-TODO.txt:
17301         Some more items for the TODO
17302
17303         * gst/gstcaps.c:
17304         * gst/gstcaps.h:
17305         Document GstCaps.
17306
17307 2005-11-09  Andy Wingo  <wingo@pobox.com>
17308
17309         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
17310         to work on something else now tho...
17311
17312         * gst/base/gstadapter.c: More adapter docs.
17313
17314         * gst/elements/gstfilesink.c (gst_file_sink_start) 
17315         (gst_file_sink_stop): New functions, replace the state change
17316         handler.
17317         (gst_file_sink_class_init): Hook up the start and stop functions.
17318         (gst_file_sink_base_init): Don't set the state change handler any
17319         more. It was a bit ugly too, being set from here...
17320         (gst_file_sink_get_property, gst_file_sink_set_property):
17321         Cleanups...
17322         (gst_file_sink_set_location): More robust check that doesn't call
17323         GST_STATE. Ugggggg.
17324
17325 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
17326
17327         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17328           Hold STREAM_LOCK while pushing newsegment or tag events as well.
17329
17330 2005-11-08  Wim Taymans  <wim@fluendo.com>
17331
17332         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17333         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17334         (gst_base_sink_chain), (gst_base_sink_change_state):
17335         * gst/base/gstbasesink.h:
17336         * gst/base/gstbasesrc.h:
17337         * gst/gstelement.h:
17338         * gst/gstevent.h:
17339         Avoid excessive typechecking in macros.
17340
17341         * gst/gstminiobject.c: (gst_mini_object_get_type),
17342         (gst_mini_object_init), (gst_mini_object_new),
17343         (gst_mini_object_free):
17344         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17345         (gst_object_finalize):
17346         Remove cruft code, optimize alloc_trace.
17347
17348 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17349
17350         * docs/faq/gst-uninstalled:
17351           fix up PS1 for systems that try to reset it
17352
17353 2005-11-07  Wim Taymans  <wim@fluendo.com>
17354
17355         * gst/base/gstbasesrc.c: (gst_base_src_init),
17356         (gst_base_src_get_range):
17357         Set the segment_end to -1 initially. Fixed typefind.
17358
17359 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
17360
17361         * gst/base/gstadapter.c:
17362           Debug category should be 'adapter', not 'GstAdapter'.
17363           
17364         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
17365         (gst_collectpads_class_init), (gst_collectpads_init),
17366         (gst_collectpads_peek), (gst_collectpads_pop),
17367         (gst_collectpads_event), (gst_collectpads_chain):
17368           Add debug category and some debugging output. Use boilerplate
17369           macros. Remove some extraneous words from docs.
17370
17371 2005-11-05  Andy Wingo  <wingo@pobox.com>
17372
17373         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
17374         macro.
17375
17376 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
17377
17378         * docs/gst/gstreamer-sections.txt:
17379         * gst/gstcaps.h:
17380         * gst/gstinfo.c:
17381         * gst/gstminiobject.h:
17382         * gst/gstobject.h:
17383         * gst/gstutils.h:
17384           more docs added
17385
17386 2005-11-04  Wim Taymans  <wim@fluendo.com>
17387
17388         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17389         Small update to stop at the configured segment_end
17390         position.
17391
17392 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
17393
17394         * gst/gstregistry.c:
17395         * gst/gstregistry.h:
17396           added missing docs
17397
17398 2005-11-04  Edward Hervey  <edward@fluendo.com>
17399
17400         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17401         Check if we are doing a segment seek and have arrived at the
17402         end of that segment.
17403
17404 2005-11-04  Wim Taymans  <wim@fluendo.com>
17405
17406         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
17407         Don't leak a mutex unlock in case of an error.
17408
17409         * gst/gstbus.h:
17410         Doc fixes.
17411
17412 2005-11-04  Wim Taymans  <wim@fluendo.com>
17413
17414         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
17415         (gst_bus_post):
17416         Get the context to wake up only once.
17417
17418 2005-11-03  Wim Taymans  <wim@fluendo.com>
17419
17420         * check/states/sinks.c: (GST_START_TEST):
17421         Uncomment fixed check.
17422
17423         * docs/design/part-TODO.txt:
17424         Updated TODO.
17425
17426         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17427         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17428         (gst_base_sink_get_position):
17429         If we are going to PLAYING, post the right pending state
17430         when we post the intermediate paused message.
17431
17432         * gst/gstelement.c: (gst_element_continue_state),
17433         (gst_element_set_state_func), (gst_element_change_state):
17434         Don't post state changes that were between the same state
17435         and were not ASYNC.
17436
17437 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
17438
17439         * docs/gst/gstreamer-sections.txt:
17440         * gst/gstcaps.h:
17441         * gst/gstinfo.c:
17442         * gst/gstminiobject.h:
17443         * gst/gstobject.h:
17444         * gst/gstutils.h:
17445           more docs and doc style fixes
17446
17447 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
17448
17449         * docs/gst/gstreamer-sections.txt:
17450         * gst/gstelement.c:
17451         * gst/gstminiobject.c:
17452         doc fixes
17453
17454 2005-11-03  Andy Wingo  <wingo@pobox.com>
17455
17456         * check/states/sinks.c (test_livesrc_sink): Add checks that the
17457         state-changed messages actually have the right order and the right
17458         values.
17459
17460 2005-11-03  Wim Taymans  <wim@fluendo.com>
17461
17462         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17463         Added some more checks. Specifically the case where NO_PREROLL
17464         elements are in the pipeline.
17465
17466         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17467         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17468         (gst_base_sink_get_position):
17469         Post READY->PAUSED state change messages too.
17470         Fix bug where VOID was posted as pending state...
17471
17472         * gst/gstbin.c: (gst_bin_recalc_state):
17473         use _element_continue_state() to continue the state change.
17474
17475         * gst/gstelement.c: (gst_element_continue_state),
17476         (gst_element_commit_state), (gst_element_set_state_func),
17477         (gst_element_change_state), (gst_element_change_state_func):
17478         Lots of state change cleanups, assign the STATE_RETURN in
17479         a new continue_state() function that also propagates the
17480         last return value from a state change to the app.
17481         Update some debug statements with proper category.
17482
17483 2005-11-03  Wim Taymans  <wim@fluendo.com>
17484
17485         * docs/design/part-events.txt:
17486         * docs/design/part-gstpipeline.txt:
17487         * docs/design/part-messages.txt:
17488         * docs/design/part-overview.txt:
17489         * docs/design/part-seeking.txt:
17490         * docs/design/part-states.txt:
17491         * docs/design/part-trickmodes.txt:
17492         * docs/manual/advanced-position.xml:
17493         Small docs updates.
17494
17495         * gst/gstobject.h:
17496         People think !! is ugly, this looks better.
17497
17498         * gst/gstpad.c: (gst_pad_set_blocked_async):
17499         Remove !! since it's fixed elsewhere now.
17500
17501 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
17502
17503         * gst/gstminiobject.h:
17504         * gst/gstobject.h:
17505           Add !! to _FLAG_IS_SET macros to make the result boolean.
17506
17507 2005-11-03  Edward Hervey  <edward@fluendo.com>
17508
17509         * gst/gstpad.c: (gst_pad_set_blocked_async):
17510         comparing a flag and a gboolean rarely returns coherent results...
17511         Added two characters (!!) to make that work correctly.
17512         
17513 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
17514
17515         * gst/gstbus.c: (gst_bus_class_init):
17516           Fix some typos.
17517           
17518         * gst/gstqueue.c: (gst_queue_loop):
17519           Don't assume a miniobject that isn't a buffer is an
17520           event (it could be that there is a refcounting
17521           problem somewhere and the pointer is stale and
17522           refers to an already destroyed miniobject).
17523
17524 2005-11-03  Julien MOUTTE  <julien@moutte.net>
17525
17526         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
17527
17528 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
17529
17530         * docs/manual/advanced-position.xml:
17531           Update seek example and explanations to current 0.9 API.
17532
17533         * gst/elements/gsttypefindelement.c:
17534         (gst_type_find_element_activate):
17535           Remove FIXME comment now that the found caps
17536           are unreffed.
17537
17538 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17539
17540         * gst/gstregistryxml.c: (load_feature):
17541           Add another GST_STR_NULL instance
17542
17543 2005-11-02  Edward Hervey  <edward@fluendo.com>
17544
17545         * gst/gstpad.c: (handle_pad_block):
17546         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
17547         
17548 2005-11-02  Wim Taymans  <wim@fluendo.com>
17549
17550         * gst/gstbin.c:
17551         Fix typo in docs.
17552
17553         * gst/gstelement.c: (gst_element_commit_state):
17554         Remove unused value.
17555
17556         * gst/gstiterator.c:
17557         Mention that the returned element is reffed in the docs.
17558
17559 2005-11-02  Wim Taymans  <wim@fluendo.com>
17560
17561         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
17562         (gst_pad_push), (gst_pad_push_event):
17563         Unlock blocked pads when they are flushed.
17564
17565 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17566
17567         * docs/README:
17568         * docs/gst/gstreamer-sections.txt:
17569         * gst/gstbin.c:
17570           doc updates
17571         * gst/gstregistry.c: (gst_registry_scan_path_level):
17572           fix for a nasty little missed situation where an installed plug-in
17573           which was in the cache did not get overridden by an uninstalled one
17574           which was earlier in the plugin path because the newly created plugin
17575           for the uninstalled one (not in the registry) didn't get its
17576           ->registered set to TRUE
17577
17578 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
17579
17580         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
17581         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
17582         (gst_collectpads_is_active), (gst_collectpads_collect),
17583         (gst_collectpads_collect_range), (gst_collectpads_start),
17584         (gst_collectpads_stop), (gst_collectpads_peek),
17585         (gst_collectpads_pop), (gst_collectpads_available),
17586         (gst_collectpads_read), (gst_collectpads_flush):
17587           Guard public API with assertions.
17588         
17589         * gst/gstpad.c:
17590           Fix docs for gst_pad_set_link_function().
17591
17592 2005-11-02  Johan Dahlin  <johan@gnome.org>
17593
17594         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
17595         Unref found_caps after we used it.
17596
17597 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
17598
17599         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
17600           Don't try to ref NULL.
17601
17602 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17603
17604         * win32/common/config.h.in:
17605           provide a GST_FUNCTION that just gives a string for now
17606
17607 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17608
17609         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17610         (gst_object_flags_get_type), (register_gst_bin_flags),
17611         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17612         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17613         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17614         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
17615         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17616         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17617         (gst_clock_flags_get_type), (register_gst_state),
17618         (gst_state_get_type), (register_gst_state_change_return),
17619         (gst_state_change_return_get_type), (register_gst_state_change),
17620         (gst_state_change_get_type), (register_gst_element_flags),
17621         (gst_element_flags_get_type), (register_gst_core_error),
17622         (gst_core_error_get_type), (register_gst_library_error),
17623         (gst_library_error_get_type), (register_gst_resource_error),
17624         (gst_resource_error_get_type), (register_gst_stream_error),
17625         (gst_stream_error_get_type), (register_gst_event_type),
17626         (gst_event_type_get_type), (register_gst_seek_type),
17627         (gst_seek_type_get_type), (register_gst_seek_flags),
17628         (gst_seek_flags_get_type), (register_gst_format),
17629         (gst_format_get_type), (register_gst_index_certainty),
17630         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17631         (gst_index_entry_type_get_type),
17632         (register_gst_index_lookup_method),
17633         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17634         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17635         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17636         (gst_index_flags_get_type), (register_gst_debug_level),
17637         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17638         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17639         (gst_iterator_result_get_type), (register_gst_iterator_item),
17640         (gst_iterator_item_get_type), (register_gst_message_type),
17641         (gst_message_type_get_type), (register_gst_mini_object_flags),
17642         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17643         (gst_pad_link_return_get_type), (register_gst_flow_return),
17644         (gst_flow_return_get_type), (register_gst_activate_mode),
17645         (gst_activate_mode_get_type), (register_gst_pad_direction),
17646         (gst_pad_direction_get_type), (register_gst_pad_flags),
17647         (gst_pad_flags_get_type), (register_gst_pad_presence),
17648         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17649         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17650         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17651         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17652         (gst_plugin_flags_get_type), (register_gst_rank),
17653         (gst_rank_get_type), (register_gst_query_type),
17654         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17655         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17656         (gst_tag_flag_get_type), (register_gst_task_state),
17657         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17658         (gst_alloc_trace_flags_get_type),
17659         (register_gst_type_find_probability),
17660         (gst_type_find_probability_get_type), (register_gst_uri_type),
17661         (gst_uri_type_get_type), (register_gst_parse_error),
17662         (gst_parse_error_get_type):
17663         * win32/common/gstversion.h:
17664           update win32 copies
17665
17666 2005-11-01  Luca Ognibene  <luogni@tin.it>
17667
17668         * gst/gst.c:
17669           fix docs. popt is dead, long live GOption.
17670
17671 2005-10-31  Wim Taymans  <wim@fluendo.com>
17672
17673         * gst/gstbuffer.h:
17674         Small doc fix.
17675
17676 2005-10-31  Andy Wingo  <wingo@pobox.com>
17677
17678         * Boo!
17679
17680         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
17681
17682         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
17683         need to serialize property notifications on GLib 2.8. GLib 2.6 has
17684         the possibility of deadlocks here if code calling notify() or
17685         set() has a lock that can be taken in another notify handler (ABBA
17686         with class lock and e.g. python GIL state lock).
17687
17688 2005-10-28  Julien MOUTTE  <julien@moutte.net>
17689
17690         * gst/gstbus.c: Doc updates.
17691
17692 2005-10-28  Wim Taymans  <wim@fluendo.com>
17693
17694         * docs/design/part-TODO.txt:
17695         * gst/gstiterator.c:
17696         * gst/gstsystemclock.c:
17697         * gst/gstsystemclock.h:
17698         Doc updates.
17699
17700 2005-10-28  Edward Hervey  <edward@fluendo.com>
17701
17702         * docs/gst/gstreamer-docs.sgml:
17703         * docs/gst/gstreamer-sections.txt:
17704         the GstURIType documentation page is private, it only defines GstURIType
17705         which should be defined in the GstURIHandler page
17706         
17707 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17708
17709         * gst/gstbin.c: (gst_bin_class_init):
17710         * gst/gstbin.h:
17711         * gst/gstutils.c:
17712         Documentation updates.
17713
17714 2005-10-28  Wim Taymans  <wim@fluendo.com>
17715
17716         * docs/gst/gstreamer-sections.txt:
17717         * gst/gstclock.c:
17718         * gst/gstclock.h:
17719         Documented the clocks.
17720
17721 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
17722
17723         * docs/gst/gstreamer-sections.txt:
17724           move some macros to private sections
17725         * gst/gstminiobject.c:
17726         * gst/gstminiobject.h:
17727           add descriptions provided by ds and some more
17728         * gst/gstpad.h:
17729           mark macro as to be removed
17730
17731 2005-10-28  Wim Taymans  <wim@fluendo.com>
17732
17733         * docs/design/part-TODO.txt:
17734         Add an item to TODO.
17735
17736         * gst/gstiterator.c: (gst_iterator_fold),
17737         (gst_iterator_find_custom):
17738         * gst/gstiterator.h:
17739         Add iterator docs.
17740
17741 2005-10-28  Wim Taymans  <wim@fluendo.com>
17742
17743         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17744         (gst_base_transform_init):
17745         Don't leak class.
17746
17747         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
17748         An EOS event marks the queue as completely filled.
17749
17750 2005-10-27  Wim Taymans  <wim@fluendo.com>
17751
17752         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17753         (gst_base_sink_do_sync), (gst_base_sink_get_position):
17754         Some more debugging.
17755
17756         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
17757         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
17758         (gst_base_transform_event), (gst_base_transform_getrange),
17759         (gst_base_transform_chain):
17760         * gst/base/gstbasetransform.h:
17761         Fix debugging,
17762         Protect transform and concurrent buffer alloc with a new lock.
17763         Try not to break ABI/API.
17764
17765 2005-10-27  Wim Taymans  <wim@fluendo.com>
17766
17767         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17768         (gst_base_src_init), (gst_base_src_query),
17769         (gst_base_src_default_newsegment),
17770         (gst_base_src_configure_segment), (gst_base_src_do_seek),
17771         (gst_base_src_send_event), (gst_base_src_event_handler),
17772         (gst_base_src_pad_get_range), (gst_base_src_loop),
17773         (gst_base_src_unlock), (gst_base_src_default_negotiate),
17774         (gst_base_src_start), (gst_base_src_deactivate),
17775         (gst_base_src_activate_push), (gst_base_src_change_state):
17776         Move some stuff around and cleanup things.
17777
17778 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
17779
17780         * gst/base/gstbasesrc.c: (gst_base_src_query):
17781           Add missing break statements.
17782
17783 2005-10-27  Wim Taymans  <wim@fluendo.com>
17784
17785         * check/gst/gstbin.c: (GST_START_TEST):
17786         An extra refcount is taken in basesrc.
17787
17788         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
17789         (gst_base_src_get_range), (gst_base_src_pad_get_range),
17790         (gst_base_src_loop):
17791         Small cleanups, check for flushing after being unlocked from the 
17792         LIVE_LOCK. take refcounts correctly (not yet everywhere).
17793         Don't send out EOS when going to READY.
17794
17795 2005-10-27  Wim Taymans  <wim@fluendo.com>
17796
17797         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17798         (gst_base_sink_get_position):
17799         Some more debug.
17800
17801         * gst/gstbin.c: (message_check), (bin_replace_message),
17802         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17803         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17804         (bin_query_duration_init), (bin_query_duration_fold),
17805         (bin_query_duration_done), (bin_query_generic_fold),
17806         (gst_bin_query):
17807         * tools/gst-launch.c: (main):
17808         Remove old option.
17809
17810 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
17811
17812         * examples/controller/audio-example.c: (main):
17813         * examples/queue/queue.c: (event_loop):
17814         * gst/base/gstbasetransform.h:
17815         * gst/gstelement.c: (gst_element_send_event):
17816         * gst/gstevent.h:
17817         * gst/gstpad.c: (gst_pad_send_event):
17818           fixing examples
17819           fixing docs typos
17820           changing log priority in error situations
17821
17822 2005-10-25  Wim Taymans  <wim@fluendo.com>
17823
17824         * gst/gstbin.c: (message_check), (bin_replace_message),
17825         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17826         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17827         (bin_query_duration_init), (bin_query_duration_fold),
17828         (bin_query_duration_done), (bin_query_generic_fold),
17829         (gst_bin_query):
17830         Some doc and debug updates.
17831         Cache previously requested query DURATION for speed. invalidate
17832         cached duration if element posts a DURATION message.
17833
17834 2005-10-25  Wim Taymans  <wim@fluendo.com>
17835
17836         * docs/design/part-TODO.txt:
17837         Update TODO.
17838
17839         * gst/gstbin.c: (message_check), (bin_replace_message),
17840         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17841         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17842         (bin_query_duration_init), (bin_query_duration_fold),
17843         (bin_query_duration_done), (bin_query_generic_fold),
17844         (gst_bin_query):
17845         Handle SEGMENT_START/DONE messages correctly.
17846         More evolved query algorithm that handles duration queries
17847         correctly.
17848
17849         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
17850         (gst_element_get_state_func), (gst_element_abort_state),
17851         (gst_element_commit_state), (gst_element_lost_state):
17852         Some more debugging.
17853
17854         * gst/gstmessage.h:
17855         Added doc.
17856
17857 2005-10-25  Wim Taymans  <wim@fluendo.com>
17858
17859         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17860         Don't use invalid stream_time.
17861
17862         * gst/gstevent.c: (gst_event_new_newsegment):
17863         stream_time in newsegment cannot be undefined.
17864
17865 2005-10-24  Wim Taymans  <wim@fluendo.com>
17866
17867         * gst/gstbus.c:
17868         Doc fix.
17869
17870         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17871         (gst_queue_loop):
17872         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
17873
17874 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
17875
17876         * docs/libs/tmpl/gstdparam.sgml:
17877         * docs/libs/tmpl/gstdplinint.sgml:
17878         * docs/libs/tmpl/gstdpman.sgml:
17879         * docs/libs/tmpl/gstdpsmooth.sgml:
17880         * docs/libs/tmpl/gstunitconvert.sgml:
17881           these are obsolete
17882
17883 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17884
17885         * configure.ac:
17886           back to HEAD
17887
17888 === release 0.9.4 ===
17889
17890 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17891
17892         * configure.ac:
17893           releasing 0.9.4, "Tyrannosaurus Rex"
17894
17895 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
17896
17897         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17898         (gst_file_sink_get_current_offset):
17899           Use fseeko() and ftello() if available. When falling back on
17900           lseek() to get the current offset, fflush() first to make sure
17901           everything is up-to-date and we get the right offset.
17902
17903 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17904
17905         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17906         * gst/base/gstbasesrc.c: (gst_base_src_loop):
17907         * gst/gsterror.c: (_gst_stream_errors_init):
17908         * gst/gsterror.h:
17909         * gst/gstqueue.c: (gst_queue_loop):
17910         * po/POTFILES.in:
17911           remove prematurely added error category and clean up the instances
17912
17913 2005-10-21  Wim Taymans  <wim@fluendo.com>
17914
17915         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17916         (gst_base_sink_get_position), (gst_base_sink_query),
17917         (gst_base_sink_change_state):
17918         Simply set the right flag when going to playing, that's all
17919         we need to do instead of calling a function inside the object
17920         lock (that could take the lock as well and deadlock)
17921
17922 2005-10-21  Wim Taymans  <wim@fluendo.com>
17923
17924         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
17925         (gst_base_src_loop):
17926         Don't warn, the peer element knows what to do best when
17927         the seek failed, it might try something else.
17928
17929 2005-10-21  Wim Taymans  <wim@fluendo.com>
17930
17931         * gst/base/gstbasesrc.c: (gst_base_src_init),
17932         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
17933         Fix seeking.
17934
17935 2005-10-21  Wim Taymans  <wim@fluendo.com>
17936
17937         * docs/design/part-segments.txt:
17938         More docs.
17939
17940         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17941         Correctly set caps, even on the subbufer.
17942
17943 2005-10-21  Wim Taymans  <wim@fluendo.com>
17944
17945         * docs/gst/gstreamer-docs.sgml:
17946         * docs/gst/gstreamer-sections.txt:
17947         * gst/gstelement.h:
17948         * gst/gstevent.c:
17949         * gst/gstevent.h:
17950         * gst/gstmessage.h:
17951         * gst/gstpad.h:
17952         * gst/gstparse.h:
17953         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
17954         * gst/gsttask.h:
17955         * gst/gstutils.c:
17956         * gst/gstutils.h:
17957         And 2% more doc coverage.
17958
17959 2005-10-21  Andy Wingo  <wingo@pobox.com>
17960
17961         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
17962         position reporting.
17963
17964 2005-10-20  Wim Taymans  <wim@fluendo.com>
17965
17966         * gst/gsterror.c: (gst_error_get_message):
17967         * gst/gstparse.h:
17968         * gst/gstquery.h:
17969         * gst/gststructure.c:
17970         * gst/gsttrace.c:
17971         * gst/gstutils.c:
17972         More docs.
17973
17974 2005-10-20  Wim Taymans  <wim@fluendo.com>
17975
17976         * gst/gstbuffer.h:
17977         * gst/gstpad.c:
17978         * gst/gstparse.c:
17979         Another 1% more coverage.
17980
17981 2005-10-20  Wim Taymans  <wim@fluendo.com>
17982
17983         * docs/gst/gstreamer-sections.txt:
17984         * gst/gstelement.c: (gst_element_get_state_func),
17985         (gst_element_abort_state), (gst_element_commit_state),
17986         (gst_element_lost_state):
17987         * gst/gstevent.h:
17988         * gst/gstquery.c: (gst_query_set_position),
17989         (gst_query_parse_position), (gst_query_set_duration),
17990         (gst_query_parse_duration), (gst_query_new_convert):
17991         * gst/gstutils.c:
17992         Yay! 1% more docs coverage.
17993
17994 2005-10-20  Wim Taymans  <wim@fluendo.com>
17995
17996         * gst/gstpad.h:
17997         * gst/gstquery.c: (gst_query_set_position),
17998         (gst_query_parse_position), (gst_query_set_duration),
17999         (gst_query_parse_duration), (gst_query_new_convert):
18000         * gst/gstquery.h:
18001         * gst/gstutils.c: (gst_element_query_convert):
18002         * gst/gstutils.h:
18003         Docs and consistency fixes.
18004
18005 2005-10-20  Wim Taymans  <wim@fluendo.com>
18006
18007         * gst/gsttask.c:
18008         * gst/gsttask.h:
18009         More docs.
18010
18011 2005-10-20  Wim Taymans  <wim@fluendo.com>
18012
18013         * gst/gstbin.c: (message_check), (bin_replace_message),
18014         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18015         (update_degree), (gst_bin_sort_iterator_next),
18016         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
18017         Reworked the message handling a bit, cache the messages instead of
18018         only the senders. alows us to do more in the future.
18019
18020 2005-10-20  Wim Taymans  <wim@fluendo.com>
18021
18022         * docs/design/part-TODO.txt:
18023         Update TODO
18024
18025         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18026         (gst_base_sink_query):
18027         Don't use clock time to report position when in EOS.
18028
18029 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
18030
18031         * tools/gst-inspect.c: (print_interfaces),
18032         (print_element_properties_info), (print_element_info):
18033           Fix interface output with gst-inspect -a; don't print
18034           newlines after double/float properties.
18035
18036 2005-10-20  Wim Taymans  <wim@fluendo.com>
18037
18038         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18039         (gst_base_sink_query):
18040         Speed up current position calculation.
18041
18042         * gst/base/gstbasesrc.c: (gst_base_src_query),
18043         (gst_base_src_default_newsegment):
18044         Correctly set stream position in newsegment.
18045
18046         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
18047         (update_degree), (gst_bin_sort_iterator_next),
18048         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
18049         * gst/gstmessage.c: (gst_message_new_custom):
18050         Clean up debugging info
18051
18052         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18053         (gst_queue_loop), (gst_queue_handle_src_query):
18054         Pause task faster.
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         Fix query handling again.
18061
18062 2005-10-19  Wim Taymans  <wim@fluendo.com>
18063
18064         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18065         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18066         * gst/base/gstbasesrc.c: (gst_base_src_query):
18067         * gst/elements/gstfilesink.c: (gst_file_sink_query):
18068         * gst/elements/gsttypefindelement.c:
18069         (gst_type_find_handle_src_query), (find_element_get_length),
18070         (gst_type_find_element_activate):
18071         API change fix.
18072
18073         * gst/gstquery.c: (gst_query_new_position),
18074         (gst_query_set_position), (gst_query_parse_position),
18075         (gst_query_new_duration), (gst_query_set_duration),
18076         (gst_query_parse_duration), (gst_query_set_segment),
18077         (gst_query_parse_segment):
18078         * gst/gstquery.h:
18079         Bundling query position/duration is not a good idea since duration
18080         does not change much and we don't want to recalculate it for every
18081         position query, so they are separated again..
18082         Base value in segment query is not needed.
18083
18084         * gst/gstqueue.c: (gst_queue_handle_src_query):
18085         * gst/gstutils.c: (gst_element_query_position),
18086         (gst_element_query_duration), (gst_pad_query_position),
18087         (gst_pad_query_duration):
18088         * gst/gstutils.h:
18089         Updates for query API change.
18090         Added some docs here and there.
18091
18092 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18093
18094         * check/gst/gstbin.c: (GST_START_TEST):
18095         * check/gst/gstghostpad.c: (GST_START_TEST):
18096         * check/pipelines/cleanup.c: (GST_START_TEST):
18097           wait on thread to die so we can check refcount correctly
18098
18099 2005-10-18  Wim Taymans  <wim@fluendo.com>
18100
18101         * check/pipelines/stress.c: (GST_START_TEST):
18102         Make check a little more time consuming.
18103
18104 2005-10-18  Wim Taymans  <wim@fluendo.com>
18105
18106         * check/Makefile.am:
18107         * check/pipelines/stress.c: (GST_START_TEST),
18108         (simple_launch_lines_suite), (main):
18109         Small state change torture test.
18110
18111         * docs/design/part-states.txt:
18112         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18113         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
18114         (gst_base_sink_change_state):
18115         Never take state lock from streaming thread, clean up ugly
18116         hacks. Unfortunatly core does not yet support nice ways to
18117         async commit state.
18118         
18119         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
18120         (bin_bus_handler):
18121         Start state recalc if a STATE_DIRTY message is posted, but only
18122         on the toplevel bin.
18123
18124         * gst/gstelement.c: (gst_element_sync_state_with_parent),
18125         (gst_element_get_state_func), (gst_element_abort_state),
18126         (gst_element_commit_state), (gst_element_lost_state),
18127         (gst_element_set_state_func), (gst_element_change_state):
18128         * gst/gstelement.h:
18129         State variables are now protected with the LOCK, the state
18130         lock is only used to serialize _set_state().
18131
18132 2005-10-18  Wim Taymans  <wim@fluendo.com>
18133
18134         * check/gst/gstbin.c: (GST_START_TEST):
18135         * check/gst/gstmessage.c: (GST_START_TEST):
18136         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18137         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
18138         (bin_bus_handler):
18139         * gst/gstelement.c: (gst_element_abort_state),
18140         (gst_element_commit_state), (gst_element_lost_state):
18141         * gst/gstmessage.c: (gst_message_new_state_changed),
18142         (gst_message_new_state_dirty), (gst_message_new_segment_start),
18143         (gst_message_new_segment_done), (gst_message_new_duration),
18144         (gst_message_parse_state_changed),
18145         (gst_message_parse_segment_start),
18146         (gst_message_parse_segment_done), (gst_message_parse_duration):
18147         * gst/gstmessage.h:
18148         * tools/gst-launch.c: (event_loop):
18149         Seriously, this is better than a previous commit as we only need
18150         to notify the fact that an element changed state in a streaming
18151         thread, marking the state of the parents dirty, hence the 
18152         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
18153         message.
18154
18155 2005-10-18  Wim Taymans  <wim@fluendo.com>
18156
18157         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
18158         (gst_bin_recalc_func):
18159         * gst/gstelement.c: (gst_element_set_clock),
18160         (gst_element_abort_state), (gst_element_lost_state):
18161         Cleanups, prepare for state change fixes.
18162
18163 2005-10-18  Wim Taymans  <wim@fluendo.com>
18164
18165         * gst/gstbin.h:
18166         * gst/gstelement.c: (gst_element_class_init),
18167         (gst_element_set_state), (gst_element_set_state_func):
18168         * gst/gstelement.h:
18169         Pending ABI changes.
18170         GThreadPool in GstBinClass to monitor async state changes.
18171         state_cookie in GstElement to detect concurrent gst/set state.
18172         set_state is now virtual too in case a very complicated element
18173         has to be constructed.
18174
18175 2005-10-18  Wim Taymans  <wim@fluendo.com>
18176
18177         * check/gst/gstbin.c: (GST_START_TEST):
18178         * check/gst/gstmessage.c: (GST_START_TEST):
18179         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18180         * gst/gstbin.c: (bin_bus_handler):
18181         * gst/gstelement.c: (gst_element_commit_state),
18182         (gst_element_lost_state):
18183         * gst/gstmessage.c: (gst_message_new_state_changed),
18184         (gst_message_new_segment_start), (gst_message_new_segment_done),
18185         (gst_message_new_duration), (gst_message_parse_state_changed),
18186         (gst_message_parse_segment_start),
18187         (gst_message_parse_segment_done), (gst_message_parse_duration):
18188         * gst/gstmessage.h:
18189         * tools/gst-launch.c: (event_loop):
18190         Make messages future proof.
18191         state-change gets a flag if it was a message comming from the
18192         streaming thread.
18193         segment-start/stop can also be specified in other formats.
18194         A message to notify an app that a pipeline changed playback 
18195         duration.
18196         Also fix a GstMessage leak in -launch
18197
18198 2005-10-18  Andy Wingo  <wingo@pobox.com>
18199
18200         * gst/gstelement.c (gst_element_dispose): More helpful message.
18201
18202 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18203
18204         reviewed by: <delete if not using a buddy>
18205
18206         * common/gtk-doc.mak:
18207
18208 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18209
18210         * gst/gstregistry.c: (gst_registry_scan_path_level):
18211           unref a plug-in we get that was already initialized
18212
18213 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
18214
18215         * docs/gst/gstreamer-sections.txt:
18216         * docs/libs/gstreamer-libs-sections.txt:
18217         * gst/gstelement.h:
18218           add new api entries
18219           hide internal macro
18220
18221 2005-10-17  Andy Wingo  <wingo@pobox.com>
18222
18223         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
18224         cleanup.
18225
18226         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
18227
18228         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
18229
18230         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
18231         (gst_element_get_state_func): Better debug message.
18232         (gst_element_commit_state): s/INFO/DEBUG/.
18233         (gst_element_lost_state, gst_element_change_state): 
18234
18235         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
18236         (gst_message_new_custom): s/INFO/LOG/.
18237
18238 2005-10-17  Michael Smith <msmith@fluendo.com>
18239
18240         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18241           Check if end time is valid using end time, not start time.
18242
18243 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
18244
18245         * check/gst-libs/controller.c: (GST_START_TEST),
18246         (gst_controller_suite):
18247         * libs/gst/controller/gstcontroller.c:
18248         (gst_controlled_property_set_interpolation_mode):
18249         * libs/gst/controller/gstcontroller.h:
18250         * libs/gst/controller/gstinterpolation.c:
18251         * testsuite/controller/.cvsignore:
18252         * testsuite/controller/Makefile.am:
18253         * testsuite/controller/interpolator.c:
18254           merge controller testsuites
18255           fix broken tests
18256           remove mem-chunk from docs
18257
18258 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18259
18260         * gst/gstmemchunk.c:
18261         * gst/gstmemchunk.h:
18262         * gst/gsttrashstack.c:
18263         * gst/gsttrashstack.h:
18264           out.  get out.  you're fired.  to the Attic !
18265
18266 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18267
18268         * gst/gstcaps.c: (gst_caps_intersect):
18269           fix signedness issues in a (hopefully) correct way
18270         * gst/gstelement.c: (gst_element_pads_activate):
18271           some debugging
18272         * gst/gstobject.c: (gst_object_set_parent):
18273           some debugging
18274
18275 2005-10-17  Julien MOUTTE  <julien@moutte.net>
18276
18277         * gst/gstvalue.h: Fix prototypes.
18278
18279 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18280
18281         * docs/gst/gstreamer-sections.txt:
18282         * gst/gst.c: (gst_version_string):
18283         * gst/gst.h:
18284         * gst/gstversion.h.in:
18285         * win32/common/libgstreamer.def:
18286           add gst_version_string ()
18287
18288 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18289
18290         * configure.ac:
18291           clean up further
18292         * gst/gst.c: (init_post):
18293         * win32/common/config.h.in:
18294           it's PLUGINDIR now
18295         * gst/gstcaps.c: (gst_caps_intersect):
18296           use gint64, the range could be bigger than a guint
18297
18298 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18299
18300         * gst/gstclock.h:
18301           document potential problem in 2038
18302
18303 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18304
18305         * gst/gstcaps.c: (gst_caps_intersect):
18306           Fix guint j diving under 0
18307
18308 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18309
18310         * configure.ac:
18311         * win32/common/config.h:
18312         * win32/common/config.h.in:
18313           check for process.h, declares getpid() on Windows
18314         * gst/gstinfo.c:
18315           include process.h if we have it
18316         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
18317         * gst/gstmemchunk.h:
18318           fix signedness issues
18319         * win32/common/libgstreamer.def:
18320           fix get_type's
18321
18322 2005-10-16  Julien MOUTTE  <julien@moutte.net>
18323
18324         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
18325         fix. Because of unsigned ints, caps intersection was going nuts and
18326         trying to access structures with G_MAXUINT index. That fixes
18327         videotestsrc ! ffmpegcolorspace ! fakesink
18328         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
18329         consistency.
18330
18331 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18332
18333         * configure.ac:
18334           use the gettext macro
18335         * gst/elements/gstelements.c:
18336         * gst/gst.c:
18337         * gst/indexers/gstindexers.c:
18338           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
18339         * win32/common/config.h:
18340           updated config.h
18341         * win32/common/config.h.in:
18342           add the template to generate config.h
18343         * win32/common/gstenumtypes.c:
18344         * win32/common/gstversion.h:
18345           updated copies
18346
18347 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18348
18349         * gst/gst.c: (gst_version):
18350         * gst/gstversion.h.in:
18351           add the nano
18352
18353 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
18354
18355         * gst/gstevent.h:
18356           Oops, add missing closing bracket.
18357
18358 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18359
18360         * configure.ac:
18361           use common m4's for argument checking
18362
18363 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
18364
18365         * docs/gst/gstreamer-sections.txt:
18366         * gst/gstevent.h:
18367           Add GST_EVENT_TYPE_NAME() macro.
18368
18369 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18370
18371         * gst/gstinfo.c:
18372         * gst/gstpluginfeature.c:
18373         * gst/gsttask.c:
18374           privatize more symbols
18375
18376 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18377
18378         * configure.ac:
18379           add srcdir, builddir includes to GST_ALL_CFLAGS, since
18380           everything that uses GStreamer API should have the includes
18381
18382 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18383
18384         * docs/gst/gstreamer-sections.txt:
18385         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
18386         * gst/gstvalue.h:
18387           give each value a _get_type, removes the DATA exports
18388
18389 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18390
18391         * gst/gst.c:
18392         * gst/gst.h:
18393           remove _gst_registry_auto_load, not used anymore
18394         * gst/gstbin.c: (gst_bin_get_type):
18395         * gst/gstbin.h:
18396         * gst/gstelement.c: (gst_element_get_type):
18397         * gst/gstelement.h:
18398         * gst/gstobject.c: (gst_object_get_type):
18399         * gst/gstobject.h:
18400         * gst/gstpad.c: (gst_pad_get_type):
18401         * gst/gstpad.h:
18402           make _get_type functions similar, fixes data export from library
18403
18404 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18405
18406         * configure.ac:
18407           correctly make conditionals
18408         * gst/elements/Makefile.am:
18409         * gst/elements/gstelements.c:
18410           fix typo causing fdsrc not to build
18411
18412 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18413
18414         * testsuite/Makefile.am:
18415         * testsuite/bytestream/.cvsignore:
18416         * testsuite/bytestream/Makefile.am:
18417         * testsuite/bytestream/filepadsink.c:
18418         * testsuite/bytestream/gstbstest.c:
18419         * testsuite/bytestream/test1.c:
18420         * testsuite/bytestream/testfile1:
18421         * testsuite/caps/normalisation.c:
18422         * testsuite/caps/random.c: (main):
18423         * testsuite/cleanup/.cvsignore:
18424         * testsuite/cleanup/Makefile.am:
18425         * testsuite/cleanup/cleanup1.c:
18426         * testsuite/cleanup/cleanup2.c:
18427         * testsuite/cleanup/cleanup3.c:
18428         * testsuite/cleanup/cleanup4.c:
18429         * testsuite/cleanup/cleanup5.c:
18430         * testsuite/controller/interpolator.c:
18431         * testsuite/debug/printf_extension.c: (main):
18432         * testsuite/elements/tee.c:
18433         * testsuite/negotiation/.cvsignore:
18434         * testsuite/negotiation/Makefile.am:
18435         * testsuite/negotiation/pad_link.c:
18436         * testsuite/pad/Makefile.am:
18437         * testsuite/pad/chainnopull.c:
18438         * testsuite/pad/getnopush.c:
18439         * testsuite/pad/link.c:
18440         * testsuite/refcounting/sched.c: (create_pipeline):
18441         * testsuite/registry/Makefile.am:
18442         * testsuite/registry/gst-print-formats.c:
18443         * testsuite/schedulers/.cvsignore:
18444         * testsuite/schedulers/142183-2.c:
18445         * testsuite/schedulers/142183.c:
18446         * testsuite/schedulers/143777-2.c:
18447         * testsuite/schedulers/143777.c:
18448         * testsuite/schedulers/147713.c:
18449         * testsuite/schedulers/147819.c:
18450         * testsuite/schedulers/147894-2.c:
18451         * testsuite/schedulers/147894.c:
18452         * testsuite/schedulers/Makefile.am:
18453         * testsuite/schedulers/group_link.c:
18454         * testsuite/schedulers/queue_link.c:
18455         * testsuite/schedulers/relink.c:
18456         * testsuite/schedulers/unlink.c:
18457         * testsuite/schedulers/unref.c:
18458         * testsuite/schedulers/useless_iteration.c:
18459         * testsuite/states/bin.c:
18460           clean out/remove some stuff from the testsuite directories
18461
18462 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18463
18464         * configure.ac:
18465           check for some headers
18466         * gst/elements/Makefile.am:
18467         * gst/elements/gstelements.c:
18468           don't compile fdsrc without sys/socket.h
18469         * gst/indexers/Makefile.am:
18470         * gst/indexers/gstindexers.c: (plugin_init):
18471           don't compile fileindex without mmap
18472
18473 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18474
18475         * configure.ac:
18476           reorganize
18477           clean up
18478           document more
18479           remove cruft
18480         * check/Makefile.am:
18481         * docs/gst/Makefile.am:
18482         * examples/helloworld/Makefile.am:
18483         * gst/Makefile.am:
18484         * gst/base/Makefile.am:
18485         * gst/check/Makefile.am:
18486         * gst/elements/Makefile.am:
18487         * gst/indexers/Makefile.am:
18488         * gst/parse/Makefile.am:
18489         * libs/gst/controller/Makefile.am:
18490         * libs/gst/dataprotocol/Makefile.am:
18491         * examples/helloworld/helloworld.c: (event_loop):
18492           compile fixes, though it's not being compiled currently
18493
18494 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
18495
18496         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
18497           Add some simple tests for the new taglist date API.
18498
18499 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
18500
18501         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
18502         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
18503           Beautify 'last-message' output: print 'none' for buffer timestamps
18504           and durations if none is set; improve alignment with next messages.
18505
18506 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
18507
18508         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
18509         * gst/gstpluginfeature.h:
18510         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
18511         * gst/gstregistry.h:
18512         * docs/gst/gstreamer-sections.txt:
18513           Add new API to check plugin feature version requirements.
18514
18515         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
18516           Some basic tests for the above.         
18517
18518 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18519
18520         * gst/gststructure.c: (gst_structure_to_string):
18521           guard against NULL printf - happens when for example
18522           a message structure with GstClock gets serialized
18523
18524 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
18525
18526         * gst/base/gstcollectpads.c: (gst_collectpads_event):
18527           Fix presumable copy'n'pasto.
18528
18529 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18530
18531         * gst/elements/gstfakesrc.h:
18532         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
18533         * gst/elements/gsttypefindelement.c:
18534           fix some signedness
18535         * gst/elements/gstfilesink.c: (gst_file_sink_render):
18536           I wonder if this could actually write +2GB files before
18537
18538 2005-10-13  Andy Wingo  <wingo@pobox.com>
18539
18540         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
18541         Fix Timmeke Waymans bug.
18542         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
18543         string of the proper length to gst_caps_from_string. There's a
18544         potential for, before this fix, that this could cause someone
18545         connecting over the network to cause a segfault if the payload is
18546         not NUL-terminated.
18547
18548 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
18549
18550         * docs/design/draft-push-pull.txt:
18551         * docs/design/part-overview.txt:
18552         * docs/random/TODO-pre-0.9:
18553         * docs/random/old/ChangeLog.gstreamer:
18554         * gst/base/gstpushsrc.c:
18555         * gst/gstclock.c:
18556           fixed typos
18557
18558 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18559
18560         * gst/glib-compat.c: (gst_flags_get_first_value):
18561         * gst/glib-compat.h:
18562         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
18563         (gst_value_compare_double), (gst_value_serialize_flags):
18564           GLib 2.6 g_flags_get_first_value has a bug that triggers an
18565           infinite loop
18566
18567 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18568
18569         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18570         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18571           fix up debugging
18572         * tools/gst-launch.c: (event_loop):
18573           print out clock nicely
18574
18575 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
18576
18577         * docs/gst/gstreamer-sections.txt:
18578         * gst/gsttaglist.h:
18579         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
18580         (gst_tag_list_get_date_index):
18581           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
18582           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
18583
18584 2005-10-13  Julien MOUTTE  <julien@moutte.net>
18585
18586         * gst/base/gstcollectpads.c: (gst_collectpads_event),
18587         (gst_collectpads_chain):
18588         * gst/base/gstcollectpads.h: Handle newsegment and store informations
18589         in CollectData.
18590
18591 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
18592
18593         * docs/gst/gstreamer-sections.txt:
18594         * gst/gst.c:
18595         * gst/gsterror.h:
18596         * tools/gst-inspect.c: (main):
18597         * tools/gst-launch.c: (main):
18598         * tools/gst-run.c: (main):
18599         * tools/gst-xmlinspect.c: (main):
18600           fix GOption context leaks
18601           doc fixes
18602
18603 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18604
18605         * gst/gstbus.c:
18606           use HAVE_UNISTD_H
18607         * win32/common/config.h:
18608           update config
18609         * win32/vs6/grammar.dsp:
18610         * win32/vs6/libgstelements.dsp:
18611         * win32/vs6/libgstreamer.dsp:
18612           update vs6 files
18613
18614 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18615
18616         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18617         * gst/base/gstbasesrc.c: (gst_base_src_query):
18618           fix more guint64<->gdouble conversions
18619
18620 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18621
18622         * Makefile.am:
18623           add win32-update target
18624         * win32/common/gstconfig.h:
18625         * win32/common/gstenumtypes.c:
18626         * win32/common/gstenumtypes.h:
18627         * win32/common/gstversion.h:
18628           add files that visual studio can't generate
18629
18630 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18631
18632         * Makefile.am:
18633           add a win32-update target
18634         * configure.ac:
18635
18636 2005-10-12  Wim Taymans  <wim@fluendo.com>
18637
18638         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18639         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
18640         * gst/gstelement.c: (gst_element_commit_state),
18641         (gst_element_set_state):
18642         Protect flags with proper lock.
18643         unref provided cached clock in dispose.
18644
18645 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
18646
18647         * gst/gst.c:
18648         * gst/gstminiobject.h:
18649         * gst/gstpad.h:
18650         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
18651           removed unused flags from miniobject
18652           doc fixes
18653
18654 2005-10-12  Wim Taymans  <wim@fluendo.com>
18655
18656         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18657         (gst_file_sink_event), (gst_file_sink_render):
18658         Flush before seeking.
18659
18660 2005-10-12  Andy Wingo  <wingo@pobox.com>
18661
18662         * gst/gst.c (gst_init_check): Ignore unknown options, as has
18663         always been the case.
18664
18665 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
18666
18667         * check/gst/gstbin.c: (GST_START_TEST):
18668         * docs/gst/gstreamer-sections.txt:
18669         * gst/base/gstbasesink.c: (gst_base_sink_init):
18670         * gst/base/gstbasesrc.c: (gst_base_src_init),
18671         (gst_base_src_get_range), (gst_base_src_check_get_range),
18672         (gst_base_src_start), (gst_base_src_stop):
18673         * gst/base/gstbasesrc.h:
18674         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
18675         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18676         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
18677         (bin_bus_handler):
18678         * gst/gstbin.h:
18679         * gst/gstbuffer.h:
18680         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
18681         * gst/gstbus.h:
18682         * gst/gstelement.c: (gst_element_is_locked_state),
18683         (gst_element_set_locked_state), (gst_element_commit_state),
18684         (gst_element_set_state):
18685         * gst/gstelement.h:
18686         * gst/gstindex.c: (gst_index_init):
18687         * gst/gstindex.h:
18688         * gst/gstminiobject.h:
18689         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
18690         (gst_object_set_parent):
18691         * gst/gstobject.h:
18692         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
18693         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
18694         * gst/gstpad.h:
18695         * gst/gstpadtemplate.h:
18696         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
18697         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
18698         * gst/gstpipeline.h:
18699         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18700         (gst_file_index_commit):
18701         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
18702         * testsuite/pad/link.c: (gst_test_src_init),
18703         (gst_test_filter_init), (gst_test_sink_init):
18704         * testsuite/states/locked.c: (main):
18705           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
18706           moved bitshift from macro to enum definition
18707
18708 2005-10-12  Wim Taymans  <wim@fluendo.com>
18709
18710         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
18711         * gst/elements/gstfilesink.c: (gst_file_sink_event),
18712         (gst_file_sink_render):
18713         Some more debugging info.
18714
18715 2005-10-12  Wim Taymans  <wim@fluendo.com>
18716
18717         * docs/design/part-states.txt:
18718         * tools/gst-launch.c: (main):
18719         Some doc updates.
18720         Revert non-intentional change.
18721
18722 2005-10-12  Wim Taymans  <wim@fluendo.com>
18723
18724         * check/gst/gstbin.c: (GST_START_TEST):
18725         * check/gst/gstelement.c: (GST_START_TEST):
18726         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
18727         * check/gst/gstghostpad.c: (GST_START_TEST):
18728         * check/gst/gstpipeline.c: (GST_START_TEST):
18729         * check/pipelines/simple_launch_lines.c: (run_pipeline):
18730         * check/states/sinks.c: (GST_START_TEST):
18731         * gst/elements/gsttypefindelement.c: (stop_typefinding):
18732         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18733         (gst_bin_remove_func), (gst_bin_get_state_func),
18734         (gst_bin_recalc_state), (gst_bin_change_state_func),
18735         (bin_bus_handler):
18736         * gst/gstelement.c: (gst_element_get_state_func),
18737         (gst_element_get_state), (gst_element_abort_state),
18738         (gst_element_commit_state), (gst_element_set_state),
18739         (gst_element_change_state), (gst_element_change_state_func):
18740         * gst/gstelement.h:
18741         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
18742         (gst_pipeline_provide_clock_func):
18743         * gst/gstutils.c: (gst_element_link_pads_filtered):
18744         * tools/gst-launch.c: (main):
18745         * tools/gst-typefind.c: (main):
18746         Use GstClockTime in _get_state() instead of GTimeVal.
18747         Remove old code in gstutils.c
18748
18749 2005-10-12  Andy Wingo  <wingo@pobox.com>
18750
18751         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
18752         removed.
18753
18754         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
18755         there is no task. Shouldn't affect any code, as nothing in our
18756         plugins checks this return value.
18757         (gst_pad_stop_task): Also take the stream lock if the pad has no
18758         task. Docs updated.
18759
18760 2005-10-12  Wim Taymans  <wim@fluendo.com>
18761
18762         * gst/gstpad.c: (pre_activate), (post_activate),
18763         (gst_pad_activate_pull), (gst_pad_activate_push):
18764         Cleanup activation code. Reset old state if
18765         activation failed.
18766
18767 2005-10-12  Wim Taymans  <wim@fluendo.com>
18768
18769         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18770         (gst_base_sink_change_state):
18771         No need to prerol after receiving EOS.
18772
18773         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18774         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
18775         * gst/elements/gstidentity.c: (gst_identity_event):
18776         Print events more verbosely.
18777
18778 2005-10-12  Wim Taymans  <wim@fluendo.com>
18779
18780         * check/Makefile.am:
18781         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
18782         * check/states/sinks2.c:
18783         Moved sinks2 testcode in sinks check.
18784
18785         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18786         (gst_bin_remove_func), (gst_bin_recalc_state),
18787         (gst_bin_change_state_func), (bin_bus_handler):
18788         Fix potential race condition when _get_state() iterated over an
18789         ASYNC element right before it posted a state completion.
18790
18791         * gst/gstclock.h:
18792         Do proper cast here.
18793
18794         * gst/gstevent.c: (gst_event_new_newsegment),
18795         (gst_event_parse_newsegment):
18796         A playback rate of 0.0 is not allowed.
18797
18798 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18799
18800         * win32/common/config.h:
18801         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
18802         (_trewinddir), (_ttelldir), (_tseekdir):
18803         * win32/common/dirent.h:
18804         * win32/common/gtchar.h:
18805         * win32/common/libgstbase.def:
18806         * win32/common/libgstreamer.def:
18807         * win32/vs6/grammar.dsp:
18808         * win32/vs6/gst_inspect.dsp:
18809         * win32/vs6/gst_launch.dsp:
18810         * win32/vs6/gstreamer.dsw:
18811         * win32/vs6/libgstbase.dsp:
18812         * win32/vs6/libgstelements.dsp:
18813         * win32/vs6/libgstreamer.dsp:
18814           Visual Studio 6 project files, and a new common directory.
18815           Phear.
18816
18817 2005-10-11  Wim Taymans  <wim@fluendo.com>
18818
18819         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18820         (gst_base_sink_do_sync), (gst_base_sink_query),
18821         (gst_base_sink_change_state):
18822         * gst/base/gstbasesink.h:
18823         Correctly parse newsegment info.
18824
18825 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18826
18827         * gst/gst.c: (init_post):
18828           split plugin paths correctly
18829
18830 2005-10-11  Wim Taymans  <wim@fluendo.com>
18831
18832         * check/gst/gstevent.c: (GST_START_TEST):
18833         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18834         (gst_base_sink_change_state):
18835         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
18836         * gst/base/gstbasetransform.c: (gst_base_transform_event):
18837         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18838         * gst/gstevent.c: (gst_event_new_newsegment),
18839         (gst_event_parse_newsegment):
18840         * gst/gstevent.h:
18841         Added extra flag to newsegment for future API freeze.
18842         Updated check and base elements.
18843
18844 2005-10-11  Julien MOUTTE  <julien@moutte.net>
18845
18846         * gst/base/gstcollectpads.c: (gst_collectpads_init),
18847         (gst_collectpads_add_pad), (gst_collectpads_pop),
18848         (gst_collectpads_event), (gst_collectpads_chain):
18849         * gst/base/gstcollectpads.h: Handle EOS correctly.
18850
18851 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18852
18853         * tools/gst-launch.c: (main):
18854           more null protecting
18855
18856 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18857
18858         * gst/gst-i18n-lib.h:
18859           check for ENABLE_NLS, not GETTEXT_PACKAGE
18860         * gst/gstregistry.c: (gst_registry_add_plugin),
18861         (gst_registry_scan_path_level),
18862         (_gst_registry_remove_cache_plugins):
18863           protect possibly NULL strings
18864         * gst/parse/types.h:
18865           config.h already included before
18866         * tools/gst-inspect.c: (main):
18867           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
18868           check for ENABLE_NLS, not GETTEXT_PACKAGE
18869         * tools/gst-launch.c: (main):
18870           check for ENABLE_NLS, not GETTEXT_PACKAGE
18871
18872 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18873
18874         * configure.ac:
18875           if we don't have glib, fail before testing 2.8
18876         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
18877           fix a leak, should fix plugins-base testsuite
18878
18879 2005-10-11  Andy Wingo  <wingo@pobox.com>
18880
18881         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
18882         take the mode we're going to as an arg. Go head and set the mode
18883         and flushing flags now, so that if the activate function starts a
18884         thread all the flags will be in the right state.
18885         (post_activate): Renamed also. Just handle making sure streaming
18886         finishes for the deactivation case, and setting the deactivated
18887         mode.
18888         (gst_pad_set_active): Complain loudly if deactivation fails.
18889         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
18890         (gst_pad_activate_push): Adapt to pre/post_activate changes,
18891         remove the terrible hack.
18892
18893 2005-10-11  Wim Taymans  <wim@fluendo.com>
18894
18895         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
18896         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
18897         (gst_bin_recalc_state), (gst_bin_change_state_func),
18898         (gst_bin_dispose), (bin_bus_handler):
18899         * gst/gstbin.h:
18900         Prepare to make current EOS message queue more generic.
18901         Fix some typos.
18902
18903         * gst/gstevent.c: (gst_event_new_newsegment),
18904         (gst_event_parse_newsegment):
18905         * gst/gstevent.h:
18906         Rename base to stream_time.
18907
18908         * gst/gstmessage.h:
18909         Fix typo in docs.
18910
18911 2005-10-11  Wim Taymans  <wim@fluendo.com>
18912
18913         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
18914         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
18915         (gst_bin_change_state_func), (bin_bus_handler):
18916         * gst/gstbin.h:
18917         Work on proper clock selection.
18918
18919 2005-10-11  Edward Hervey  <edward@fluendo.com>
18920
18921         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
18922         * libs/gst/controller/gstcontroller.h:
18923         Added GList* version of _remove_properties() in order to be able to wrap
18924         it in bindings.
18925
18926 2005-10-11  Wim Taymans  <wim@fluendo.com>
18927
18928         * docs/design/part-states.txt:
18929         Some more docs.
18930
18931         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
18932         (gst_bin_change_state_func), (bin_bus_handler):
18933         Doc updates. Don't distribute the same clock over and over again.
18934
18935         * gst/gstclock.c:
18936         * gst/gstclock.h:
18937         Doc updates.
18938
18939         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
18940         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
18941         (gst_pad_send_event):
18942         * gst/gstpad.h:
18943         Make probe emission threadsafe again.
18944         Register quarks and move _get_name() from utils.
18945         Doc updates.
18946
18947         * gst/gstpipeline.c: (gst_pipeline_class_init),
18948         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18949         Only redistribute the clock of it changed.
18950
18951         * gst/gstsystemclock.h:
18952         Doc updates. 
18953
18954         * gst/gstutils.c:
18955         * gst/gstutils.h:
18956         Moved the _flow_get_name() to GstPad.
18957
18958 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18959
18960         * check/gst-libs/gdp.c: (GST_START_TEST):
18961         * check/gst/gstcaps.c: (GST_START_TEST):
18962         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
18963         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
18964         (gst_dp_packet_from_caps):
18965           fix more valgrind warnings before turning up the heat
18966
18967 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18968
18969         * gst/parse/grammar.y:
18970           some cleanup before the hacking
18971
18972 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18973
18974         * gst/base/gstbasesrc.c: (gst_base_src_query):
18975           use conversions
18976         * gst/gstutils.c: (gst_guint64_to_gdouble),
18977         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
18978         * gst/gstutils.h:
18979           externalize, basesrc uses it
18980           obviously the implementation needs testing
18981
18982 2005-10-10  Wim Taymans  <wim@fluendo.com>
18983
18984         * tests/sched/Makefile.am:
18985         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
18986         (make_pipeline3), (make_pipeline4), (print_elem), (main):
18987
18988 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18989
18990         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
18991           apparently converting from guint64 to double is not implemented
18992           on MSVC
18993
18994 2005-10-10  Wim Taymans  <wim@fluendo.com>
18995
18996         * check/Makefile.am:
18997         * check/generic/states.c: (GST_START_TEST):
18998         * check/gst/gstbin.c: (GST_START_TEST):
18999         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19000         * check/states/sinks.c: (GST_START_TEST):
19001         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
19002         (main):
19003         Check fixes, use API as stated in design docs, remove hacks.
19004
19005         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19006         (gst_base_sink_change_state):
19007         Catch stopping our task while we're shutting down.
19008
19009         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
19010         (gst_bin_remove_func), (gst_bin_get_state_func),
19011         (gst_bin_recalc_state), (gst_bin_change_state_func),
19012         (bin_bus_handler):
19013         * gst/gstbin.h:
19014         * gst/gstelement.c: (gst_element_init),
19015         (gst_element_get_state_func), (gst_element_abort_state),
19016         (gst_element_commit_state), (gst_element_lost_state),
19017         (gst_element_set_state), (gst_element_change_state),
19018         (gst_element_change_state_func):
19019         * gst/gstelement.h:
19020         New state change algorithm (see #318116)
19021
19022         * gst/gstpipeline.c: (gst_pipeline_class_init),
19023         (gst_pipeline_init), (gst_pipeline_set_property),
19024         (gst_pipeline_get_property), (do_pipeline_seek),
19025         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19026         * gst/gstpipeline.h:
19027         Remove crude state change hacks.
19028
19029         * gst/gstutils.h:
19030         Remove crude hacks.
19031
19032         * tools/gst-launch.c: (main):
19033         Fixes for state change. Needs some more work to fully use the
19034         new stuff.
19035
19036 2005-10-10  Andy Wingo  <wingo@pobox.com>
19037
19038         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
19039
19040         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
19041         this flag, but it's not even in GLib 2.6. Odd. Hack around the
19042         issue.
19043
19044 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19045
19046         * gst/gstiterator.c: (gst_iterator_new):
19047           Fix my previous commit: GTypes passed to gst_iterator_new()
19048           can be fundamental types.
19049
19050 2005-10-10  Wim Taymans  <wim@fluendo.com>
19051
19052         * gst/gstelement.c: (gst_element_iterate_pad_list),
19053         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
19054         (gst_element_iterate_sink_pads):
19055         Use src/sink pads lists for the respective iterators instead
19056         of filtering.
19057
19058 2005-10-10  Andy Wingo  <wingo@pobox.com>
19059
19060         Merged in popt removal + GOption addition patch from Ronald, bug
19061         #169772.
19062
19063         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
19064         GstElement macros around, remove popt-related symbols, add goption
19065         stuff.
19066
19067         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
19068         
19069         * docs/gst/Makefile.am:
19070         * docs/libs/Makefile.am: No POPT_CFLAGS.
19071         
19072         * examples/manual/Makefile.am:
19073         * docs/manual/basics-init.xml: Doc updates with an example.
19074         
19075         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
19076         (gst_init), (parse_one_option), (parse_goption_arg):
19077         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
19078         bit of hand merging and debugging to get the GOption stuff working
19079         tho.
19080         
19081         * tests/Makefile.am:
19082         * tools/Makefile.am:
19083         * tools/gst-inspect.c: (main):
19084         * tools/gst-launch.c: (main):
19085         * tools/gst-run.c: (main):
19086         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
19087
19088 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19089
19090         * gst/gstiterator.c: (gst_iterator_new):
19091           Add assertions to make sure passed GType is likely to really
19092           be a GType (as the compiler won't catch it if the size and
19093           GType arguments get mixed up, see #318447).
19094
19095 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
19096
19097         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19098
19099         * gst/gstbin.c: (gst_bin_iterate_sorted):
19100           Pass GType and size arguments to gst_iterator_new() in the right
19101           order (maybe we should make _new() take the GType as first argument
19102           just like _new_list()?) (#318447).
19103           
19104
19105 2005-10-10  Wim Taymans  <wim@fluendo.com>
19106
19107         * gst/gstelement.c: (gst_element_finalize):
19108         And free the GStaticRecMutex too
19109
19110 2005-10-10  Andy Wingo  <wingo@pobox.com>
19111
19112         * gst/gstelement.c (gst_element_init, gst_element_finalize):
19113         Allocate and free the mutex properly.
19114
19115         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
19116         New macros.
19117         (GstElement): The state_lock is now recursive. Rebuild your
19118         plugins, suckers. Old macros adapted.
19119
19120         * docs/gst/gstreamer-sections.txt: Doc updates.
19121
19122         * gst/gstutils.h:
19123         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
19124         (g_static_rec_cond_wait): Ported from state changes patch, while
19125         we wait on bug #317802 to be solved in a well-distributed GLib.
19126
19127         * gst/gstelement.c (gst_element_change_state_func): Renamed from
19128         gst_element_change_state, variable name changes.
19129         (gst_element_change_state): Split out of gst_element_set_state in
19130         preparation for the state change merge. Doesn't pay attention to
19131         the 'transition' argument.
19132         (gst_element_set_state): Updates, hopefully purely cosmetic.
19133         (gst_element_sync_state_with_parent): MT-safety. Ported from the
19134         state change patch.
19135         (gst_element_get_state_func): Renamed from get_state, cosmetic
19136         changes.
19137
19138 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19139
19140         * gst/elements/gstelements.c:
19141         * win32/GStreamer.vcproj:
19142         * win32/config.h:
19143         * win32/dirent.c: (_tseekdir):
19144         * win32/gst-inspect.vcproj:
19145         * win32/gst-launch.vcproj:
19146         * win32/gstconfig.h:
19147         * win32/gstelements.vcproj:
19148         * win32/gstenumtypes.c: (gst_object_flags_get_type):
19149         * win32/gstreamer.def:
19150         * win32/msvc71.sln:
19151           updates for the win32 build (patch from Sebastien Moutte)
19152
19153 2005-10-10  Andy Wingo  <wingo@pobox.com>
19154
19155         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
19156         gst_bin_get_state, cleaned up (but no logic changes).
19157         (bin_element_is_sink): Comment updates.
19158         (sink_iterator_filter): Remove needless cast.
19159         (gst_bin_iterate_sinks): Doc update.
19160         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
19161         cleaned up (but no logic changes).
19162
19163         * check/states/sinks.c (test_src_sink): Cleanups from the state
19164         change patch.
19165         (test_livesrc_sink): Sync on the state.
19166
19167         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
19168         the state change patch.
19169
19170         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
19171         change patch.
19172
19173         * check/gst/gstbin.c: Merge in some style fixes and additional
19174         checks from Wim's state change patch.
19175
19176 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19177
19178         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19179         (gst_type_find_helper):
19180           Check whether we have the requested data already in our list of
19181           cached buffers before pulling a new buffer; also make the buffer
19182           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
19183
19184 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19185
19186         * gst/gstcaps.c:
19187         * gst/gstevent.c:
19188           doc updates
19189         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19190           don't use long long, it's not portable.  Replacing with
19191           gint64 seems to work; let's hope no skeletons fall out of the closet.
19192
19193 2005-10-10  Andy Wingo  <wingo@pobox.com>
19194
19195         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
19196
19197 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
19198
19199         * docs/gst/gstreamer-sections.txt:
19200         * gst/gstevent.c:
19201         * gst/gstevent.h:
19202         * gst/gstinfo.c:
19203         * gst/gstinfo.h:
19204         * gst/gstmessage.c: (gst_message_parse_state_changed):
19205         * gst/gstpad.c:
19206         * gst/gstpad.h:
19207           more docs, fix compilation
19208
19209 2005-10-09  Philippe Khalaf <burger@speedy.org>
19210         * gst/gstmessage.c:
19211           Fixed a few forgotten variables on previous commit
19212
19213 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
19214
19215         * gst/base/gsttypefindhelper.c: (helper_find_peek):
19216           Fix evil typefind crasher: getrange() might return a short
19217           buffer at the end of a file, but gst_type_find_peek() must
19218           either return the full data as requested or NULL, but
19219           never a short buffer.
19220
19221 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19222
19223         * gst/gstmessage.c: (gst_message_new_state_changed),
19224         (gst_message_parse_state_changed):
19225         * gst/gstmessage.h:
19226           don't use "new", it's a C++ keyword
19227
19228 2005-10-08  Wim Taymans  <wim@fluendo.com>
19229
19230         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
19231         * gst/gstelement.c: (gst_element_post_message):
19232         * gst/gstpipeline.c: (gst_pipeline_change_state):
19233         Small docs and debug updates.
19234
19235 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
19236
19237         * docs/gst/gstreamer-sections.txt:
19238         * gst/gstelementfactory.c:
19239         * gst/gstevent.c:
19240         * gst/gsttaglist.c:
19241           more docs
19242
19243 2005-10-08  Wim Taymans  <wim@fluendo.com>
19244
19245         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
19246         (gst_bin_dispose), (bin_bus_handler):
19247         Fix typos, add comments.
19248         Clear EOS list when going to PAUSED from any direction and do it
19249         in a threadsafe way.
19250         Get base time in a threadsafe way too.
19251         Fix confusing debug in the change_state function.
19252         Various other small cleanups.
19253         
19254         * gst/gstelement.c: (gst_element_post_message):
19255         Fix very verbose bus posting code.
19256
19257         * gst/gstpipeline.c: (gst_pipeline_class_init),
19258         (gst_pipeline_set_property), (gst_pipeline_get_property),
19259         (gst_pipeline_change_state):
19260         Small ARG_ -> PROP_ cleanup
19261
19262 2005-10-08  Wim Taymans  <wim@fluendo.com>
19263
19264         * gst/gstbin.c: (is_eos), (bin_bus_handler):
19265         Do a less CPU demanding EOS check because we can.
19266
19267 2005-10-08  Wim Taymans  <wim@fluendo.com>
19268
19269         * libs/gst/dataprotocol/dataprotocol.c:
19270         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
19271         (gst_dp_packet_from_event):
19272         * libs/gst/dataprotocol/dataprotocol.h:
19273         * libs/gst/dataprotocol/dp-private.h:
19274         It's about time we bump the version number.
19275         Since event types don't fit in the guint8 anymore describing
19276         the payload type, make payload type 16 bits wide.
19277
19278 2005-10-08  Wim Taymans  <wim@fluendo.com>
19279
19280         * docs/design/part-TODO.txt:
19281         * docs/design/part-clocks.txt:
19282         * docs/design/part-events.txt:
19283         * docs/design/part-gstbin.txt:
19284         * docs/design/part-gstelement.txt:
19285         * docs/design/part-gstpipeline.txt:
19286         * docs/design/part-live-source.txt:
19287         * docs/design/part-messages.txt:
19288         * docs/design/part-overview.txt:
19289         * docs/design/part-states.txt:
19290         Many doc updates.
19291
19292 2005-10-08  Wim Taymans  <wim@fluendo.com>
19293
19294         * gst/gstevent.c:
19295         * gst/gstevent.h:
19296         Fix event quark registration.
19297         Add some space between events so we can insert them in the
19298         right groups.
19299
19300 2005-10-08  Wim Taymans  <wim@fluendo.com>
19301
19302         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19303         (gst_base_sink_handle_buffer):
19304         Better log message.
19305
19306         * gst/gstbus.h:
19307         * gst/gstelement.h:
19308         More docs.
19309
19310         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19311         (gst_queue_set_property), (gst_queue_get_property):
19312         * gst/gstqueue.h:
19313         Remove old unused properties.
19314
19315 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
19316         * docs/gst/gstreamer-sections.txt:
19317         * gst/gstmessage.c:
19318         * gst/gstmessage.h:
19319         * gst/gstminiobject.c:
19320         * gst/gstminiobject.h:
19321         * gst/gstobject.h:
19322         * gst/gstpad.h:
19323         * gst/gstutils.h:
19324           lots of new docs and doc fixes
19325
19326 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19327
19328         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
19329         * gst/gstplugin.h:
19330         * gst/gstregistry.c: (gst_registry_lookup_locked),
19331         (gst_registry_scan_path_level):
19332         * gst/gstregistryxml.c: (load_plugin):
19333           Only ever load one plugin for a given plugin basename.
19334           This ensures correct overriding of GST_PLUGIN_PATH over
19335           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
19336           system installed plugins.
19337
19338 2005-10-08  Wim Taymans  <wim@fluendo.com>
19339
19340         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19341         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
19342         Prepare for doing QOS.
19343
19344 2005-10-08  Wim Taymans  <wim@fluendo.com>
19345
19346         * check/gst/gstbin.c: (GST_START_TEST):
19347         * check/pipelines/cleanup.c: (GST_START_TEST):
19348         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19349         Allow new clock message too.
19350
19351 2005-10-08  Wim Taymans  <wim@fluendo.com>
19352
19353         * gst/gstmessage.c: (gst_message_new_error),
19354         (gst_message_new_warning), (gst_message_new_tag),
19355         (gst_message_new_state_changed), (gst_message_new_clock_provide),
19356         (gst_message_new_clock_lost), (gst_message_new_new_clock),
19357         (gst_message_new_segment_start), (gst_message_new_segment_done),
19358         (gst_message_parse_state_changed),
19359         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
19360         (gst_message_parse_new_clock):
19361         * gst/gstmessage.h:
19362         Also carry the clock in question.
19363
19364 2005-10-08  Wim Taymans  <wim@fluendo.com>
19365
19366         * gst/gstmessage.c: (gst_message_new_custom),
19367         (gst_message_new_eos), (gst_message_new_error),
19368         (gst_message_new_warning), (gst_message_new_tag),
19369         (gst_message_new_state_changed), (gst_message_new_clock_provide),
19370         (gst_message_new_new_clock), (gst_message_new_segment_start),
19371         (gst_message_new_segment_done), (gst_message_parse_state_changed),
19372         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
19373         * gst/gstmessage.h:
19374         Clean up.
19375         Added clock related messages.
19376
19377         * gst/gstpipeline.c: (gst_pipeline_change_state):
19378         Post message when the clock changed.
19379
19380         * tools/gst-launch.c: (event_loop):
19381         Print new clock.
19382
19383 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
19384
19385         * tools/gst-inspect.c: (print_element_properties_info):
19386           Can't pass NULL strings to g_print() on windows.
19387
19388 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19389
19390         * docs/Makefile.am:
19391         * docs/gst/Makefile.am:
19392         * docs/gst/gstreamer-docs.sgml:
19393         * docs/gst/running.xml:
19394         * docs/version.entities.in:
19395           add a chapter on running GStreamer.
19396           document GST_DEBUG and GST_PLUGIN* env vars
19397
19398 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19399
19400         * Makefile.am:
19401           remove include dir
19402         * configure.ac:
19403           remove PLUGINS_BUILDDIR stuff
19404         * gst/gst.c: (init_post):
19405           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
19406         * idiottest.mak:
19407           remove, it was condescending and not needed
19408
19409 2005-10-08  Wim Taymans  <wim@fluendo.com>
19410
19411         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
19412         (gst_base_sink_handle_object), (gst_base_sink_event),
19413         (gst_base_sink_wait), (gst_base_sink_handle_event),
19414         (gst_base_sink_change_state):
19415         * gst/base/gstbasesink.h:
19416         Repost EOS message while going to PLAYING if still EOS.
19417         Make sure that when receiving a FLUSH_START we don't attempt
19418         to sync on the clock anymore.
19419
19420 2005-10-08  Wim Taymans  <wim@fluendo.com>
19421
19422         * tools/gst-launch.c: (event_loop):
19423         Better message printout.
19424
19425 2005-10-08  Wim Taymans  <wim@fluendo.com>
19426
19427         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
19428         (gst_bin_child_proxy_get_children_count):
19429         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19430         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
19431         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
19432         (gst_child_proxy_set_valist):
19433         * gst/parse/grammar.y:
19434         Make ChildProxy threadsafe and fix mem leaks.
19435
19436 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19437
19438         * gst/gst.c: (init_post):
19439           debug the GST_PLUGIN_ env vars
19440
19441 2005-10-08  Wim Taymans  <wim@fluendo.com>
19442
19443         * check/gst/gstbin.c: (GST_START_TEST):
19444         * check/gst/gstmessage.c: (GST_START_TEST):
19445         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19446         * gst/gstelement.c: (gst_element_commit_state),
19447         (gst_element_lost_state):
19448         * gst/gstmessage.c: (gst_message_new_state_changed),
19449         (gst_message_parse_state_changed):
19450         * gst/gstmessage.h:
19451         * tools/gst-launch.c: (event_loop):
19452         Added extra field to STATE_CHANGE message with the pending
19453         state, which will be different from the new state soon.
19454
19455 2005-10-08  Wim Taymans  <wim@fluendo.com>
19456
19457         * gst/gstbus.c: (gst_bus_pop):
19458         * gst/gstclock.c:
19459         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19460         Small cleanups and doc updates.
19461
19462 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19463
19464         * gst/gst.c: (init_pre):
19465         * gst/gstbin.c: (gst_bin_add_func):
19466           log distributing clocks and base time
19467         * gst/gstregistry.c: (gst_registry_add_plugin),
19468         (gst_registry_scan_path_level), (gst_registry_scan_path):
19469           clean up the debugging output a little
19470         * gst/gstutils.c: (gst_element_state_get_name):
19471           warn about a memleak (I've actually seen this be used, though
19472           it was probably a bug)
19473
19474 2005-10-07  Wim Taymans  <wim@fluendo.com>
19475
19476         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19477         (gst_base_src_init), (gst_base_src_default_newsegment),
19478         (gst_base_src_newsegment), (gst_base_src_do_seek),
19479         (gst_base_src_loop), (gst_base_src_start):
19480         * gst/base/gstbasesrc.h:
19481         Make the newsegment event customizable by subclasses.
19482
19483 2005-10-07  Wim Taymans  <wim@fluendo.com>
19484
19485         * gst/gstevent.c: (gst_event_new_buffersize),
19486         (gst_event_parse_buffersize):
19487         * gst/gstevent.h:
19488         New event for future idea.
19489
19490 2005-10-07  Andy Wingo  <wingo@pobox.com>
19491
19492         * gst/gstelement.c (gst_element_post_message): Doc update.
19493
19494         * docs/gst/gstreamer-sections.txt: Update.
19495
19496         * gst/gstmessage.c (gst_message_new_application): Made into a
19497         function like honest API calls.
19498         (gst_message_new_element): New message type.
19499
19500         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
19501
19502         * check/elements/fakesrc.c (test_no_preroll): New check, checks
19503         that setting a live fakesrc to PAUSED returns NO_PREROLL both
19504         times.
19505
19506         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
19507         NO_PREROLL from gst_element_change_state to fall through.
19508
19509 2005-10-07  Wim Taymans  <wim@fluendo.com>
19510
19511         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
19512         (gst_ghost_pad_do_activate_push):
19513         Activating a ghostpad with no internal pad in push mode
19514         is ok.
19515
19516 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19517
19518         * gst/gstobject.h:
19519           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
19520           Fixes compilation on Windows.
19521
19522 2005-10-07  Michael Smith <msmith@fluendo.com>
19523
19524         * tools/gst-inspect.c:
19525           Print out feature and plugin count at the end when printing out
19526           all features.
19527
19528 2005-10-04  Michael Smith <msmith@fluendo.com>
19529
19530         * gst/gsterror.c: (_gst_stream_errors_init):
19531           Add another error string used in a few existing plugins.
19532
19533         * gst/gstplugin.c:
19534         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19535         * tools/gst-inspect.c: (print_element_info):
19536           When a feature disappears from a plugin (and the feature exists in
19537           the cached registry file), things went horribly wrong. This isn't a
19538           complete fix, we should actually be removing the 'missing' features
19539           from the features list when we load the actual plugin. That's not
19540           yet implemented. 
19541
19542 2005-10-04  Johan Dahlin  <johan@gnome.org>
19543
19544         * check/gst/gstiterator.c: (GST_START_TEST):
19545         * gst/gstbin.c: (gst_bin_iterate_elements),
19546         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
19547         * gst/gstelement.c: (gst_element_iterate_pads):
19548         * gst/gstformat.c: (gst_format_iterate_definitions):
19549         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19550         (gst_iterator_new_list), (gst_iterator_filter):
19551         * gst/gstiterator.h:
19552         * gst/gstquery.c: (gst_query_type_iterate_definitions):
19553         Add a GType to GstIterator, update callsites and tests.
19554
19555 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19556
19557         * gst/gstpad.c: (gst_pad_event_default_dispatch):
19558           give events a chance to be handled by event probes when the pad
19559           is not linked
19560
19561 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19562
19563         * gst/gstevent.c: (gst_event_type_get_name),
19564         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
19565         * gst/gstevent.h:
19566           add string representations for event types
19567
19568 2005-10-06  Wim Taymans  <wim@fluendo.com>
19569
19570         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
19571         Don't use NULL pointers.
19572
19573 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19574
19575         * gst/gst_private.h:
19576         * gst/gstbus.c:
19577         * gst/gstelement.c:
19578         * gst/gstinfo.c:
19579         * gst/gstpluginfeature.c:
19580           widen the debug category in output to fit the biggest one we have
19581           add a bus category and use it
19582           play with the colors
19583           fix up some categories
19584
19585 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19586
19587         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
19588           add push activation of sink ghost pads.
19589           Andye, please verify
19590
19591 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19592
19593         * gst/gstutils.c: (gst_element_link_pads):
19594           fix a bug in the case where neither element has a pad
19595         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19596           add a test for that case
19597
19598 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19599
19600         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
19601           emit have-data before checking for peers.  This allows
19602           for probe handlers to connect elements.  This helps autopluggers.
19603         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
19604         (gst_pad_suite):
19605           add six checks, linked/unlinked with no/true/false probe
19606
19607 2005-10-04  Wim Taymans  <wim@fluendo.com>
19608
19609         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
19610         (gst_fake_sink_event), (gst_fake_sink_preroll),
19611         (gst_fake_sink_render), (gst_fake_sink_change_state):
19612         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
19613         (gst_fake_src_get_property), (gst_fake_src_create),
19614         (gst_fake_src_stop):
19615         * gst/elements/gstidentity.c: (gst_identity_stop):
19616         Protect last_message with lock.
19617
19618 2005-10-04  Edward Hervey  <edward@fluendo.com>
19619
19620         * gst/gstformat.h: 
19621         Added precision in the comments for GST_FORMAT_DEFAULT
19622
19623 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
19624
19625         * tools/gst-launch.c: (main):
19626           Don't try to run erroneous pipelines.
19627
19628 2005-10-04  Julien MOUTTE  <julien@moutte.net>
19629
19630         * gst/gstbus.c: We don't need this header.
19631
19632 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19633
19634         * configure.ac:
19635           back to development
19636
19637 === release 0.9.3 ===
19638
19639 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19640
19641         * README:
19642         * configure.ac:
19643           Releasing 0.9.3, "Unregistered"
19644
19645 2005-10-03  Andy Wingo  <wingo@pobox.com>
19646
19647         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
19648         whereby calling a pad's activatepush() function can start a thread
19649         that starts to push or pull before the pad gets the FLUSHING flag
19650         unset. Hack around it by holding the stream lock until the flag is
19651         set. Need to replace this with a proper solution. Together with
19652         the ghost pad fixes, this fixes mp3 playing/tagreading.
19653
19654         * docs/design/part-gstghostpad.txt: Add a note about activation of
19655         proxy pads outside of ghost pads.
19656
19657         * gst/gstghostpad.c: Implement the ghost pad activation design.
19658
19659 2005-10-02  Andy Wingo  <wingo@pobox.com>
19660
19661         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
19662         It is volatile, after all.
19663
19664         * docs/design/part-gstghostpad.txt: Flesh out activation with
19665         ghost pads.
19666
19667         * gst/base/gstbasesrc.c (gst_base_src_init): Use
19668         GST_DEBUG_FUNCPTR.
19669
19670 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
19671
19672         * configure.ac:
19673           Fix (unused) AM_CONDITIONAL tests.
19674
19675 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
19676
19677         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19678
19679         * gst/gstutils.c: (gst_pad_query_convert):
19680           Add assertion that makes sure src_val is >=0, just like
19681           gst_query_new_convert() has. (#315895)
19682
19683 2005-09-30  Edward Hervey  <edward@fluendo.com>
19684
19685         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
19686         Let's not iterate pads we're not interested in, it avoids getting 
19687         sky-high refcounts on sinkpad.
19688
19689 2005-09-30  Wim Taymans  <wim@fluendo.com>
19690
19691         * gst/gstelement.c: (gst_element_set_state),
19692         (gst_element_change_state):
19693         Small tweak, element in ASYNC remains ASYNC.
19694
19695 2005-09-30  Wim Taymans  <wim@fluendo.com>
19696
19697         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19698         Only error is an error.
19699
19700         * gst/gstbin.c: (gst_bin_change_state):
19701         Better debugging.
19702
19703         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
19704         Also call pad_block in pad alloc.
19705
19706         * gst/gstutils.c: (gst_flow_get_name):
19707         Better debugging.
19708
19709 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
19710
19711         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19712         (gst_base_src_get_range):
19713           Fix documentation typos. Add some more debug info.
19714
19715 2005-09-29  David Schleef  <ds@schleef.org>
19716
19717         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
19718           more end-user friendly.
19719         * tools/gst-inspect.c: (main): Check if command-line argument is
19720           a file and attempt to load that file as a plugin.
19721
19722 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19723
19724         * check/gst/gstbin.c:
19725         * check/states/sinks.c:
19726           fix tests for the new warning
19727         * check/gst/gstpipeline.c:
19728           add a test for pipeline and bus interaction
19729         * gst/gstelement.c:
19730           elements should be NULL if they get disposed; add a warning if not
19731
19732 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19733
19734         * gst/gstobject.c:
19735           for 2.6 refcounting, make debug log more correct by printing
19736           the actual refcounts at the time of swap (Wim)
19737
19738 2005-09-29  Andy Wingo  <wingo@pobox.com>
19739
19740         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
19741         removes signal watches previously added via
19742         gst_bus_add_signal_watch.
19743         (gst_bus_add_signal_watch): Don't return the source id, just store
19744         it on the bus if there wasn't an id already.
19745
19746         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
19747         add_signal_watch and remove_signal_watch.
19748
19749 2005-09-29  Edward Hervey  <edward@fluendo.com>
19750
19751         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
19752         Better if we actually iterate the list :)
19753
19754 2005-09-29  Wim Taymans  <wim@fluendo.com>
19755
19756         * check/gst/gstbin.c: (GST_START_TEST):
19757         Change for new bus API.
19758
19759         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19760         (send_messages), (GST_START_TEST), (gstbus_suite):
19761         Change for new bus signal API.
19762
19763         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
19764         (gst_bus_source_prepare), (gst_bus_source_check),
19765         (gst_bus_create_watch), (gst_bus_add_watch_full),
19766         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
19767         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
19768         * gst/gstbus.h:
19769         Remove support for multiple GSources operating on different
19770         message types as it is too complex and unneeded when using
19771         signals.
19772         Added support for receiving signals from the bus.
19773
19774 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19775
19776         * docs/libs/tmpl/gstdataprotocol.sgml:
19777         * docs/manual/advanced-dataaccess.xml:
19778         * gst/elements/gstcapsfilter.c:
19779         * gst/gstutils.c:
19780           rename filter-caps to caps property
19781
19782 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
19783
19784         * gst/gstvalue.c: (gst_value_deserialize_fraction):
19785           More robust fraction string parsing.
19786
19787         * docs/pwg/appendix-porting.xml:
19788           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
19789
19790 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
19791
19792         * gst/gstcaps.c: (gst_caps_do_simplify):
19793           Thou shalt not free a structure and then continue using it
19794           in the next loop iteration.
19795
19796         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
19797         (gst_caps_suite):
19798           Add test case for caps simplification.
19799
19800 2005-09-29  Wim Taymans  <wim@fluendo.com>
19801
19802         * check/gst/gstbin.c: (GST_START_TEST):
19803         Oops.
19804
19805 2005-09-29  Wim Taymans  <wim@fluendo.com>
19806
19807         * check/gst/gstbin.c: (GST_START_TEST):
19808         Add bus to bin.
19809
19810         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
19811         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19812         (find_element), (gst_bin_sort_iterator_next),
19813         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19814         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19815         (gst_bin_change_state), (gst_bin_dispose):
19816         A bin does not have a bus, it gets the bus from the parent.
19817
19818         * gst/gstelement.c: (gst_element_requires_clock),
19819         (gst_element_provides_clock), (gst_element_is_indexable),
19820         (gst_element_is_locked_state), (gst_element_change_state),
19821         (gst_element_set_bus_func):
19822         Small cleanups.
19823
19824         * gst/gstpipeline.c: (gst_pipeline_class_init),
19825         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
19826         The pipeline provides a bus.
19827
19828 2005-09-28  Johan Dahlin  <johan@gnome.org>
19829
19830         * gst/gstmessage.c (gst_message_parse_state_changed): Use
19831         gst_structure_get_enum instead of gst_structure_get_int
19832
19833         * gst/gststructure.c (gst_structure_get_enum): Impl.
19834
19835         * gst/gststructure.h (gst_structure_get_enum): Add
19836
19837         * docs/gst/gstreamer-sections.txt: Ditto
19838
19839         * gst/gstmessage.c (gst_message_new_state_changed): Use
19840         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
19841         which does introspection.
19842         Reviewed by Christian Schaller
19843
19844 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
19845
19846         * gst/gstinfo.c: (gst_debug_log_default):
19847           don't do dummy g_strdup()s
19848         * libs/gst/controller/gstcontroller.c:
19849         (on_object_controlled_property_changed),
19850         (gst_controlled_property_new), (gst_controller_new_valist),
19851         (gst_controller_new_list),
19852         (gst_controller_remove_properties_valist), (gst_controller_set),
19853         (gst_controller_get), (gst_controller_sync_values),
19854         (gst_controller_get_value_array), (_gst_controller_class_init),
19855         (gst_controller_get_type):
19856         * libs/gst/controller/gstcontroller.h:
19857         * libs/gst/controller/gstinterpolation.c:
19858         (gst_controlled_property_find_timed_value_node):
19859           convert // to /**/ comments
19860
19861 2005-09-28  Wim Taymans  <wim@fluendo.com>
19862
19863         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
19864         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
19865         (gst_bus_sync_signal_handler):
19866         * gst/gstbus.h:
19867         Added async-message and sync-message signals to the bus.
19868         Added helper BusFunc to emit signals for all posted messages.
19869
19870         * gst/gstmessage.c: (gst_message_type_get_name),
19871         (gst_message_type_to_quark), (gst_message_get_type):
19872         * gst/gstmessage.h:
19873         Register quarks for message names.
19874
19875 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
19876
19877         * docs/libs/gstreamer-libs-sections.txt:
19878         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
19879         (gst_controller_new_list):
19880         * libs/gst/controller/gstcontroller.h:
19881           added another constructor for language bindings
19882
19883 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19884
19885         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19886           add another check
19887         * gst/gstbus.c:
19888           add some doc
19889         * gst/gstinfo.c: (_gst_debug_init):
19890           slightly more readable color for refcount debugging
19891
19892 2005-09-28  Wim Taymans  <wim@fluendo.com>
19893
19894         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19895         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19896         (find_element), (gst_bin_sort_iterator_next),
19897         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19898         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19899         (gst_bin_change_state), (gst_bin_dispose):
19900         Small doc fixes. get_clock -> provide_clock.
19901
19902         * gst/gstelement.c: (gst_element_class_init),
19903         (gst_element_provides_clock), (gst_element_provide_clock),
19904         (gst_element_get_clock), (gst_element_commit_state),
19905         (gst_element_lost_state):
19906         * gst/gstelement.h:
19907         Make get/set_clock() symetric. Add provide_clock vmethod since
19908         that is actually what this function does.
19909
19910         * gst/gstpipeline.c: (gst_pipeline_class_init),
19911         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
19912         (gst_pipeline_get_clock):
19913         get_clock -> provide_clock.
19914
19915 2005-09-28  Andy Wingo  <wingo@pobox.com>
19916
19917         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
19918         lieu of real docs...
19919
19920         * gst/elements/gstfdsrc.c: Cleaned up a bit.
19921
19922 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
19923
19924         * gst/elements/gstcapsfilter.c:
19925         * gst/elements/gstfakesink.c:
19926         * gst/elements/gstfakesrc.c:
19927         * gst/elements/gstfdsink.c:
19928         * gst/elements/gstfdsrc.c:
19929         * gst/elements/gstfilesink.c:
19930         * gst/elements/gstfilesrc.c:
19931         * gst/elements/gstidentity.c:
19932         * gst/elements/gsttee.c:
19933         * gst/elements/gsttypefindelement.c:
19934           Make element details static.
19935
19936 2005-09-28  Wim Taymans  <wim@fluendo.com>
19937
19938         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19939         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19940         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19941         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19942         (gst_bin_change_state), (gst_bin_dispose):
19943         Some documentation updates.
19944         Clean up dispose handlers.
19945
19946         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
19947         * gst/gstpad.c: (gst_pad_dispose):
19948         Clean up dispose handler.
19949
19950         * gst/gstpipeline.c: (gst_pipeline_change_state):
19951         Removed spurious UNLOCK.
19952
19953 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
19954
19955         * docs/gst/gstreamer-sections.txt:
19956         * gst/base/gstbasesrc.h:
19957         * gst/gstelement.h:
19958         * gst/gstevent.h:
19959         * gst/gstobject.h:
19960         * gst/gstpad.h:
19961         * gst/gstpipeline.c:
19962         * gst/gstpipeline.h:
19963         * gst/gstutils.h:
19964         * gst/gstxml.h:
19965           added two new functions to the docs
19966                 documents all undocumented GstXXXFlags
19967                 completed some incomplete docs 
19968
19969 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19970
19971         * gst/gstbin.c: (gst_bin_dispose):
19972         * gst/gstelement.c: (gst_element_dispose):
19973           remove now useless and leaky resurrection code in dispose
19974         * gst/base/gstbasesrc.c: (gst_base_src_init):
19975         * gst/gstelementfactory.c: (gst_element_factory_create):
19976         * gst/gstobject.c: (gst_object_set_parent):
19977           add some debugging
19978
19979 2005-09-27  Wim Taymans  <wim@fluendo.com>
19980
19981         * docs/design/part-TODO.txt:
19982         Update TODO.
19983
19984         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19985         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19986         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19987         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19988         (gst_bin_change_state):
19989         * gst/gstelement.h:
19990         Remove element variable, we keep element info in the iterator now.
19991
19992 2005-09-27  Andy Wingo  <wingo@pobox.com>
19993
19994         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
19995         values.
19996
19997 2005-09-27  Wim Taymans  <wim@fluendo.com>
19998
19999         * check/gst/gstbin.c: (GST_START_TEST):
20000         Enable check that works now.
20001
20002         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20003         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20004         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20005         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20006         (gst_bin_change_state):
20007         * gst/gstbin.h:
20008         Redid the state change algorithm using a topological sort algo.
20009         Handles all cases correctly.
20010         Exposed iterator for state change order.
20011
20012         * gst/gstelement.h:
20013         Temp storage for state changes. Need to get rid of this soon.
20014
20015 2005-09-27  Wim Taymans  <wim@fluendo.com>
20016
20017         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
20018         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
20019         (link_fold_func), (gst_pad_proxy_setcaps):
20020         Leak fixes, the fold functions need to unref the passed object and
20021         _get_parent_*() returns ref to parent.
20022
20023 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20024
20025         * check/gst/gstbuffer.c: (test_make_writable):
20026           Plug leak in test case and fix 'make check-valgrind'
20027
20028 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20029
20030         * gst/gstbuffer.c: (gst_subbuffer_init):
20031           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
20032           works correctly in all circumstances (we could have just copied
20033           the parent buffer's readonly flag, but conceptually it seems
20034           cleaner to mark all subbuffers as read-only). (based on patch
20035           by Alessandro Decina, #314710).
20036         
20037         * check/gst/gstbuffer.c: (create_read_only_buffer),
20038         (test_make_writable), (test_subbuffer_make_writable),
20039         (gst_test_suite):
20040           Add some tests for gst_buffer_make_writable().
20041
20042 2005-09-27  Wim Taymans  <wim@fluendo.com>
20043
20044         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
20045         use gst_object_has_ancestor().
20046
20047         * gst/gstobject.c: (gst_object_has_ancestor):
20048         * gst/gstobject.h:
20049         gst_object_has_ancestor() copied from gstbin.c as it is a
20050         useful function.
20051
20052         * tests/instantiate/create.c: (create_all_elements):
20053         * tests/lat.c: (handoff_src), (handoff_sink):
20054         * tests/sched/runxml.c: (main):
20055         * tests/seeking/seeking1.c: (main):
20056         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20057         (main):
20058         Fix compilation of some tests.
20059
20060 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20061
20062         * gst/gsterror.h:
20063           Remove comment. GST_TYPE_G_ERROR is here to stay,
20064           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
20065           (#316961, #300610).
20066
20067 2005-09-26  Wim Taymans  <wim@fluendo.com>
20068
20069         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20070         Added check that shows error in state change order.
20071
20072 2005-09-26  Wim Taymans  <wim@fluendo.com>
20073
20074         * gst/gstbin.c: (gst_bin_change_state):
20075         Make state change function use 3 queues again, we were
20076         adding elements in the wrong order.
20077
20078         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
20079         Some debug info,
20080
20081         * gst/gstpad.c: (gst_pad_dispose):
20082         Added some debug info first.
20083
20084 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
20085
20086         * docs/design/draft-push-pull.txt:
20087         * docs/design/part-events.txt:
20088         * docs/design/part-overview.txt:
20089         * docs/design/part-scheduling.txt:
20090           Replace all _pull_region() with _pull_range()
20091           
20092 2005-09-26  Andy Wingo  <wingo@pobox.com>
20093
20094         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
20095
20096         * check/gst-libs/controller.c: Update for controller api change.
20097
20098         * configure.ac: 
20099         * tests/Makefile.am:
20100         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
20101         over by GLib bug 118439.
20102         
20103         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
20104         routines to a function.
20105
20106         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
20107
20108         * libs/gst/controller/gsthelper.c:
20109         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
20110         (gst_object_sync_values): Renamed from sink_values. Ugh.
20111
20112         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
20113
20114         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
20115         Renamed from controller_key, as it is exported.
20116
20117         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
20118
20119 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20120
20121         * gst/Makefile.am:
20122         * gst/gst.h:
20123         * gst/gstpad.h:
20124         * gst/gstpadtemplate.h:
20125         * gst/gstquery.c:
20126         * gst/gstquery.h:
20127         * gst/gstqueryutils.c:
20128         * gst/gstqueryutils.h:
20129           remove queryutils headers after moving the two used functions
20130           to gstquery.  also fixes build problem for gstsiddec
20131
20132 2005-09-26  Michael Smith <msmith@fluendo.com>
20133
20134         * tools/gst-launch.1.in:
20135         Correct documentation in manpage of debug syntax
20136
20137 2005-09-26  Wim Taymans  <wim@fluendo.com>
20138
20139         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
20140         (gst_base_src_is_seekable), (gst_base_src_change_state):
20141         Some more debugging info.
20142
20143 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20144
20145         * docs/gst/gstreamer-sections.txt:
20146         * gst/base/gstbasetransform.h:
20147         * gst/gstindex.h:
20148           added more docs
20149
20150 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20151
20152         * docs/gst/.cvsignore:
20153         * docs/gst/tmpl/.cvsignore:
20154         * docs/gst/tmpl/gstpipeline.sgml:
20155         * docs/gst/tmpl/gstplugin.sgml:
20156         * gst/gstpipeline.c:
20157         * gst/gstplugin.c:
20158         * gst/gstplugin.h:
20159           inlined the last two docs files
20160           removed the tmpl directory from cvs (no more conflicts here!)
20161
20162 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20163
20164         * docs/gst/gstreamer-sections.txt:
20165         * docs/gst/tmpl/.cvsignore:
20166         * docs/gst/tmpl/gstpad.sgml:
20167         * docs/gst/tmpl/gstpadtemplate.sgml:
20168         * gst/Makefile.am:
20169         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
20170         (gst_pad_finalize), (gst_pad_set_pad_template):
20171         * gst/gstpad.h:
20172         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
20173         (gst_pad_template_class_init), (gst_pad_template_init),
20174         (gst_pad_template_dispose), (name_is_valid),
20175         (gst_static_pad_template_get), (gst_pad_template_new),
20176         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
20177         (gst_pad_template_pad_created):
20178         * gst/gstpadtemplate.h:
20179           inlined two more docs
20180           factored gstpadtemplate out of gstpad
20181
20182 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
20183
20184         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20185         (test_children_state_change_order_semi_sink):
20186           Fix test case: we can't rely on a fixed state change order when
20187           going from READY => PAUSED because the sink might commit its 
20188           new state first when the first buffer created by the source 
20189           reaches the sink before the source has finished its change state.
20190           (Test case still fails at times, see #316856, comment 5 onwards)
20191
20192 2005-09-24  Wim Taymans  <wim@fluendo.com>
20193
20194         * docs/design/part-events.txt:
20195         * docs/design/part-gstbus.txt:
20196         * docs/design/part-gstpipeline.txt:
20197         * docs/design/part-messages.txt:
20198         * docs/design/part-overview.txt:
20199         * docs/design/part-segments.txt:
20200         * gst/gstbin.c:
20201         * gst/gstbuffer.c:
20202         * gst/gstclock.c:
20203         * gst/gstelement.c:
20204         * gst/gstevent.c:
20205         * gst/gstfilter.c:
20206         * gst/gstiterator.c:
20207         Various documentation updates.
20208
20209 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20210
20211         * gst/gstclock.h:
20212           Well, that's embarassing.  Luckily we weren't using
20213           GST_CLOCK_DIFF anywhere.
20214
20215 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20216
20217         * common/gtk-doc.mak:
20218           don't fail on building XML, FC4 slave shows a bunch of doc
20219           missing bits that I don't get
20220         * gst/gstpad.c:
20221         * gst/gstpipeline.c:
20222         * gst/gststructure.c:
20223           some doc updates
20224
20225 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
20226
20227         * docs/design/part-gstbin.txt:
20228         * docs/design/part-gstbus.txt:
20229         * gst/gstbus.c:
20230           Add blurb about how the bus goes into flushing mode and
20231           drops all messages when its bin goes from READY into NULL 
20232           state.
20233
20234 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20235
20236         * docs/gst/gstreamer-sections.txt:
20237         * gst/gststructure.c: (gst_structure_get_clock_time):
20238         * gst/gststructure.h:
20239           add a method to get a GstClockTime out of a structure
20240
20241 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
20242
20243         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20244         (test_children_state_change_order_semi_sink), (gst_bin_suite):
20245           Added test to check state change order in bins (can still be made
20246           to fail here under heavy disk load; bails out with 'Push on pad
20247           fakesink:sink0, but it was not activated in push mode').
20248
20249         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
20250           Fix state change order when there is only a semi sink (#316856)
20251
20252         * gst/gstbus.c: (gst_bus_class_init):
20253           Use _class_peek_parent(), not _class_ref(); fix docs to say
20254           'default main context' instead of 'mainloop' where that is
20255           what's meant.
20256
20257         * gst/gstelement.c: (gst_element_commit_state),
20258         (gst_element_set_state):
20259           Fix typos in debug messages
20260
20261 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20262
20263         * docs/README:
20264         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
20265         * gst/gstpluginfeature.c:
20266         * gst/gstutils.c:
20267           various doc updates
20268         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20269           change an assert into an error until it gets fixed properly
20270
20271 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
20272
20273         * docs/gst/gstreamer-sections.txt:
20274         * docs/gst/tmpl/.cvsignore:
20275         * docs/gst/tmpl/gstelement.sgml:
20276         * docs/gst/tmpl/gstinfo.sgml:
20277         * docs/gst/tmpl/gstobject.sgml:
20278         * gst/gstelement.c:
20279         * gst/gstelement.h:
20280         * gst/gstinfo.c:
20281         * gst/gstinfo.h:
20282         * gst/gstobject.c: (gst_object_class_init):
20283         * gst/gstobject.h:
20284           inlined 3 more biiiig doc files and added some missing docs on the fly
20285
20286 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20287
20288         * check/gst/.cvsignore:
20289         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
20290         * gst/gstregistryxml.c: (load_plugin),
20291         (gst_registry_xml_save_plugin):
20292           put back source in registry.  add checks for find_plugin.
20293         * testsuite/states/bin.c: (assert_state), (empty_bin),
20294         (test_adding_one_element), (main):
20295         * testsuite/states/locked.c: (main):
20296           some compile/run fixes
20297
20298 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20299
20300         * check/gst/gstvalue.c: (GST_START_TEST):
20301           fix leaks in the test itself
20302
20303 2005-09-22  Wim Taymans  <wim@fluendo.com>
20304
20305         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20306         (gst_base_sink_send_event), (gst_base_sink_peer_query),
20307         (gst_base_sink_query):
20308         Prepare for more accurate position reporting and query
20309         handling.
20310
20311         * gst/gstelement.c: (gst_element_send_event),
20312         (gst_element_set_state):
20313         Add some comment.
20314
20315 2005-09-22  Wim Taymans  <wim@fluendo.com>
20316
20317         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
20318         (gst_query_parse_segment):
20319         * gst/gstquery.h:
20320         More documentation.
20321         Add segment query for future use.
20322
20323 2005-09-22  Wim Taymans  <wim@fluendo.com>
20324
20325         * gst/gstbin.c: (gst_bin_add_func):
20326         Some more debug info.
20327
20328         * gst/gstelement.c: (gst_element_send_event):
20329         Simplify send_event
20330
20331         * gst/gstelement.h:
20332         Don't know how flags got broken.
20333
20334         * gst/gstquery.h:
20335         Added new query.
20336
20337 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
20338
20339         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
20340           Add simplistic test suite for GST_TYPE_DATE serialisation and
20341           deserialisation.
20342
20343 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
20344
20345         * docs/gst/gstreamer-sections.txt:
20346         * gst/gststructure.c: (gst_structure_set_valist),
20347         (gst_structure_get_date):
20348         * gst/gststructure.h:
20349         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
20350         (gst_date_copy), (gst_value_compare_date),
20351         (gst_value_serialize_date), (gst_value_deserialize_date),
20352         (gst_value_transform_date_string),
20353         (gst_value_transform_string_date), (_gst_value_initialize):
20354         * gst/gstvalue.h:
20355           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
20356           bunch of utility functions along with a hack that checks that
20357           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
20358           is required. Part of the grand scheme in #170777.
20359
20360 2005-09-22  Andy Wingo  <wingo@pobox.com>
20361
20362         * gst/gstconfig.h.in: Psych out gtk-doc.
20363
20364         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
20365
20366         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
20367
20368         * tools/gst-inspect.c (print_element_list): Plug some
20369         inconsequential leaks.
20370
20371         * gst/gstregistry.c (gst_registry_get_default): Doc.
20372
20373         * check/gst/gstplugin.c: 
20374         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
20375         * gst/gstelementfactory.c (gst_element_factory_create): 
20376         * gst/gstindexfactory.c (gst_index_factory_create): Update for
20377         refcount changes.
20378
20379         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
20380         (gst_plugin_feature_load): Doc, don't eat refs.
20381
20382         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
20383         (gst_plugin_list_free): Doc.
20384         (gst_plugin_load_file): Doc updates.
20385
20386         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
20387         accessors returning refcounted objects, return a ref.
20388
20389         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
20390         accessor for caps. IDEMPOTENCE. Oh yes.
20391
20392 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
20393
20394         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20395
20396         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20397         (_gst_debug_register_funcptr):
20398           Add mutex to serialise access to the hash table with
20399           the function pointer => function name string mapping;
20400           make that hash table static scope (#316809).
20401
20402         * gst/registries/.cvsignore:
20403           Remove left-over file.
20404
20405 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
20406
20407         * docs/pwg/appendix-porting.xml:
20408           And something about newsegment events and caps-on-buffers to
20409           the porting guide (feel free to improve).
20410
20411 2005-09-21  Andy Wingo  <wingo@pobox.com>
20412
20413         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
20414         data and event probes on the same pad.
20415         (test_buffer_probe_once): Test that removing probes from within
20416         the probe functions works.
20417
20418 2005-09-21  Andy Wingo  <wingo@pobox.com>
20419
20420         * check/gst/gstutils.c: New file.
20421         (test_buffer_probe_n_times): A simple buffer probe test. More to
20422         come, foolios.
20423
20424         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
20425         have-data::buffer, not have-data.
20426         (gst_pad_add_event_probe): Likewise for have-data::event.
20427         (gst_pad_add_data_probe): More docs. The part about 'resolving the
20428         peer' isn't quite right yet though.
20429         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
20430         (gst_pad_remove_data_probe): Change to take the guint handler_id
20431         as their arg, not the function+data, which is more glib-like.
20432
20433         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
20434         the signal emission to indicate if the data is a buffer or an
20435         event.
20436         (gst_pad_get_type): Initialize buffer and event quarks.
20437         (gst_pad_class_init): have-data is now a detailed signal, yes it
20438         is.
20439
20440 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
20441
20442         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20443         * gst/gstutils.c: (gst_util_set_value_from_string),
20444         (gst_util_set_object_arg):
20445           Don't put functional code in g_return_if_fail() or
20446           g_return_val_if_fail() statements, otherwise things will 
20447           break when G_DISABLE_CHECKS is defined during compilation.
20448
20449 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20450
20451         * docs/gst/tmpl/.cvsignore:
20452         * docs/gst/tmpl/gstvalue.sgml:
20453         * gst/gstvalue.c:
20454         * gst/gstvalue.h:
20455           inlied another one and added  some obvious docs
20456
20457 2005-09-21  Wim Taymans  <wim@fluendo.com>
20458
20459         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20460         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
20461         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
20462         (gst_fdsrc_get_property), (gst_fdsrc_create):
20463         * gst/elements/gstfdsrc.h:
20464         Properly implement fdsrc. Removed signal and timeout,
20465         better implemented somewhere else.
20466
20467 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20468
20469         * docs/gst/tmpl/.cvsignore:
20470         * docs/gst/tmpl/gstimplementsinterface.sgml:
20471         * gst/gstinterface.c:
20472           inlined more docs
20473
20474 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20475
20476         * docs/gst/gstreamer-sections.txt:
20477         * docs/gst/tmpl/.cvsignore:
20478         * docs/gst/tmpl/gstenumtypes.sgml:
20479           remove obsolete doc file
20480
20481 2005-09-21  David Schleef  <ds@schleef.org>
20482
20483         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
20484         little beer, fix a little leak.
20485
20486 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20487
20488         * docs/gst/gstreamer-docs.sgml:
20489         * docs/gst/gstreamer-sections.txt:
20490         * docs/gst/tmpl/.cvsignore:
20491         * gst/Makefile.am:
20492         * gst/gst.h:
20493         * gst/gstbin.c:
20494         * gst/gstelement.h:
20495         * gst/gstindex.c: (gst_index_class_init):
20496         * gst/gstindex.h:
20497         * gst/gstindexfactory.c: (gst_index_factory_get_type),
20498         (gst_index_factory_class_init), (gst_index_factory_init),
20499         (gst_index_factory_finalize), (gst_index_factory_new),
20500         (gst_index_factory_destroy), (gst_index_factory_find),
20501         (gst_index_factory_create), (gst_index_factory_make):
20502         * gst/gstindexfactory.h:
20503         * gst/gstpluginfeature.c:
20504         * gst/gstpluginfeature.h:
20505         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20506           more docs inlined, splitted gstindex.{c,h}
20507
20508 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20509
20510         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20511           fix a leak
20512
20513 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
20514
20515         * gst/elements/gstfilesink.c: (gst_file_sink_init):
20516           Set sync to FALSE by default.
20517
20518 2005-09-20  Wim Taymans  <wim@fluendo.com>
20519
20520         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20521         (gst_base_sink_init):
20522         Make sync property settable from subclass.
20523
20524         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20525         (gst_fake_sink_change_state):
20526         Set sync to FALSE by default.
20527
20528 2005-09-20  Wim Taymans  <wim@fluendo.com>
20529
20530         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
20531         * tools/gst-launch.c: (main):
20532         The timeout handler should have lower priority than the source
20533         so we don't timeout before popping a message with 0 timeout.
20534         Dump error messages after failed state change.
20535
20536 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
20537
20538         * tools/gst-inspect.c: (print_element_properties_info):
20539           Fix two typos.
20540
20541 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20542
20543         * check/gst/gstevent.c:
20544         * gst/elements/gstfakesink.c:
20545         * gst/elements/gstfakesink.h:
20546           remove the sync property from fakesink.
20547           has the side effect of setting sync TRUE
20548           for fakesink, which is a change.  Anyone who knows how
20549           to fix this nicely in a GObject-y way, feel free.
20550
20551 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20552
20553         * docs/gst/gstreamer-docs.sgml:
20554           remove probe refsection
20555
20556 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20557
20558         * check/Makefile.am:
20559           disable valgrinding the controller test again
20560         * docs/gst/gstreamer-sections.txt:
20561           update for api-changes
20562
20563 2005-09-20  Wim Taymans  <wim@fluendo.com>
20564
20565         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20566         (gst_base_sink_set_property), (gst_base_sink_get_property),
20567         (gst_base_sink_do_sync):
20568         * gst/base/gstbasesink.h:
20569         Added sync property to basesink to disable clock sync.
20570
20571 2005-09-20  Andy Wingo  <wingo@pobox.com>
20572
20573         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
20574         eating the caller's refcount.
20575
20576         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
20577         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
20578         refcount.
20579
20580         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
20581         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
20582         of GLib 2.8 public, so we can know which refcount to check in
20583         tests.
20584
20585         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
20586         (gst_object_init): Only set the gst refcount if we're going ahead
20587         with the refcount hack.
20588
20589 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20590
20591         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20592         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20593           more leaks plumbed, added more debug-logging
20594         * gst/gstmacros.h:
20595           whitespace fix
20596
20597 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20598
20599         * gst/gstmessage.c:
20600           remove include of gstmemchunk.h
20601
20602 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20603
20604         * gst/gstclock.c: (_gst_clock_id_free):
20605           Commit from the Political Party For More Atomic CVS Commits,
20606           so that people don't waste too much of their day fishing
20607           out obvious leaks out of massive commits.
20608           Oh, and fix a pretty damn obvious leak in the memchunk
20609           removal code.
20610
20611 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20612
20613         * check/Makefile.am:
20614         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20615           plug mem-leak, re-add to valgrindable tests
20616
20617 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20618
20619         * gst/gstplugin.h:
20620           unbreak the build for those who have chronic arthritis
20621           and typing "make check" is just too taxing on the hands
20622
20623 2005-09-20  Andy Wingo  <wingo@pobox.com>
20624
20625         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
20626         really want it out, you should fix plugins at the same time.
20627
20628 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
20629
20630         * configure.ac:
20631         * docs/gst/gstreamer-sections.txt:
20632         * gst/gstobject.c:
20633           added missing symbols to api docs
20634           disable ref-count hack if we have glib >= 2.8
20635
20636 2005-09-19  David Schleef  <ds@schleef.org>
20637
20638         * docs/gst/Makefile.am: Ignore a few more internal headers
20639         * docs/gst/gstreamer-docs.sgml: Remove old sections
20640         * docs/gst/gstreamer-sections.txt: Remove old sections
20641         * docs/gst/tmpl/gstobject.sgml: update
20642         * docs/gst/tmpl/gstplugin.sgml: update
20643         * docs/gst/tmpl/gstpluginfeature.sgml: update
20644         * docs/random/ds/0.9-suggested-changes: update.
20645         * gst/Makefile.am: remove memchunk and trashstack, since they're
20646           not used.
20647         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
20648         * gst/gst.h: don't include some headers
20649         * gst/gstchildproxy.c: add gstmarshal.h
20650         * gst/gstclock.c: Don't use memchunks
20651         * gst/gstminiobject.c: Add some docs
20652         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
20653         * gst/gstobject.h: same
20654         * gst/gstplugin.c: include gstmacros.h
20655         * gst/gstplugin.h: don't include gstmacros.h, since it's private
20656         * gst/gstquery.c: don't use memchunks
20657         * gst/gstregistry.c: rename gst_registry_deinit()
20658         * gst/gstregistry.h: same
20659
20660 2005-09-19  David Schleef  <ds@schleef.org>
20661
20662         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
20663         * docs/libs/gstreamer-libs-sections.txt:
20664         * docs/libs/tmpl/gstgetbits.sgml:
20665         * docs/libs/tmpl/gstputbits.sgml:
20666
20667 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
20668
20669         * win32/gstenumtypes.c:
20670         * win32/gstenumtypes.h:
20671           Update.
20672
20673 2005-09-19  Wim Taymans  <wim@fluendo.com>
20674
20675         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
20676         Automatically PAUSE and RESUME a pipeline when a flushing seek
20677         is performed.
20678
20679 2005-09-19  Andy Wingo  <wingo@pobox.com>
20680
20681         * gst/gstregistry.h: Spacing fixen.
20682
20683 2005-09-19  Wim Taymans  <wim@fluendo.com>
20684
20685         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
20686         Handle state change failure more correctly.
20687
20688 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20689
20690         * check/Makefile.am:
20691         * check/pipelines/cleanup.c: (run_pipeline):
20692         * check/pipelines/simple_launch_lines.c: (run_pipeline),
20693         (GST_START_TEST):
20694           enable cleanup again after fixing the leak
20695         * docs/README:
20696           some more info on docs
20697
20698 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20699
20700         * check/Makefile.am:
20701           re-enable tests now that leaks are plugged
20702         * check/gst/gst.c:
20703         * check/gst/gstbin.c:
20704         * check/gst/gstpipeline.c:
20705           add some more tests while fixing leaks
20706         * common/check.mak:
20707           make sure binaries are uptodate when valgrinding/gdbing
20708         * gst/gst.c:
20709         * gst/gstelementfactory.c:
20710           remove a ref too many, and add a FIXME for when we get
20711           round to disposing of classes
20712         * gst/gstplugin.c:
20713           fix the refcounting when loading a plugin from a file and
20714           the code pretends that the pointer is the same even though
20715           of course it can change
20716         * gst/gstpluginfeature.c:
20717           unref plugins marked cached (a bit confusing as a name)
20718           as the docs state should be done
20719           various doc additions to explain refcounting
20720         * gst/gstregistry.c:
20721         * gst/gstregistryxml.c:
20722           debugging
20723
20724 2005-09-19  Wim Taymans  <wim@fluendo.com>
20725
20726         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20727         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20728         (send_messages), (GST_START_TEST), (gstbus_suite):
20729         * check/gst/gstpipeline.c: (GST_START_TEST):
20730         * check/pipelines/cleanup.c: (run_pipeline):
20731         * check/pipelines/simple_launch_lines.c: (run_pipeline),
20732         (GST_START_TEST):
20733         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
20734         (gst_bus_source_check), (gst_bus_source_dispatch),
20735         (gst_bus_create_watch), (gst_bus_add_watch_full),
20736         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
20737         * gst/gstbus.h:
20738         * tools/gst-launch.c: (event_loop):
20739         * tools/gst-md5sum.c: (event_loop):
20740         GstBusHandler -> GstBusFunc, return value has the same meaning as
20741         any other GSource (FALSE == remove source).
20742         _add_watch() and _add_watch_full() now take a MessageType mask to
20743         only handle specific types of messages.
20744         _poll() returns the GstMessage instead of the message type to avoid
20745         race conditions.
20746         _have_pending() takes a MessageType mask now too.
20747         Added testsuite for multiple bus watches.
20748         Fix testsuites and applications for new bus API.
20749
20750 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20751
20752         * check/Makefile.am:
20753           mark a bunch of the tests as to fix until we fix them
20754
20755 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20756
20757         * common/check.mak:
20758           use GST_PLUGIN settings for valgrind tests as well, so we're
20759           valgrinding the correct thing
20760         * gst/gst.c: (init_post):
20761           plug another leak
20762
20763 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20764
20765         * gst/gst.c: (init_post), (gst_deinit):
20766         * gst/gstelementfactory.c: (gst_element_factory_class_init),
20767         (gst_element_factory_finalize), (gst_element_factory_cleanup):
20768         * gst/gstindex.c: (gst_index_factory_class_init),
20769         (gst_index_factory_finalize):
20770         * gst/gstobject.c: (gst_object_dispose):
20771         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
20772         (gst_plugin_load_file), (gst_plugin_desc_free):
20773         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
20774         (gst_plugin_feature_finalize):
20775         * gst/gstregistry.c: (gst_registry_class_init),
20776         (gst_registry_init), (gst_registry_finalize),
20777         (gst_registry_get_default), (gst_registry_deinit):
20778         * gst/gstregistry.h:
20779         * gst/gstregistryxml.c: (load_feature), (load_plugin):
20780           various cleanups and memleak plugging.  make valgrind is happy now.
20781
20782 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20783
20784         * common/check.mak:
20785           add a check-valgrind target
20786
20787 2005-09-18  David Schleef  <ds@schleef.org>
20788
20789         * tools/gst-inspect.c: Revert the GOption code.
20790
20791 2005-09-17  David Schleef  <ds@schleef.org>
20792
20793         * check/Makefile.am: Fix environment variables.
20794         * check/gst/gstplugin.c: Fix for API changes.
20795         * tools/gst-inspect.c: Fix for API changes.
20796         * tools/gst-xmlinspect.c: Fix for API changes.
20797         * gst/gstelementfactory.c:
20798         * gst/gstplugin.c:
20799         * gst/gstplugin.h:
20800         * gst/gstpluginfeature.c:
20801         * gst/gstpluginfeature.h:
20802         * gst/gstregistry.c:
20803         * gst/gstregistry.h:
20804         * gst/gstregistryxml.c:
20805         * gst/gsttypefind.c:
20806         * gst/gsttypefindfactory.c:
20807         * gst/indexers/gstfileindex.c:
20808         * gst/indexers/gstmemindex.c:
20809         * gst/schedulers/Makefile.am:
20810           Change registry to keep track of both plugins and features,
20811           removing the feature tracking from plugins themselves.
20812
20813 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20814
20815         * check/Makefile.am:
20816         * tools/gst-register.1.in:
20817           remove gst-register
20818
20819 2005-09-15  David Schleef  <ds@schleef.org>
20820
20821         * check/gst/gstplugin.c:
20822         * gst/gstelementfactory.c:
20823         * gst/gstplugin.c:
20824         * gst/gstpluginfeature.c:
20825         * gst/gstregistry.c:
20826           Getting tired of debugging.  Disabled all the unreffing of
20827           plugins and features, which fixes the segfaults, but of
20828           course leaks like crazy.  At least playbin works.
20829
20830 2005-09-15  David Schleef  <ds@schleef.org>
20831
20832         * check/gst/gstplugin.c: (register_check_elements),
20833         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
20834         More testing
20835         * gst/elements/gsttypefindelement.c: Fix refcounting.
20836         * gst/gsttypefind.c:
20837         * gst/gsttypefindfactory.c:
20838         * gst/gsttypefindfactory.h:
20839
20840 2005-09-15  David Schleef  <ds@schleef.org>
20841
20842         * gst/gstindex.c: get refcounting correct.
20843         * gst/gstregistry.c: Handle the case where a feature/plugin is
20844           not found.
20845
20846 2005-09-15  David Schleef  <ds@schleef.org>
20847
20848         * check/Makefile.am:
20849         * check/gst/gstplugin.c: Add test
20850         * gst/gstplugin.c: Fix problems noticed by testsuite
20851         * gst/gstplugin.h:
20852         * gst/gstregistry.c: 
20853         * gst/gstregistry.h:
20854
20855 2005-09-15  David Schleef  <ds@schleef.org>
20856
20857         * gst/gstplugin.c: Implement semi-decent recounting and locking
20858           in plugins and plugin features.
20859         * gst/gstplugin.h:
20860         * gst/gstpluginfeature.c:
20861         * gst/gstpluginfeature.h:
20862         * gst/gstregistry.c:
20863
20864 2005-09-15  Michael Smith <msmith@fluendo.com>
20865
20866         * gst/gstregistry.c: (gst_registry_get_feature_list):
20867           Implement this. Makes oggdemux work; decodebin still broken.
20868
20869 2005-09-14  David Schleef  <ds@schleef.org>
20870
20871         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
20872           #316076)
20873         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
20874         * gst/check/Makefile.am:
20875         * libs/gst/controller/Makefile.am:
20876         * libs/gst/dataprotocol/Makefile.am:
20877
20878 2005-09-14  David Schleef  <ds@schleef.org>
20879
20880         * configure.ac: Remove getbits library.  Nothing uses it, and
20881           it should be in something like liboil if someone did want
20882           to use it.
20883         * libs/gst/Makefile.am:
20884         * libs/gst/getbits/Makefile.am:
20885         * libs/gst/getbits/gbtest.c:
20886         * libs/gst/getbits/getbits.c:
20887         * libs/gst/getbits/getbits.h:
20888         * libs/gst/getbits/gstgetbits_generic.c:
20889         * libs/gst/getbits/gstgetbits_i386.s:
20890         * libs/gst/getbits/gstgetbits_inl.h:
20891
20892 2005-09-14  David Schleef  <ds@schleef.org>
20893
20894         * gst/Makefile.am: Dist glib-compat.h
20895
20896 2005-09-14  David Schleef  <ds@schleef.org>
20897
20898         * configure.ac: Remove gst/registries, since it's no longer used.
20899         * gst/registries/Makefile.am:
20900         * gst/registries/gstlibxmlregistry.c:
20901         * gst/registries/gstlibxmlregistry.h:
20902         * gst/registries/gstxmlregistry.c:
20903         * gst/registries/gstxmlregistry.h:
20904         * gst/registries/registrytest.c:
20905
20906 2005-09-14  David Schleef  <ds@schleef.org>
20907
20908         * gst/glib-compat.h:
20909         * gst/gstregistryxml.c:
20910           Convergence is near.  Seriously.
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         * gst/glib-compat.h:
20916           Attempt #4 to appease the buildbots.
20917
20918 2005-09-14  David Schleef  <ds@schleef.org>
20919
20920         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20921           Attempt #3.
20922
20923 2005-09-14  David Schleef  <ds@schleef.org>
20924
20925         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20926         Attempt #2.
20927
20928 2005-09-14  David Schleef  <ds@schleef.org>
20929
20930         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
20931           the new functions.
20932
20933 2005-09-14  David Schleef  <ds@schleef.org>
20934
20935         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20936         * gst/glib-compat.h: Add some functions that are in newer versions
20937           of glib than we care to require.
20938         * gst/gstregistryxml.c: Use them.
20939
20940 2005-09-14  David Schleef  <ds@schleef.org>
20941
20942         * po/POTFILES.in: remove gst-register.c
20943
20944 2005-09-14  David Schleef  <ds@schleef.org>
20945
20946         * docs/gst/gstreamer-docs.sgml:
20947         * docs/gst/gstreamer-sections.txt:
20948         * docs/gst/gstreamer.types:
20949         * docs/gst/tmpl/gstelement.sgml:
20950         * docs/gst/tmpl/gstplugin.sgml:
20951         * docs/gst/tmpl/gstpluginfeature.sgml:
20952           Documentation updates for registry changes.
20953
20954 2005-09-14  David Schleef  <ds@schleef.org>
20955
20956         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
20957           because we don't require glib-2.8.
20958
20959 2005-09-14  David Schleef  <ds@schleef.org>
20960
20961         * gst/gstregistryxml.c: Added.  Essentially moved out of the
20962           registries directory.
20963
20964 2005-09-14  David Schleef  <ds@schleef.org>
20965
20966         * check/Makefile.am:
20967         * check/generic/states.c:
20968         * gst/Makefile.am:
20969         * gst/gst.c:
20970         * gst/gst.h:
20971         * gst/gst_private.h:
20972         * gst/gstelementfactory.c:
20973         * gst/gstindex.c:
20974         * gst/gstinfo.c:
20975         * gst/gstplugin.c:
20976         * gst/gstplugin.h:
20977         * gst/gstpluginfeature.c:
20978         * gst/gstpluginfeature.h:
20979         * gst/gstregistry.c:
20980         * gst/gstregistry.h:
20981         * gst/gstregistrypool.c: remove
20982         * gst/gstregistrypool.h: remove
20983         * gst/gsttypefind.c:
20984         * gst/gsttypefindfactory.c:
20985         * gst/gsturi.c:
20986         * tools/Makefile.am:
20987         * tools/gst-compprep.c:
20988         * tools/gst-inspect.c:
20989         * tools/gst-register.c: remove
20990         * tools/gst-xmlinspect.c:
20991           Registry rewrite.  Changes registry from being a file created
20992           by a tool into a simple cache file created automatically by 
20993           libgstreamer.  Removed gst-register (because it's no longer
20994           needed).  Remove registry pools, because we only have one
20995           registry implementation (XML).  Fix up other subsystems as
20996           necessary.
20997
20998 2005-09-13  Michael Smith <msmith@fluendo.com>
20999
21000         * gst/gstconfig.h.in:
21001           Don't Use windows linking attributes for MinGW. Fixes #316157
21002
21003 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21004
21005         * gst/gstutils.c: (set_state_async_thread_func),
21006         (gst_element_set_state_async):
21007           Apparently people think it's better if this function doesn't
21008           try to set the state to whatever state was asked for on the first
21009           call to this function for any object.  Seriously.
21010
21011 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21012
21013         * check/gst/gstpipeline.c: (GST_START_TEST):
21014         * docs/gst/gstreamer-sections.txt:
21015         * gst/gstutils.c: (set_state_async_thread_func),
21016         (gst_element_set_state_async):
21017         * gst/gstutils.h:
21018           add a "gst_element_set_state_async" method that
21019           sets the state and starts a thread to make sure the state
21020           change completes as best as it can
21021
21022 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21023
21024         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21025           codify design+behaviour in testsuite after discussion
21026
21027 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21028
21029         * docs/gst/tmpl/gstelement.sgml:
21030         * docs/manual/appendix-quotes.xml:
21031           add a quote
21032         * gst/gstelement.c: (gst_element_set_state):
21033           add some debug
21034
21035 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
21036
21037         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21038         (gst_base_transform_prepare_output_buf),
21039         (gst_base_transform_handle_buffer):
21040         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
21041         (gst_capsfilter_prepare_buf):
21042           Remove the requirement for sub-classes to call the parent
21043           implementation of prepare_output_buffer with a wrapper function.
21044           
21045         * gst/gsttaglist.h:
21046         * gst/gsttagsetter.h:
21047           Fix #define wrapper
21048
21049 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
21050
21051         * docs/gst/gstreamer-sections.txt:
21052           more doc cleanups
21053
21054 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21055
21056         * docs/gst/gstreamer-sections.txt:
21057         * docs/gst/tmpl/gstelement.sgml:
21058         * docs/gst/tmpl/gstplugin.sgml:
21059         * gst/gstminiobject.c:
21060         * gst/gstvalue.h:
21061           docs now stop throwing warnings
21062
21063 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21064
21065         * docs/gst/gstreamer-sections.txt:
21066         * docs/gst/gstreamer.types:
21067         * docs/gst/tmpl/gstpad.sgml:
21068         * docs/gst/tmpl/gsttypes.sgml:
21069         * gst/base/gstadapter.h:
21070         * gst/base/gstbasesink.h:
21071         * gst/base/gstbasesrc.h:
21072         * gst/gstbin.h:
21073         * gst/gstbuffer.h:
21074         * gst/gstbus.h:
21075         * gst/gstcaps.h:
21076         * gst/gstclock.h:
21077         * gst/gstelement.h:
21078         * gst/gstevent.h:
21079         * gst/gstmessage.h:
21080         * gst/gstpad.h:
21081         * gst/gststructure.c:
21082         * gst/registries/gstlibxmlregistry.h:
21083           various documentation fixes
21084
21085 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21086
21087         * docs/gst/gstreamer-sections.txt:
21088         * docs/gst/tmpl/gstvalue.sgml:
21089           rearrange gstvalue section
21090         * gst/gstutils.c: (gst_element_state_get_name):
21091           NONE -> VOID
21092         * gst/gstvalue.c: (_gst_value_initialize):
21093         * gst/gstvalue.h:
21094           doc updates
21095
21096 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
21097
21098         * check/gst-libs/controller.c:
21099           Header include fix.
21100         * gst/base/gstbasetransform.c:
21101         (gst_base_transform_default_prepare_buf),
21102         (gst_base_transform_handle_buffer):
21103         * gst/base/gstbasetransform.h:
21104           Some more basetransform changes and fixes to enable sub-classes
21105           that modify buffer metadata only.
21106         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21107         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
21108         (gst_capsfilter_prepare_buf):
21109           If the output pad has fixed allowed caps and input buffers 
21110           don't have any, set the fixed caps on outgoing buffers.
21111
21112 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
21113         * check/elements/identity.c: (GST_START_TEST):
21114           Make the error a little clearer when the test fails because
21115           identity made a copy of the buffer.
21116         * docs/gst/gstreamer-sections.txt:
21117           New symbols in gstbasetransform.h
21118         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21119         (gst_base_transform_init), (gst_base_transform_transform_size),
21120         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21121         (gst_base_transform_default_prepare_buf),
21122         (gst_base_transform_get_unit_size),
21123         (gst_base_transform_buffer_alloc),
21124         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
21125         (gst_base_transform_change_state),
21126         (gst_base_transform_set_passthrough),
21127         (gst_base_transform_set_in_place),
21128         (gst_base_transform_is_in_place):
21129         * gst/base/gstbasetransform.h:
21130           Change BaseTransform to separate in_place operate from same_caps
21131           output. in_place implies that the element can perform the transform
21132           on incoming buffers in-place, even if the caps on the output are
21133           different.
21134           Sub-class elements can now implement special buffer allocation
21135           methods for outgoing buffers if they wish to.
21136           Big documentation addition.
21137         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
21138         * gst/elements/gstelements.c:
21139           Changes for basetransform modifications.
21140         * gst/elements/Makefile.am:
21141         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
21142           Compile fix. Extra debug output.
21143
21144 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21145
21146         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
21147         (gst_pad_suite):
21148           add tests for valid pad naming
21149         * gst/check/gstcheck.c: (gst_check_log_message_func),
21150         (gst_check_log_critical_func):
21151           add ASSERT_WARNING
21152           remove printing of code, it is fragile when the code contains
21153           % and the line number is enough info
21154         * gst/check/gstcheck.h:
21155         * gst/gstpad.c: (gst_pad_template_new):
21156           fix memleaks
21157
21158 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21159
21160         * configure.ac:
21161           say what CHECK flags we use
21162         * docs/libs/gstreamer-libs.types:
21163         * libs/gst/controller/Makefile.am:
21164         * libs/gst/controller/gst-controller.c:
21165         * libs/gst/controller/gst-controller.h:
21166         * libs/gst/controller/gst-helper.c:
21167         * libs/gst/controller/gst-interpolation.c:
21168         * libs/gst/controller/gstcontroller.c:
21169         * libs/gst/controller/gsthelper.c:
21170         * libs/gst/controller/gstinterpolation.c:
21171         * tools/gst-inspect.c: (print_plugin_info):
21172           we don't use dashes in header names
21173
21174 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21175
21176         * check/Makefile.am:
21177         * check/gst/.cvsignore:
21178         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
21179         (gst_pipeline_suite), (main):
21180           adding a test for pipelines and state changes
21181         * gst/gstutils.c: (get_state_func):
21182           add some debugging
21183         * gstreamer.spec.in:
21184           fix up spec file
21185
21186 2005-09-08  Michael Smith <msmith@fluendo.com>
21187
21188         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
21189         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
21190         (gst_file_src_is_seekable), (gst_file_src_get_size),
21191         (gst_file_src_start):
21192         * gst/elements/gstfilesrc.h:
21193           Various fixes for unseekable, unmmapable, and non-normal files, so
21194           that fallback to read() rather than mmap() works.
21195         * gst/gstevent.c: (gst_event_new_newsegment):
21196           Allow newsegment events with segment_start == segment_end, as will
21197           correctly happen if you use filesrc on a zero-size file, for
21198           example.
21199
21200 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
21201
21202         * gst/gstplugin.c: (gst_plugin_load_file):
21203           Call g_module_close when we don't load the module
21204
21205         * gst/registries/gstlibxmlregistry.c:
21206         (gst_xml_registry_get_property):
21207           Port leak fix from 0.8
21208
21209 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21210
21211         * docs/gst/gstreamer-docs.sgml:
21212         * docs/gst/tmpl/.cvsignore:
21213         * docs/gst/tmpl/gsttrace.sgml:
21214         * docs/gst/tmpl/gsttrashstack.sgml:
21215         * gst/Makefile.am:
21216         * gst/gst.h:
21217         * gst/gstelement.h:
21218         * gst/gstevent.h:
21219         * gst/gstmessage.c:
21220         * gst/gstmessage.h:
21221         * gst/gsttag.c:
21222         * gst/gsttag.h:
21223         * gst/gsttaginterface.c:
21224         * gst/gsttaginterface.h:
21225         * gst/gsttaglist.c:
21226         * gst/gsttaglist.h:
21227         * gst/gsttagsetter.c:
21228         * gst/gsttagsetter.h:
21229         * gst/gsttrace.c:
21230         * gst/gsttrace.h:
21231         * gst/gsttrashstack.c:
21232           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
21233           inlined docs for gsttrace, gsttrashstack
21234
21235 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21236
21237         * gst/Makefile.am:
21238         * gst/elements/gstbufferstore.h:
21239         * gst/elements/gsttypefindelement.c:
21240         * gst/elements/gsttypefindelement.h:
21241         * gst/gst.h:
21242         * gst/gsttypefind.c:
21243         * gst/gsttypefind.h:
21244         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
21245         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
21246         (gst_type_find_factory_dispose),
21247         (gst_type_find_factory_unload_thyself),
21248         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
21249         (gst_type_find_factory_get_caps),
21250         (gst_type_find_factory_get_extensions),
21251         (gst_type_find_factory_call_function):
21252         * gst/gsttypefindfactory.h:
21253         * gst/registries/gstlibxmlregistry.c:
21254         * gst/registries/gstxmlregistry.c:
21255           splitted gsttypefind into gsttypefind, gsttypefindfactory
21256
21257 2005-09-07  Andy Wingo  <wingo@pobox.com>
21258
21259         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
21260         condition whereby the pad's task function is entered before the
21261         pad_mode variable was set.
21262
21263 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
21264
21265         * gst/gstpad.c: (gst_pad_alloc_buffer):
21266           Catch misbehaving pad_alloc functions that don't
21267           set up caps and do it for them.
21268
21269 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21270
21271         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21272           test for pipe!=NULL
21273         * docs/gst/tmpl/.cvsignore:
21274         * docs/gst/tmpl/gstmemchunk.sgml:
21275         * docs/gst/tmpl/gstparse.sgml:
21276         * docs/gst/tmpl/gsttaglist.sgml:
21277         * docs/gst/tmpl/gsttagsetter.sgml:
21278         * docs/gst/tmpl/gsttypefind.sgml:
21279         * docs/gst/tmpl/gsttypefindfactory.sgml:
21280         * gst/gstmemchunk.c:
21281         * gst/gstparse.c:
21282         * gst/gsttag.c:
21283         * gst/gsttaginterface.c:
21284         * gst/gsttypefind.c:
21285         * gst/gsttypefind.h:
21286           inlined more docs
21287
21288 === release 0.9.2 ===
21289
21290 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21291
21292         * NEWS:
21293         * RELEASE:
21294         * configure.ac:
21295           releasing 0.9.2, "South"
21296
21297 2005-09-05  Andy Wingo  <wingo@pobox.com>
21298
21299         * gst/registries/gstxmlregistry.h:
21300         * gst/registries/gstxmlregistry.c: Um... resurrect...
21301         
21302         * gst/registries/gstxmlregistry.h:
21303         * gst/registries/gstxmlregistry.c: and update to newer API.
21304         Incidentally they should be a bit faster now that they don't have
21305         to parse the caps.
21306         
21307 2005-09-05  Andy Wingo  <wingo@pobox.com>
21308
21309         * gst/registries/gstxmlregistry.h:
21310         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
21311         replaced by the libxml registry a while back
21312
21313 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21314
21315         * docs/gst/tmpl/gstplugin.sgml:
21316         * gst/elements/gstelements.c:
21317         * gst/gst.c:
21318         * gst/gstplugin.c: (gst_plugin_register_func),
21319         (gst_plugin_desc_copy), (gst_plugin_desc_free),
21320         (gst_plugin_get_source):
21321         * gst/gstplugin.h:
21322         * gst/registries/gstlibxmlregistry.c: (load_plugin),
21323         (gst_xml_registry_save_plugin):
21324         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
21325         (gst_xml_registry_save_plugin):
21326         * tools/gst-inspect.c: (print_plugin_info):
21327           add a "source" plugin description field, to represent the source
21328           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
21329           will set it to PACKAGE, which is automake's idea of the name of
21330           the source project.
21331
21332 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21333
21334         * Makefile.am:
21335         * autogen.sh:
21336         * configure.ac:
21337         * docs/Makefile.am:
21338         * docs/faq/Makefile.am:
21339         * docs/gst/tmpl/gstelement.sgml:
21340         * docs/gst/tmpl/gsttypes.sgml:
21341         * docs/htmlinstall.mak:
21342         * docs/manual/Makefile.am:
21343         * docs/pwg/Makefile.am:
21344           reorganize doc build a little
21345           split out docbook and gtk-doc stuff
21346           have two separate --enable's and enable them through autogen
21347           but disable by default in configure (to be similar to other
21348           projects)
21349         * gstreamer.spec.in:
21350           clean up docs install
21351         * po/af.po:
21352         * po/az.po:
21353         * po/ca.po:
21354         * po/cs.po:
21355         * po/de.po:
21356         * po/en_GB.po:
21357         * po/fr.po:
21358         * po/it.po:
21359         * po/nb.po:
21360         * po/nl.po:
21361         * po/ru.po:
21362         * po/sq.po:
21363         * po/sr.po:
21364         * po/sv.po:
21365         * po/tr.po:
21366         * po/uk.po:
21367         * po/vi.po:
21368           translation updates
21369
21370 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
21371
21372         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
21373           Add comment.
21374           
21375         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21376         (gst_fake_sink_change_state):
21377           Make state change function thread-safe.
21378           
21379         * gst/gstpad.c: (gst_pad_alloc_buffer):
21380           Set offset on generic buffer allocated by fallback.
21381
21382 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
21383
21384         * docs/gst/gstreamer-sections.txt:
21385         * docs/gst/tmpl/gstelement.sgml:
21386         * gst/gstpad.c:
21387         * libs/gst/controller/gst-controller.c:
21388         (gst_controlled_property_set_interpolation_mode),
21389         (gst_controlled_property_new),
21390         (gst_controller_find_controlled_property):
21391          run the wingo-magic script against the docs
21392
21393 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
21394
21395         * docs/gst/gstreamer-docs.sgml:
21396         * docs/gst/gstreamer-sections.txt:
21397         * docs/gst/tmpl/.cvsignore:
21398         * docs/gst/tmpl/gstelementdetails.sgml:
21399         * docs/gst/tmpl/gstelementfactory.sgml:
21400         * gst/gst.c:
21401         * gst/gstbus.c:
21402         * gst/gstelementfactory.c:
21403         * gst/gstelementfactory.h:
21404           merged elementdetails docs into elementfactory docs
21405           inlined both
21406
21407 2005-09-02  Andy Wingo  <wingo@pobox.com>
21408
21409         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
21410         consider this enum an enum and not a flags.
21411
21412 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
21413
21414         * docs/gst/gstreamer-docs.sgml:
21415         * docs/gst/tmpl/.cvsignore:
21416         * docs/gst/tmpl/gstghostpad.sgml:
21417         * docs/gst/tmpl/gstiterator.sgml:
21418         * docs/gst/tmpl/gstmacros.sgml:
21419         * docs/gst/tmpl/gstrealpad.sgml:
21420         * docs/gst/tmpl/gstregistry.sgml:
21421         * docs/gst/tmpl/gstregistrypool.sgml:
21422         * docs/gst/tmpl/gststructure.sgml:
21423         * docs/gst/tmpl/gstsystemclock.sgml:
21424         * docs/gst/tmpl/gsttrace.sgml:
21425         * gst/gstghostpad.c:
21426         * gst/gstmacros.h:
21427         * gst/gstmemchunk.c:
21428         * gst/gstmemchunk.h:
21429         * gst/gstqueue.c:
21430         * gst/gstregistry.c:
21431         * gst/gstregistrypool.c:
21432         * gst/gststructure.c:
21433         * gst/gstsystemclock.c:
21434           more docs inlined
21435
21436 2005-09-02  Andy Wingo  <wingo@pobox.com>
21437
21438         * gst/gstelement.h (GstState): Renamed from GstElementState,
21439         changed to be a normal enum instead of flags.
21440         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
21441         munged to be GST_STATE_CHANGE_*.
21442         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
21443         work with the new state representation.
21444         (GstStateChange): New enumeration of possible state transitions.
21445         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
21446         (GstElementClass::change_state): Pass the GstStateChange along as
21447         an argument. Helps language bindings, so they don't have to use
21448         tricky lock-needing macros like GST_STATE_CHANGE ().
21449
21450         * scripts/update-states (file): New script. Run it on a file to
21451         update it for state naming and API changes. Updates files in
21452         place.
21453
21454         * All files updated for the new API.
21455
21456 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21457
21458         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
21459         * gst/gstutils.c: (gst_util_set_value_from_string),
21460         (gst_util_set_object_arg):
21461           fix a bunch of unchecked return values
21462         * tools/gst-complete.c: (main):
21463         * gstreamer.spec.in:
21464           clean up a little
21465
21466 2005-09-01  Wim Taymans  <wim@fluendo.com>
21467
21468         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21469         (gst_base_sink_event), (gst_base_sink_do_sync),
21470         (gst_base_sink_handle_event):
21471         * gst/base/gstbasesink.h:
21472         Handle newsegments more correctly.
21473
21474         * gst/gstbus.c:
21475         Fix docs.
21476
21477         * gst/gstevent.c: (gst_event_new_newsegment):
21478         A newsegment cannot have a start_time of -1
21479
21480 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
21481
21482         * win32/gstenumtypes.c:
21483         * win32/gstenumtypes.h:
21484           Update
21485
21486 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
21487
21488         * libs/gst/controller/gst-controller.c:
21489         (gst_controlled_property_set_interpolation_mode),
21490         (gst_controlled_property_new):
21491          fixed boolean again
21492
21493 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
21494
21495         * docs/faq/gst-uninstalled:
21496           add -good
21497         * gst/gstevent.c:
21498         * gst/gstevent.h:
21499           remove wrong docs
21500         * gst/gstutils.c: (gst_element_link_filtered):
21501         * gst/gstutils.h:
21502           add gst_element_link_filtered
21503
21504 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
21505
21506         * docs/gst/gstreamer-docs.sgml:
21507         * docs/gst/gstreamer-sections.txt:
21508         * docs/gst/tmpl/.cvsignore:
21509         * docs/gst/tmpl/gsterror.sgml:
21510         * docs/gst/tmpl/gstfilter.sgml:
21511         * docs/gst/tmpl/gsturihandler.sgml:
21512         * docs/gst/tmpl/gsturitype.sgml:
21513         * docs/gst/tmpl/gstutils.sgml:
21514         * docs/gst/tmpl/gstxml.sgml:
21515         * gst/gsterror.c:
21516         * gst/gsterror.h:
21517         * gst/gstfilter.c:
21518         * gst/gsturi.c:
21519         * gst/gsturitype.c:
21520         * gst/gstutils.c:
21521         * gst/gstxml.c:
21522           inlined more docs, fixed double id-ref
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):
21528         Passthrough elements don't need the caps as they don't care.
21529
21530 2005-08-31  Wim Taymans  <wim@fluendo.com>
21531
21532         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21533         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
21534         Don't leak refcounts on buffers.
21535
21536 2005-08-31  Wim Taymans  <wim@fluendo.com>
21537
21538         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
21539         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21540         (gst_base_transform_chain), (gst_base_transform_change_state):
21541         * gst/base/gstbasetransform.h:
21542         Handle the case where we are not negotiated more gracefully.
21543
21544 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
21545
21546         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
21547         (gst_file_src_map_region):
21548           Set READONLY flag on mmap'ed buffers, otherwise
21549           gst_buffer_make_writable() won't work properly (#314708).
21550
21551 2005-08-31  Wim Taymans  <wim@fluendo.com>
21552
21553         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
21554         passthrough elements can even do inplace on non writable
21555         buffers (as they don't touch them).
21556
21557 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
21558
21559         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21560         (gst_test_mono_source_set_property),
21561         (gst_test_mono_source_class_init), (GST_START_TEST),
21562         (gst_controller_suite):
21563           more tests (hehe I have the most)
21564         * gst/gstbus.c:
21565           describe popping messages whenusing mulltiple sources
21566         * libs/gst/controller/gst-controller.c:
21567         (gst_controlled_property_set_interpolation_mode),
21568         (gst_controlled_property_new):
21569         * libs/gst/controller/gst-controller.h:
21570         * libs/gst/controller/gst-interpolation.c:
21571           implement boolean properties
21572
21573 2005-08-31  Wim Taymans  <wim@fluendo.com>
21574
21575         * gst/gstminiobject.c: (gst_mini_object_ref):
21576         Cannot assert that the refcount has to be positive
21577         since a disposed object can be resurrected.
21578
21579 2005-08-31  Wim Taymans  <wim@fluendo.com>
21580
21581         * gst/gstpad.c: (gst_pad_init):
21582         Revert change, need to first fix badly behaving 
21583         apps.
21584
21585 2005-08-30  Wim Taymans  <wim@fluendo.com>
21586
21587         * check/elements/fakesrc.c: (setup_fakesrc):
21588         * check/elements/identity.c: (setup_identity):
21589         Activate pads before using them.
21590
21591 2005-08-30  Wim Taymans  <wim@fluendo.com>
21592
21593         * gst/base/gstadapter.c: (gst_adapter_flush):
21594         Flushing out 0 bytes is ok for this function.
21595
21596         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21597         no newsegment gives a warning and sets the start/stop to 
21598         invalid.
21599
21600         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
21601         (gst_base_transform_set_passthrough):
21602         Some debug info.
21603
21604         * gst/gstminiobject.c: (gst_mini_object_ref):
21605         Check refcount here too.
21606
21607         * gst/gstpad.c: (gst_pad_init):
21608         Pads are initially flushing and refusing data.
21609
21610         * gst/gstutils.c: (gst_element_link_pads_filtered):
21611         When adding a capsfilter element make sure it has the
21612         same state as the parent bin.
21613
21614 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21615
21616         * docs/gst/tmpl/.cvsignore:
21617         * docs/gst/tmpl/gstformat.sgml:
21618         * docs/gst/tmpl/gstversion.sgml:
21619         * gst/gstbus.h:
21620         * gst/gstformat.c:
21621         * gst/gstformat.h:
21622         * gst/gstversion.h.in:
21623           more docs and two more inlined
21624
21625 2005-08-30  Wim Taymans  <wim@fluendo.com>
21626
21627         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
21628         Don't sync to clock.
21629
21630 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21631
21632         * docs/gst/gstreamer-sections.txt:
21633           ultral33t func10ns deserve to appear in the docs actually
21634         * docs/gst/tmpl/.cvsignore:
21635         * docs/gst/tmpl/gstcompat.sgml:
21636         * docs/gst/tmpl/gstconfig.sgml:
21637         * gst/check/gstcheck.c:
21638         * gst/gstcompat.h:
21639         * gst/gstconfig.h.in:
21640           inlined more docs
21641
21642 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21643
21644         * docs/gst/tmpl/.cvsignore:
21645         * docs/gst/tmpl/gstquery.sgml:
21646         * docs/gst/tmpl/gstutils.sgml:
21647         * gst/gstquery.c:
21648         * gst/gstquery.h:
21649           inlined and extended docs
21650
21651 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21652
21653         * check/gst-libs/controller.c: (GST_START_TEST),
21654         (gst_controller_suite):
21655           more tests
21656         * docs/gst/tmpl/gstutils.sgml:
21657         * docs/libs/gstreamer-libs-sections.txt:
21658         * docs/libs/tmpl/gstdataprotocol.sgml:
21659           include path fixes
21660         * examples/controller/audio-example.c: (main):
21661           controller example works now
21662         * gst/gstclock.h:
21663           doc fixes
21664         * tools/gst-inspect.c: (print_element_properties_info):
21665           show param spec flags
21666
21667 2005-08-29  Andy Wingo  <wingo@pobox.com>
21668
21669         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
21670
21671 2005-08-28  Andy Wingo  <wingo@pobox.com>
21672
21673         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
21674         as having two arguments instead of just one. Allows superclasses
21675         to access information on subclasses -- see the terrible for() loop
21676         in gtype.c:g_type_create_instance for the reason why. All callers
21677         changed.
21678
21679 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
21680
21681         * docs/design/part-messages.txt:
21682           update info
21683         * docs/gst/tmpl/.cvsignore:
21684         * docs/gst/tmpl/gstcaps.sgml:
21685         * docs/gst/tmpl/gstclock.sgml:
21686         * gst/gstbus.c:
21687         * gst/gstcaps.c:
21688         * gst/gstcaps.h:
21689         * gst/gstclock.c:
21690         * gst/gstclock.h:
21691         * gst/gstmessage.c:
21692           added descriptions for bus and message
21693           inline caps and clock docs
21694
21695 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
21696
21697         * gst/gstmessage.c:
21698         * gst/gstmessage.h:
21699           doc fixes
21700
21701 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
21702
21703         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
21704           fix div-by-zero
21705
21706 2005-08-26  Andy Wingo  <wingo@pobox.com>
21707
21708         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
21709         element_set_state's return val.
21710         (test_2_elements): Add test that's been disabled for months.
21711
21712         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
21713         can-activate-pull properties.
21714
21715         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
21716         can-activate-pull properties. Implement is_seekable so fakesrc can
21717         operate in pull mode.
21718
21719         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
21720         properties.
21721         (gst_base_sink_activate, gst_base_sink_activate_pull)
21722         (gst_base_sink_activate_push): Make activation mode choosing work.
21723         Cleanups.
21724         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
21725         is right. Make pull mode work. Post an eos before pausing in pull
21726         mode.
21727         (gst_base_sink_change_state): Pay attention to the core's
21728         change_state() return val.
21729         
21730         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
21731         has-getrange properties. Cleanups.
21732         
21733         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
21734         has_getrange and replace with can_activate_pull and
21735         can_activate_push.
21736
21737         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
21738         locking comments. Remove has_loop, has_chain and replace with
21739         can_activate_pull and can_activate_push.
21740
21741 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
21742
21743         * configure.ac:
21744         * examples/Makefile.am:
21745         * examples/metadata/Makefile.am:
21746         * examples/metadata/read-metadata.c: (message_loop),
21747         (have_pad_handler), (make_pipeline), (print_tag), (main):
21748           Add metadata reading example that loops over a list of filenames,
21749           dumping any tags found.
21750
21751         * gst/gstbus.c: (gst_bus_dispose):
21752         * gst/gstelement.c: (gst_element_dispose):
21753           Release a few potentially-held references in dispose.
21754
21755 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21756
21757         * docs/gst/tmpl/gstminiobject.sgml:
21758           do *not* add tmpl/*.sgml files to CVS!
21759
21760 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21761
21762         * libs/gst/bytestream/.cvsignore:
21763         * libs/gst/bytestream/Makefile.am:
21764         * libs/gst/bytestream/adapter.c:
21765         * libs/gst/bytestream/adapter.h:
21766         * libs/gst/bytestream/bytestream.c:
21767         * libs/gst/bytestream/bytestream.h:
21768         * libs/gst/bytestream/filepad.c:
21769         * libs/gst/bytestream/filepad.h:
21770           removing obsolete files
21771
21772 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21773
21774         * docs/gst/gstreamer-docs.sgml:
21775         * docs/libs/gstreamer-libs-docs.sgml:
21776           disabed additional index entries again, as this makes docs-gen just
21777           slow and they aren't useful yet
21778         * docs/libs/gstreamer-libs-sections.txt:
21779           little -section.txt cleanup for libs
21780
21781 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
21782
21783         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21784         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
21785           fix up some debugging
21786         (gst_base_transform_get_unit_size),
21787         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21788         (gst_base_transform_handle_buffer):
21789         * gst/base/gstbasetransform.h:
21790           handle and store timed NEWSEGMENT events so that subclasses that
21791           calculate time by counting samples have a segment_start time they
21792           need to add to their timestamps - see audioresample
21793
21794 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21795
21796         * gst/gstbin.h:
21797           removed ';' from the end of macro defs
21798         * docs/gst/gstreamer-docs.sgml:
21799         * docs/gst/gstreamer-sections.txt:
21800         * docs/gst/tmpl/.cvsignore:
21801         * gst/gstbus.h:
21802         * gst/gstelement.c: (gst_element_class_init),
21803         (gst_element_set_state), (activate_pads),
21804         (gst_element_save_thyself):
21805         * gst/gstevent.c: (gst_event_new_newsegment):
21806         * gst/gstevent.h:
21807         * gst/gstiterator.c:
21808         * gst/gstiterator.h:
21809         * gst/gstpad.c:
21810         * gst/gstprobe.h:
21811         * gst/gstutils.c: (gst_pad_query_convert):
21812         * gst/gstutils.h:
21813           fixed parameter name mismatches between source, header and docs
21814           added some more docs, resolved the last batch of unused elements in
21815           docs (now someone needs to doc them)
21816
21817 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21818
21819         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
21820         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
21821           don't walk through the plugins backwards.  Where is all this
21822           reversed logic coming from ?
21823
21824 2005-08-25  Wim Taymans  <wim@fluendo.com>
21825
21826         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21827         (gst_base_transform_transform_size),
21828         (gst_base_transform_configure_caps),
21829         (gst_base_transform_get_unit_size),
21830         (gst_base_transform_buffer_alloc),
21831         (gst_base_transform_change_state):
21832         * gst/base/gstbasetransform.h:
21833         Cache caps unit_size.
21834         Make sure we cannot negotiate up and downstream at the
21835         same time.
21836
21837 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21838
21839         * gst/gst.c: (init_pre), (init_post):
21840           register the installed plugin path after the env var
21841         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
21842         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
21843           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
21844           directories, so the tests can prefer uninstalled over installed
21845
21846 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21847
21848         * gst/base/gstbasetransform.h:
21849           comment
21850         * gst/gstpad.c:
21851           add to docs
21852
21853 2005-08-25  Wim Taymans  <wim@fluendo.com>
21854
21855         * gst/gstbin.c: (bin_bus_handler):
21856         Be a bit more conservative about the posted message.
21857         
21858         * gst/gstbus.c: (gst_bus_post):
21859         Some cleanups, warn wrong return values.
21860
21861 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
21862
21863         * check/gst/gstbin.c: (GST_START_TEST):
21864         * gst/gstbin.c: (bin_bus_handler):
21865         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21866         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21867         (gst_message_new_warning), (gst_message_new_tag),
21868         (gst_message_new_state_changed), (gst_message_new_segment_start),
21869         (gst_message_new_segment_done), (gst_message_new_custom):
21870         * gst/gstmessage.h:
21871         * tools/gst-launch.c: (event_loop):
21872         * tools/gst-md5sum.c: (event_loop):
21873           Revert unpopular change for GST_MESSAGE_SRC to GObject.
21874
21875 2005-08-25  Wim Taymans  <wim@fluendo.com>
21876
21877         * check/generic/states.c: (GST_START_TEST):
21878         Cleanup can be done at the end.
21879
21880         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
21881         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
21882         (gst_task_get_state), (gst_task_start), (gst_task_pause):
21883         Oh boy.. Thanks for finding this, Thomas. 
21884
21885 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
21886
21887         * docs/gst/gstreamer.types:
21888           added missing types
21889
21890 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
21891
21892         * docs/gst/gstreamer-docs.sgml:
21893         * docs/gst/gstreamer-sections.txt:
21894         * docs/gst/tmpl/.cvsignore:
21895         * gst/gstbin.c:
21896         * gst/gstiterator.c:
21897         * gst/gstutils.c:
21898         * gst/registries/gstxmlregistry.h:
21899           added missing classes and symbols (123 more to go)
21900           removed removed symbols from section file
21901           fixed many doc-comments
21902
21903 2005-08-24  Wim Taymans  <wim@fluendo.com>
21904
21905         * check/generic/states.c: (GST_START_TEST):
21906         Make sure all tasks are stopped.
21907
21908         * check/gst/gstbin.c: (GST_START_TEST):
21909         Unref after usage for proper valgrinding.
21910
21911         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
21912         Really wait for the task to stop before destroying the
21913         mutex.
21914
21915         * gst/gstqueue.c: (gst_queue_sink_activate_push),
21916         (gst_queue_src_activate_push):
21917         Small cleanups. Don't stop the task when we did not start
21918         it.
21919
21920         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
21921         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
21922         (gst_task_get_state), (gst_task_start), (gst_task_pause),
21923         (gst_task_join):
21924         * gst/gsttask.h:
21925         Protect the stream lock with the object lock.
21926         Disallow setting the stream lock when running.
21927         Add cleanup_all to wait for the threadpool to finish.
21928         Remove code to autoallocate a mutex if none was provided.
21929         Add _join() to wait for a task to stop.
21930         Protect the thread pool with a global lock.
21931
21932 2005-08-24  Wim Taymans  <wim@fluendo.com>
21933
21934         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21935         (gst_base_sink_get_times), (gst_base_sink_do_sync),
21936         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
21937         * gst/base/gstbasesink.h:
21938         Handle newsegment events correctly.
21939         Drop buffers out of the segment range.
21940
21941 2005-08-22  Andy Wingo  <wingo@pobox.com>
21942
21943         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
21944         macro, implements an interface and gstimplementsinterface for a
21945         new type.
21946
21947 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21948
21949         * check/Makefile.am:
21950         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
21951           add a test that does a bunch of state changes on elements
21952           needs some fixing for valgrind
21953         * check/states/sinks.c: (gst_object_suite):
21954           whitespace
21955         * gst/gstcaps.h:
21956           add prototype for gst_caps_is_equal_fixed
21957         * gst/gstplugin.c:
21958         * gst/gstregistrypool.c:
21959           doc fixes
21960
21961 2005-08-24  Andy Wingo  <wingo@pobox.com>
21962
21963         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
21964         convert a negative value. Doesn't make much sense. Mostly this is
21965         here to force callers to ensure -1 maps to -1.
21966
21967 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
21968
21969         * docs/pwg/advanced-types.xml:
21970           Well done to Michael for catching my deliberate introduction
21971           of this spelling mistake. 
21972         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
21973         * gst/gstelement.h:
21974           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
21975           unlink pads before removing the element from the bin.
21976
21977 2005-08-24  Andy Wingo  <wingo@pobox.com>
21978
21979         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
21980         the same thing as GST_DEBUG=*:4.
21981         (parse_debug_level, parse_debug_category): New helper parsers.
21982
21983 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21984
21985         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21986         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
21987         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
21988         (gst_base_transform_buffer_alloc),
21989         (gst_base_transform_handle_buffer):
21990           use gboolean return values and pointers to size so we can use the
21991           full GST_BUFFER_SIZE range (guint) for buffer sizes
21992           use GstPadDirection for transform_caps
21993         * gst/base/gstbasetransform.h:
21994           rename get_size to get_unit_size since that's what it is
21995         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
21996           use GstPadDirection for transform_caps
21997         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21998         * gst/gstutils.h:
21999           cleanup and debugging
22000
22001 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
22002
22003         * gst/gstelement.c: (gst_element_class_init),
22004         (gst_element_set_state), (activate_pads),
22005         (gst_element_save_thyself):
22006         * tools/gst-compprep.c: (main):
22007         * tools/gst-inspect.c: (print_element_properties_info):
22008         * tools/gst-xmlinspect.c: (print_element_properties):
22009           Fixed long standing mem-leak
22010
22011 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
22012
22013         * check/gst/gstbin.c: (GST_START_TEST):
22014         * gst/gstbin.c: (bin_bus_handler):
22015         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22016         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22017         (gst_message_new_warning), (gst_message_new_tag),
22018         (gst_message_new_state_changed), (gst_message_new_segment_start),
22019         (gst_message_new_segment_done), (gst_message_new_custom):
22020         * gst/gstmessage.h:
22021         * tools/gst-launch.c: (event_loop):
22022         * tools/gst-md5sum.c: (event_loop):
22023           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
22024           that applications can sensibly post custom messages with references
22025           to their own objects.
22026
22027 2005-08-24  Andy Wingo  <wingo@pobox.com>
22028
22029         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
22030         already.
22031
22032 2005-08-24  Wim Taymans  <wim@fluendo.com>
22033
22034         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22035         (gst_base_transform_transform_caps),
22036         (gst_base_transform_transform_size),
22037         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22038         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22039         (gst_base_transform_handle_buffer):
22040         * gst/base/gstbasetransform.h:
22041         Many fixes and new features added by Thomas. Can now also do
22042         transforms with variable sizes and a custom fixate_caps function.
22043
22044 2005-08-24  Wim Taymans  <wim@fluendo.com>
22045
22046         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22047         Some debugging.
22048
22049         * gst/gstclock.h:
22050         Cast to ClockTime before formatting to time.
22051
22052         * gst/gstutils.h:
22053         Cleanups.
22054
22055 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
22056
22057         * check/gst-libs/controller.c: (GST_START_TEST),
22058         (gst_controller_suite):
22059         * docs/gst/tmpl/gstcaps.sgml:
22060         * docs/gst/tmpl/gstghostpad.sgml:
22061         * docs/gst/tmpl/gstquery.sgml:
22062         * docs/gst/tmpl/gstutils.sgml:
22063         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
22064         (gst_object_sink_values), (gst_object_get_value_arrays),
22065         (gst_object_get_value_array):
22066           gracefully handle helper method calls to objects that are not beeing
22067           controlled, added test case for that          
22068
22069 2005-08-23  Wim Taymans  <wim@fluendo.com>
22070
22071         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
22072         (gst_event_new_newsegment), (gst_event_parse_newsegment),
22073         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
22074         (gst_event_parse_qos), (gst_event_new_seek),
22075         (gst_event_parse_seek):
22076         * gst/gstevent.h:
22077         Some more debugging output and doc cleanups.
22078
22079         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22080         Fix possible deadlock.
22081
22082 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22083
22084         * docs/gst/gstreamer-docs.sgml:
22085         * docs/gst/gstreamer-sections.txt:
22086         * docs/gst/gstreamer.types:
22087         * docs/gst/tmpl/.cvsignore:
22088         * gst/gstbin.h:
22089         * gst/gstbus.c:
22090         * gst/gstelement.c:
22091         * gst/gstevent.h:
22092           added 100 symbols from gstreamer-unused.txt to the right sections
22093           fixed more broken comments
22094           added GstBus to docs
22095
22096 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22097
22098         * docs/gst/gstreamer-sections.txt:
22099         * docs/gst/tmpl/.cvsignore:
22100         * docs/gst/tmpl/gstbin.sgml:
22101         * docs/gst/tmpl/gstbuffer.sgml:
22102         * gst/base/gstbasesrc.c:
22103         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
22104         * gst/gstbuffer.c:
22105         * gst/gstbuffer.h:
22106         * tools/gst-launch.1.in:
22107           inlined more doc comments, added missing comments and fixed comments
22108           fixed typos
22109
22110 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22111
22112         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22113           some debugging
22114         * gst/gstcaps.h:
22115           whitespace fixes
22116         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
22117           more debugging
22118         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
22119         * gst/gststructure.h:
22120           add a fixate function for booleans; add a FIXME that these func
22121           names should probably be gst_structure_fixate_*
22122
22123 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22124
22125         * docs/gst/gstreamer-docs.sgml:
22126         * docs/gst/gstreamer-sections.txt:
22127         * gst/Makefile.am:
22128         * gst/gstbin.c: (gst_bin_get_type),
22129         (gst_bin_child_proxy_get_child_by_index),
22130         (gst_bin_child_proxy_get_children_count),
22131         (gst_bin_child_proxy_init):
22132         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22133         (gst_child_proxy_get_child_by_index),
22134         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
22135         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
22136         (gst_child_proxy_get), (gst_child_proxy_set_property),
22137         (gst_child_proxy_set_valist), (gst_child_proxy_set),
22138         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
22139         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
22140         * gst/gstchildproxy.h:
22141         * gst/parse/grammar.y:
22142         * tools/gst-inspect.c: (print_interfaces),
22143         (print_element_properties_info), (print_element_info):
22144           ported gstchildproxy over from 0.8
22145           ported gst-inspect fixes and enhancements over from 0.8
22146
22147 2005-08-22  Wim Taymans  <wim@fluendo.com>
22148
22149         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22150         (gst_base_transform_handle_buffer):
22151         Also call the transform function if we have ANY caps.
22152
22153         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
22154         Fix debug info.
22155
22156 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
22157
22158         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
22159           Don't pretend to handle seek events if the source is not seekable
22160
22161 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
22162
22163         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22164           Remove extra parameter to debug output
22165
22166         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22167         (gst_base_src_do_seek), (gst_base_src_activate_push):
22168           Fix seek event handling.
22169
22170         * gst/gstpipeline.c: (gst_pipeline_change_state):
22171         * gst/gstqueue.c: (gst_queue_handle_sink_event),
22172         (gst_queue_src_activate_push):
22173           Don't start the src pad task on FLUSH_STOP if the pad
22174           isn't linked.
22175           Debug changes.
22176
22177 2005-08-22  Wim Taymans  <wim@fluendo.com>
22178
22179         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
22180         Added check for gst_static_caps_get() refcounting.
22181
22182 2005-08-22  Wim Taymans  <wim@fluendo.com>
22183
22184         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
22185         Make _static_caps_get() refcounting sane.
22186         
22187         * gst/gstelement.c: (gst_element_set_state):
22188         Add g_return_val_if_fail() to protect against segfaults.
22189
22190 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
22191
22192         * docs/gst/tmpl/gstevent.sgml:
22193         * gst/gstevent.c:
22194         * gst/gstevent.h:
22195           inlined remaining docs, added missing doc comments
22196
22197 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22198
22199         * check/gst/gstbin.c: (GST_START_TEST):
22200           since we don't know when preroll is done, use refcount range
22201           check for the sink
22202         * gst/check/gstcheck.h:
22203           add macro for checking refcount range
22204
22205 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22206
22207         * check/Makefile.am:
22208           clean up environment for when registry gets built versus
22209           when actual tests are run; valgrind seems to not report
22210           leaks if GST_PLUGIN_PATH is set to some specific values
22211         * check/gst/gstbin.c: (GST_START_TEST):
22212           add more refcounting checks; maybe this exposes a
22213           preroll lock bug ?
22214         * common/check.mak:
22215         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22216         * gst/check/gstcheck.h:
22217         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
22218         (gst_bin_change_state):
22219         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
22220           add/fix debugging/whitespace
22221
22222 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
22223
22224         * check/gst/gstevent.c: (event_probe), (test_event),
22225         (GST_START_TEST):
22226          Er, don't call gst_bin_watch_for_state_change you idiot.
22227
22228 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
22229
22230         * check/Makefile.am:
22231           Use CHECK_CFLAGS and CHECK_LIBS
22232         * check/gst/gstevent.c: (event_probe), (test_event),
22233         (GST_START_TEST):
22234           Don't leak events.
22235         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22236         (gst_base_src_start), (gst_base_src_stop),
22237         (gst_base_src_activate_push), (gst_base_src_activate_pull),
22238         (gst_base_src_change_state):
22239           Sprinkle gst_base_src_stop liberally around error paths to fix
22240           problems reusing a source after failed state changes.
22241         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22242         (helper_find_suggest), (gst_type_find_helper):
22243           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
22244         * gst/gstevent.h:
22245         * docs/gst/tmpl/gstevent.sgml:
22246           Migrate part of the docs from the SGML file. Wait for ensonic to
22247           tell me how I did it wrong ;)
22248         * tools/gst-typefind.c: (main):
22249           Extra robustness to state changes between files.
22250
22251 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22252
22253         * check/Makefile.am:
22254           don't valgrind the controller test - it's leaking - Stefan, HELP
22255         * gst/check/gstcheck.c: (gst_check_message_error),
22256         (gst_check_chain_func), (gst_check_setup_element),
22257         (gst_check_teardown_element), (gst_check_setup_src_pad),
22258         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
22259         (gst_check_teardown_sink_pad):
22260         * gst/check/gstcheck.h:
22261           add a bunch of methods to set up elements, and src and sink pads
22262         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
22263         * check/elements/identity.c: (setup_identity), (cleanup_identity),
22264         (GST_START_TEST):
22265           use them
22266         * gst/gstmessage.c:
22267         * gst/gsttag.h:
22268           whitespace/doc fixes
22269
22270 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22271
22272         * gst/gstelement.h:
22273           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
22274           be handled by the application and not always printed as well
22275
22276 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22277
22278         * check/Makefile.am:
22279           set GST_TOOLS_DIR
22280         * gst/check/gstcheck.c: (gst_check_message_error):
22281         * gst/check/gstcheck.h:
22282           add a fail_unless_equals_int
22283           add fail_unless for error messages
22284
22285 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22286
22287         * check/Makefile.am:
22288         * check/gst.supp:
22289         * common/Makefile.am:
22290         * common/check.mak:
22291         * common/gst.supp:
22292           factor out some of the common stuff so we can use it
22293
22294 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22295
22296         * check/Makefile.am:
22297         * check/gst/gstiterator.c: (GST_START_TEST):
22298         * check/gst/gstsystemclock.c: (GST_START_TEST),
22299         (gst_systemclock_suite):
22300         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22301         * gst/gstclock.c:
22302           valgrind more tests
22303
22304 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22305
22306         * check/elements/.cvsignore:
22307         * check/elements/gstfakesrc.c:
22308           rename to name of element
22309         * check/elements/identity.c: (chain_func), (event_func),
22310         (setup_identity), (cleanup_identity), (GST_START_TEST),
22311         (identity_suite), (main):
22312           add a test for identity
22313         * check/Makefile.am:
22314         * pkgconfig/Makefile.am:
22315         * pkgconfig/gstreamer-check.pc.in:
22316         * pkgconfig/gstreamer-check-uninstalled.pc.in:
22317         * gst/check:
22318         * gst/Makefile.am:
22319         * configure.ac:
22320           move the check stuff to a library that gets installed
22321         * check/gst-libs/controller.c: (GST_START_TEST):
22322         * check/gst-libs/gdp.c:
22323         * check/gst/gst.c: (GST_START_TEST):
22324         * check/gst/gstbin.c:
22325         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22326         * check/gst/gstbus.c:
22327         * check/gst/gstcaps.c: (GST_START_TEST):
22328         * check/gst/gstelement.c:
22329         * check/gst/gstghostpad.c:
22330         * check/gst/gstiterator.c:
22331         * check/gst/gstmessage.c:
22332         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
22333         * check/gst/gstobject.c:
22334         * check/gst/gstpad.c: (GST_START_TEST):
22335         * check/gst/gststructure.c: (GST_START_TEST):
22336         * check/gst/gstsystemclock.c: (GST_START_TEST),
22337         (gst_systemclock_suite):
22338         * check/gst/gsttag.c: (gst_tag_suite):
22339         * check/gst/gstvalue.c:
22340         * check/pipelines/cleanup.c:
22341         * check/pipelines/simple_launch_lines.c:
22342         * check/states/sinks.c:
22343           change include statement
22344
22345         * docs/gst/gstreamer-sections.txt:
22346         * docs/gst/tmpl/gstpad.sgml:
22347           document more pad stuff
22348         * gst/gstminiobject.c: (gst_mini_object_ref),
22349         (gst_mini_object_unref):
22350           debug refcounting
22351
22352 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
22353
22354         * docs/gst/tmpl/gst.sgml:
22355         * gst/gst.c:
22356           eliminate another tmpl file, fix spelling in the long-description
22357
22358 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22359
22360         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22361         (test_event), (timediff), (gstevents_suite):
22362           Should fix build on 64-bit arch's
22363
22364 2005-08-18  Andy Wingo  <wingo@pobox.com>
22365
22366         Make sure that when a pipeline goes to PLAYING, that data has
22367         actually hit the sink.
22368
22369         * check/states/sinks.c (test_sink): A sink that doesn't get any
22370         data shouldn't return SUCCESS for going to either PLAYING or
22371         PAUSED. Test also the return values on the way back down.
22372
22373         * gst/gstelement.c (gst_element_set_state): When changing the
22374         state of an element currently changing state asynchronously, go to
22375         lost-state after commiting the pending state. Makes future calls
22376         to get_state continue to return ASYNC.
22377
22378         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
22379         ASYNC when going to PLAYING if we still don't have preroll, as can
22380         happen with live sources.
22381
22382 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22383
22384         * docs/pwg/advanced-types.xml:
22385           Hack long paragraph into 2 chunks as a workaround for buggy
22386           jadetex version in sid and breezy that loops infinitely and
22387           eats all RAM.
22388
22389 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22390
22391         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22392         (test_event), (timediff), (gstevents_suite):
22393           Provide more error margin in clock measurements to allow for 
22394           g_get_current_time inaccuracies.
22395
22396 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22397
22398         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22399         (test_event), (timediff), (gstevents_suite):
22400            Fix error message output so I might be able to tell why the
22401            test works here but fails on the build farm.
22402
22403 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22404
22405         * check/Makefile.am:
22406         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22407         (test_event), (timediff), (gstevents_suite), (main):
22408           I wrote a test!
22409
22410         * docs/design/part-seeking.txt:
22411           Spelling correction
22412
22413         * docs/gst/tmpl/gstevent.sgml:
22414         * docs/gst/tmpl/gstfakesrc.sgml:
22415           Docs updates.
22416
22417         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22418           Treat a buffer-without-newsegment the same as a receiving 
22419           a newsegment not in time format, and disable syncing to the clock
22420           with a warning.
22421
22422         * gst/gstbus.c: (gst_bus_set_sync_handler):
22423           Assert if anyone tries to replace the existing sync_handler for bus, 
22424           as only the owner should be setting it.
22425
22426         * gst/gstevent.h:
22427           Have a fixed set of custom event enums with events identified by
22428           their structure name (as in 0.8), rather than a free-for-all
22429           allowing collisions between enum values from different plugins.
22430
22431         * gst/gstpad.c: (gst_pad_class_init):
22432           Docs change.
22433           
22434         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22435           Handle out-of-band downstream events from the sending thread.
22436
22437 2005-08-17  Andy Wingo  <wingo@pobox.com>
22438
22439         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
22440         play-timeout==0 to mean no timeout at all. In that case, don't
22441         bother with a get_state or a warning, just return directly, even
22442         if it's ASYNC.
22443
22444         * gst/base/gstbasetransform.c: Debug changes.
22445
22446         * gst/gstutils.h:
22447         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
22448         ensure bins post state change messages. A bit of a hack but I can't
22449         think of a way to avoid it.
22450
22451         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
22452
22453 2005-08-16  Andy Wingo  <wingo@pobox.com>
22454
22455         * gst/base/gstadapter.h:
22456         * gst/base/gstadapter.c (gst_adapter_take): New function, like
22457         peek() but you own the data. Not terribly efficient atm.
22458
22459 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22460
22461         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
22462         (gst_element_found_tags):
22463         * gst/gstutils.h:
22464           Add two utility functions for tag handling.
22465
22466 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22467
22468         * docs/manual/advanced-dataaccess.xml:
22469         * docs/manual/basics-helloworld.xml:
22470           Fix docs to use _bin_add() before _link(), which fixes the examples
22471           with recent core versions (reported by Madhan Raj M
22472           <raj_madan@rediffmail.com>, #313199).
22473
22474 2005-08-16  Wim Taymans  <wim@fluendo.com>
22475
22476         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22477         Added subtract checks.
22478
22479         * docs/design/part-events.txt:
22480         Some more docs about newsegment
22481
22482         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22483         Fix FIXME
22484
22485         * gst/gstcaps.c: (gst_caps_to_string):
22486         Add comments, cleanups.
22487         
22488         * gst/gstelement.c: (gst_element_save_thyself):
22489         cleanups
22490         
22491         * gst/gstvalue.c: (gst_value_collect_int_range),
22492         (gst_string_unwrap), (gst_value_union_int_int_range),
22493         (gst_value_union_int_range_int_range),
22494         (gst_value_intersect_int_int_range),
22495         (gst_value_intersect_int_range_int_range),
22496         (gst_value_intersect_double_double_range),
22497         (gst_value_intersect_double_range_double_range),
22498         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
22499         (gst_value_subtract_int_range_int),
22500         (gst_value_subtract_double_range_double),
22501         (gst_value_subtract_double_range_double_range),
22502         (gst_value_subtract_from_list), (gst_value_subtract_list),
22503         (gst_value_can_compare), (gst_value_compare_fraction):
22504         Cleanups, add comments, remove unneeded asserts.
22505
22506 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22507
22508         * tools/gst-launch.c: (event_loop):
22509           don't convert NULL structures to strings
22510
22511 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
22512
22513         * docs/gst/gstreamer-sections.txt:
22514           made some defines private
22515         * docs/gst/tmpl/gstconfig.sgml:
22516         * docs/gst/tmpl/gstqueue.sgml:
22517         * docs/gst/tmpl/gsttaglist.sgml:
22518         * docs/gst/tmpl/gsttypes.sgml:
22519         * docs/gst/tmpl/gstutils.sgml:
22520         * docs/pwg/appendix-porting.xml:
22521         * gst/base/gstbasesink.h:
22522         * gst/base/gstbasesrc.c:
22523         * gst/base/gstbasesrc.h:
22524         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
22525         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
22526         * gst/gstelement.c: (gst_element_class_init):
22527         * gst/gstpad.c: (gst_pad_class_init):
22528         * gst/gstqueue.c: (gst_queue_class_init):
22529         * gst/gstxml.c: (gst_xml_class_init):
22530           documented all undocumented signal inline
22531         * libs/gst/controller/gst-controller.h:
22532           added padding
22533
22534 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22535
22536         * docs/pwg/appendix-porting.xml:
22537           Document _set_link_function -> _set_setcaps_function.
22538
22539 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22540
22541         * check/Makefile.am:
22542           add a .check target for running the check
22543         * check/gst-libs/controller.c: (GST_START_TEST):
22544           cosmetic fixups
22545         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22546           complete checks for gstbuffer; would be nice if I could get the
22547           gcov stuff to work so I can see if I actually completed gstbuffer.c
22548         * check/gstcheck.h:
22549           add ASSERT_BUFFER_REFCOUNT
22550
22551 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
22552
22553         * docs/gst/gstreamer-sections.txt:
22554         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
22555         * gst/gsttag.h:
22556           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
22557           spew out a warning if a tag that is already registered
22558           is re-registered, unless it is re-registered with a 
22559           different type (#308438).
22560
22561 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
22562
22563         * docs/pwg/appendix-porting.xml:
22564         * docs/pwg/building-state.xml:
22565           Add some paragraphs about state changes in 0.9 to the PWG
22566           and the porting guide, in particular about the new meaning
22567           of GST_STATE_PAUSED and how to write state change functions
22568           with concurrent access by multiple threads in mind.
22569
22570 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
22571
22572         * docs/gst/gstreamer-docs.sgml:
22573         * docs/libs/gstreamer-libs-docs.sgml:
22574           added deprecation and since indexes
22575         * libs/gst/controller/gst-controller.c:
22576         * libs/gst/controller/gst-helper.c:
22577           added since tags
22578
22579
22580 2005-08-11  Wim Taymans  <wim@fluendo.com>
22581
22582         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
22583         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
22584         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
22585         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
22586         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
22587         (gst_ghost_pad_set_target):
22588         Actually implement (re)setting the target on a ghostpad
22589         as described in the docs.
22590
22591 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
22592
22593         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
22594           Check whether GST_DEBUG_NO_COLOR environment variable is
22595           set and disable coloured debug output if that is the case.
22596
22597 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
22598
22599         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22600         (gst_type_find_helper):
22601           The memory returned by gst_type_find_peek() needs to
22602           stay valid until the end of a typefind function, and
22603           typefind functions may keep results from different 
22604           offsets around, so we can't just unref the buffer from
22605           the previous _peek(), but have to save all buffers 
22606           returned by _peek() until typefinding is done and only
22607           free them then.
22608
22609 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
22610
22611         * docs/gst/gstreamer-sections.txt:
22612         * gst/gstutils.h:
22613           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
22614
22615 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22616
22617         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
22618           Fix a pretty good memleak.
22619
22620 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
22621
22622         * gst/gstiterator.h:
22623           Fix wrong include and 'make distcheck'.
22624
22625 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22626
22627         * gst/gstbin.c: (bin_bus_handler):
22628           Use gst_element_post_message() instead.
22629
22630 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
22631
22632         * gst/base/gstadapter.h:
22633         * gst/base/gstbasesink.h:
22634         * gst/base/gstbasesrc.h:
22635         * gst/base/gstbasetransform.h:
22636         * gst/base/gstcollectpads.h:
22637         * gst/base/gstpushsrc.h:
22638         * gst/gstiterator.h:
22639           Add padding to our base elements' class and instance structs and
22640           to GstIterator (you will need to rebuild all plugins and apps!)
22641
22642 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22643
22644         * gst/gstbin.c: (bin_bus_handler):
22645           Make default message forwarding from child->bus to bin->bus
22646           threadsafe and make it not emit warnings if the parent has no bus.
22647
22648 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22649
22650         * gst/gstelement.c: (activate_pads):
22651           On paused->ready, set pad->caps to NULL, as is the documented
22652           behaviour in this state change. Fixes playback of series of
22653           media files when visualization is enabled in Totem.
22654
22655 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22656
22657         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22658           Allow NULL as filter-caps (which means "any").
22659
22660 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22661
22662         * docs/libs/gstreamer-libs-sections.txt:
22663         * libs/gst/controller/gst-controller.c:
22664         * libs/gst/controller/gst-controller.h:
22665         * libs/gst/controller/gst-helper.c:
22666           adding more entries to the docs and fix small doc-bugs
22667
22668 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22669
22670         * docs/gst/gstreamer-docs.sgml:
22671         * docs/gst/gstreamer-sections.txt:
22672         * docs/gst/gstreamer.types:
22673         * docs/gst/tmpl/gstbasesink.sgml:
22674         * docs/gst/tmpl/gstbasesrc.sgml:
22675         * docs/gst/tmpl/gstbasetransform.sgml:
22676         * docs/gst/tmpl/gstfakesrc.sgml:
22677         * gst/base/gstcollectpads.c:
22678         * gst/base/gstcollectpads.h:
22679         * libs/gst/controller/gst-controller.c:
22680         * libs/gst/controller/gst-controller.h:
22681         * libs/gst/controller/gst-helper.c:
22682         * libs/gst/controller/gst-interpolation.c:
22683         * libs/gst/controller/lib.c:
22684           added long/short desc for controller docs
22685           added collectpads base class docs
22686           added correct includes to base-class docs
22687
22688 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22689
22690         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22691         (gst_test_mono_source_set_property),
22692         (gst_test_mono_source_class_init), (GST_START_TEST),
22693         (gst_controller_suite):
22694         * docs/gst/gstreamer-docs.sgml:
22695         * docs/gst/gstreamer-sections.txt:
22696         * docs/gst/gstreamer.types:
22697         * docs/libs/gstreamer-libs-docs.sgml:
22698         * docs/libs/gstreamer-libs-sections.txt:
22699         * gst/base/gstadapter.c:
22700         * libs/gst/controller/gst-controller.c:
22701         (gst_controlled_property_new), (gst_controlled_property_free),
22702         (gst_controller_new_valist),
22703         (gst_controller_remove_properties_valist),
22704         (gst_controller_sink_values), (_gst_controller_finalize):
22705         * libs/gst/controller/gst-controller.h:
22706         * libs/gst/controller/gst-helper.c:
22707         (gst_object_control_properties), (gst_object_uncontrol_properties),
22708         (gst_object_get_controller), (gst_object_set_controller),
22709         (gst_object_sink_values), (gst_object_get_value_arrays),
22710         (gst_object_get_value_array):
22711           more tests (and fixes) for the controller
22712           more docs for the controller
22713           integrated companies docs for the adapter 
22714
22715 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22716
22717         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
22718         (GST_START_TEST), (fakesrc_suite):
22719           add tests for sizetype
22720
22721 2005-08-04  Andy Wingo  <wingo@pobox.com>
22722
22723         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
22724         fixes buffer_alloc proxying among other things.
22725
22726         * gst/base/gstbasetransform.c:
22727         * gst/base/gstbasetransform.h:
22728         Revert patch to gstbasetransform from 7-28 removing
22729         delay_configure.
22730
22731         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
22732         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
22733         Semantics changed, should return not the size of the output buffer
22734         but the byte size of a buffer with a given caps.
22735
22736         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
22737         debug object.
22738         (gst_base_transform_configure_caps): Don't set out_size here: (in,
22739         out) are not the pad caps until setcaps finishes.
22740         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
22741         not-in-place case as well. Deal with changing from in-place to
22742         not-in-place within calling pad_alloc_buffer. Still a bit
22743         concerned about the overhead here...
22744
22745 2005-08-03  Andy Wingo  <wingo@pobox.com>
22746
22747         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
22748         fixating is an error.
22749
22750 2005-08-04  Edward Hervey  <edward@fluendo.com>
22751
22752         * gst/base/gstadapter.h: 
22753         Added gst_adapter_get_type() to the header
22754
22755 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
22756
22757         * check/Makefile.am:
22758         * check/gst-libs/controller.c:
22759         * libs/gst/controller/gst-controller.c:
22760         (gst_controller_new_valist):
22761           added check test suite for the controller
22762         * gst/base/gstpushsrc.c:
22763           fixed a doc typo
22764
22765 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
22766
22767         * docs/gst/Makefile.am:
22768         * docs/gst/gstreamer-docs.sgml:
22769         * docs/gst/gstreamer-sections.txt:
22770         * docs/gst/gstreamer.types:
22771         * docs/gst/tmpl/gstfakesrc.sgml:
22772         * gst/base/README:
22773         * gst/base/gstbasesink.c:
22774         * gst/base/gstbasesink.h:
22775         * gst/base/gstbasesrc.c:
22776         * gst/base/gstbasesrc.h:
22777         * gst/base/gstbasetransform.c:
22778         * gst/base/gstpushsrc.c:
22779         * gst/base/gstpushsrc.h:
22780           add short/long description docs to base classes
22781           add pushsrc to the docs
22782           remove consolidated doc fragments
22783
22784 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
22785
22786         * configure.ac:
22787         * docs/libs/Makefile.am:
22788         * docs/libs/gstreamer-libs-docs.sgml:
22789         * docs/libs/gstreamer-libs-sections.txt:
22790         * docs/libs/gstreamer-libs.types:
22791         * examples/Makefile.am:
22792         * examples/controller/.cvsignore:
22793         * examples/controller/Makefile.am:
22794         * examples/controller/audio-example.c: (main):
22795         * libs/gst/Makefile.am:
22796         * libs/gst/controller/.cvsignore:
22797         * libs/gst/controller/Makefile.am:
22798         * libs/gst/controller/gst-controller.c:
22799         (on_object_controlled_property_changed), (gst_timed_value_compare),
22800         (gst_timed_value_find),
22801         (gst_controlled_property_set_interpolation_mode),
22802         (gst_controlled_property_new), (gst_controlled_property_free),
22803         (gst_controller_find_controlled_property),
22804         (gst_controller_new_valist), (gst_controller_new),
22805         (gst_controller_remove_properties_valist),
22806         (gst_controller_remove_properties), (gst_controller_set),
22807         (gst_controller_set_from_list), (gst_controller_unset),
22808         (gst_controller_get), (gst_controller_get_all),
22809         (gst_controller_sink_values), (gst_controller_get_value_arrays),
22810         (gst_controller_get_value_array),
22811         (gst_controller_set_interpolation_mode),
22812         (_gst_controller_finalize), (_gst_controller_init),
22813         (_gst_controller_class_init), (gst_controller_get_type):
22814         * libs/gst/controller/gst-controller.h:
22815         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
22816         (g_object_uncontrol_properties), (g_object_get_controller),
22817         (g_object_set_controller), (g_object_sink_values),
22818         (g_object_get_value_arrays), (g_object_get_value_array):
22819         * libs/gst/controller/gst-interpolation.c:
22820         (gst_controlled_property_find_timed_value_node),
22821         (interpolate_none_get), (interpolate_trigger_get),
22822         (interpolate_trigger_get_value_array):
22823         * libs/gst/controller/lib.c: (gst_controller_init):
22824         * pkgconfig/Makefile.am:
22825         * pkgconfig/gstreamer-control-uninstalled.pc.in:
22826         * pkgconfig/gstreamer-control.pc.in:
22827         * testsuite/Makefile.am:
22828         * testsuite/controller/.cvsignore:
22829         * testsuite/controller/Makefile.am:
22830         * testsuite/controller/interpolator.c: (main):
22831           added controller code
22832           removed dparam pc files
22833
22834 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
22835         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
22836         (gst_collectpads_stop):
22837           Broadcast the condition when shutting down, to make sure we wake all
22838           threads up. Shut down pads on finalize, for safety.
22839
22840 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
22841         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22842         (gst_base_transform_handle_buffer),
22843         (gst_base_transform_change_state):
22844           Handle PAUSED->READY->PAUSED transition after negotiation
22845           occurred already.
22846         * gst/gstmessage.c: (gst_message_init):
22847           Extra piece of debug for new messages.
22848
22849 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
22850
22851         * configure.ac:
22852         * docs/gst/tmpl/gstbasesrc.sgml:
22853         * docs/gst/tmpl/gstelement.sgml:
22854         * docs/gst/tmpl/gstevent.sgml:
22855         * docs/gst/tmpl/gstfakesrc.sgml:
22856         * docs/gst/tmpl/gstformat.sgml:
22857         * docs/gst/tmpl/gstghostpad.sgml:
22858         * docs/gst/tmpl/gstpad.sgml:
22859         * docs/gst/tmpl/gstquery.sgml:
22860         * docs/gst/tmpl/gststructure.sgml:
22861         * docs/gst/tmpl/gsttaglist.sgml:
22862         * docs/gst/tmpl/gstvalue.sgml:
22863         * docs/libs/gstreamer-libs-docs.sgml:
22864         * docs/libs/gstreamer-libs-sections.txt:
22865         * docs/libs/gstreamer-libs.types:
22866         * libs/gst/Makefile.am:
22867         * libs/gst/control/.cvsignore:
22868         * libs/gst/control/Makefile.am:
22869         * libs/gst/control/control.c:
22870         * libs/gst/control/control.h:
22871         * libs/gst/control/dparam.c:
22872         * libs/gst/control/dparam.h:
22873         * libs/gst/control/dparam_smooth.c:
22874         * libs/gst/control/dparam_smooth.h:
22875         * libs/gst/control/dparamcommon.h:
22876         * libs/gst/control/dparammanager.c:
22877         * libs/gst/control/dparammanager.h:
22878         * libs/gst/control/dplinearinterp.c:
22879         * libs/gst/control/dplinearinterp.h:
22880         * libs/gst/control/unitconvert.c:
22881         * libs/gst/control/unitconvert.h:
22882         * testsuite/Makefile.am:
22883         * testsuite/dynparams/.cvsignore:
22884         * testsuite/dynparams/Makefile.am:
22885         * testsuite/dynparams/dparamstest.c:
22886         * tools/Makefile.am:
22887         * tools/gst-inspect.c: (print_element_info), (main):
22888         * tools/gst-xmlinspect.c: (print_element_info), (main):
22889           deactivate and remove dparams (libgstcontrol)
22890
22891 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
22892
22893         * gst/elements/gsttypefindelement.c:
22894         (gst_type_find_element_have_type), (gst_type_find_element_init),
22895         (stop_typefinding), (gst_type_find_element_handle_event),
22896         (gst_type_find_element_chain), (gst_type_find_element_getrange):
22897         * gst/elements/gsttypefindelement.h:
22898           Set caps on all outgoing buffers, not just the first one.
22899
22900 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
22901
22902         * gst/elements/gsttypefindelement.c:
22903         (gst_type_find_element_have_type),
22904         (gst_type_find_element_check_set_buffer_caps),
22905         (gst_type_find_element_init), (stop_typefinding),
22906         (gst_type_find_element_handle_event),
22907         (gst_type_find_element_chain), (gst_type_find_element_getrange):
22908         * gst/elements/gsttypefindelement.h:
22909           Set caps on first outgoing buffer when we've found the type.
22910
22911 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
22912
22913         * docs/gst/gstreamer-docs.sgml:
22914         * docs/gst/gstreamer-sections.txt:
22915         * docs/gst/tmpl/gstscheduler.sgml:
22916         * docs/gst/tmpl/gstschedulerfactory.sgml:
22917           Remove some old cruft from docs.
22918
22919 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
22920
22921         * gst/gstpad.h:
22922           Fix inline docs for GstPadLinkReturn.
22923           
22924         * gst/gststructure.c: (gst_structure_has_name):
22925         * gst/gststructure.h:
22926         * docs/gst/gstreamer-sections.txt:
22927           New API: gst_structure_has_name().
22928
22929 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
22930
22931         * configure.ac:
22932           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
22933           and _LARGEFILE_SOURCE in config.h as required. Do not 
22934           export those flags in our .pc files any longer (#142209).
22935
22936           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
22937
22938         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
22939         (gst_file_sink_do_seek), (gst_file_sink_event),
22940         (gst_file_sink_get_current_offset), (gst_file_sink_render):
22941           Redo seek/tell calls with large file support in mind; add some
22942           debugging messages; add log message that tells us when large
22943           file support is unavailable or not enabled for some reason.
22944
22945         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
22946           Add log message that tells us when large file support 
22947           is unavailable or not enabled for some reason.
22948
22949 2005-07-29  Wim Taymans  <wim@fluendo.com>
22950
22951         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22952         Added test for removing an element with ghostpad from a bin.
22953         Fixed test as current implementation does the right thing.
22954
22955         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
22956         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
22957         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
22958         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
22959         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
22960         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
22961         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
22962         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22963         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
22964         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
22965         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
22966         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
22967         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
22968         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
22969         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
22970         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
22971         * gst/gstghostpad.h:
22972         Clean up ghostpads, remove properties for internal stuff.
22973         Make threadsafe.
22974         Fix refcounting.
22975         Prepare for switching targets, not all use cases work yet.
22976
22977 2005-07-29  Wim Taymans  <wim@fluendo.com>
22978
22979         * docs/design/part-gstghostpad.txt:
22980         Small update.
22981
22982         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22983         (gst_bin_remove_func):
22984         Unlinking pads while holding the bin LOCK is not a good
22985         idea.
22986
22987         * gst/gstpad.c: (gst_pad_class_init),
22988         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
22989         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
22990         No prob setting template after creating the pad.
22991
22992 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
22993
22994         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
22995         (gst_bus_peek), (gst_bus_source_dispatch),
22996         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
22997         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
22998           gst_bus_poll may be called from other threads. Handle
22999           this nicely by not making poll_data disappear off the
23000           stack once gst_bus_poll returns.
23001           gst_bus_peek now increments the refcount on the returned
23002           message.
23003
23004 2005-07-29  Wim Taymans  <wim@fluendo.com>
23005
23006         * docs/design/part-gstghostpad.txt:
23007         Overview of current GhostPad datastructures and use
23008         cases for changing the target.
23009
23010 2005-07-28  Wim Taymans  <wim@fluendo.com>
23011
23012         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23013         Added checks for hierarchy consistency whan adding linked
23014         elements to bins.
23015
23016         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23017         Added check to test element scheduling without bin/pipeline.
23018
23019         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23020         First add elements to bin, then link.
23021         
23022         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23023         (gst_bin_remove_func):
23024         Unlink pads from elements added/removed from bin to maintain
23025         hierarchy consistency.
23026
23027 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23028
23029         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23030         (gst_base_transform_handle_buffer):
23031         * gst/base/gstbasetransform.h:
23032           Remove broken delay_configure (fixes renegotiation of software
23033           scaling pipelines); remove some leftover printf()s.
23034
23035 2005-07-28  Wim Taymans  <wim@fluendo.com>
23036
23037         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23038         Added some more tests for wrong hierarchy
23039
23040         * docs/design/part-overview.txt:
23041         Some updates.
23042
23043         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
23044         Cleanups.
23045
23046         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
23047         (gst_element_dispose):
23048         Some more cleanups.
23049
23050         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23051         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
23052         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23053         (gst_pad_set_caps), (gst_pad_send_event):
23054         Check for correct hierarchy when linking pads. Moving to
23055         strict requirement for ghostpads when linking elements in
23056         different bins.
23057
23058         * gst/gstpad.h:
23059         Clean ups. Added WRONG_HIERARCHY return value.
23060
23061 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23062
23063         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23064           Better debug if no transform is possible.
23065
23066 2005-07-27  Wim Taymans  <wim@fluendo.com>
23067
23068         * docs/random/wtay/network-transp:
23069         Some old doc I had.
23070
23071 2005-07-27  Wim Taymans  <wim@fluendo.com>
23072
23073         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23074         (gst_dp_event_from_packet):
23075         Fix serialization of seek events.
23076
23077 2005-07-27  Wim Taymans  <wim@fluendo.com>
23078
23079         * check/gst-libs/gdp.c: (GST_START_TEST):
23080         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23081         Fix compilation and fix event serialization.
23082
23083 2005-07-27  Wim Taymans  <wim@fluendo.com>
23084
23085         * CHANGES-0.9:
23086         * docs/design/part-TODO.txt:
23087         * docs/design/part-events.txt:
23088         Some docs updates
23089
23090         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23091         (gst_base_sink_event), (gst_base_sink_do_sync),
23092         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23093         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23094         (gst_base_src_do_seek), (gst_base_src_event_handler),
23095         (gst_base_src_loop):
23096         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23097         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23098         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23099         (gst_base_transform_event), (gst_base_transform_handle_buffer),
23100         (gst_base_transform_set_passthrough),
23101         (gst_base_transform_is_passthrough):
23102         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23103         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23104         Event updates.
23105
23106         * gst/gstbuffer.h:
23107         Use faster casts.
23108
23109         * gst/gstelement.c: (gst_element_seek):
23110         * gst/gstelement.h:
23111         Update gst_element_seek.
23112
23113         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
23114         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
23115         (gst_event_new_flush_start), (gst_event_new_flush_stop),
23116         (gst_event_new_eos), (gst_event_new_newsegment),
23117         (gst_event_parse_newsegment), (gst_event_new_tag),
23118         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
23119         (gst_event_parse_qos), (gst_event_new_seek),
23120         (gst_event_parse_seek), (gst_event_new_navigation):
23121         * gst/gstevent.h:
23122         Make GstEvent use GstStructure. Add parsing code, make sure the
23123         API is sufficiently generic.
23124         Mark possible directions of events and serialization.
23125
23126         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
23127         (_gst_message_copy), (gst_message_new_segment_start),
23128         (gst_message_new_segment_done), (gst_message_new_custom),
23129         (gst_message_parse_segment_start),
23130         (gst_message_parse_segment_done):
23131         Small cleanups.
23132
23133         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23134         (gst_pad_set_caps), (gst_pad_send_event):
23135         Update for new events. 
23136         Catch events sent in wrong directions.
23137
23138         * gst/gstqueue.c: (gst_queue_link_src),
23139         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23140         (gst_queue_handle_src_query):
23141         Event updates.
23142
23143         * gst/gsttag.c:
23144         * gst/gsttag.h:
23145         Remove event code from this file.
23146
23147         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23148         (gst_dp_event_from_packet):
23149         Event updates.
23150
23151 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23152
23153         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
23154         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23155         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
23156           Make debugging actually useful.
23157
23158 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23159
23160         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
23161         (gst_pad_fixate_caps):
23162           Implement default fixation once again, so that gst_pad_fixate()
23163           actually does anything at all. This probably needs to be some
23164           sort of a last resort, and use profile-based fixation first, but
23165           since that doesn't exist yet, this is the best we have. Fixes
23166           visualization in Totem.
23167
23168 2005-07-22  Wim Taymans  <wim@fluendo.com>
23169
23170         * docs/design/part-events.txt:
23171         Small update.
23172
23173         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23174         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
23175         (gst_base_sink_activate_pull):
23176         Some more comments.
23177
23178         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
23179         (gst_fake_src_create):
23180         Fix handoff marshall.
23181
23182         * gst/elements/gstidentity.c: (gst_identity_class_init),
23183         (gst_identity_transform_ip):
23184         We're a real inplace element.
23185
23186         * gst/gstbus.c: (gst_bus_post):
23187         Added some comments.
23188
23189         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
23190         * tests/muxing/case1.c: (main):
23191         * tests/sched/dynamic-pipeline.c: (main):
23192         * tests/sched/interrupt1.c: (main):
23193         * tests/sched/interrupt2.c: (main):
23194         * tests/sched/interrupt3.c: (main):
23195         * tests/sched/runxml.c: (main):
23196         * tests/sched/sched-stress.c: (main):
23197         * tests/seeking/seeking1.c: (event_received), (main):
23198         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23199         (main):
23200         * tests/threadstate/threadstate3.c: (main):
23201         * tests/threadstate/threadstate4.c: (main):
23202         * tests/threadstate/threadstate5.c: (main):
23203         Fix the tests.
23204
23205 2005-07-21  Wim Taymans  <wim@fluendo.com>
23206
23207         * docs/design/part-seeking.txt:
23208         Some small additions.
23209
23210         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23211         (gst_base_sink_get_times), (gst_base_sink_do_sync),
23212         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23213         * gst/base/gstbasesink.h:
23214         discont values are gint64, handle the math correctly.
23215
23216         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23217         Make the basesrc report error if the source pad is not linked.
23218
23219         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
23220         (gst_queue_loop), (gst_queue_handle_src_query),
23221         (gst_queue_src_activate_push):
23222         Make queue collect data even if the srcpad is not linked.
23223         Start pushing out data as soon as it is linked.
23224
23225         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
23226         * gst/gstutils.h:
23227         Added gst_flow_get_name() to ease error reporting.
23228
23229 2005-07-20  Wim Taymans  <wim@fluendo.com>
23230
23231         * gst/gstmessage.c: (gst_message_new_segment_start),
23232         (gst_message_new_segment_done), (gst_message_parse_segment_start),
23233         (gst_message_parse_segment_done):
23234         * gst/gstmessage.h:
23235         Added a bunch of messages for advanced seeking.
23236
23237         * gst/parse/grammar.y:
23238         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
23239         (gst_dpman_state_changed):
23240         Fix some new-pad -> pad-added signals
23241
23242 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23243
23244         * docs/manual/appendix-porting.xml:
23245         * docs/pwg/appendix-porting.xml:
23246           Document new-pad/state-change signal renames and the FixedList
23247           type rename.
23248
23249 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23250
23251         * docs/manual/advanced-autoplugging.xml:
23252         * docs/manual/basics-helloworld.xml:
23253         * docs/manual/basics-pads.xml:
23254         * docs/random/ds/0.9-suggested-changes:
23255         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
23256         * gst/gstelement.h:
23257         * gst/gstevent.h:
23258         * gst/gstformat.h:
23259         * gst/gstquery.h:
23260         * gst/gststructure.c: (gst_structure_value_get_generic_type),
23261         (gst_structure_parse_array), (gst_structure_parse_value):
23262         * gst/gstvalue.c: (gst_type_is_fixed),
23263         (gst_value_list_prepend_value), (gst_value_list_append_value),
23264         (gst_value_list_get_size), (gst_value_list_get_value),
23265         (gst_value_transform_array_string), (gst_value_serialize_array),
23266         (gst_value_deserialize_array), (gst_value_intersect_array),
23267         (gst_value_is_fixed), (_gst_value_initialize):
23268         * gst/gstvalue.h:
23269           GstElement::new-pad -> pad-added, GstElement::state-change ->
23270           state-changed, GstValueFixedList -> GstValueArray, add format and
23271           flags as their own arguments in gst_element_seek() (should improve
23272           "bindeability"), remove function generators since they don't work
23273           under a whole bunch of compilers (they were deprecated already
23274           anyway).
23275
23276 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23277
23278         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23279         (_gst_debug_register_funcptr):
23280         * gst/gstinfo.h:
23281           Fix illegal cast on some platforms (#309253).
23282
23283 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23284
23285         * gst/gstmessage.c: (gst_message_new_custom):
23286         * gst/gstmessage.h:
23287           Add _new_custom, make _new_application a macro to _new_custom.
23288
23289 2005-07-20  Wim Taymans  <wim@fluendo.com>
23290
23291         * gst/base/gstbasesrc.c: (gst_base_src_init),
23292         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
23293         * gst/base/gstbasesrc.h:
23294         Add a gboolean to decide when to push out a discont.
23295
23296         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23297         (gst_queue_loop), (gst_queue_handle_src_query),
23298         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
23299         (gst_queue_set_property), (gst_queue_get_property):
23300         Some cleanups.
23301
23302         * tests/threadstate/threadstate1.c: (main):
23303         Make a thread test compile and run... very silly..
23304
23305
23306 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23307
23308         * docs/manual/appendix-porting.xml:
23309           Mention removal of libgstgconf-0.9.la and existence of gconf
23310           elements.
23311
23312 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23313
23314         * docs/pwg/advanced-clock.xml:
23315         * docs/pwg/appendix-porting.xml:
23316         * docs/pwg/intro-preface.xml:
23317         * docs/pwg/other-base.xml:
23318         * docs/pwg/other-manager.xml:
23319         * docs/pwg/other-nton.xml:
23320         * docs/pwg/other-ntoone.xml:
23321         * docs/pwg/other-oneton.xml:
23322         * docs/pwg/pwg.xml:
23323           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
23324           demuxer), remove n-to-n (was never written), fix some code examples
23325           and links and update the porting section to include all this.
23326
23327 2005-07-19  Wim Taymans  <wim@fluendo.com>
23328
23329         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
23330         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
23331         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
23332         (gst_queue_src_activate_push), (gst_queue_change_state),
23333         (gst_queue_get_property):
23334         * gst/gstqueue.h:
23335         Propagate GstFlowReturn more intelligently upstream and output
23336         an ERROR/EOS when streaming stopped due to fatal error.
23337
23338 2005-07-19  Wim Taymans  <wim@fluendo.com>
23339
23340         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23341         Don't block forever for the state change to complete, the
23342         pipeline already did with a sensible timeout.
23343
23344 2005-07-19  Wim Taymans  <wim@fluendo.com>
23345
23346         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23347         Make sure we never call the create function is we
23348         got deactivated.
23349
23350 2005-07-19  Andy Wingo  <wingo@pobox.com>
23351
23352         * gst/parse/parse.l: Attempt to solve bug #172815.
23353
23354 2005-07-19  Wim Taymans  <wim@fluendo.com>
23355
23356         * docs/design/part-clocks.txt:
23357         * docs/design/part-events.txt:
23358         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
23359         Small docs updates.
23360         Only update the seeking values when we are not
23361         busy streaming.
23362
23363 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
23364
23365         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23366           Oops, ignore the result of gst_pad_push_event here.
23367
23368 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
23369
23370         * gst/base/gstbasesrc.c: (gst_base_src_loop),
23371         (gst_base_src_activate_push):
23372           Send discont event from the loop function, as pads
23373           aren't activated yet in the activate_push handler.
23374
23375         * gst/gstbin.c: (bin_bus_handler):
23376           Don't leak element name.
23377
23378 2005-07-18  Andy Wingo  <wingo@pobox.com>
23379
23380         * configure.ac: Use AS_LIBTOOL_TAGS.
23381
23382 2005-07-18  Wim Taymans  <wim@fluendo.com>
23383
23384         * docs/gst/gstreamer.types:
23385         Remove deleted types.
23386
23387 2005-07-18  Wim Taymans  <wim@fluendo.com>
23388
23389         * check/elements/gstfakesrc.c: (GST_START_TEST):
23390         * configure.ac:
23391         * gst/Makefile.am:
23392         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
23393         (init_popt_callback):
23394         * gst/gst.h:
23395         * gst/gst_private.h:
23396         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
23397         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
23398         * gst/gstbin.h:
23399         * gst/gstbus.h:
23400         * gst/gstconfig.h.in:
23401         * gst/gstelement.c: (gst_element_class_init),
23402         (gst_element_set_base_time), (gst_element_get_base_time),
23403         (iterator_fold_with_resync), (gst_element_change_state),
23404         (gst_element_dispose), (gst_element_get_bus):
23405         * gst/gstelement.h:
23406         * gst/gstelementfactory.h:
23407         * gst/gsterror.c: (_gst_core_errors_init):
23408         * gst/gsterror.h:
23409         * gst/gstevent.h:
23410         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23411         * gst/gstindex.c:
23412         * gst/gstinfo.c: (_gst_debug_init):
23413         * gst/gstmessage.c: (_gst_message_copy):
23414         * gst/gstmessage.h:
23415         * gst/gstminiobject.h:
23416         * gst/gstobject.c:
23417         * gst/gstobject.h:
23418         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23419         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
23420         * gst/gstpad.h:
23421         * gst/gstparse.h:
23422         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23423         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23424         (gst_pipeline_get_last_stream_time):
23425         * gst/gstpipeline.h:
23426         * gst/gstpluginfeature.h:
23427         * gst/gstquery.h:
23428         * gst/gstscheduler.c:
23429         * gst/gstscheduler.h:
23430         * gst/gststructure.h:
23431         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
23432         (gst_task_finalize), (gst_task_func), (gst_task_create),
23433         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
23434         (gst_task_stop), (gst_task_pause):
23435         * gst/gsttask.h:
23436         * gst/gsttypefind.h:
23437         * gst/gsttypes.h:
23438         * gst/registries/gstlibxmlregistry.c: (load_feature),
23439         (gst_xml_registry_load), (gst_xml_registry_save_feature):
23440         * gst/registries/gstxmlregistry.c:
23441         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
23442         * gst/schedulers/threadscheduler.c:
23443         * libs/gst/control/dparammanager.h:
23444         * tools/gst-inspect.c: (print_element_list),
23445         (print_plugin_features), (print_element_features):
23446         * tools/gst-xmlinspect.c: (print_element_list),
23447         (print_plugin_info), (main):
23448         Removed plugable schedulers.
23449         Removed Scheduler/Manager from elements.
23450         Removed gsttypes.h, rearranged includes.
23451         Removed dependency pad<->element, element<>pipeline, and
23452         various others,  fix includes.
23453         implement gst_pad_get_parent() with gst_object_get_parent()
23454         Make GstTask sefcontained.
23455         Fix _get_state() on GstBin, it did not return ASYNC with a 0
23456         timeout.
23457         Fix endless loop in iterator_fold_with_resync.
23458
23459
23460 2005-07-18  Wim Taymans  <wim@fluendo.com>
23461
23462         * gst/Makefile.am:
23463         * gst/gstarch.h:
23464         Remove old file.
23465
23466 2005-07-18  Wim Taymans  <wim@fluendo.com>
23467
23468         * gst/Makefile.am:
23469         No more cothreads.h
23470
23471 2005-07-18  Wim Taymans  <wim@fluendo.com>
23472
23473         * gst/cothreads.c:
23474         * gst/cothreads.h:
23475         Let's remove these.
23476
23477 2005-07-18  Wim Taymans  <wim@fluendo.com>
23478
23479         * docs/design/part-dynamic.txt:
23480         * docs/design/part-events.txt:
23481         * docs/design/part-seeking.txt:
23482         Some more docs in the works.
23483
23484         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23485         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
23486         (gst_base_transform_setcaps), (gst_base_transform_get_size),
23487         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23488         (gst_base_transform_handle_buffer),
23489         (gst_base_transform_sink_activate_push),
23490         (gst_base_transform_src_activate_pull),
23491         (gst_base_transform_set_passthrough),
23492         (gst_base_transform_is_passthrough):
23493         Refcounting fixes.
23494
23495         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
23496         Cleanups.
23497
23498         * gst/gstevent.c: (gst_event_finalize):
23499         Set SRC to NULL.
23500
23501         * gst/gstutils.c: (gst_element_unlink),
23502         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
23503         (gst_pad_proxy_setcaps):
23504         * gst/gstutils.h:
23505         Add _get_parent_element() to get a pads parent as an element.
23506
23507 2005-07-18  Wim Taymans  <wim@fluendo.com>
23508
23509         * check/gst/gstbin.c: (GST_START_TEST):
23510         Remove bogus test.
23511
23512 2005-07-18  Wim Taymans  <wim@fluendo.com>
23513
23514         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23515         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23516         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23517         (gst_base_sink_event), (gst_base_sink_do_sync),
23518         (gst_base_sink_chain), (gst_base_sink_loop),
23519         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
23520         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
23521         Refcounting fixes.
23522         Fix logic for returning ASYNC when not prerolled.
23523
23524 2005-07-18  Wim Taymans  <wim@fluendo.com>
23525
23526         * gst/gstqueue.c: (gst_queue_handle_sink_event):
23527         Fix nasty refcount bug.
23528
23529 2005-07-16 Philippe Khalaf <burger@speedy.org>
23530
23531         * gst/elements/gstfdsrc.c:
23532         * gst/elements/gstfdsrc.h:
23533         * gst/elements/gstelements.c:
23534         * gst/elements/Makefile.am:
23535         Ported fdsrc to 0.9.
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_do_sync):
23541         Fix compile error.
23542
23543 2005-07-16  Wim Taymans  <wim@fluendo.com>
23544
23545         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23546         (gst_base_sink_event), (gst_base_sink_get_times),
23547         (gst_base_sink_do_sync), (gst_base_sink_change_state):
23548         * gst/base/gstbasesink.h:
23549         Store and use discont values when syncing buffers as described
23550         in design docs.
23551         
23552         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23553         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
23554         (gst_base_src_activate_push):
23555         Push discont event when starting.
23556
23557         * gst/elements/gstidentity.c: (gst_identity_transform):
23558         Small cleanups.
23559
23560         * gst/gstbin.c: (gst_bin_change_state):
23561         Small cleanups in base_time  distribution.
23562
23563         * gst/gstelement.c: (gst_element_set_base_time),
23564         (gst_element_get_base_time), (gst_element_change_state):
23565         * gst/gstelement.h:
23566         Added methods for the base_time of the element.
23567         Some MT fixes.
23568
23569         * gst/gstpipeline.c: (gst_pipeline_send_event),
23570         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23571         (gst_pipeline_get_last_stream_time):
23572         * gst/gstpipeline.h:
23573         MT fixes.
23574         Handle seeking as described in design doc, remove stream_time
23575         hack.
23576         Cleanups clock and stream_time selection code. Added accessors
23577         for the stream_time.
23578         
23579
23580 2005-07-16  Andy Wingo  <wingo@pobox.com>
23581
23582         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
23583         (#305291).
23584
23585 2005-07-16  Wim Taymans  <wim@fluendo.com>
23586
23587         * check/gst/gstbin.c: (GST_START_TEST):
23588         Make elements silent as the deep_notify refs the
23589         parent, which might make the test fail.
23590
23591         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23592         Don't hold the lock for too long.
23593
23594 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
23595
23596         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
23597           Don't unref the caps we passed to gst_caps_make_writable() after
23598           passing them. gst_caps_make_writable() will do that for us.
23599
23600 2005-07-15  Andy Wingo  <wingo@pobox.com>
23601
23602         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
23603         (#157311).
23604
23605         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
23606         own marshalling function for the handoff signal. Properly type the
23607         buffer as a buffer. Fixes some warnings. Should do a more general
23608         solution.
23609         (gst_identity_class_init): Plug into the right marshaller.
23610
23611 2005-07-15  Wim Taymans  <wim@fluendo.com>
23612
23613         * docs/design/part-TODO.txt:
23614         * docs/design/part-clocks.txt:
23615         * docs/design/part-element-sink.txt:
23616         * docs/design/part-events.txt:
23617         * docs/design/part-gstpipeline.txt:
23618         Updated docs, mostly DISCONT related.
23619
23620 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
23621
23622         * docs/pwg/building-pads.xml:
23623           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
23624
23625 2005-07-15  Andy Wingo  <wingo@pobox.com>
23626
23627         * tools/gst-typefind.c: Update, add copyright block.
23628
23629         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
23630         Normalize and truncate caps before fixation.
23631
23632         * gst/gstcaps.h:
23633         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
23634         discards all but the first structure from its argument.
23635
23636 2005-07-15  Wim Taymans  <wim@fluendo.com>
23637
23638         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23639         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
23640         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23641         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23642         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
23643         (gst_base_transform_chain), (gst_base_transform_change_state),
23644         (gst_base_transform_set_passthrough),
23645         (gst_base_transform_is_passthrough):
23646         * gst/base/gstbasetransform.h:
23647         Make passthrough work using the bufferpools.
23648         Changed API a bit, subclasses have to write into a buffer
23649         provided by the base class.
23650         More debug info in nego functions.
23651         
23652         * gst/elements/gstidentity.c: (gst_identity_init),
23653         (gst_identity_transform):
23654         Port to new base class.
23655
23656 2005-07-15  Wim Taymans  <wim@fluendo.com>
23657
23658         * gst/gstmessage.c: (gst_message_new_state_changed):
23659         * tools/gst-launch.c: (event_loop), (main):
23660         Totally dump messages in -launch with the -m option.
23661         Fix message name for State messages,
23662
23663 2005-07-14  Wim Taymans  <wim@fluendo.com>
23664
23665         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23666         Post error messages on errors.
23667
23668 2005-07-14  Wim Taymans  <wim@fluendo.com>
23669
23670         * gst/gstcaps.c: (gst_caps_do_simplify):
23671         Remove debug info.
23672
23673         * gst/gsterror.h:
23674         Define error for stream stopped.
23675
23676         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23677         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
23678         Do proper return values.
23679
23680         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23681         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
23682         (gst_pad_get_range):
23683         Better return values.
23684
23685         * gst/gstpad.h:
23686         Reorganise return values, add macro to check for fatal errors.
23687
23688         * gst/gstqueue.c: (gst_queue_chain):
23689         Return proper GstFlowReturn values,
23690
23691 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
23692
23693         * docs/gst/gstreamer-sections.txt:
23694         * docs/gst/gstreamer.types:
23695         * docs/gst/tmpl/gst.sgml:
23696         * docs/gst/tmpl/gstbasesink.sgml:
23697         * docs/gst/tmpl/gstbasesrc.sgml:
23698         * docs/gst/tmpl/gstbasetransform.sgml:
23699         * docs/gst/tmpl/gstbin.sgml:
23700         * docs/gst/tmpl/gstbuffer.sgml:
23701         * docs/gst/tmpl/gstcaps.sgml:
23702         * docs/gst/tmpl/gstclock.sgml:
23703         * docs/gst/tmpl/gstcompat.sgml:
23704         * docs/gst/tmpl/gstconfig.sgml:
23705         * docs/gst/tmpl/gstelement.sgml:
23706         * docs/gst/tmpl/gstelementdetails.sgml:
23707         * docs/gst/tmpl/gstelementfactory.sgml:
23708         * docs/gst/tmpl/gstenumtypes.sgml:
23709         * docs/gst/tmpl/gsterror.sgml:
23710         * docs/gst/tmpl/gstevent.sgml:
23711         * docs/gst/tmpl/gstfakesink.sgml:
23712         * docs/gst/tmpl/gstfakesrc.sgml:
23713         * docs/gst/tmpl/gstfilesink.sgml:
23714         * docs/gst/tmpl/gstfilesrc.sgml:
23715         * docs/gst/tmpl/gstfilter.sgml:
23716         * docs/gst/tmpl/gstformat.sgml:
23717         * docs/gst/tmpl/gstghostpad.sgml:
23718         * docs/gst/tmpl/gstimplementsinterface.sgml:
23719         * docs/gst/tmpl/gstindex.sgml:
23720         * docs/gst/tmpl/gstindexfactory.sgml:
23721         * docs/gst/tmpl/gstinfo.sgml:
23722         * docs/gst/tmpl/gstiterator.sgml:
23723         * docs/gst/tmpl/gstmacros.sgml:
23724         * docs/gst/tmpl/gstmemchunk.sgml:
23725         * docs/gst/tmpl/gstminiobject.sgml:
23726         * docs/gst/tmpl/gstobject.sgml:
23727         * docs/gst/tmpl/gstpad.sgml:
23728         * docs/gst/tmpl/gstpadtemplate.sgml:
23729         * docs/gst/tmpl/gstparse.sgml:
23730         * docs/gst/tmpl/gstpipeline.sgml:
23731         * docs/gst/tmpl/gstplugin.sgml:
23732         * docs/gst/tmpl/gstpluginfeature.sgml:
23733         * docs/gst/tmpl/gstquery.sgml:
23734         * docs/gst/tmpl/gstqueue.sgml:
23735         * docs/gst/tmpl/gstregistry.sgml:
23736         * docs/gst/tmpl/gstregistrypool.sgml:
23737         * docs/gst/tmpl/gstscheduler.sgml:
23738         * docs/gst/tmpl/gstschedulerfactory.sgml:
23739         * docs/gst/tmpl/gststructure.sgml:
23740         * docs/gst/tmpl/gstsystemclock.sgml:
23741         * docs/gst/tmpl/gsttaglist.sgml:
23742         * docs/gst/tmpl/gsttagsetter.sgml:
23743         * docs/gst/tmpl/gsttrace.sgml:
23744         * docs/gst/tmpl/gsttrashstack.sgml:
23745         * docs/gst/tmpl/gsttypefind.sgml:
23746         * docs/gst/tmpl/gsttypefindfactory.sgml:
23747         * docs/gst/tmpl/gsttypes.sgml:
23748         * docs/gst/tmpl/gsturihandler.sgml:
23749         * docs/gst/tmpl/gsturitype.sgml:
23750         * docs/gst/tmpl/gstutils.sgml:
23751         * docs/gst/tmpl/gstvalue.sgml:
23752         * docs/gst/tmpl/gstversion.sgml:
23753         * docs/gst/tmpl/gstxml.sgml:
23754         * docs/libs/tmpl/gstcontrol.sgml:
23755         * docs/libs/tmpl/gstdataprotocol.sgml:
23756         * docs/libs/tmpl/gstdparam.sgml:
23757         * docs/libs/tmpl/gstdplinint.sgml:
23758         * docs/libs/tmpl/gstdpman.sgml:
23759         * docs/libs/tmpl/gstdpsmooth.sgml:
23760         * docs/libs/tmpl/gstgetbits.sgml:
23761         * docs/libs/tmpl/gstunitconvert.sgml:
23762         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
23763         (gst_push_src_base_init), (gst_push_src_class_init),
23764         (gst_push_src_init), (gst_push_src_create):
23765         * gst/base/gstpushsrc.h:
23766         * gst/elements/gstelements.c:
23767         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
23768         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
23769         (gst_fake_sink_init), (gst_fake_sink_set_property),
23770         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
23771         (gst_fake_sink_event), (gst_fake_sink_preroll),
23772         (gst_fake_sink_render), (gst_fake_sink_change_state):
23773         * gst/elements/gstfakesink.h:
23774         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
23775         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
23776         (gst_fake_src_base_init), (gst_fake_src_class_init),
23777         (gst_fake_src_init), (gst_fake_src_event_handler),
23778         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
23779         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
23780         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
23781         (gst_fake_src_create_buffer), (gst_fake_src_create),
23782         (gst_fake_src_start), (gst_fake_src_stop):
23783         * gst/elements/gstfakesrc.h:
23784         * gst/elements/gstfilesink.c: (_do_init),
23785         (gst_file_sink_base_init), (gst_file_sink_class_init),
23786         (gst_file_sink_init), (gst_file_sink_dispose),
23787         (gst_file_sink_set_location), (gst_file_sink_set_property),
23788         (gst_file_sink_get_property), (gst_file_sink_open_file),
23789         (gst_file_sink_close_file), (gst_file_sink_query),
23790         (gst_file_sink_event), (gst_file_sink_render),
23791         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
23792         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
23793         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
23794         * gst/elements/gstfilesink.h:
23795         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
23796         (gst_file_src_class_init), (gst_file_src_init),
23797         (gst_file_src_finalize), (gst_file_src_set_location),
23798         (gst_file_src_set_property), (gst_file_src_get_property),
23799         (gst_file_src_map_region), (gst_file_src_map_small_region),
23800         (gst_file_src_create_mmap), (gst_file_src_create_read),
23801         (gst_file_src_create), (gst_file_src_is_seekable),
23802         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
23803         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
23804         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
23805         (gst_file_src_uri_handler_init):
23806         * gst/elements/gstfilesrc.h:
23807           more autistic cleanliness in functions/names/defines
23808
23809 2005-07-13  Andy Wingo  <wingo@pobox.com>
23810
23811         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
23812         source couldn't negotiate.
23813
23814         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
23815         connections again.
23816
23817         * gst/gstutils.h:
23818         * gst/gstutils.c (gst_element_link_pads_filtered): New old
23819         function. I am channeling Hades. Put your boots on suckers!!!
23820
23821 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23822
23823         * testsuite/caps/Makefile.am:
23824         * testsuite/caps/value_compare.c:
23825         * testsuite/caps/value_intersect.c:
23826         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
23827           move two testsuite apps over to the check dir
23828
23829 2005-07-12  Wim Taymans  <wim@fluendo.com>
23830
23831         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23832         Added more debug info in the negotiate process.
23833
23834         * gst/gstmessage.h:
23835         Prepare for segment playback.
23836
23837         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
23838         Better debugging.
23839
23840         * gst/gstutils.c:
23841         Some more docs.
23842
23843         * tools/gst-launch.c: (main):
23844         NULL pipeline on errors.
23845
23846 2005-07-12  Andy Wingo  <wingo@pobox.com>
23847
23848         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
23849         not it comes from a malloc region. Make sure our copy gets freed.
23850
23851 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23852
23853         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23854         * check/gst/gstmessage.c: (GST_START_TEST):
23855         * check/gst/gststructure.c: (GST_START_TEST),
23856         (gst_structure_suite), (main):
23857           more testing
23858         * gst/gstelement.c: (gst_element_message_full):
23859           clean up GError and debug string now that they get copied
23860         * gst/gstmessage.c: (gst_message_new_error),
23861         (gst_message_new_warning), (gst_message_parse_error),
23862         (gst_message_parse_warning):
23863           use GST_TYPE_G_ERROR for structure_new, and take copies of
23864           arguments, so that we don't mess up refcounting
23865
23866 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23867
23868         * check/Makefile.am:
23869           add per-test valgrind targets
23870         * check/gst-libs/gdp.c: (GST_START_TEST),
23871         (gst_data_protocol_suite), (main):
23872           clean up
23873
23874 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23875
23876         * check/Makefile.am:
23877           instate more valgrindable tests
23878         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23879         (GST_START_TEST), (fakesrc_suite):
23880         * check/gst/gstpad.c: (GST_START_TEST):
23881         * check/gst/gststructure.c: (GST_START_TEST):
23882           fix test leaks
23883         * docs/gst/tmpl/gstminiobject.sgml:
23884         * gst/gstpad.c: (gst_pad_finalize):
23885           fix the static mutex leak
23886
23887 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23888
23889         * check/Makefile.am:
23890           add two more tests for valgrinding
23891         * check/gst/gstvalue.c: (GST_START_TEST):
23892           test refcount of deserialized buffer, found a leak
23893         * docs/gst/gstreamer-docs.sgml:
23894         * docs/gst/gstreamer-sections.txt:
23895         * docs/gst/gstreamer.types:
23896         * docs/gst/tmpl/gstminiobject.sgml:
23897           add miniobject to docs
23898         * gst/gstminiobject.c:
23899           add some docs
23900         * gst/gstvalue.c: (gst_value_deserialize_buffer),
23901         (gst_string_unwrap):
23902           fix a hard-to-find invalid write for one of the tests
23903           fix a leak for deserialized buffers
23904
23905 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23906
23907         * docs/pwg/advanced-events.xml:
23908         * docs/pwg/advanced-request.xml:
23909         * docs/pwg/advanced-scheduling.xml:
23910         * docs/pwg/appendix-porting.xml:
23911         * docs/pwg/building-boiler.xml:
23912         * docs/pwg/intro-preface.xml:
23913         * docs/pwg/other-ntoone.xml:
23914           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
23915           of example code and explanation for pad activation, loop() and
23916           getrange() functions and a bit more. Remove old comments pointing
23917           to loop-functions.
23918         * examples/pwg/Makefile.am:
23919           Add loop/getrange examples.
23920
23921 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23922
23923         * configure.ac:
23924           check for valgrind binary + some fixes
23925         * check/gst.supp:
23926           valgrind suppressions for the tests
23927         * check/Makefile.am:
23928           add a valgrind: target that valgrinds the unit tests
23929         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
23930         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23931         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23932         * check/gst/gstghostpad.c:
23933           added some cleanup
23934         * check/gst/gstdata.c:
23935           removed
23936         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
23937         (thread_unref), (gst_mini_object_suite), (main):
23938           added
23939         * gst/gst.c: (gst_deinit):
23940         * gst/gst.h:
23941           add a method to clean up.
23942         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23943         (gst_system_clock_obtain):
23944           allow for disposing the system clock.
23945         * tools/gst-launch.c: (main):
23946           deinit
23947
23948 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23949
23950         * docs/gst/tmpl/gstbasesrc.sgml:
23951         * docs/gst/tmpl/gstfakesrc.sgml:
23952         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23953         (gst_base_src_init), (gst_base_src_set_property),
23954         (gst_base_src_get_property), (gst_base_src_get_range),
23955         (gst_base_src_start):
23956         * gst/base/gstbasesrc.h:
23957           add num-buffers property
23958         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23959         (gst_fakesrc_init), (gst_fakesrc_set_property),
23960         (gst_fakesrc_get_property), (gst_fakesrc_create),
23961         (gst_fakesrc_start):
23962           remove num-buffers property
23963
23964 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23965
23966         * docs/gst/gstreamer-sections.txt:
23967         * docs/gst/tmpl/gstbasesink.sgml:
23968         * docs/gst/tmpl/gstbasesrc.sgml:
23969         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23970         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23971         (gst_base_sink_finalize), (gst_base_sink_set_clock),
23972         (gst_base_sink_set_property), (gst_base_sink_get_property),
23973         (gst_base_sink_handle_object), (gst_base_sink_event),
23974         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
23975         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
23976         (gst_base_sink_loop), (gst_base_sink_deactivate),
23977         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
23978         (gst_base_sink_change_state):
23979         * gst/base/gstbasesink.h:
23980         * gst/base/gstbasesrc.h:
23981         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
23982         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23983         (gst_filesink_init):
23984           more macro splitting
23985
23986 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23987
23988         * gst/gstelement.c: (gst_element_get_bus):
23989           add debug
23990         * tools/gst-launch.c: (check_intr), (event_loop):
23991           fix bus leaks
23992
23993 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23994
23995         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
23996           fix a caps leak
23997
23998 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23999
24000         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24001         (gst_base_src_finalize):
24002           add finalize method and clean up properly
24003         * gst/gstpipeline.c: (gst_pipeline_dispose):
24004           add debug
24005
24006 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24007
24008         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
24009         (gst_bin_suite):
24010           add more things to check
24011         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24012         * gst/gstelement.c:
24013           more debug
24014
24015 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24016
24017         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24018         (GST_START_TEST), (fakesrc_suite):
24019         * check/gst-libs/gdp.c: (GST_START_TEST):
24020         * check/gst/gst.c: (GST_START_TEST):
24021         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24022         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24023         * check/gst/gstbus.c: (GST_START_TEST):
24024         * check/gst/gstcaps.c: (GST_START_TEST):
24025         * check/gst/gstdata.c: (GST_START_TEST):
24026         * check/gst/gstelement.c: (GST_START_TEST):
24027         * check/gst/gstghostpad.c: (GST_START_TEST):
24028         * check/gst/gstiterator.c: (GST_START_TEST):
24029         * check/gst/gstmessage.c: (GST_START_TEST):
24030         * check/gst/gstobject.c: (GST_START_TEST):
24031         * check/gst/gstpad.c: (GST_START_TEST):
24032         * check/gst/gststructure.c: (GST_START_TEST):
24033         * check/gst/gstsystemclock.c: (GST_START_TEST),
24034         (gst_systemclock_suite):
24035         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24036         * check/gst/gstvalue.c: (GST_START_TEST):
24037         * check/pipelines/cleanup.c: (GST_START_TEST):
24038         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24039         * check/states/sinks.c: (GST_START_TEST):
24040         * check/gstcheck.c: (gst_check_init):
24041         * check/gstcheck.h:
24042           add debugging category
24043           use GST_START_TEST now, so we add a debug line
24044
24045 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24046
24047         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
24048           add test for state change message on a bin
24049         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
24050           add another test
24051         * gst/gstbin.c: (gst_bin_init):
24052         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
24053         * gst/gstelement.c: (gst_element_post_message),
24054         (gst_element_set_state):
24055         * gst/gstelementfactory.c: (gst_element_factory_create):
24056         * gst/gstmessage.c: (gst_message_new):
24057         * gst/gstscheduler.c:
24058           various debugging additions and cleanups
24059
24060 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24061
24062         * check/Makefile.am:
24063         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
24064         (main):
24065           adding tests for elements
24066         * gst/gstelement.c: (gst_element_dispose):
24067
24068 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24069
24070         * gst/registries/gstlibxmlregistry.c: (load_feature):
24071           plug more leaks.  A simple gst_init() now is leakfree, yay.
24072
24073 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24074
24075         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
24076         (gst_xml_registry_load):
24077           plug another memleak
24078
24079 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24080
24081         * configure.ac:
24082           use GST_SET_ERROR_CFLAGS
24083         * docs/faq/cvs.xml:
24084           change to ERROR_CFLAGS
24085
24086 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24087
24088         * configure.ac:
24089           make GST_ERROR_CFLAGS overridable and re-enable Werror
24090         * docs/faq/cvs.xml:
24091           add a note about error CFLAGS
24092         * docs/gst/tmpl/gstfakesrc.sgml:
24093         * gst/elements/gstfakesrc.c:
24094           comment out some unused code
24095         * gst/gst.c: (split_and_iterate):
24096         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
24097         (load_feature):
24098           plug some memleaks
24099
24100 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24101
24102         * common/Makefile.am:
24103         * common/gtk-doc.mak:
24104         * docs/gst/Makefile.am:
24105           factor out gtk-doc.mak
24106
24107 2005-07-07  Wim Taymans  <wim@fluendo.com>
24108
24109         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
24110         (gst_thread_scheduler_dispose):
24111         Unlock the STREAM_LOCK completely.
24112
24113 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24114
24115         * check/Makefile.am:
24116         * check/elements/.cvsignore:
24117         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24118         (START_TEST), (fakesrc_suite), (main):
24119         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24120         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24121         (gst_fakesrc_create), (gst_fakesrc_start):
24122         * gst/elements/gstfakesrc.h:
24123           adding a first element test
24124
24125 2005-07-07  Andy Wingo  <wingo@pobox.com>
24126
24127         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
24128         debug message.
24129
24130 2005-07-07  Wim Taymans  <wim@fluendo.com>
24131
24132         * gst/gstquery.c:
24133         * gst/gstquery.h:
24134         Remove old types
24135
24136 2005-07-07  Wim Taymans  <wim@fluendo.com>
24137
24138         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24139         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
24140         Allow subclasses to implement their own negotiation.
24141
24142 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24143
24144         * docs/design/part-gstbin.txt:
24145         * docs/design/part-gstpipeline.txt:
24146           Update design notes to reflect the movement of
24147           responsibility for bus handling from GstPipeline to
24148           GstBin
24149
24150 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24151
24152         * configure.ac:
24153           Remove unnecessary queue2/3/4 examples.
24154
24155 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24156
24157         * examples/Makefile.am:
24158         * examples/helloworld/helloworld.c: (event_loop), (main):
24159         * examples/queue/queue.c: (event_loop), (main):
24160         * examples/queue2/queue2.c: (main):
24161           Update a couple of the examples to work again.
24162
24163         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24164         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
24165          Spelling corrections and extra debug.
24166         
24167         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
24168         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
24169         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
24170         * gst/gstbin.h:
24171         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24172         (gst_pipeline_change_state):
24173         * gst/gstpipeline.h:
24174           Move the bus handler for children to the GstBin, and create a
24175           separate bus for receiving messages from children to the one the
24176           bus sends 'upwards' on.
24177
24178 2005-07-06  Wim Taymans  <wim@fluendo.com>
24179
24180         * gst/base/README:
24181         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24182         (gst_base_sink_handle_object), (gst_base_sink_loop),
24183         (gst_base_sink_change_state):
24184         * gst/base/gstbasesink.h:
24185         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24186         (gst_base_src_init), (gst_base_src_setcaps),
24187         (gst_base_src_getcaps), (gst_base_src_loop),
24188         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
24189         (gst_base_src_start), (gst_base_src_change_state):
24190         * gst/base/gstbasesrc.h:
24191         Make basesrc negotiate.
24192         Handle the case where preroll fails in basesink.
24193         Update README.
24194
24195 2005-07-06  Wim Taymans  <wim@fluendo.com>
24196
24197         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
24198         Implement the fixate function.
24199         Clean up acceptcaps.
24200
24201 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24202
24203         * docs/pwg/building-filterfactory.xml:
24204         * docs/pwg/pwg.xml:
24205           Remove never-written filter-factory chapter; I'll add the various
24206           base classes to part 4 ("other element types") later on.
24207
24208 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24209
24210         * docs/pwg/advanced-negotiation.xml:
24211         * docs/pwg/building-boiler.xml:
24212         * docs/pwg/building-pads.xml:
24213         * docs/pwg/pwg.xml:
24214         * examples/pwg/Makefile.am:
24215           Add a chapter on caps negotiation, simplify the original code
24216           samples a bit w.r.t. caps negotiation, add link to the advanced
24217           section. Add a bunch of examples showing different use cases of
24218           different types of caps negotiation. Upstream renegotiation isn't
24219           fully documented yet since nobody knows how that works.
24220
24221 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24222
24223         * check/gst/gstpad.c:
24224         * check/gstcheck.c:
24225         * gst/gstpad.c: (gst_pad_get_internal_links_default):
24226           if pad has no parent, return NULL as list of internal links
24227
24228 2005-07-05  Andy Wingo  <wingo@pobox.com>
24229
24230         * gst/elements/gstfilesrc.c:
24231         * gst/elements/gstfakesrc.c: 
24232         * gst/base/gstpushsrc.c:
24233         * gst/base/gstbasesrc.h: 
24234         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
24235         
24236 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
24237
24238         * Makefile.am:
24239           better report generation target (lcov needs a patch)
24240
24241 2005-07-05  Andy Wingo  <wingo@pobox.com>
24242
24243         * gst/elements, testsuite: Null if we got it...
24244
24245 2005-07-05  Wim Taymans  <wim@fluendo.com>
24246
24247         * configure.ac:
24248         * libs/gst/dataprotocol/Makefile.am:
24249         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
24250         * libs/gst/dataprotocol/dataprotocol.h:
24251         * pkgconfig/Makefile.am:
24252         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
24253         * pkgconfig/gstreamer-dataprotocol.pc.in:
24254         Ported dataprotol to 0.9. 
24255         Added pkgconfig files.
24256
24257 2005-07-05  Andy Wingo  <wingo@pobox.com>
24258
24259         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
24260         Default to returning TRUE for the case when tranform_caps returns
24261         a fixed caps, like for identity or volume.
24262
24263         * check/gst/gstbus.c (pound_bus_with_messages): 
24264         * check/gst/gstmessage.c (START_TEST): 
24265         * check/pipelines/simple_launch_lines.c (got_handoff): Application
24266         message API change.
24267
24268         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
24269         logic weaks here: always run transform_caps, trying passthrough
24270         operation only if the original caps intersects with the transform.
24271
24272         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
24273         source and sink caps.
24274
24275         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
24276         Intersect the peer caps with the pad template before going into
24277         transform_caps.
24278         (gst_base_transform_transform_caps): More debugging.
24279
24280         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
24281         src argument.
24282
24283 2005-07-04  Edward Hervey  <edward@fluendo.com>
24284
24285         * gst/gstutils.c:
24286         * gst/gstutils.h:
24287         (gst_pad_add_*_probe): now returns the signal id for better wrapping
24288         in bindings.
24289
24290 2005-07-04  Andy Wingo  <wingo@pobox.com>
24291
24292         * check/gst/gstpad.c: Only set explicit caps on pads.
24293
24294 2005-07-01  Andy Wingo  <wingo@pobox.com>
24295
24296         * tests/network-clock.scm: Commentary update.
24297
24298         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
24299         Didn't really make sense, not implementable with basetransform,
24300         etc.
24301         (gst_identity_transform): Unref inbuf via make_writable. Feeble
24302         attempt at implementing the sync property, needs an unlock method.
24303
24304         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
24305         New func, by default returns the same caps (the identity
24306         transformation).
24307         (gst_base_transform_getcaps): Uses transform_caps to return
24308         something sensible.
24309         (gst_base_transform_setcaps): Complicated logic to get caps on
24310         both pads, even if they are different, and to call set_caps once
24311         for every time both pads get their caps set.
24312         (gst_base_transform_handle_buffer): Give the ref to the transform
24313         function. Allows in-place modification of the buffer.
24314
24315         * gst/base/gstbasetransform.h (transform_caps): New class method.
24316         Given caps on one side, what can I do on the other.
24317         (set_caps): Take two caps, one for each side of the element.
24318
24319         * gst/gstpad.h:
24320         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
24321         caps in place. This is safe because we can check the mutability of
24322         the caps, and a good idea because fixate functions are just called
24323         as a matter of last resort. (Not actually implemented.)
24324         (gst_pad_set_caps): If the caps we're setting is actually the same
24325         as the existing pad caps, just update the pointer without calling
24326         setcaps. Assert that caps is either NULL or fixed, as per the
24327         docs.
24328
24329         * gst/gstghostpad.c: Update for fixate changes.
24330
24331 2005-07-02  Andy Wingo  <wingo@pobox.com>
24332
24333         * gst/gstcaps.c:
24334         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
24335         two refcounts makes it immutable, which is enough. Doc more.
24336
24337 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
24338
24339         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
24340           Put the mini_object into GValue as a mini_object,
24341           not a gpointer, since that's how we declared
24342           the signal.
24343
24344 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24345
24346         * examples/pwg/Makefile.am:
24347           Fix buildbot again.
24348
24349 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24350
24351         * docs/pwg/building-testapp.xml:
24352           Add extra check.
24353         * examples/pwg/Makefile.am:
24354           Fix buildbot.
24355
24356 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24357
24358         * configure.ac:
24359         * examples/Makefile.am:
24360         * examples/pwg/Makefile.am:
24361         * examples/pwg/extract.pl:
24362           Enable building the PWG examples.
24363         * docs/pwg/advanced-interfaces.xml:
24364           Add URI interface stub.
24365         * docs/pwg/advanced-types.xml:
24366         * docs/pwg/other-autoplugger.xml:
24367         * docs/pwg/appendix-porting.xml:
24368         * docs/pwg/pwg.xml:
24369           Add porting guide (mostly stubs), remove autoplugging (see ADM).
24370         * docs/pwg/building-boiler.xml:
24371         * docs/pwg/building-chainfn.xml:
24372         * docs/pwg/building-pads.xml:
24373         * docs/pwg/building-props.xml:
24374         * docs/pwg/building-state.xml:
24375         * docs/pwg/building-testapp.xml:
24376           Update the building-*.xml parts for 0.9 changes. All examples
24377           code blocks compile in examples/pwg/*.
24378
24379 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24380
24381         * docs/manual/advanced-autoplugging.xml:
24382         * docs/manual/appendix-checklist.xml:
24383         * docs/manual/appendix-integration.xml:
24384         * docs/manual/highlevel-components.xml:
24385           Fix playbin/decodebin examples, update docs a bit, mention bus
24386           instead of signals in various places, mention kmplayer and
24387           kaffeine since they have a working GStreamer backend in the KDE
24388           section.
24389
24390 2005-06-30  Wim Taymans  <wim@fluendo.com>
24391
24392         * CHANGES-0.9:
24393         * docs/design/draft-ghostpads.txt:
24394         * docs/design/draft-push-pull.txt:
24395         * docs/design/draft-query.txt:
24396         * docs/design/part-TODO.txt:
24397         * docs/design/part-query.txt:
24398         Added CHANGES-0.9 doc, updated status of other docs.
24399         
24400         * gst/gstquery.h:
24401         Remove "hmm" macro
24402
24403 2005-06-30  Wim Taymans  <wim@fluendo.com>
24404
24405         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24406         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24407         (gst_base_sink_change_state):
24408         * gst/base/gstbasesink.h:
24409         Some tweaks, only EOS and a buffer complete a preroll.
24410
24411 2005-06-30  Andy Wingo  <wingo@pobox.com>
24412
24413         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
24414         activate_push down to the internal pad as well.
24415
24416 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
24417
24418         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24419
24420         * gst/gsttaginterface.c:
24421           Some documentation fixes (#307394 and #307397).
24422
24423 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
24424
24425         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24426
24427         * gst/gstvalue.c: (gst_value_intersect_list):
24428           Fix memleak (#309125).
24429
24430 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24431
24432         * docs/manual/advanced-dataaccess.xml:
24433           Fix fakesrc example to compile; doesn't work, bug somewhere...?
24434         * docs/manual/basics-pads.xml:
24435           Add reference for filtered caps to above chapter.
24436
24437 2005-06-30  Wim Taymans  <wim@fluendo.com>
24438
24439         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
24440         (gst_bin_change_state):
24441         Probes are gone.
24442         Lame attempt at making the state change function a bit
24443         more readable.
24444
24445 2005-06-30  Wim Taymans  <wim@fluendo.com>
24446
24447         * docs/design/part-clocks.txt:
24448         * docs/design/part-element-sink.txt:
24449         * docs/design/part-events.txt:
24450         * docs/design/part-preroll.txt:
24451         * docs/design/part-states.txt:
24452         Some more tweeks and additions to the docs.
24453
24454 2005-06-30  Wim Taymans  <wim@fluendo.com>
24455
24456         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24457         (default_have_data), (gst_pad_class_init), (gst_pad_init),
24458         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24459         (gst_pad_check_pull_range), (gst_pad_get_range),
24460         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
24461         * gst/gstpad.h:
24462         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
24463         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24464         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24465         (gst_pad_remove_buffer_probe):
24466         Removed atomic operations, use existing LOCK.
24467         Move exception handling out of main code path.
24468
24469 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24470
24471         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24472         (silly_return_true_function), (gst_pad_class_init),
24473         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24474         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
24475         (gst_pad_send_event):
24476           Fix accumulator, add default value by using _emitv() instead
24477           of _emit() for signal emission.
24478
24479 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24480
24481         * docs/manual/advanced-dataaccess.xml:
24482         * examples/manual/Makefile.am:
24483           Add probe example.
24484         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
24485           Make work (??).
24486
24487 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
24488
24489         * gst/elements/gstfilesink.c: (gst_filesink_render):
24490           Simplify code so that we don't have to handle short
24491           writes and return GST_FLOW_ERROR if an error occured.
24492
24493 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24494
24495         * docs/gst/gstreamer-docs.sgml:
24496           Remove probes more.
24497
24498 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24499
24500         * docs/gst/gstreamer-sections.txt:
24501         * docs/gst/tmpl/gstpad.sgml:
24502         * docs/gst/tmpl/gstprobe.sgml:
24503         * gst/Makefile.am:
24504         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24505         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
24506         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24507         (gst_pad_push_event), (gst_pad_send_event):
24508         * gst/gstpad.h:
24509         * gst/gstutils.c: (gst_pad_add_data_probe),
24510         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24511         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24512         (gst_pad_remove_buffer_probe):
24513         * gst/gstutils.h:
24514           Remove old probes, add new g-signal-based probes and some utility
24515           functions.
24516
24517 2005-06-29  Edward Hervey  <edward@fluendo.com>
24518
24519         * gst/gstelementfactory.c:
24520         * gst/gstutils.h:
24521         * gst/gstutils.c:
24522         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
24523         the definition to the header file.
24524
24525 2005-06-29  Andy Wingo  <wingo@pobox.com>
24526
24527         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
24528         plugins from the source directory.
24529
24530 2005-06-29  Wim Taymans  <wim@fluendo.com>
24531
24532         * docs/gst/tmpl/gstbuffer.sgml:
24533         * docs/gst/tmpl/gstclock.sgml:
24534         Some fixings for blantently wrong text.
24535
24536 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24537
24538         * check/Makefile.am:
24539         * gst/gst.c: (add_path_func), (init_pre):
24540         * gst/gstregistry.c: (gst_registry_add_path):
24541           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
24542           only scan the GST_PLUGIN_PATH locations, and not add
24543           system locations
24544
24545 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24546
24547         * docs/gst/gstreamer-sections.txt:
24548         * docs/gst/tmpl/gstbasesrc.sgml:
24549         * gst/gstelement.c:
24550         * gst/gstelement.h:
24551         * gst/gstevent.c:
24552         * gst/gstutils.c:
24553           doc fixes
24554
24555 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24556
24557         * docs/manual/advanced-autoplugging.xml:
24558           Fix autoplugging example.
24559
24560 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24561
24562         * docs/manual/advanced-autoplugging.xml:
24563         * docs/manual/mime-world.fig:
24564           Try to get autoplugging working, fix type detection. Fix text
24565           in hello-world image.
24566
24567 2005-06-29  Wim Taymans  <wim@fluendo.com>
24568
24569         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24570         (gst_base_sink_change_state):
24571         Small debug line.
24572
24573         * gst/gstclock.h:
24574         map SIGNAL and BROADCAST to the right function.
24575
24576         * gst/gstobject.h:
24577         Remove redundant braces.
24578
24579         * gst/gstpad.c: (gst_pad_set_caps):
24580         Don't call setcaps function when reseting caps to NULL.
24581
24582         * gst/gstsystemclock.c: (gst_system_clock_dispose),
24583         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
24584         (gst_system_clock_id_unschedule):
24585         Use BROADCAST as this is what we do.
24586
24587 2005-06-29  Wim Taymans  <wim@fluendo.com>
24588
24589         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24590         We are actually prerolling before commiting the state
24591         change. 
24592
24593 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24594
24595         * docs/manual/advanced-clocks.xml:
24596         * docs/manual/advanced-interfaces.xml:
24597         * docs/manual/advanced-metadata.xml:
24598         * docs/manual/advanced-position.xml:
24599         * docs/manual/advanced-schedulers.xml:
24600         * docs/manual/advanced-threads.xml:
24601         * docs/manual/appendix-porting.xml:
24602         * docs/manual/basics-bins.xml:
24603         * docs/manual/basics-bus.xml:
24604         * docs/manual/basics-elements.xml:
24605         * docs/manual/basics-helloworld.xml:
24606         * docs/manual/basics-pads.xml:
24607         * docs/manual/highlevel-components.xml:
24608         * docs/manual/manual.xml:
24609         * docs/manual/thread.fig:
24610           Update (until threads/scheduling) Application Development Manual;
24611           remove GstThread, add GstBus, add simple porting checklist, add
24612           documentation for tag writing, clocks, make all examples until this
24613           part compile and run.
24614         * examples/manual/Makefile.am:
24615           Update from changes to Application Development Manual; add bus
24616           example, remove thread example.
24617
24618 2005-06-28  Wim Taymans  <wim@fluendo.com>
24619
24620         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
24621         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
24622         (gst_bus_source_dispatch):
24623         Add debugging messages.
24624         Make internal methods static.
24625         Handle the case where the bus is flushed in the handler.
24626         
24627         * gst/gstelement.c: (gst_element_get_bus):
24628         Fix refcount in _get_bus();
24629
24630         * gst/gstpipeline.c: (gst_pipeline_change_state),
24631         (gst_pipeline_get_clock_func):
24632         Clock refcounting fixes.
24633         Handle the case where preroll timed out more gracefully.
24634         
24635         * gst/gstsystemclock.c: (gst_system_clock_dispose):
24636         Clean up the internal thread in dispose. This is needed
24637         for subclasses that actually get disposed.
24638         
24639         * gst/schedulers/threadscheduler.c:
24640         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24641         (gst_thread_scheduler_dispose):
24642         Free thread pool in dispose.
24643
24644 2005-06-28  Andy Wingo  <wingo@pobox.com>
24645
24646         * tests/network-clock-utils.scm (debug, print-event): New utils.
24647
24648         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
24649         (*packet-loss*): Unified loss probability.
24650         (network-time): Report out-of-band events.
24651
24652         * tests/plot-data: Add support for out-of-band events. Hack it
24653         into this script instead of passing it down the pipe; should fix
24654         this later.
24655
24656 2005-06-28  Wim Taymans  <wim@fluendo.com>
24657
24658         * docs/gst/gstreamer.types:
24659         * docs/gst/tmpl/gstbasesrc.sgml:
24660         * docs/gst/tmpl/gstpad.sgml:
24661         Docs fixes.
24662
24663 2005-06-28  Wim Taymans  <wim@fluendo.com>
24664
24665         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24666         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
24667         (gst_proxy_pad_do_fixatecaps):
24668         Correctly proxy the check_pull_range function.
24669
24670 2005-06-28  Andy Wingo  <wingo@pobox.com>
24671
24672         * tests/network-clock.scm: Removed need for slib.
24673         
24674 2005-06-28  Wim Taymans  <wim@fluendo.com>
24675
24676         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
24677         (gst_basesink_preroll_queue_flush):
24678         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
24679         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
24680         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24681         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24682         (gst_proxy_pad_set_property):
24683         * gst/gstpad.c:
24684         * gst/gstpad.h:
24685         * gst/gstqueue.c: (gst_queue_init):
24686         The deprecated pad loop function is removed now.
24687
24688 2005-06-28  Andy Wingo  <wingo@pobox.com>
24689
24690         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
24691         New parameters, simulate network packet loss.
24692
24693         * tests/network-clock-utils.scm: Initialize the RNG.
24694
24695 2005-06-28  Wim Taymans  <wim@fluendo.com>
24696
24697         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
24698         (gst_basesink_event), (gst_basesink_deactivate):
24699         Flushing the preroll queue always needs to unlock the waiters.
24700
24701 2005-06-28  Edward Hervey  <edward@fluendo.com>
24702
24703         * gst/gstpipeline.c: (gst_pipeline_send_event): 
24704         Wheen a seek was successful on a pipeline, set the stream_time to the
24705         seek offset in order to have a synchronized stream_time.
24706
24707 2005-06-28  Wim Taymans  <wim@fluendo.com>
24708
24709         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24710         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
24711         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
24712         (gst_proxy_pad_do_fixatecaps):
24713         Call wrapper function instead of just calling the function
24714         pointers. This takes care of any locking and whatmore.
24715
24716 2005-06-28  Wim Taymans  <wim@fluendo.com>
24717
24718         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
24719         (gst_pad_pull_range):
24720         * gst/gstpad.h:
24721         CONNECTED -> LINKED.
24722
24723 2005-06-28  Andy Wingo  <wingo@pobox.com>
24724
24725         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
24726         source-munging commit!!!
24727
24728         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
24729         (gst_object_sink): Take gpointer arguments, not GstObject --
24730         avoids casts. Like GLib.
24731
24732         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
24733         activate.
24734
24735 2005-06-27  Andy Wingo  <wingo@pobox.com>
24736
24737         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
24738         remaining buffer.
24739
24740         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
24741         returns a sorted copy of the trace list.
24742         (gst_alloc_trace_print_live): New API, only prints traces with
24743         live objects. Sort the list.
24744         (gst_alloc_trace_print_all): Sort the list.
24745         (gst_alloc_trace_print): Align columns.
24746
24747         * gst/elements/gstttypefindelement.c:
24748         * gst/elements/gsttee.c:
24749         * gst/base/gstbasesrc.c:
24750         * gst/base/gstbasesink.c:
24751         * gst/base/gstbasetransform.c:
24752         * gst/gstqueue.c: Adapt for pad activation changes.
24753
24754         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
24755         sched.
24756         (gst_pipeline_dispose): Drop ref on sched.
24757
24758         * gst/gstpad.c (gst_pad_init): Set the default activate func.
24759         (gst_pad_activate_default): Push mode by default.
24760         (pre_activate_switch, post_activate_switch): New stubs, things to
24761         do before and after switching activation modes on pads.
24762         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
24763         the pad's activate function to choose which mode to activate.
24764         Shortcut on deactivation and call the right function directly.
24765         (gst_pad_activate_pull): New API, (de)activates a pad in pull
24766         mode.
24767         (gst_pad_activate_push): New API, same for push mode.
24768         (gst_pad_set_activate_function) 
24769         (gst_pad_set_activatepull_function) 
24770         (gst_pad_set_activatepush_function): Setters for new API.
24771
24772         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
24773         Trace all miniobjects.
24774         (gst_mini_object_make_writable): Unref the arg if we copy, like
24775         gst_caps_make_writable.
24776
24777         * gst/gstmessage.c (_gst_message_initialize): No trace init.
24778
24779         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
24780         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
24781         Adapt for new pad API.
24782
24783         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
24784
24785         * gst/gstelement.h:
24786         * gst/gstelement.c (gst_element_iterate_src_pads) 
24787         (gst_element_iterate_sink_pads): New API functions.
24788         
24789         * gst/gstelement.c (iterator_fold_with_resync): New utility,
24790         should fold into gstiterator.c in some form.
24791         (gst_element_pads_activate): Simplified via use of fold and
24792         delegation of decisions to gstpad->activate.
24793
24794         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
24795         help in debugging.
24796
24797         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
24798         class once in init, like gstmessage. Didn't run into this issue
24799         but it seems correct. Don't initialize a trace, gstminiobject does
24800         that.
24801
24802         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
24803         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
24804         to the bus.
24805         (assert_live_count): New util function, uses alloc traces to check
24806         cleanup.
24807
24808         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
24809         To be modified when unlink drops the internal pad.
24810
24811 2005-06-27  Wim Taymans  <wim@fluendo.com>
24812
24813         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
24814         (gst_bin_change_state):
24815         Cleanup the get_state() function a little, make sure it
24816         iterates the same set of elements.
24817         Added stub iterate_state_order().
24818
24819 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24820
24821         * docs/gst/gstreamer-docs.sgml:
24822         * docs/gst/gstreamer-sections.txt:
24823         * docs/gst/gstreamer.types:
24824         * docs/gst/tmpl/gstbasesink.sgml:
24825         * docs/gst/tmpl/gstbasesrc.sgml:
24826         * docs/gst/tmpl/gstbasetransform.sgml:
24827         * docs/gst/tmpl/gstelement.sgml:
24828         * docs/gst/tmpl/gstiterator.sgml:
24829         * gst/base/gstbasesrc.c:
24830         * gst/base/gstbasesrc.h:
24831         * gst/base/gstbasetransform.h:
24832         * gst/gstelement.c:
24833         * gst/gstiterator.h:
24834           adding basetransform and iterator docs
24835
24836 2005-06-27  Andy Wingo  <wingo@pobox.com>
24837
24838         * docs/design/part-activation.txt: Notes on how activation should
24839         work -- not quite implemented yet.
24840
24841 2005-06-25  Wim Taymans  <wim@fluendo.com>
24842
24843         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
24844         At least get the chain function correct, needs more
24845         fixing.
24846
24847 2005-06-25  Wim Taymans  <wim@fluendo.com>
24848
24849         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24850         (gst_basesink_handle_object), (gst_basesink_event),
24851         (gst_basesink_do_sync), (gst_basesink_handle_event),
24852         (gst_basesink_change_state):
24853         * gst/gsttask.h:
24854         Right, two problems here: ghostpads don't take locks and
24855         glib _rec_mutex_lock_full() with depth==0 still locks.
24856         Catch illegal locking and g_warn them.
24857
24858 2005-06-25  Wim Taymans  <wim@fluendo.com>
24859
24860         * check/states/sinks.c: (START_TEST), (gst_object_suite):
24861         Have to check for completion now...
24862
24863 2005-06-25  Wim Taymans  <wim@fluendo.com>
24864
24865         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24866         (gst_basesink_handle_object), (gst_basesink_event),
24867         (gst_basesink_do_sync), (gst_basesink_handle_event),
24868         (gst_basesink_change_state):
24869         * gst/gstpad.h:
24870         Unlock STREAM_LOCK whatever the recursion was.
24871
24872 2005-06-25  Wim Taymans  <wim@fluendo.com>
24873
24874         * gst/base/gstbasesink.c: (gst_basesink_set_property),
24875         (gst_basesink_preroll_queue_empty),
24876         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
24877         (gst_basesink_event), (gst_basesink_do_sync),
24878         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
24879         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
24880         (gst_basesink_change_state):
24881         Reworked the base sink, handle event and buffer serialisation
24882         correctly and removed possible deadlock.
24883         Handle EOS correctly.
24884
24885 2005-06-25  Wim Taymans  <wim@fluendo.com>
24886
24887         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
24888         (gst_pipeline_change_state):
24889         * tools/gst-launch.c: (check_intr), (event_loop), (main):
24890         Allow elements to post EOS in the state change function.
24891         Fix up -launch, make it exit the poll loop when the
24892         pipeline actually changed state.
24893         Fix up warning parsing in -launch.
24894
24895 2005-06-25  Wim Taymans  <wim@fluendo.com>
24896
24897         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
24898         (gst_tee_sink_activate):
24899         Core takes STREAM_LOCK for us now.
24900
24901 2005-06-25  Wim Taymans  <wim@fluendo.com>
24902
24903         * gst/gstelement.c: (gst_element_get_state_func),
24904         (gst_element_set_state):
24905         * gst/gstelement.h:
24906         * gst/gstmessage.c: (gst_message_parse_error),
24907         (gst_message_parse_warning):
24908         Keep track of current target state while performing a state
24909         change so that subclasses can do something interesting.
24910         Fix parsing of warning/error messages when GError is NULL.
24911
24912 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24913
24914         * docs/gst/Makefile.am:
24915         * docs/gst/gstreamer-docs.sgml:
24916         * docs/gst/gstreamer-sections.txt:
24917         * docs/gst/gstreamer.types:
24918         * docs/gst/tmpl/gstbasesink.sgml:
24919         * docs/gst/tmpl/gstbasesrc.sgml:
24920         * docs/gst/tmpl/gstbin.sgml:
24921         * docs/gst/tmpl/gstcompat.sgml:
24922         * docs/gst/tmpl/gstfakesink.sgml:
24923         * docs/gst/tmpl/gstfakesrc.sgml:
24924         * docs/gst/tmpl/gstfilesink.sgml:
24925         * docs/gst/tmpl/gstfilesrc.sgml:
24926         * docs/gst/tmpl/gstindex.sgml:
24927         * docs/manual/appendix-quotes.xml:
24928         * gst/base/gstbasesrc.h:
24929         * gst/elements/gstfakesrc.h:
24930         * gst/gstmessage.h:
24931           start pulling in base classes and elements in our docs
24932
24933 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
24934
24935         * docs/gst/Makefile.am:
24936         * docs/libs/Makefile.am:
24937           fixed make distcheck with gtk-doc 1.3
24938
24939 2005-06-23  Wim Taymans  <wim@fluendo.com>
24940
24941         * gst/gstelement.c: (gst_element_get_state_func),
24942         (gst_element_set_state), (gst_element_change_state):
24943         When the state did not change, also report NO_PREROLL
24944         when it matters.
24945
24946 2005-06-23  Wim Taymans  <wim@fluendo.com>
24947
24948         * gst/gstpad.c: (gst_pad_event_default):
24949         * gst/gstqueue.c: (gst_queue_loop):
24950         No unsafe task pausing please.
24951
24952 2005-06-23  Wim Taymans  <wim@fluendo.com>
24953
24954         * gst/schedulers/threadscheduler.c:
24955         (gst_thread_scheduler_task_start),
24956         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
24957         Ref the task before pushing it on the threadpool. This
24958         makes sure that we have a ref when the threadfunction is
24959         actually called.
24960
24961 2005-06-23  Andy Wingo  <wingo@pobox.com>
24962
24963         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
24964         offset is greater than the file's size.
24965
24966         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
24967         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
24968         * gst/gstobject.c (gst_object_class_init): Make the class lock
24969         recursive. Wim won't let me drop deep_notify. Decodebin works
24970         again, whoopdy doo.
24971
24972         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
24973         internal pad, and hacks accordingly. Doesn't do it on the target
24974         pad because we change its caps. Probably catches all cases of
24975         interest tho.
24976         (gst_ghost_pad_set_property): Connect to notify::caps as
24977         appropritate.
24978
24979         * tests/network-clock.scm (plot-simulation): Pipe data to the
24980         elite python skript.
24981
24982         * tests/network-clock-utils.scm (define-parameter): New macro,
24983         defines a parameter that can be set via the command line.
24984         (set-parameter!, parse-parameter-arguments): Command line args
24985         parser.
24986
24987         * tests/plot-data: Simple matplotlib-based plotter, takes input on
24988         stdin.
24989
24990 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
24991
24992         * gst/elements/gsttypefindelement.c:
24993         (gst_type_find_element_handle_event):
24994           Don't restart typefinding on a discont.
24995         * gst/gstelement.c: (gst_element_set_state):
24996           Debug spelling fix.
24997         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
24998           Allow changing mode of an active pad.
24999           Debug output fixes.
25000         * gst/registries/gstlibxmlregistry.c: (load_feature):
25001           Don't cast a static pad template to a normal pad template.
25002
25003 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
25004
25005         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25006         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25007           remove gst_strtoll completely, since it didn't actually do
25008           anything more than what g_ascii_strtoull already does.
25009           check for range errors when deserializing
25010           do a cast for the unsigned cases; but further fixing needs
25011           a decision on what the interpretation of "(int)" and
25012           deserialization should be for values that fall outside the
25013           type's boundaries (ie, refuse, or interpret as casting)
25014
25015 2005-06-23  Wim Taymans  <wim@fluendo.com>
25016
25017         * check/Makefile.am:
25018         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
25019         * docs/design/part-live-source.txt:
25020         * docs/design/part-states.txt:
25021         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25022         (gst_basesrc_set_live), (gst_basesrc_is_live),
25023         (gst_basesrc_get_range), (gst_basesrc_activate),
25024         (gst_basesrc_change_state):
25025         * gst/base/gstbasesrc.h:
25026         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25027         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25028         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
25029         * gst/gstelement.c: (gst_element_get_state_func),
25030         (gst_element_set_state):
25031         * gst/gstelement.h:
25032         * gst/gsttypes.h:
25033         * tools/gst-launch.c: (event_loop), (main):
25034         Added support for live sources and other elements that
25035         cannot do preroll.
25036         Updated design docs, added live-source design doc.
25037         Implemented live source functionality in basesrc
25038         Fix error condition in _bin_get_state()
25039         Implement live source handling in -launch.
25040         Added check for live sources.
25041         Fixed case in GstBin where elements were changed state
25042         multiple times.
25043
25044
25045 2005-06-23  Andy Wingo  <wingo@pobox.com>
25046
25047         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
25048         borken refcounting.
25049
25050         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
25051         gst_caps_replace takes care of this for us.
25052
25053         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
25054         gst_pad_set_caps on the target, not just its setcaps() function.
25055
25056         * tests/network-clock.scm: 
25057         * tests/network-clock-utils.scm: A network clock simulator.
25058         Something of an algorithmic testbed before doing something in C.
25059
25060 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25061
25062         * check/Makefile.am:
25063         * check/gst/capslist.h:
25064           copy over from 0.8, and add two with bitmasks specified with
25065           (int) 0xFF...
25066         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25067           add test to parse everything from capslist.h
25068         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
25069         (main):
25070           add test for structure deserialization
25071         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25072           add tests for deserialization of strings to int types
25073         * gst/gststructure.c: (gst_structure_nth_field_name):
25074         * gst/gststructure.h:
25075           add a way to get the name of a field referenced by index
25076         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25077           instead of checking if the resulting long long lies between
25078           min and max, we check if the long long would fit into
25079           a number of bytes for the final type.
25080           This fixes cases where a string represents 2^32 - 1, which
25081           when cast to int would be the (valid) -1, but is bigger than
25082           G_MAXINT
25083
25084 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25085
25086         * gst/parse/grammar.y:
25087           add a log line for type deserialization
25088
25089 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25090
25091         * check/gst/gstvalue.c: (START_TEST):
25092         * gst/gstvalue.c: (gst_value_deserialize):
25093           return long long, not int, so gint64 deserialization actually
25094           works.  Is there any flag that makes the compiler check this ?
25095           Fixes #308559
25096
25097 2005-06-22  Wim Taymans  <wim@fluendo.com>
25098
25099         * gst/gstbuffer.h:
25100         Added convenience macros for setting buffers in GValue.
25101
25102 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25103
25104         * check/gst/.cvsignore:
25105         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25106           add a test deserializing int64, and comment part out because
25107           it fails, yay !
25108
25109 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25110
25111         * check/Makefile.am:
25112         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
25113         * testsuite/Makefile.am:
25114         * testsuite/caps/Makefile.am:
25115         * testsuite/caps/value_serialize.c:
25116         * testsuite/test_gst_init.c:
25117           move a value_serialize test over
25118
25119 2005-06-20  Wim Taymans  <wim@fluendo.com>
25120
25121         * gst/gstpad.c:
25122         Small doc updates.
25123         
25124         * gst/gstvalue.c: (gst_value_compare_buffer),
25125         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
25126         (gst_value_compare_flags), (gst_value_serialize_flags),
25127         (gst_value_deserialize_flags), (_gst_value_initialize):
25128         Fix serialisation of buffers, they are not boxed types anymore
25129
25130 2005-06-20  Wim Taymans  <wim@fluendo.com>
25131
25132         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25133         Testcase to show error in buffer-on-caps serialisation.
25134
25135 2005-06-20  Andy Wingo  <wingo@pobox.com>
25136
25137         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
25138         will be adding to later.
25139
25140         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
25141         if its socks fill with rocks.
25142         (gst_system_clock_obtain): Set the name on object construction.
25143         Avoid double-checked locking.
25144
25145 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
25146
25147         * gst/gsturi.c: (gst_element_make_from_uri):
25148           Fix potential endless loop.
25149
25150 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25151
25152         * check/Makefile.am:
25153           add gsttag
25154         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
25155         (main):
25156           move over from testsuite dir and clean up
25157         * configure.ac:
25158         * gst/gsttag.c:
25159         * testsuite/Makefile.am:
25160         * testsuite/tags/.cvsignore:
25161         * testsuite/tags/Makefile.am:
25162         * testsuite/tags/merge.c:
25163           remove testsuite/tags
25164
25165 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25166
25167         * docs/gst/gstreamer-sections.txt:
25168         * docs/gst/tmpl/gstenumtypes.sgml:
25169         * win32/gstenumtypes.c:
25170           clean up documentation build a little
25171
25172 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25173
25174         * check/gstcheck.h:
25175           add macros for checking refcounts on objects and caps
25176         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
25177           add some more unit tests
25178         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25179         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
25180           fix leaked refcounts (I hope :)) so unittest works
25181         * gst/gstpad.h:
25182           whitespace removal
25183
25184 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25185
25186         * configure.ac: back to HEAD
25187
25188 === release 0.9.1 ===
25189
25190 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
25191
25192         * NEWS:
25193         * RELEASE:
25194           updated
25195
25196 2005-06-17  Andy Wingo  <wingo@pobox.com>
25197
25198         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
25199         assert; it's always possible that the pad gets deactivated in
25200         between the checks in gstpad.c and the implementation. Rely on
25201         finish_preroll() to return a FLUSHING or similar instead of on the
25202         assert.
25203         
25204         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
25205         clock and post an EOS message if we come out of finish_preroll in
25206         the playing state.
25207
25208 2005-06-16  David Schleef  <ds@schleef.org>
25209
25210         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25211         (gst_capsfilter_set_property): Allow NULL as possible value
25212         for filter_caps property, indicating GST_CAPS_ANY.
25213
25214 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25215
25216         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
25217           fix debug output
25218         * gst/schedulers/Makefile.am:
25219           use libgst prefix
25220         * gstreamer.spec.in:
25221           fix spec for it
25222
25223 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25224
25225         * gstreamer.spec.in:
25226           clean up
25227
25228 2005-06-08  Andy Wingo  <wingo@pobox.com>
25229
25230         * gst/gstutils.c: RPAD fixes all around.
25231         (gst_element_link_pads): Refcounting fixes.
25232
25233         * tools/gst-inspect.c:
25234         * tools/gst-xmlinspect.c:
25235         * parse/grammar.y:
25236         * gst/base/gsttypefindhelper.c:
25237         * gst/base/gstbasesink.c:
25238         * gst/gstqueue.c: RPAD fixes.
25239
25240         * gst/gstghostpad.h:
25241         * gst/gstghostpad.c: New ghost pad implementation as full proxy
25242         pads. The tricky thing is they provide both source and sink
25243         interfaces, since they proxy the internal pad for the external
25244         pad, and vice versa. Implement with lower-level ProxyPad objects,
25245         with the interior proxy pad as a child of the exterior ghost pad.
25246         Should write a doc on this.
25247         
25248         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
25249         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
25250         gst_object API.
25251         
25252         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
25253         pads are real pads. No ghost pads in this file. Not documenting
25254         the myriad s/RPAD/PAD/ and REALIZE fixes.
25255         (gst_pad_class_init): Add properties for "direction" and
25256         "template". Both are construct-only, so they can't change during
25257         the life of the pad. Fixes properly deriving from GstPad.
25258         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
25259         derived objects, just set properties when creating the objects via
25260         g_object_new.
25261         (gst_pad_get_parent): Implement as a function, return NULL if the
25262         parent is not an element.
25263         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
25264         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
25265         
25266         * gst/gstobject.c (gst_object_class_init): Make name a construct
25267         property. Don't set it in the object init.
25268
25269         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
25270         with UNKNOWN direction.
25271         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
25272         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
25273         (gst_element_remove_pad): Remove ghost-pad special cases.
25274         (gst_element_pads_activate): Remove rpad cruft.
25275
25276         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
25277         catch the pad's-parent-not-an-element case.
25278
25279         * gst/gst.h: Include gstghostpad.h.
25280
25281         * gst/gst.c (init_post): No more real, ghost pads.
25282
25283         * gst/Makefile.am: Add gstghostpad.[ch].
25284
25285         * check/Makefile.am:
25286         * check/gst/gstbin.c:
25287         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
25288         into a bin creates ghost pads, and that the refcounts are right.
25289         Partly moved from gstbin.c.
25290
25291 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25292
25293         * check/gst-libs/.cvsignore:
25294         * check/gst/.cvsignore:
25295         * check/pipelines/.cvsignore:
25296           ignore more
25297         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
25298         (START_TEST), (cleanup_suite), (main):
25299           add some tests related to cleanup after running pipelines
25300
25301 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25302
25303         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
25304           add a testsuite for GstBuffer
25305
25306 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25307
25308         * gst/gstminiobject.h:
25309           add defines for accessing the refcount
25310
25311 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
25312
25313         * Makefile.am: added support for html unit test coverage reports
25314
25315 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
25316
25317         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25318           Free existing caps if the capsfilter changes. Add a FIXME about
25319           setting those caps on the pads.
25320
25321         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
25322           Before adding a ghost pad to a parent bin, check that there isn't
25323           already one for the element on the bin. Prevents infinite recursion
25324           when using decodebin in parse pipelines. Andy says he'll rewrite the
25325           way this works anyway, so ignore the hack.
25326
25327 2005-06-02  Andy Wingo  <wingo@pobox.com>
25328
25329         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
25330         file size, pass it on to the type find helper.
25331
25332         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
25333         segment_start and segment_end properly according to the seek
25334         method. Segment_end is still a bit flaky because offset can be
25335         negative for CUR and END cases, but it takes -1 as an "unset"
25336         value.
25337
25338 2005-06-02  Wim Taymans  <wim@fluendo.com>
25339
25340         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
25341         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
25342         (gst_basesink_activate):
25343         * gst/base/gstbasesink.h:
25344         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25345         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25346         (gst_pad_query), (gst_pad_start_task):
25347         * gst/gstpad.h:
25348         * gst/gstqueue.c: (gst_queue_bufferalloc),
25349         (gst_queue_handle_sink_event), (gst_queue_chain):
25350         Bufferalloc: return GstFlowReturn to more accuratly report
25351         why allocation failed.
25352
25353 2005-06-02  Wim Taymans  <wim@fluendo.com>
25354
25355         * gst/gstpipeline.c: (gst_pipeline_send_event):
25356         Take snapshot of state without blocking.
25357
25358 2005-06-02  Wim Taymans  <wim@fluendo.com>
25359
25360         * docs/design/part-TODO.txt:
25361         * docs/design/part-caps.txt:
25362         * docs/design/part-clocks.txt:
25363         * docs/design/part-negotiation.txt:
25364         * docs/design/part-preroll.txt:
25365         Small doc updates 
25366
25367 2005-05-30  Wim Taymans  <wim@fluendo.com>
25368
25369         * gst/elements/gstidentity.c: (gst_identity_event),
25370         (gst_identity_transform), (gst_identity_get_property):
25371         Protect last_message property as it is accessed from
25372         multiple threads.
25373
25374 2005-05-30  Wim Taymans  <wim@fluendo.com>
25375
25376         * gst/gstelement.c: (gst_element_init),
25377         (gst_element_pads_activate), (gst_element_change_state):
25378         Slicker pad activation code.
25379
25380 2005-05-30  Wim Taymans  <wim@fluendo.com>
25381
25382         * gst/Makefile.am:
25383         * gst/gstelement.h:
25384         * gst/gstelementfactory.h:
25385         * gst/gsttypes.h:
25386         Move elementfactory methods to separate .h file.
25387
25388 2005-05-30  Wim Taymans  <wim@fluendo.com>
25389
25390         * docs/design/part-overview.txt:
25391         * gst/gstsystemclock.h:
25392         Small typo fixes, doc updates.
25393
25394 2005-05-30  Wim Taymans  <wim@fluendo.com>
25395
25396         * gst/gst.c: (gst_init_get_popt_table), (init_post),
25397         (init_popt_callback):
25398         Remove cpu-opt flag.
25399
25400 2005-05-30  Wim Taymans  <wim@fluendo.com>
25401
25402         * gst/gstbuffer.c: (gst_subbuffer_finalize),
25403         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
25404         * gst/gstbuffer.h:
25405         Avoid typechecking in places where not needed.
25406         Added accessor for malloc_data.
25407
25408 2005-05-30  Wim Taymans  <wim@fluendo.com>
25409
25410         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
25411         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
25412         (gst_pad_configure_sink), (gst_pad_configure_src),
25413         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
25414         (gst_pad_start_task):
25415         Propagate errors from _set_caps() in configure_src/sink
25416         functions instead of returning TRUE.
25417         FLUSH events can travel up and downstream
25418
25419
25420 2005-05-30  Wim Taymans  <wim@fluendo.com>
25421
25422         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25423         (gst_basesink_activate):
25424         Handle EOS in preroll.
25425
25426 2005-05-30  Wim Taymans  <wim@fluendo.com>
25427
25428         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25429         (gst_queue_loop), (gst_queue_handle_src_event):
25430         Remove old pieces of code
25431         Flushing the queue in an upstream event is a very bad idea.
25432
25433 2005-05-26  Andy Wingo  <wingo@pobox.com>
25434
25435         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
25436         gst_value_set_mini_object so as to add a ref on the object (which
25437         will be removed when the value is unset).
25438
25439         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
25440         arg type in ::handoff.
25441
25442         * gst/gstelement.c (gst_element_change_state): Also deactivate
25443         pads in READY->NULL, just in case the element didn't make it to
25444         PAUSED. Wingo tested, Wim approved.
25445
25446 2005-05-26  Wim Taymans  <wim@fluendo.com>
25447
25448         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25449         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25450         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
25451         A flushing pad cannot be used to alloc_buffer from.
25452
25453 2005-05-26  Wim Taymans  <wim@fluendo.com>
25454
25455         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
25456         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
25457         (gst_bus_source_dispatch), (gst_bus_source_finalize),
25458         (gst_bus_create_watch), (gst_bus_add_watch_full):
25459         * gst/gstbus.h:
25460         Implement a real GSource and use g_main_context_wakeup() to
25461         signal new messages instead of the socketpair.
25462
25463 2005-05-25  Wim Taymans  <wim@fluendo.com>
25464
25465         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
25466         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
25467         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25468         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25469         (gst_pad_send_event), (gst_pad_start_task):
25470         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
25471         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25472         (gst_queue_sink_activate), (gst_queue_src_activate),
25473         (gst_queue_change_state):
25474         * gst/gstqueue.h:
25475         Fix state changes for non sinks. We now change sinks, then elements
25476         with unconnected srcpads, then the rest.
25477         More efficient queue unlocking in flush and state changes.
25478         Set the pad activate mode even if it does not have an activate
25479         function.
25480
25481 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25482
25483         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
25484           Don't go in pull mode for non-seekable sources.
25485         * gst/elements/gsttypefindelement.h:
25486         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25487         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
25488         (free_entry), (stop_typefinding),
25489         (gst_type_find_element_handle_event), (find_peek),
25490         (gst_type_find_element_chain), (do_pull_typefind),
25491         (gst_type_find_element_change_state):
25492           Allow typefinding (w/o seeking) in push-mode, simplified version
25493           of what was in 0.8.
25494         * gst/gstutils.c: (gst_buffer_join):
25495         * gst/gstutils.h:
25496           gst_buffer_join() from 0.8.
25497
25498 2005-05-25  Wim Taymans  <wim@fluendo.com>
25499
25500         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25501         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25502         (gst_pad_send_event), (gst_pad_start_task):
25503         Disable attempt at mode switching until it is figured out.
25504
25505 2005-05-25  Wim Taymans  <wim@fluendo.com>
25506
25507         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
25508         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25509         (gst_basesink_finish_preroll), (gst_basesink_chain),
25510         (gst_basesink_loop), (gst_basesink_activate),
25511         (gst_basesink_change_state):
25512         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
25513         (gst_basesrc_get_range), (gst_basesrc_loop),
25514         (gst_basesrc_activate):
25515         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25516         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25517         (gst_real_pad_init), (gst_real_pad_set_property),
25518         (gst_real_pad_get_property), (gst_pad_set_active),
25519         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
25520         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
25521         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
25522         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
25523         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25524         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
25525         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
25526         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25527         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
25528         (gst_pad_stop_task):
25529         * gst/gstpad.h:
25530         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25531         (gst_queue_loop), (gst_queue_src_activate):
25532         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
25533         (gst_task_get_state):
25534         * gst/gsttask.h:
25535         * gst/schedulers/threadscheduler.c:
25536         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
25537         Implement gst_pad_pause/start/stop_task(), take STREAM lock
25538         in task function.
25539         Remove ACTIVE pad flag, use FLUSHING everywhere
25540         Added _pad_chain(), _pad_get_range() to call chain/getrange 
25541         functions.
25542         Add locks around IS_FLUSHING when reading.
25543         Take STREAM lock in chain(), get_range() functions so plugins
25544         don't need to take it anymore.
25545         
25546
25547
25548 2005-05-25  Wim Taymans  <wim@fluendo.com>
25549
25550         * tools/gst-launch.c: (event_loop):
25551         Unref message after using its contents instead of
25552         before.
25553
25554 2005-05-24  Wim Taymans  <wim@fluendo.com>
25555
25556         * docs/design/draft-ghostpads.txt:
25557         * docs/design/draft-push-pull.txt:
25558         * docs/design/draft-query.txt:
25559         * docs/design/part-overview.txt:
25560         Docs updates, added general overview doc.
25561
25562 2005-05-21  David Schleef  <ds@schleef.org>
25563
25564         * docs/gst/tmpl/old/GstBin.sgml:
25565         * docs/gst/tmpl/old/GstBuffer.sgml:
25566         * docs/gst/tmpl/old/GstCaps.sgml:
25567         * docs/gst/tmpl/old/GstClock.sgml:
25568         * docs/gst/tmpl/old/GstCompat.sgml:
25569         * docs/gst/tmpl/old/GstData.sgml:
25570         * docs/gst/tmpl/old/GstElement.sgml:
25571         * docs/gst/tmpl/old/GstEvent.sgml:
25572         * docs/gst/tmpl/old/GstIndex.sgml:
25573         * docs/gst/tmpl/old/GstStructure.sgml:
25574         * docs/gst/tmpl/old/GstTag.sgml:
25575         * docs/gst/tmpl/old/cothreads.sgml:
25576         * docs/gst/tmpl/old/cothreads_compat.sgml:
25577         * docs/gst/tmpl/old/gettext.sgml:
25578         * docs/gst/tmpl/old/gobject2gtk.sgml:
25579         * docs/gst/tmpl/old/grammar.tab.sgml:
25580         * docs/gst/tmpl/old/gst-i18n-app.sgml:
25581         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
25582         * docs/gst/tmpl/old/gst_private.sgml:
25583         * docs/gst/tmpl/old/gstaggregator.sgml:
25584         * docs/gst/tmpl/old/gstarch.sgml:
25585         * docs/gst/tmpl/old/gstatomic_impl.sgml:
25586         * docs/gst/tmpl/old/gstbufferstore.sgml:
25587         * docs/gst/tmpl/old/gstdata_private.sgml:
25588         * docs/gst/tmpl/old/gstdisksink.sgml:
25589         * docs/gst/tmpl/old/gstdisksrc.sgml:
25590         * docs/gst/tmpl/old/gstelementfactory.sgml:
25591         * docs/gst/tmpl/old/gstextratypes.sgml:
25592         * docs/gst/tmpl/old/gstfakesink.sgml:
25593         * docs/gst/tmpl/old/gstfakesrc.sgml:
25594         * docs/gst/tmpl/old/gstfdsink.sgml:
25595         * docs/gst/tmpl/old/gstfdsrc.sgml:
25596         * docs/gst/tmpl/old/gstfilesink.sgml:
25597         * docs/gst/tmpl/old/gstfilesrc.sgml:
25598         * docs/gst/tmpl/old/gsthttpsrc.sgml:
25599         * docs/gst/tmpl/old/gstidentity.sgml:
25600         * docs/gst/tmpl/old/gstindexfactory.sgml:
25601         * docs/gst/tmpl/old/gstmarshal.sgml:
25602         * docs/gst/tmpl/old/gstmd5sink.sgml:
25603         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
25604         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
25605         * docs/gst/tmpl/old/gstpadtemplate.sgml:
25606         * docs/gst/tmpl/old/gstpipefilter.sgml:
25607         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
25608         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
25609         * docs/gst/tmpl/old/gstshaper.sgml:
25610         * docs/gst/tmpl/old/gstspider.sgml:
25611         * docs/gst/tmpl/old/gstspideridentity.sgml:
25612         * docs/gst/tmpl/old/gststatistics.sgml:
25613         * docs/gst/tmpl/old/gsttee.sgml:
25614         * docs/gst/tmpl/old/gsttimecache.sgml:
25615         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
25616         * docs/gst/tmpl/old/gstxmlregistry.sgml:
25617         * docs/gst/tmpl/old/gthread-cothreads.sgml:
25618         * docs/gst/tmpl/old/types.sgml:
25619           I didn't intend to add these or check them in.
25620
25621 2005-05-19  David Schleef  <ds@schleef.org>
25622
25623         * configure.ac: Use -no-common everywhere.  In a sane world, it
25624           would be the default in libtool, because without it, you can't
25625           build DLLs on Windows.
25626         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
25627         * docs/gst/gstreamer-sections.txt:
25628         * docs/gst/tmpl/gstcpu.sgml:
25629         * docs/gst/tmpl/gstdata.sgml:
25630         * docs/gst/tmpl/gstthread.sgml:
25631
25632 2005-05-19  David Schleef  <ds@schleef.org>
25633
25634         * gst/gstminiobject.c: (gst_value_set_mini_object),
25635         (gst_value_take_mini_object), (gst_value_get_mini_object):
25636         * gst/gstminiobject.h: Add GValue set/get functions.
25637
25638 2005-05-19  Wim Taymans  <wim@fluendo.com>
25639
25640         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
25641         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
25642         (gst_subbuffer_init), (gst_buffer_is_span_fast):
25643         * gst/gstbuffer.h:
25644         * gst/gstbus.c: (gst_bus_post):
25645         * gst/gstelement.c: (gst_element_get_random_pad):
25646         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
25647         Make subbufer unref the parent in finalize.
25648         some more debugging info.
25649
25650
25651 2005-05-19  Wim Taymans  <wim@fluendo.com>
25652
25653         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25654         (gst_basesink_init), (gst_basesink_finalize),
25655         (gst_basesink_activate), (gst_basesink_change_state):
25656         Don't free preroll queue too early.
25657
25658 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25659
25660         * gst/Makefile.am:
25661         * gst/ROADMAP:
25662           Hi, I'm outdated. Please shoot me.
25663
25664 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25665
25666         * gst/gstpipeline.c: (gst_pipeline_send_event):
25667           Do not access variables after they have been deleted.
25668
25669 2005-05-19  Wim Taymans  <wim@fluendo.com>
25670
25671         * tools/gst-inspect.c: (print_plugin_features):
25672         A plugin feature does unfortunatly not use the
25673         object name yet...
25674
25675 2005-05-18  Wim Taymans  <wim@fluendo.com>
25676
25677         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
25678         Port _span() functions to new subbuffers.
25679
25680 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25681
25682         * gst/gstbin.c: (gst_bin_add_func):
25683           Fix clock settery in bins when adding kids after the clock has
25684           been selected.
25685
25686 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25687
25688         * gst/elements/gstidentity.c: (gst_identity_class_init):
25689           Workaround until signals support GstMiniObject.
25690
25691 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
25692
25693         * gst/gstbuffer.c:
25694         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
25695
25696 2005-05-18  Wim Taymans  <wim@fluendo.com>
25697
25698         * gst/base/Makefile.am:
25699         * gst/base/gstadapter.c: (gst_adapter_base_init),
25700         (gst_adapter_class_init), (gst_adapter_init),
25701         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
25702         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
25703         (gst_adapter_flush), (gst_adapter_available),
25704         (gst_adapter_available_fast):
25705         * gst/base/gstadapter.h:
25706         Ported and added adapter to the base classes.
25707
25708 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25709
25710         * gst/gst.c:
25711         * gst/gstmessage.c:
25712           Make sure the class is reffed/unreffed once before threads can be
25713           used.  Fixes #304551.
25714
25715 2005-05-17  Wim Taymans  <wim@fluendo.com>
25716
25717         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
25718         (gst_basesink_chain_unlocked), (gst_basesink_activate):
25719         * gst/gstminiobject.c: (gst_mini_object_get_type),
25720         (gst_mini_object_free):
25721         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
25722         (gst_pad_push), (gst_pad_push_event):
25723         * gst/gstqueue.c: (gst_queue_change_state):
25724         Don't queue buffers in basesink when we are flushing.
25725         Unref buffer when flushing in basesink.
25726         Flush queue when going to READY
25727         Unref buffer when _push() returns an error.
25728         Don't free MiniObject instance when refcount is incremented
25729         in _finalize() so that we can recover objects.
25730
25731 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
25732
25733         * docs/manual/advanced-schedulers.xml:
25734         * docs/manual/appendix-checklist.xml:
25735         * docs/pwg/advanced-clock.xml:
25736         * docs/pwg/advanced-interfaces.xml:
25737         * docs/pwg/advanced-request.xml:
25738         * docs/pwg/advanced-types.xml:
25739         * docs/pwg/intro-preface.xml:
25740         * examples/plugins/example.c: (gst_example_get_type),
25741         (gst_example_class_init), (gst_example_chain),
25742         (gst_example_set_property), (gst_example_get_property),
25743         (gst_example_change_state), (plugin_init):
25744         * examples/plugins/example.h:
25745           small doc fixes
25746
25747 2005-05-17  Wim Taymans  <wim@fluendo.com>
25748
25749         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
25750         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
25751         * gst/gstqueue.c: (gst_queue_change_state):
25752         Clear queue when going to READY.
25753         Remove IN_SETCAPS flag too.
25754
25755 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
25756
25757         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
25758           Remove implicit cast from gboolean to GstElementStateReturn;
25759           make sure we still return failure in paused => ready case if
25760           the parent class fails to change state and our own stop 
25761           vfunc succeeds.
25762
25763 2005-05-17  Wim Taymans  <wim@fluendo.com>
25764
25765         * tools/gst-launch.c: (event_loop):
25766         Message was unreffed too soon.
25767
25768 2005-05-16  Andy Wingo  <wingo@pobox.com>
25769
25770         * gst/gstbin.c (sink_iterator_filter): Err... um...
25771
25772         * check/gst/gstbin.c (test_ghost_pads): New test for the
25773         ghosting-if-elements-not-in-same-bin behavior.
25774
25775 2005-05-16  David Schleef  <ds@schleef.org>
25776
25777         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
25778         accessing refcount directly.
25779
25780 2005-05-15  David Schleef  <ds@schleef.org>
25781
25782         * check/Makefile.am: remove GstData checks
25783         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
25784         * gst/Makefile.am: add miniobject, remove data
25785         * gst/gst.h: add miniobject, remove data
25786         * gst/gstdata.c: remove
25787         * gst/gstdata.h: remove
25788         * gst/gstdata_private.h: remove
25789         * gst/gsttypes.h: remove GstEvent and GstMessage
25790         * gst/gstelement.c: (gst_element_post_message): fix for API changes
25791         * gst/gstmarshal.list: change BOXED -> OBJECT
25792
25793         Implement GstMiniObject.
25794         * gst/gstminiobject.c:
25795         * gst/gstminiobject.h:
25796
25797         Modify to be subclasses of GstMiniObject.
25798         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
25799         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
25800         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
25801         (gst_subbuffer_get_type), (gst_subbuffer_init),
25802         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
25803         (gst_buffer_span):
25804         * gst/gstbuffer.h:
25805         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
25806         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
25807         (_gst_event_copy), (gst_event_new):
25808         * gst/gstevent.h:
25809         * gst/gstmessage.c: (_gst_message_initialize),
25810         (gst_message_get_type), (gst_message_class_init),
25811         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
25812         (gst_message_new), (gst_message_new_error),
25813         (gst_message_new_warning), (gst_message_new_tag),
25814         (gst_message_new_state_changed), (gst_message_new_application):
25815         * gst/gstmessage.h:
25816         * gst/gstprobe.c: (gst_probe_perform),
25817         (gst_probe_dispatcher_dispatch):
25818         * gst/gstprobe.h:
25819         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
25820         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
25821         (_gst_query_copy), (gst_query_new):
25822
25823         Update elements for GstData -> GstMiniObject changes
25824         * gst/gstquery.h:
25825         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
25826         (gst_queue_chain), (gst_queue_loop):
25827         * gst/elements/gstbufferstore.c:
25828         (gst_buffer_store_add_buffer_func),
25829         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
25830         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25831         (gst_fakesink_render):
25832         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25833         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
25834         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
25835         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
25836         (gst_filesrc_create_read):
25837         * gst/elements/gstidentity.c: (gst_identity_class_init):
25838         * gst/elements/gsttypefindelement.c:
25839         (gst_type_find_element_src_event), (free_entry_buffers),
25840         (gst_type_find_element_handle_event):
25841         * libs/gst/dataprotocol/dataprotocol.c:
25842         (gst_dp_header_from_buffer):
25843         * libs/gst/dataprotocol/dataprotocol.h:
25844         * libs/gst/dataprotocol/dp-private.h:
25845
25846 2005-05-15  David Schleef  <ds@schleef.org>
25847
25848         * gst/elements/gstelements.c: Don't include headers that were
25849         just removed.
25850
25851 2005-05-15  David Schleef  <ds@schleef.org>
25852
25853         * gst/elements/Makefile.am: Remove some elements that don't
25854         need to be in the core (or even exist at all).
25855         * gst/elements/gstaggregator.c:
25856         * gst/elements/gstaggregator.h:
25857         * gst/elements/gstmd5sink.c:
25858         * gst/elements/gstmd5sink.h:
25859         * gst/elements/gstmultifilesrc.c:
25860         * gst/elements/gstmultifilesrc.h:
25861         * gst/elements/gstpipefilter.c:
25862         * gst/elements/gstpipefilter.h:
25863         * gst/elements/gstshaper.c:
25864         * gst/elements/gstshaper.h:
25865         * gst/elements/gststatistics.c:
25866         * gst/elements/gststatistics.h:
25867         * po/POTFILES.in: Remove above files.
25868
25869 2005-05-14  Andy Wingo  <wingo@pobox.com>
25870
25871         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
25872         so as to get the refs right.
25873         (sink_iterator_filter): New function, wraps bin_element_is_sink,
25874         unreffing objects that don't pass the filter.
25875
25876         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
25877         gst_element_set_bus.
25878         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
25879         normal cases, this will destroy the bus.
25880
25881         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
25882         object.
25883
25884         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
25885         has no sinks.
25886
25887 2005-05-13  Andy Wingo  <wingo@pobox.com>
25888
25889         * gst/gstutils.c (gst_element_link_pads): Instead of calling
25890         gst_pad_link, call pad_link_maybe_ghosting,
25891         (pad_link_maybe_ghosting): Links pads, making sure that the
25892         elements being linked are in the same bin.
25893         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
25894         Helpers for pad_link_maybe_ghosting.
25895
25896 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
25897
25898         * configure.ac:
25899           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
25900
25901 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
25902
25903         * docs/design/part-element-source.txt:
25904           Mention GstPushSrc
25905
25906 2005-05-12  Wim Taymans  <wim@fluendo.com>
25907
25908         * gst/base/gstbasesink.c: (gst_basesink_init),
25909         (gst_basesink_activate):
25910         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
25911         (gst_basesrc_is_seekable):
25912         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
25913         (bin_element_is_sink), (gst_bin_change_state):
25914         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
25915         * gst/gstelement.h:
25916         Identify sinks by their flag to avoid overly complicated
25917         checks (fow now).
25918         Do state changes even for elements not reachable from the
25919         sinks.
25920         BaseSink is a sink now :)
25921         Some more debugging info in the basesrc.
25922
25923
25924 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25925
25926         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
25927           Implement _query on a bin, similar to _send_event.
25928
25929 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
25930
25931         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
25932           Discont event offset format should be GST_FORMAT_BYTES,
25933           not GST_FORMAT_TIME.
25934
25935 2005-05-12  Wim Taymans  <wim@fluendo.com>
25936
25937         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
25938         Same fix as Ronald's but without the signal. 
25939
25940 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25941
25942         * gst/gstutils.c: (gst_element_query_position):
25943           No, an element is not a pad.
25944
25945 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25946
25947         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
25948         (gst_bin_get_state):
25949           If a child is removed from a bin while we remove the child from
25950           the bin and while we're retrieving its state, signal this to the
25951           get_state function so we abort the wait (instead of waiting for
25952           a timeout) and can immediately re-iterate over all other elements.
25953
25954 2005-05-12  Wim Taymans  <wim@fluendo.com>
25955
25956         * gst/base/Makefile.am:
25957         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
25958         (gst_basesrc_start):
25959         * gst/base/gstbasesrc.h:
25960         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
25961         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
25962         (gst_pushsrc_init), (gst_pushsrc_create):
25963         * gst/base/gstpushsrc.h:
25964         Added is_seekable to BaseSrc
25965         Added simple PushSrc.
25966
25967 2005-05-11  Wim Taymans  <wim@fluendo.com>
25968
25969         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
25970         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25971         (gst_element_link_pads), (gst_element_query_position),
25972         (gst_element_query_convert), (intersect_caps_func),
25973         (gst_pad_query_position), (gst_pad_query_convert):
25974         Fix refcounting in utils function.
25975         No point in trying to activate a pad when it's added, it could
25976         be added from the state change function and then we deadlock, the
25977         element has to decide what to do.
25978
25979 2005-05-10  Andy Wingo  <wingo@pobox.com>
25980
25981         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
25982         *all* the arguments.
25983
25984         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
25985         stream lock if it's a FLUSH_DONE; normal flushes don't get the
25986         lock (according to the docs -- if this is wrong change the docs).
25987
25988         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
25989         flush messages in the NULL state.
25990
25991         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
25992         message immediately and return.
25993         (gst_bus_set_flushing): New function. If a bus is flushing, it
25994         flushes out any queued messages and immediately unrefs new
25995         messages. This is so when an element goes to NULL, all of the
25996         unhandled messages coming from it can be freed, and their
25997         references to the element dropped. In other words: message source
25998         ref considered harmful :P
25999
26000         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
26001         we're finished with it.
26002
26003         * gst/gstmessage.c (gst_message_new_state_changed): 
26004
26005 2005-05-10  Wim Taymans  <wim@fluendo.com>
26006
26007         * gst/gstvalue.c: (gst_value_compare_flags),
26008         (gst_value_serialize_flags), (gst_value_deserialize_flags),
26009         (_gst_value_initialize):
26010         Added flags serialize/deserialize/compare code.
26011
26012 2005-05-09  Andy Wingo  <wingo@pobox.com>
26013
26014         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
26015         Intersect the peer's caps with our caps.
26016
26017 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26018
26019         * gst/base/gsttypefindhelper.c: (helper_find_peek):
26020         * gst/elements/gsttypefindelement.c: (find_peek):
26021           Handle negative offsets better. Fixes decodebin.
26022
26023 2005-05-09  Wim Taymans  <wim@fluendo.com>
26024
26025         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
26026         (gst_base_transform_event):
26027         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
26028         Implement accept_caps.
26029         Fix silly lock/unlock mismatch in base class.
26030
26031 2005-05-09  Wim Taymans  <wim@fluendo.com>
26032
26033         * docs/design/draft-push-pull.txt:
26034         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
26035         * gst/elements/gstfilesink.c: (gst_filesink_init),
26036         (gst_filesink_query):
26037         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26038         (gst_type_find_handle_src_query), (find_element_get_length):
26039         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
26040         * gst/gstelement.h:
26041         * gst/gstmessage.c:
26042         * gst/gstmessage.h:
26043         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
26044         (gst_real_pad_get_caps_unlocked),
26045         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
26046         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26047         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
26048         (gst_real_pad_dispose), (gst_real_pad_finalize),
26049         (gst_pad_load_and_link), (gst_pad_save_thyself),
26050         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
26051         (gst_pad_check_pull_range), (gst_pad_pull_range),
26052         (gst_pad_template_get_type), (gst_pad_template_class_init),
26053         (gst_pad_template_init), (gst_pad_template_dispose),
26054         (name_is_valid), (gst_static_pad_template_get),
26055         (gst_pad_template_new), (gst_static_pad_template_get_caps),
26056         (gst_pad_template_get_caps), (gst_pad_set_element_private),
26057         (gst_pad_get_element_private), (gst_pad_start_task),
26058         (gst_pad_pause_task), (gst_pad_stop_task),
26059         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
26060         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
26061         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
26062         (gst_ghost_pad_new):
26063         * gst/gstpad.h:
26064         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
26065         (gst_query_new_position), (gst_query_set_position),
26066         (gst_query_parse_position), (gst_query_new_convert),
26067         (gst_query_set_convert), (gst_query_parse_convert):
26068         * gst/gstquery.h:
26069         * gst/gstqueryutils.c:
26070         * gst/gstqueryutils.h:
26071         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26072         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26073         (gst_queue_handle_src_query):
26074         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26075         (gst_element_query_position), (gst_element_query_convert),
26076         (intersect_caps_func), (gst_pad_query_position),
26077         (gst_pad_query_convert):
26078         * gst/gstutils.h:
26079         * tools/gst-inspect.c: (print_pad_info):
26080         * tools/gst-xmlinspect.c: (print_element_info):
26081         Remove old query functions. Ported old code.
26082         Added position/convert helper functions to gstutils.
26083         Reordered gstpad.c code, grouping relevant things.
26084         Remove gst_message_new(), always need to speficy a specific
26085         message.
26086
26087
26088 2005-05-09  Andy Wingo  <wingo@pobox.com>
26089
26090         * gst/gstiterator.h: Add some includes.
26091
26092         * gst/gstqueryutils.h: Include more headers.
26093
26094         * gst/gstpad.h:
26095         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
26096         some uses of gst_pad_query.
26097
26098         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
26099         NULL out parameters.
26100         (gst_query_new_position): New proc, allocates a new position
26101         query.
26102
26103         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
26104         gstqueryutils.c to the build.
26105
26106         * gst/gststructure.c (gst_structure_set_valist): Implement with
26107         the generic G_VALUE_COLLECT.
26108         
26109 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
26110
26111         * gst/Makefile.am: (gst_headers):
26112         Added gstqueryutils.h to the list of headers to install, that was
26113         a 'nachty' move wingo :)
26114
26115 2005-05-06  Andy Wingo  <wingo@pobox.com>
26116
26117         * gst/gstquery.h
26118         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
26119         GstData, init a memchunk.
26120         (standard_definitions): Add a few query types, deprecate a few.
26121         (gst_query_get_type): New proc.
26122         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
26123         implementation.
26124         (gst_query_new_application, gst_query_get_structure): New public
26125         procs.
26126
26127         * docs/design/draft-query.txt: Removed LINKS from the query types,
26128         because all the rest can be dispatched to other pads -- seemed
26129         ugly to have a query that couldn't be dispatched. internal_links
26130         is fine as a pad method.
26131
26132         * gst/gstpad.h: Add query2 as a pad method, add the new functions
26133         in gstpad.c, but maintain binary compatibility for the moment.
26134         Will fix before 0.9 is out.
26135
26136         * gst/gstqueryutils.c: 
26137         * gst/gstqueryutils.h: New files, implement 3 methods for each
26138         query type: parse_query, parse_response, and set. Probably need an
26139         allocator as well.
26140
26141         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
26142
26143         * gst/elements/gstfilesink.c (gst_filesink_query2):
26144         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
26145         query_types, and formats methods.
26146
26147         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
26148         (gst_pad_set_query2_function): New functions.
26149         (gst_real_pad_init): Set query2_default as the default query2
26150         function. Basically just dispatches to internally linked pads.
26151
26152         Needs review!
26153         
26154         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
26155         without using the atomic operations. Only one thread can possibly
26156         be accessing the data at this point. Changed so as to avoid
26157         gst_atomic operations.
26158
26159 2005-05-06  Wim Taymans  <wim@fluendo.com>
26160
26161         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
26162         Also set caps if we use the fallback buffer alloc.
26163
26164 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
26165
26166         * docs/gst/Makefile.am:
26167         * docs/gst/gstreamer-docs.sgml:
26168         * docs/gst/gstreamer-sections.txt:
26169         * docs/gst/tmpl/gstatomic.sgml:
26170         * docs/gst/tmpl/gstmemchunk.sgml:
26171         * testsuite/elements/struct_i386.h:
26172         * win32/GStreamer.vcproj:
26173         * win32/Makefile:
26174           Purge GstAtomic stuff from docs and win32 makefiles as well
26175
26176 2005-05-06  Wim Taymans  <wim@fluendo.com>
26177
26178         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
26179         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
26180         * gst/gstpad.c: (gst_pad_peer_get_caps):
26181         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26182         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26183         (gst_queue_src_activate), (gst_queue_change_state):
26184         * gst/gstqueue.h:
26185         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26186         (intersect_caps_func):
26187         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
26188         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
26189         Some fixes for the peer_get_caps() change.
26190
26191 2005-05-06  Wim Taymans  <wim@fluendo.com>
26192
26193         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26194         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
26195         (gst_basesink_activate):
26196         Actually do something with error codes returned from the push
26197         functions.
26198
26199 2005-05-06  Wim Taymans  <wim@fluendo.com>
26200
26201         * docs/design/part-element-sink.txt:
26202         * docs/design/part-element-source.txt:
26203         * gst/base/gstbasesink.c: (gst_basesink_class_init),
26204         (gst_basesink_event), (gst_basesink_activate):
26205         * gst/base/gstbasesink.h:
26206         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
26207         (gst_basesrc_activate):
26208         * gst/base/gstbasesrc.h:
26209         * gst/gstelement.c: (gst_element_pads_activate):
26210         Some more documentation.
26211         Fixed scheduling decision in _pads_activate().
26212
26213 2005-05-05  Andy Wingo  <wingo@pobox.com>
26214
26215         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
26216         the test suite.
26217
26218 2005-05-05  Wim Taymans  <wim@fluendo.com>
26219
26220         * gst/base/Makefile.am:
26221         * gst/base/gstbasesink.h:
26222         * gst/base/gstbasesrc.c: (gst_basesrc_init),
26223         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
26224         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
26225         (gst_collectpads_class_init), (gst_collectpads_init),
26226         (gst_collectpads_finalize), (gst_collectpads_new),
26227         (gst_collectpads_set_function), (gst_collectpads_add_pad),
26228         (find_pad), (gst_collectpads_remove_pad),
26229         (gst_collectpads_is_active), (gst_collectpads_collect),
26230         (gst_collectpads_collect_range), (gst_collectpads_start),
26231         (gst_collectpads_stop), (gst_collectpads_peek),
26232         (gst_collectpads_pop), (gst_collectpads_available),
26233         (gst_collectpads_read), (gst_collectpads_flush),
26234         (gst_collectpads_chain):
26235         * gst/base/gstcollectpads.h:
26236         * gst/elements/Makefile.am:
26237         * gst/elements/gstelements.c:
26238         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26239         (gst_fakesink_get_times), (gst_fakesink_event),
26240         (gst_fakesink_preroll), (gst_fakesink_render):
26241         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26242         (gst_filesink_init), (gst_filesink_set_location),
26243         (gst_filesink_open_file), (gst_filesink_close_file),
26244         (gst_filesink_pad_query), (gst_filesink_event),
26245         (gst_filesink_render), (gst_filesink_change_state):
26246         * gst/elements/gstfilesink.h:
26247         Added object to help in making collect pad based elements.
26248         Ported filesink.
26249         Make event function in sink baseclass return gboolean.
26250
26251 2005-05-05  Wim Taymans  <wim@fluendo.com>
26252
26253         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
26254         (gst_bin_get_by_name):
26255         * gst/gstbuffer.h:
26256         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
26257         (gst_clock_finalize):
26258         * gst/gstdata.c: (gst_data_replace):
26259         * gst/gstdata.h:
26260         * gst/gstelement.c: (gst_element_request_pad),
26261         (gst_element_pads_activate):
26262         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
26263         (gst_object_unref):
26264         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26265         (gst_pad_set_checkgetrange_function),
26266         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
26267         (gst_pad_check_pull_range), (gst_pad_pull_range),
26268         (gst_static_pad_template_get_caps), (gst_pad_start_task),
26269         (gst_pad_pause_task), (gst_pad_stop_task):
26270         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26271         (gst_element_request_pad), (gst_pad_proxy_getcaps):
26272         Fix name lookup in GstBin.
26273         Added _data_replace() function and _buffer_replace()
26274         Use finalize method to clean up clock.
26275         Fix refcounting on request pads.
26276         Fix pad schedule mode error.
26277         Some more object refcounting debug info,
26278
26279
26280 2005-05-04  Andy Wingo <wingo@pobox.com>
26281
26282         * check/Makefile.am:
26283         * docs/gst/tmpl/gstatomic.sgml:
26284         * docs/gst/tmpl/gstplugin.sgml:
26285         * gst/base/gstbasesink.c: (gst_basesink_activate):
26286         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
26287         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
26288         (gst_basesrc_query), (gst_basesrc_set_property),
26289         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
26290         (gst_basesrc_activate):
26291         * gst/base/gstbasesrc.h:
26292         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
26293         (gst_base_transform_src_activate):
26294         * gst/elements/gstelements.c:
26295         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26296         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
26297         * gst/elements/gsttee.c: (gst_tee_sink_activate):
26298         * gst/elements/gsttypefindelement.c: (find_element_get_length),
26299         (gst_type_find_element_checkgetrange),
26300         (gst_type_find_element_activate):
26301         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
26302         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
26303         (gst_caps_load_thyself):
26304         * gst/gstelement.c: (gst_element_pads_activate),
26305         (gst_element_save_thyself), (gst_element_restore_thyself):
26306         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
26307         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
26308         * gst/gstpad.h:
26309         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
26310         (gst_xml_parse_file), (gst_xml_parse_memory),
26311         (gst_xml_get_element), (gst_xml_make_element):
26312         * gst/indexers/gstfileindex.c: (gst_file_index_load),
26313         (_file_index_id_save_xml), (gst_file_index_commit):
26314         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
26315         (read_enum), (load_pad_template), (load_feature), (load_plugin),
26316         (load_paths):
26317         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
26318         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
26319         * tools/gst-complete.c: (main):
26320         * tools/gst-compprep.c: (main):
26321         * tools/gst-inspect.c: (print_element_properties_info):
26322         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
26323         * tools/gst-xmlinspect.c: (print_element_properties):
26324         GCC 4 fixen.
26325         
26326 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
26327
26328         * gst/gstplugin.c: (gst_plugin_check_module),
26329         (gst_plugin_check_file), (gst_plugin_load_file):
26330             apply patch from #172526 to make register work on MacOSX
26331
26332 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26333
26334         * docs/gst/tmpl/gstconfig.sgml:
26335         * gst/gstconfig.h.in:
26336           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
26337         * testsuite/debug/printf_extension.c: (main):
26338           Do not use GST_PTR_FORMAT on pointers to types with
26339           sizeof < sizeof(gpointer).  Fixes test on 64-bit
26340         * testsuite/elements/property.h:
26341           use correct printf format
26342
26343 2005-05-02  Wim Taymans  <wim@fluendo.com>
26344
26345         * docs/design/draft-push-pull.txt:
26346         * docs/design/draft-query.txt:
26347         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
26348         (gst_basesrc_start):
26349         Added draft for new query API.
26350         Added draft for better selecting scheduling methods.
26351         Make basesrc ignore length if the subclass does not support
26352         it.
26353
26354 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26355
26356         * gst/Makefile.am:
26357           possible fixes for automake-1.5 - _LIBADD is reserved
26358
26359 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26360
26361         * docs/faq/Makefile.am:
26362         * docs/manual/Makefile.am:
26363         * docs/manuals.mak:
26364         * docs/pwg/Makefile.am:
26365         * gst/Makefile.am:
26366           possible fixes for automake-1.5
26367
26368 2005-04-28  Wim Taymans  <wim@fluendo.com>
26369
26370         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26371         (gst_basesink_pad_getcaps), (gst_basesink_init),
26372         (gst_basesink_do_sync):
26373         * gst/gstclock.c: (gst_clock_entry_new):
26374         * gst/gstevent.c: (gst_event_discont_get_value):
26375         * gst/gstpipeline.c: (pipeline_bus_handler),
26376         (gst_pipeline_change_state):
26377         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
26378         Better debugging of clocking info.
26379         Allow NULL values when getting discont values.
26380
26381 2005-04-27  Wim Taymans  <wim@fluendo.com>
26382
26383         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26384         * check/gst/gstpad.c: (gst_pad_suite):
26385         Increase timeout for checks.
26386
26387 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
26388
26389         * check/Makefile.am:
26390           fix the broken rule for cleanup.  Apparently this rule is
26391           only needed on FC2, so maybe this warrants further autotool
26392           inspection.
26393
26394 2005-04-26  Wim Taymans  <wim@fluendo.com>
26395
26396         * gst/gsttrashstack.h:
26397         Ooohh. a nasty one! After having a failed pop() from the stack,
26398         it's possible that the stack is empty. In that case, don't
26399         follow the NULL pointer.
26400
26401 2005-04-25  Wim Taymans  <wim@fluendo.com>
26402
26403         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26404         (gst_pad_set_checkgetrange_function),
26405         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
26406         (gst_pad_check_pull_range), (gst_pad_pull_range),
26407         (gst_static_pad_template_get_caps), (gst_pad_start_task),
26408         (gst_pad_pause_task), (gst_pad_stop_task):
26409         * gst/gstplugin.c: (gst_plugin_load):
26410         * gst/gstplugin.h:
26411         Remove gst_library_load as it does more harm than good with
26412         the new g_module flags.
26413         Revert bogus caps template check in pad linking, pad caps
26414         are important when linking not the template, which is more
26415         general than the current caps.
26416
26417 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26418
26419         * gst/autoplug/.cvsignore:
26420         * gst/autoplug/Makefile.am:
26421         * gst/autoplug/gstsearchfuncs.c:
26422         * gst/autoplug/gstsearchfuncs.h:
26423         * gst/autoplug/gstspider.c:
26424         * gst/autoplug/gstspider.h:
26425         * gst/autoplug/gstspideridentity.c:
26426         * gst/autoplug/gstspideridentity.h:
26427         * gst/autoplug/spidertest.c:
26428           Die, spider, die.
26429
26430 2005-04-25  Wim Taymans  <wim@fluendo.com>
26431
26432         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26433         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26434         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
26435         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
26436         * gst/gstpad.h:
26437         Added stubs for unimplemented functions. 
26438
26439 2005-04-24  David Schleef  <ds@schleef.org>
26440
26441         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
26442         please fix.
26443
26444 2005-04-24  David Schleef  <ds@schleef.org>
26445
26446         Convert everything from GstAtomicInt to g_atomic_int_*, and
26447         remove gstatomic.
26448         * gst/Makefile.am:
26449         * gst/gstatomic.c:
26450         * gst/gstatomic.h:
26451         * gst/gstatomic_impl.h:
26452         * gst/gstbuffer.c:
26453         * gst/gstcaps.c:
26454         * gst/gstcaps.h:
26455         * gst/gstclock.c:
26456         * gst/gstclock.h:
26457         * gst/gstdata.c:
26458         * gst/gstdata.h:
26459         * gst/gstdata_private.h:
26460         * gst/gstevent.c:
26461         * gst/gstinfo.c:
26462         * gst/gstinfo.h:
26463         * gst/gstmessage.c:
26464         * gst/gstobject.c:
26465         * gst/gstobject.h:
26466         * gst/gststructure.c:
26467         * gst/gststructure.h:
26468         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
26469         * gst/gstutils.h:
26470
26471 2005-04-24  David Schleef  <ds@schleef.org>
26472
26473         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
26474         make the regressions tests work.  Remove some code that is no
26475         longer true.
26476         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
26477         Disable warning for pads without templates.
26478
26479 2005-04-24  David Schleef  <ds@schleef.org>
26480
26481         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
26482         functions that handle filtered links.
26483         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
26484         removed functions.
26485         * gst/gstutils.c: Fix/remove utility functions that handle
26486         filtered caps.
26487         * gst/gstutils.h:
26488         * gst/gstvalue.c: Add serialization/deserialization of caps
26489         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
26490         requires fixing so that the filter caps notation creates
26491         a capsfilter element and sets the filter_caps property.  I
26492         think everyone probably wants to keep the shorthand notation.
26493         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
26494         * docs/gst/tmpl/gstpad.sgml:
26495
26496         * gst/elements/gstelements.c: Register capsfilter element.
26497         * gst/Makefile.am: fix spacing
26498         * docs/random/ds/0.9-suggested-changes: random
26499
26500 2005-04-23  David Schleef  <ds@schleef.org>
26501
26502         * gst/elements/Makefile.am:
26503         * gst/elements/gstcapsfilter.c: New element that acts like an
26504         identity, but filters caps.  Will eventually replace filtered
26505         caps in pad linking.
26506         * gst/gstutils.c: (gst_element_create_all_pads): New function
26507         to create all the ALWAYS pads that are registered with an
26508         element class.  This functionality should eventually be
26509         merged in with GstElement initialization.
26510         * gst/gstutils.h:
26511         * testsuite/trigger/README: part of trigger test code that should
26512         have been checked in a long time ago.
26513
26514 2005-04-23  David Schleef  <ds@schleef.org>
26515
26516         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
26517         needed with new versions of libtool (nobody will confirm this),
26518         and hard to carry around.
26519         * gst/autoplug/Makefile.am:
26520         * gst/base/Makefile.am:
26521         * gst/elements/Makefile.am:
26522         * gst/indexers/Makefile.am:
26523         * gst/schedulers/Makefile.am:
26524         * libs/gst/bytestream/Makefile.am:
26525         * libs/gst/control/Makefile.am:
26526         * libs/gst/dataprotocol/Makefile.am:
26527         * libs/gst/getbits/Makefile.am:
26528
26529 2005-04-21  Wim Taymans  <wim@fluendo.com>
26530
26531         * docs/design/draft-push-pull.txt:
26532         * docs/design/part-MT-refcounting.txt:
26533         * docs/design/part-TODO.txt:
26534         * docs/design/part-caps.txt:
26535         * docs/design/part-events.txt:
26536         * docs/design/part-gstbus.txt:
26537         * docs/design/part-gstpipeline.txt:
26538         * docs/design/part-messages.txt:
26539         * docs/design/part-push-pull.txt:
26540         * docs/design/part-query.txt:
26541         Some more docs.
26542
26543 2005-04-21  Wim Taymans  <wim@fluendo.com>
26544
26545         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
26546         (gst_message_new), (gst_message_new_error),
26547         (gst_message_new_warning), (gst_message_new_tag),
26548         (gst_message_new_state_changed), (gst_message_new_application),
26549         (gst_message_get_structure):
26550         * gst/gstmessage.h:
26551         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26552         (gst_structure_copy_conditional):
26553         Use parent refcount in GstMessage to ensure GstStructure
26554         consistency.
26555         Cleaned up headers a bit.
26556         
26557
26558 2005-04-20  Wim Taymans  <wim@fluendo.com>
26559
26560         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26561         (gst_basesink_pad_getcaps), (gst_basesink_init),
26562         (gst_basesink_chain_unlocked):
26563         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
26564         (gst_type_find_helper):
26565         * gst/elements/gsttypefindelement.c:
26566         (gst_type_find_element_have_type), (gst_type_find_element_init),
26567         (stop_typefinding), (gst_type_find_element_handle_event),
26568         (find_suggest), (gst_type_find_element_chain),
26569         (gst_type_find_element_checkgetrange),
26570         (gst_type_find_element_getrange), (do_typefind),
26571         (gst_type_find_element_activate):
26572         * gst/gstbuffer.c: (_gst_buffer_sub_free),
26573         (gst_buffer_default_free), (gst_buffer_default_copy),
26574         (gst_buffer_set_caps):
26575         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
26576         (gst_caps_replace):
26577         * gst/gstmessage.c: (gst_message_new),
26578         (gst_message_new_state_changed):
26579         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26580         (gst_pad_set_checkgetrange_function),
26581         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
26582         (gst_pad_set_caps), (gst_pad_check_pull_range),
26583         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
26584         * gst/gstpad.h:
26585         * gst/gsttypefind.c: (gst_type_find_register):
26586         Make gst_caps_replace() work like other _replace() functions.
26587         Use _caps_replace() where possible.
26588         Make sure _message_new() initialises its field.
26589         Add gst_static_pad_template_get_caps()
26590
26591
26592 2005-04-18  Andy Wingo  <wingo@pobox.com>
26593
26594         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
26595         on the peer, not the pad. I think that was a typo. Pass an extra
26596         arg to see if random access is possible. Activate the pads as
26597         PULL_RANGE if possible.
26598
26599         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
26600
26601         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
26602         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
26603         to PROP_....
26604
26605 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26606
26607         * docs/faq/using.xml:
26608           Add note on gstreamer-properties (#154996).
26609
26610 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26611
26612         * docs/random/bbb/optional-properties:
26613           Some analysis on optional properties.
26614
26615 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26616
26617         * docs/gst/tmpl/gstelementfactory.sgml:
26618         * gst/gstelement.h:
26619         * gst/gstelementfactory.c: (gst_element_factory_init),
26620         (gst_element_factory_cleanup), (gst_element_register),
26621         (__gst_element_factory_add_static_pad_template),
26622         (gst_element_factory_get_static_pad_templates),
26623         (gst_element_factory_can_src_caps),
26624         (gst_element_factory_can_sink_caps):
26625         * gst/registries/Makefile.am:
26626         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
26627         (gst_xml_registry_class_init), (gst_xml_registry_init),
26628         (gst_xml_registry_new), (gst_xml_registry_set_property),
26629         (gst_xml_registry_get_property), (get_time), (make_dir),
26630         (gst_xml_registry_get_perms_func),
26631         (plugin_times_older_than_recurse), (plugin_times_older_than),
26632         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
26633         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
26634         (add_to_char_array), (read_string), (read_uint), (read_enum),
26635         (load_pad_template), (load_feature), (load_plugin), (load_paths),
26636         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
26637         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
26638         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
26639         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
26640         (gst_xml_registry_rebuild):
26641         * gst/registries/gstlibxmlregistry.h:
26642         * tools/gst-compprep.c: (main):
26643         * tools/gst-inspect.c: (print_pad_templates_info):
26644         * tools/gst-xmlinspect.c: (print_element_info):
26645           Use libxml2 for registry parsing, use staticpadtemplates in
26646           elementfactories. Makes gst_init() +/- 10x faster.
26647
26648 2005-04-12  Wim Taymans  <wim@fluendo.com>
26649
26650         * gst/base/Makefile.am:
26651         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26652         (gst_basesink_pad_getcaps), (gst_basesink_init),
26653         (gst_basesink_event), (gst_basesink_change_state):
26654         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26655         (gst_basesrc_init), (gst_basesrc_query),
26656         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26657         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26658         (gst_basesrc_check_get_range), (gst_basesrc_loop),
26659         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26660         (gst_basesrc_stop), (gst_basesrc_activate),
26661         (gst_basesrc_change_state):
26662         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26663         (helper_find_suggest), (gst_type_find_helper):
26664         * gst/base/gsttypefindhelper.h:
26665         * gst/elements/Makefile.am:
26666         * gst/elements/gstelements.c:
26667         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26668         (gst_fakesink_get_times), (gst_fakesink_event),
26669         (gst_fakesink_preroll), (gst_fakesink_render):
26670         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26671         (gst_fakesrc_init), (gst_fakesrc_event_handler),
26672         (gst_fakesrc_get_property), (gst_fakesrc_create),
26673         (gst_fakesrc_start), (gst_fakesrc_stop):
26674         * gst/elements/gstfakesrc.h:
26675         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
26676         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26677         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26678         (gst_filesrc_create_read), (gst_filesrc_create),
26679         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
26680         (gst_filesrc_start):
26681         * gst/elements/gsttypefindelement.c:
26682         (gst_type_find_element_have_type), (gst_type_find_element_init),
26683         (start_typefinding), (stop_typefinding), (push_buffer_store),
26684         (gst_type_find_element_handle_event),
26685         (gst_type_find_element_chain),
26686         (gst_type_find_element_checkgetrange),
26687         (gst_type_find_element_getrange), (do_typefind),
26688         (gst_type_find_element_activate),
26689         (gst_type_find_element_change_state):
26690         * gst/elements/gsttypefindelement.h:
26691         * gst/gstpipeline.c: (pipeline_bus_handler):
26692         Added typefind helper.
26693         Small preroll fix in the base sink.
26694         Disable typefind code in basesrc.
26695         Crude port of typefindelement.
26696         Fakesrc cleanups.
26697
26698
26699 2005-04-11  Wim Taymans  <wim@fluendo.com>
26700
26701         * check/gst/gstbus.c: (gstbus_suite):
26702         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
26703         * check/gstcheck.h:
26704           Fix up the timeout so that the test does not fail.
26705
26706 2005-04-06  Wim Taymans  <wim@fluendo.com>
26707
26708         * gst/base/README:
26709         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26710         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
26711         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26712         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26713         (gst_basesrc_check_get_range), (gst_basesrc_loop),
26714         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26715         (gst_basesrc_stop), (gst_basesrc_activate),
26716         (gst_basesrc_change_state), (basesrc_find_peek),
26717         (basesrc_find_suggest), (gst_basesrc_type_find):
26718         * gst/base/gstbasesrc.h:
26719         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
26720         (gst_filesrc_class_init), (gst_filesrc_init),
26721         (gst_filesrc_finalize), (gst_filesrc_set_location),
26722         (gst_filesrc_set_property), (gst_filesrc_get_property),
26723         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26724         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26725         (gst_filesrc_create_read), (gst_filesrc_create),
26726         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
26727         * gst/elements/gstfilesrc.h:
26728         * gst/gstelement.c: (gst_element_get_state_func),
26729         (gst_element_lost_state), (gst_element_pads_activate):
26730         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26731         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26732         (gst_pad_pull_range):
26733         * gst/gstpad.h:
26734         More work on the generic source base class, implement seeking,
26735         query.
26736         Make filesrc extend the base source class.
26737         Added gst_pad_set_checkgetrange_function to GstPad.
26738
26739 2005-04-06  Andy Wingo  <wingo@pobox.com>
26740
26741         * pkgconfig/gstreamer-base.pc.in:
26742         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
26743
26744         * pkgconfig/Makefile.am:
26745         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
26746
26747 2005-04-04  Wim Taymans  <wim@fluendo.com>
26748
26749         * gst/base/Makefile.am:
26750         * gst/base/README:
26751         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26752         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
26753         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
26754         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
26755         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26756         (gst_basesrc_base_init), (gst_basesrc_class_init),
26757         (gst_basesrc_init), (gst_basesrc_get_formats),
26758         (gst_basesrc_get_query_types), (gst_basesrc_query),
26759         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
26760         (gst_basesrc_set_property), (gst_basesrc_get_property),
26761         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
26762         (gst_basesrc_loop), (gst_basesrc_activate),
26763         (gst_basesrc_change_state):
26764         * gst/base/gstbasesrc.h:
26765         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
26766         (gst_fakesrc_class_init), (gst_fakesrc_init),
26767         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
26768         (gst_fakesrc_get_property), (gst_fakesrc_create):
26769         * gst/elements/gstfakesrc.h:
26770         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
26771         (gst_filesrc_open_file), (gst_filesrc_loop),
26772         (gst_filesrc_activate), (filesrc_find_peek),
26773         (gst_filesrc_type_find):
26774         Made base source class, make fakesrc extend it.
26775         Add comments to basesink class.
26776         Some filesrc cleanup.
26777
26778 2005-03-31  David Schleef  <ds@schleef.org>
26779
26780         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
26781         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
26782         expected to link against libgstreamer.
26783         * gst/base/Makefile.am: link against libgstreamer
26784         * gst/elements/Makefile.am: same
26785
26786 2005-03-31  Andy Wingo  <wingo@pobox.com>
26787
26788         * tests/instantiate/Makefile.am:
26789         * tests/instantiate/caps.c: Add test to test speed of caps copy
26790         and free.
26791
26792         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
26793         GMemChunk to be fair.
26794
26795         * gst/gsttrashstack.h: Remove warning about using the fallback
26796         trash stack implementation, it's still faster than malloc.
26797
26798 2005-03-30  Andy Wingo  <wingo@pobox.com>
26799
26800         * tests/complexity.c: Add a copyright.
26801
26802 2005-03-31  Wim Taymans  <wim@fluendo.com>
26803
26804         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
26805         (gst_base_transform_class_init), (gst_base_transform_init),
26806         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26807         (gst_base_transform_get_property),
26808         (gst_base_transform_sink_activate),
26809         (gst_base_transform_src_activate),
26810         (gst_base_transform_change_state):
26811         * gst/base/gstbasetransform.h:
26812         * gst/elements/gstidentity.c: (gst_identity_class_init),
26813         (gst_identity_event), (gst_identity_check_perfect),
26814         (gst_identity_transform), (gst_identity_start),
26815         (gst_identity_stop):
26816         Added start/stop methods to transform base class so subclasses 
26817         don't need to deal with state changes even.
26818
26819 2005-03-31  Wim Taymans  <wim@fluendo.com>
26820
26821         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
26822         (gst_event_new_discontinuous), (gst_event_discont_get_value):
26823         * gst/gstevent.h:
26824         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26825         (gst_pad_pull_range):
26826         Added rate to the discont event to prepare for variable speed
26827         and reverse playback.
26828
26829 2005-03-29  David Schleef  <ds@schleef.org>
26830
26831         * configure.ac:
26832         * testsuite/trigger/Makefile.am:
26833         * testsuite/trigger/trigger.c: A little example program to show
26834         how trigger-based elements can work.
26835
26836 2005-03-29  Wim Taymans  <wim@fluendo.com>
26837
26838         * gst/base/Makefile.am:
26839         * gst/base/README:
26840         * gst/base/gstbasesink.c: (gst_basesink_get_type),
26841         (gst_basesink_base_init), (gst_basesink_class_init),
26842         (gst_basesink_pad_getcaps), (gst_basesink_init),
26843         (gst_basesink_activate), (gst_basesink_change_state):
26844         * gst/base/gstbasesink.h:
26845         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
26846         (gst_base_transform_base_init), (gst_base_transform_finalize),
26847         (gst_base_transform_class_init), (gst_base_transform_init),
26848         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
26849         (gst_base_transform_event), (gst_base_transform_getrange),
26850         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
26851         (gst_base_transform_set_property),
26852         (gst_base_transform_get_property),
26853         (gst_base_transform_sink_activate),
26854         (gst_base_transform_src_activate),
26855         (gst_base_transform_change_state):
26856         * gst/base/gstbasetransform.h:
26857         * gst/elements/gstidentity.c: (gst_identity_finalize),
26858         (gst_identity_class_init), (gst_identity_init),
26859         (gst_identity_event), (gst_identity_check_perfect),
26860         (gst_identity_transform), (gst_identity_set_property),
26861         (gst_identity_get_property), (gst_identity_change_state):
26862         * gst/elements/gstidentity.h:
26863         * gst/gstelement.c: (gst_element_get_state_func),
26864         (gst_element_lost_state), (gst_element_pads_activate):
26865         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26866         (gst_pad_check_pull_range), (gst_pad_pull_range):
26867         * gst/gstpad.h:
26868         Simplify pad activation.
26869         Added function to check if pull_range can be performed.
26870         Error out when pulling inactive or flushing pads.
26871         Removed const from refcounted types as it does not make sense.
26872         Simplify pad templates in basesink
26873         Added base class for simple 1-to-1 transforms.
26874         Make identity subclass the base transform.
26875
26876 2005-03-29  Andy Wingo  <wingo@pobox.com>
26877
26878         * docs/libs/gstreamer-libs-overrides.txt: 
26879         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
26880         really don't understand what's going on, but like whatever. I want
26881         green buildbot!
26882
26883         * docs/gst/Makefile.am:
26884         * docs/libs/Makefile.am: Dist the overrides files.
26885
26886         * check/Makefile.am (clean-local): Remove .libs directories.
26887
26888         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
26889         elements to EXTRA_DIST, so po/ files are happy.
26890
26891         * po/POTFILES.in: Er, remove it here.
26892
26893         * po/POTFILES: Remove gstspider.c.
26894
26895         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
26896
26897         * docs/libs/gstreamer-libs-docs.sgml: 
26898         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
26899         bytestream.
26900
26901         * tests/complexity.c (main): Set the length of the preroll queue
26902         on the sinks to prevent a lockup.
26903
26904         * libs/gst/dataprotocol/Makefile.am: 
26905         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
26906         the same as the one in check/gst-libs/gdp.c.
26907
26908         * po/, docs/gst/: Commit automatic changes to docs and po files.
26909
26910         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
26911         the versioned libgstbase.
26912
26913         * check/Makefile.am: Depend on an unversioned gst-register, seems
26914         to make autoconf happier.
26915
26916         * gst/base/Makefile.am: Make libgstbase a versioned lib.
26917
26918 2005-03-28  Wim Taymans  <wim@fluendo.com>
26919
26920         * configure.ac:
26921         * docs/design/part-gstelement.txt:
26922         * docs/design/part-negotiation.txt:
26923         * docs/design/part-preroll.txt:
26924         * docs/design/part-scheduling.txt:
26925         * docs/design/part-states.txt:
26926         * gst/Makefile.am:
26927         * gst/base/Makefile.am:
26928         * gst/base/README:
26929         * gst/base/gstbasesink.c: (gst_basesink_get_template),
26930         (gst_basesink_base_init), (gst_basesink_class_init),
26931         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
26932         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
26933         (gst_basesink_set_pad_functions),
26934         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
26935         (gst_basesink_set_property), (gst_basesink_get_property),
26936         (gst_base_sink_get_template), (gst_base_sink_get_caps),
26937         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
26938         (gst_basesink_preroll_queue_push),
26939         (gst_basesink_preroll_queue_empty),
26940         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
26941         (gst_basesink_event), (gst_basesink_get_times),
26942         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
26943         (gst_basesink_chain_unlocked), (gst_basesink_chain),
26944         (gst_basesink_loop), (gst_basesink_activate),
26945         (gst_basesink_change_state):
26946         * gst/base/gstbasesink.h:
26947         * gst/elements/Makefile.am:
26948         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
26949         (gst_fakesink_class_init), (gst_fakesink_init),
26950         (gst_fakesink_set_property), (gst_fakesink_get_property),
26951         (gst_fakesink_get_times), (gst_fakesink_event),
26952         (gst_fakesink_preroll), (gst_fakesink_render),
26953         (gst_fakesink_change_state):
26954         * gst/elements/gstfakesink.h:
26955         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26956         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
26957         * gst/gstelement.c: (gst_element_add_pad),
26958         (gst_element_get_state_func), (gst_element_abort_state),
26959         (gst_element_commit_state), (gst_element_lost_state),
26960         (gst_element_set_state), (gst_element_pads_activate):
26961         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
26962         * gst/gstpipeline.c: (gst_pipeline_send_event),
26963         (gst_pipeline_change_state):
26964         Added state change code.
26965         Added/updated docs.
26966         Added sink base class, make fakesink extend the base class.
26967         Small cleanups in GstPipeline.
26968
26969 2005-03-26  David Schleef  <ds@schleef.org>
26970
26971         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
26972         is broken and should be implemented in a different library.
26973         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
26974         * gst/gst.h: remove gstcpu.h
26975         * gst/gstcpu.c: remove
26976         * gst/gstcpu.h: remove
26977         * gst/Makefile.am.future: Remove this file.  It's ancient.
26978
26979 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26980
26981         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26982         (gst_bin_send_event):
26983           Add default event/set_manager handlers. The set_manager handler
26984           takes care that the manager is distributed over kids that were
26985           already in the bin before the manager was set. The event handler
26986           is a utility virtual function that sends the event over all sinks,
26987           so that gst_element_send_event (bin, event); has the expected
26988           behaviour.
26989         * gst/gstpad.c: (gst_pad_event_default):
26990           Re-install default event handling for discontinuities, so that
26991           seeking works without requiring hacks in applications or extra
26992           code in sinks.
26993         * gst/gstpipeline.c: (gst_pipeline_class_init),
26994         (gst_pipeline_send_event):
26995           Half hack, half utility: set a pipeline to PAUSED for seek events,
26996           since that is the only way we can guarantee a/v sync. Means that
26997           you can do gst_element_seek (pipeline, method, pos); on a pipeline
26998           and it "just works".
26999
27000 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27001
27002         * gst/gstpipeline.c: (gst_pipeline_use_clock):
27003           Lock/unlock mismatch.
27004
27005 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
27006
27007         * docs/faq/gst-uninstalled:
27008           add gst-plugins-base
27009         * docs/gst/Makefile.am:
27010           don't error out until docs are fixed
27011         * docs/gst/gstreamer.types:
27012           remove thread
27013
27014 2005-03-22  Wim Taymans  <wim@fluendo.com>
27015
27016         * check/Makefile.am:
27017         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
27018         * gst/gststructure.c: (gst_structure_set_valist),
27019         (gst_structure_copy_conditional):
27020         Activated more tests.
27021         Added message test.
27022         Added G_TYPE_POINTER to GstStructure.
27023         
27024
27025 2005-03-22  Wim Taymans  <wim@fluendo.com>
27026
27027         * docs/design/part-TODO.txt:
27028         * docs/design/part-events.txt:
27029         * docs/design/part-gstbin.txt:
27030         * docs/design/part-gstbus.txt:
27031         * docs/design/part-gstpipeline.txt:
27032         * docs/design/part-messages.txt:
27033         * gst/gstbus.c:
27034         * gst/gstmessage.c:
27035         Docs updates
27036
27037 2005-03-21  Wim Taymans  <wim@fluendo.com>
27038
27039         * gst/gstbus.c: (gst_bus_post):
27040         Fix copy-and-paste error.
27041
27042 2005-03-21  Wim Taymans  <wim@fluendo.com>
27043
27044         * check/Makefile.am:
27045         * gst/Makefile.am:
27046         * gst/elements/Makefile.am:
27047         * gst/elements/gstelements.c:
27048         * gst/elements/gstfakesink.c: (gst_fakesink_init),
27049         (gst_fakesink_event), (gst_fakesink_chain):
27050         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27051         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
27052         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
27053         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
27054         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27055         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
27056         (gst_fakesrc_loop), (gst_fakesrc_activate),
27057         (gst_fakesrc_change_state):
27058         * gst/elements/gstfakesrc.h:
27059         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
27060         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
27061         (gst_filesrc_open_file), (gst_filesrc_loop),
27062         (gst_filesrc_activate), (gst_filesrc_change_state),
27063         (filesrc_find_peek), (filesrc_find_suggest),
27064         (gst_filesrc_type_find):
27065         * gst/elements/gstidentity.c: (gst_identity_finalize),
27066         (gst_identity_class_init), (gst_identity_init),
27067         (gst_identity_proxy_getcaps), (identity_queue_push),
27068         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
27069         (gst_identity_getrange), (gst_identity_chain),
27070         (gst_identity_sink_loop), (gst_identity_src_loop),
27071         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
27072         (gst_identity_set_property), (gst_identity_get_property),
27073         (gst_identity_change_state):
27074         * gst/elements/gstidentity.h:
27075         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
27076         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
27077         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
27078         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
27079         (gst_tee_sink_activate):
27080         * gst/elements/gsttee.h:
27081         * gst/gst.c: (gst_register_core_elements), (init_post):
27082         * gst/gst.h:
27083         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
27084         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
27085         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
27086         (gst_bin_change_state):
27087         * gst/gstbin.h:
27088         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
27089         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
27090         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
27091         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
27092         (gst_bus_set_sync_handler), (gst_bus_create_watch),
27093         (bus_watch_callback), (bus_watch_destroy),
27094         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
27095         (poll_timeout), (gst_bus_poll):
27096         * gst/gstbus.h:
27097         * gst/gstcaps.h:
27098         * gst/gstdata.h:
27099         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27100         (gst_element_post_message), (gst_element_message_full),
27101         (gst_element_get_state_func), (gst_element_get_state),
27102         (gst_element_abort_state), (gst_element_commit_state),
27103         (gst_element_lost_state), (gst_element_set_state),
27104         (gst_element_pads_activate), (gst_element_change_state),
27105         (gst_element_dispose), (gst_element_set_manager_func),
27106         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
27107         (gst_element_set_manager), (gst_element_get_manager),
27108         (gst_element_set_bus), (gst_element_get_bus),
27109         (gst_element_set_scheduler), (gst_element_get_scheduler):
27110         * gst/gstelement.h:
27111         * gst/gstevent.c: (gst_event_new_segment_seek),
27112         (gst_event_new_flush):
27113         * gst/gstevent.h:
27114         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
27115         (_gst_message_free), (gst_message_get_type), (gst_message_new),
27116         (gst_message_new_eos), (gst_message_new_error),
27117         (gst_message_new_warning), (gst_message_new_tag),
27118         (gst_message_new_state_changed), (gst_message_new_application),
27119         (gst_message_get_structure), (gst_message_parse_tag),
27120         (gst_message_parse_state_changed), (gst_message_parse_error),
27121         (gst_message_parse_warning):
27122         * gst/gstmessage.h:
27123         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
27124         (gst_real_pad_set_property), (gst_pad_set_active),
27125         (gst_pad_is_active), (gst_pad_set_blocked_async),
27126         (gst_pad_set_blocked), (gst_pad_is_blocked),
27127         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
27128         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
27129         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
27130         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
27131         (gst_pad_link_filtered), (gst_pad_relink_filtered),
27132         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
27133         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
27134         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
27135         (gst_pad_set_caps), (gst_pad_configure_sink),
27136         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
27137         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
27138         (gst_real_pad_dispose), (gst_real_pad_finalize),
27139         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
27140         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27141         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
27142         * gst/gstpad.h:
27143         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
27144         (pipeline_bus_handler), (gst_pipeline_change_state),
27145         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
27146         * gst/gstpipeline.h:
27147         * gst/gstprobe.h:
27148         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
27149         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
27150         (gst_queue_link_src), (gst_queue_bufferalloc),
27151         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
27152         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
27153         (gst_queue_loop), (gst_queue_handle_src_event),
27154         (gst_queue_handle_src_query), (gst_queue_src_activate),
27155         (gst_queue_change_state):
27156         * gst/gstqueue.h:
27157         * gst/gstscheduler.c: (gst_scheduler_init),
27158         (gst_scheduler_dispose), (gst_scheduler_create_task),
27159         (gst_scheduler_factory_create):
27160         * gst/gstscheduler.h:
27161         * gst/gststructure.c: (gst_structure_get_type),
27162         (gst_structure_copy_conditional):
27163         * gst/gststructure.h:
27164         * gst/gsttaginterface.h:
27165         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27166         (gst_task_init), (gst_task_dispose), (gst_task_create),
27167         (gst_task_get_state), (gst_task_start), (gst_task_stop),
27168         (gst_task_pause):
27169         * gst/gsttask.h:
27170         * gst/gstthread.c:
27171         * gst/gstthread.h:
27172         * gst/gsttypes.h:
27173         * gst/schedulers/Makefile.am:
27174         * gst/schedulers/cothreads_compat.h:
27175         * gst/schedulers/entryscheduler.c:
27176         * gst/schedulers/faircothreads.c:
27177         * gst/schedulers/faircothreads.h:
27178         * gst/schedulers/fairscheduler.c:
27179         * gst/schedulers/gstbasicscheduler.c:
27180         * gst/schedulers/gstoptimalscheduler.c:
27181         * gst/schedulers/gthread-cothreads.h:
27182         * gst/schedulers/threadscheduler.c:
27183         (gst_thread_scheduler_task_get_type),
27184         (gst_thread_scheduler_task_class_init),
27185         (gst_thread_scheduler_task_init),
27186         (gst_thread_scheduler_task_start),
27187         (gst_thread_scheduler_task_stop),
27188         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
27189         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27190         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
27191         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
27192         (plugin_init):
27193         * libs/gst/Makefile.am:
27194         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
27195         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
27196         (gst_file_pad_parent_set):
27197         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27198         (gst_dp_event_from_packet):
27199         * tests/complexity.c: (main):
27200         * tests/mass_elements.c: (main):
27201         * testsuite/states/locked.c: (message_received), (main):
27202         * testsuite/states/parent.c: (main):
27203         * tools/gst-inspect.c: (print_element_flag_info),
27204         (print_implementation_info), (print_pad_info):
27205         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
27206         (main):
27207         * tools/gst-md5sum.c: (event_loop), (main):
27208         * tools/gst-typefind.c: (main):
27209         * tools/gst-xmlinspect.c: (print_element_info):
27210         Next big merge.
27211         Added GstBus for mainloop integration.
27212         Added GstMessage for sending notifications on the bus.
27213         Added GstTask as an abstraction for pipeline entry points.
27214         Removed GstThread.
27215         Removed Schedulers.
27216         Simplified GstQueue for multithreaded core.
27217         Made _link threadsafe, removed old capsnego.
27218         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
27219         Added pad blocking functions.
27220         Reworked scheduling functions in GstPad to prepare for
27221         scheduling updates soon.
27222         Moved events out of data stream.
27223         Simplified GstEvent types.
27224         Added return values to push/pull.
27225         Removed clocking from GstElement.
27226         Added prototypes for state change function for next merge.
27227         Removed iterate from bins and state change management.
27228         Fixed some elements, disabled others for now.
27229         Fixed -inspect and -launch.
27230         Added check for GstBus.
27231
27232 2005-03-10  Wim Taymans  <wim@fluendo.com>
27233
27234         * docs/design/part-MT-refcounting.txt:
27235         * docs/design/part-clocks.txt:
27236         * docs/design/part-gstelement.txt:
27237         * docs/design/part-gstobject.txt:
27238         * docs/design/part-standards.txt:
27239         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27240         (gst_bin_remove_func), (gst_bin_remove):
27241         * gst/gstbin.h:
27242         * gst/gstbuffer.c:
27243         * gst/gstcaps.h:
27244         * testsuite/clock/clock1.c: (main):
27245         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
27246         (main):
27247         * testsuite/dlopen/loadgst.c: (do_test):
27248         * testsuite/refcounting/bin.c: (add_remove_test1),
27249         (add_remove_test2), (main):
27250         * testsuite/refcounting/element.c: (main):
27251         * testsuite/refcounting/element_pad.c: (main):
27252         * testsuite/refcounting/pad.c: (main):
27253         * tools/gst-launch.c: (sigint_handler_sighandler):
27254         * tools/gst-typefind.c: (main):
27255         Doc updates.
27256         Added doc about clock.
27257         removed gst_bin_iterate_recurse_up(), marked methods
27258         for removal.
27259         Fix more testsuites.
27260
27261 2005-03-09  Wim Taymans  <wim@fluendo.com>
27262
27263         * gst/gstpad.c: (gst_pad_get_direction),
27264         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
27265         (gst_pad_collect_valist):
27266         * testsuite/bins/interface.c: (main):
27267         * testsuite/caps/audioscale.c: (test_caps):
27268         * testsuite/caps/caps.c: (test1), (test2), (test3):
27269         * testsuite/caps/deserialize.c: (main):
27270         * testsuite/caps/enumcaps.c: (main):
27271         * testsuite/caps/filtercaps.c: (main):
27272         * testsuite/caps/intersect2.c: (main):
27273         * testsuite/caps/random.c: (main):
27274         * testsuite/caps/renegotiate.c: (my_fixate), (main):
27275         * testsuite/caps/sets.c: (check_caps):
27276         * testsuite/caps/simplify.c: (check_caps), (main):
27277         * testsuite/caps/subtract.c: (check_caps):
27278         Fix _pad_get_direction wrt ghostpads.
27279         Fix caps testsuite.
27280
27281 2005-03-09  Wim Taymans  <wim@fluendo.com>
27282
27283         * check/Makefile.am:
27284         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
27285         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
27286         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
27287         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
27288         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
27289         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
27290         (gst_bin_remove), (gst_bin_iterate_recurse_up),
27291         (bin_element_is_sink), (gst_bin_iterate_sinks),
27292         (gst_bin_iterate_all_by_interface):
27293         * gst/gstbin.h:
27294         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
27295         (gst_element_change_state), (gst_element_dispose),
27296         (gst_element_finalize), (gst_element_set_loop_function):
27297         * gst/gstelement.h:
27298         * gst/gstiterator.c: (find_custom_fold_func):
27299         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27300         (gst_pad_collectv), (gst_pad_collect_valist),
27301         (gst_pad_template_new):
27302         * gst/gstpipeline.c: (gst_pipeline_class_init),
27303         (gst_pipeline_dispose), (gst_pipeline_set_property),
27304         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
27305         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
27306         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
27307         * gst/gstutils.h:
27308         * gst/schedulers/entryscheduler.c:
27309         * gst/schedulers/gstbasicscheduler.c:
27310         (gst_basic_scheduler_cothreaded_chain),
27311         (gst_basic_scheduler_chain_add_element):
27312         * testsuite/bins/interface.c: (main):
27313         Added GstBin test.
27314         Added GstSystemClock test.
27315         Implemented clock distribution code in GstBin.
27316         Implemented iterate sinks method for future use.
27317         Rearranged gstelement.h
27318         Fix GstIterator comparison bug.
27319         Moved some code to GstPipeline, mostly clocking related.
27320
27321 2005-03-09  Wim Taymans  <wim@fluendo.com>
27322
27323         * configure.ac:
27324         * gst/gst_private.h:
27325         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27326         (gst_bin_remove_func), (gst_bin_remove),
27327         (gst_bin_get_by_name_recurse_up):
27328         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
27329         (gst_clock_id_compare_func), (gst_clock_id_wait),
27330         (gst_clock_id_wait_async), (gst_clock_init),
27331         (gst_clock_adjust_unlocked), (gst_clock_get_time):
27332         * gst/gstelement.h:
27333         * gst/gstinfo.c: (_gst_debug_init):
27334         * gst/gstobject.h:
27335         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27336         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
27337         * gst/gstpad.h:
27338         Bump version number, we're now 0.9.0
27339         Add future debugging category.
27340         Fix NULL _unref() in _get_by_name_recurse_up
27341         Rearrange gstpad.h.
27342         Update some docs.
27343
27344 2005-03-08  Wim Taymans  <wim@fluendo.com>
27345
27346         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
27347         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
27348         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27349         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
27350         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
27351         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
27352         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
27353         * gst/elements/gstidentity.c: (gst_identity_class_init):
27354         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
27355         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
27356         * gst/elements/gstshaper.c: (gst_shaper_class_init):
27357         * gst/elements/gststatistics.c: (gst_statistics_class_init):
27358         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
27359         (gst_tee_link):
27360         * gst/gstelement.c: (gst_element_class_init),
27361         (gst_element_base_class_init), (gst_element_init),
27362         (gst_element_get_random_pad), (gst_element_wait_state_change),
27363         (gst_element_change_state), (gst_element_dispose),
27364         (gst_element_finalize), (gst_element_set_loop_function):
27365         * gst/gstelement.h:
27366         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
27367         * gst/gstthread.c: (gst_thread_class_init),
27368         (gst_thread_release_children_locks), (gst_thread_change_state):
27369         * gst/schedulers/gstbasicscheduler.c:
27370         (gst_basic_scheduler_loopfunc_wrapper),
27371         (gst_basic_scheduler_chain_wrapper),
27372         (gst_basic_scheduler_src_wrapper),
27373         (gst_basic_scheduler_remove_element):
27374         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
27375         Remove threadsafe properties. Fix elements because GObject
27376         complains when installing a property before declaring a
27377         set/get_property handler.
27378         Rearrange gstelement.h file, use STATE macros for state locks.
27379         Free mutexes in the finalize method instead of dispose.
27380
27381 2005-03-08  Wim Taymans  <wim@fluendo.com>
27382
27383         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27384         * gst/gstthread.c: (gst_thread_release_children_locks):
27385         Added parentage check.
27386         Fix build og GstThread again.
27387
27388 2005-03-08  Wim Taymans  <wim@fluendo.com>
27389
27390         * docs/design/part-MT-refcounting.txt:
27391         * docs/design/part-conventions.txt:
27392         * docs/design/part-gstobject.txt:
27393         * docs/design/part-relations.txt:
27394         * docs/design/part-standards.txt:
27395         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27396         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
27397         (gst_bin_get_by_name), (gst_bin_get_by_interface),
27398         (gst_bin_iterate_all_by_interface):
27399         * gst/gstbuffer.h:
27400         * gst/gstclock.h:
27401         * gst/gstelement.c: (gst_element_class_init),
27402         (gst_element_change_state), (gst_element_set_loop_function):
27403         * gst/gstelement.h:
27404         * gst/gstiterator.c:
27405         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
27406         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
27407         (gst_object_dispatch_properties_changed), (gst_object_set_name),
27408         (gst_object_set_parent), (gst_object_unparent),
27409         (gst_object_check_uniqueness):
27410         * gst/gstobject.h:
27411         Docs updates, clean up some headers.
27412
27413 2005-03-07  Wim Taymans  <wim@fluendo.com>
27414
27415         * check/.cvsignore:
27416         * check/Makefile.am:
27417         * check/gst-libs/.cvsignore:
27418         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
27419         * check/gst/.cvsignore:
27420         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
27421         (START_TEST), (gstbus_suite), (main):
27422         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
27423         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
27424         (gst_data_suite), (main):
27425         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
27426         (add_fold_func), (gstiterator_suite), (main):
27427         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
27428         (thread_name_object), (thread_name_object_default),
27429         (gst_object_name_compare), (gst_object_suite), (main):
27430         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
27431         (gst_pad_suite), (main):
27432         * check/gstcheck.c: (gst_check_log_message_func),
27433         (gst_check_log_critical_func), (gst_check_init):
27434         * check/gstcheck.h:
27435         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
27436         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
27437         Added checks.
27438
27439 2005-03-07  Wim Taymans  <wim@fluendo.com>
27440
27441         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
27442         (gst_list_iterator_next), (gst_list_iterator_resync),
27443         (gst_list_iterator_free), (gst_iterator_new_list),
27444         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
27445         (gst_iterator_free), (gst_iterator_push), (filter_next),
27446         (filter_resync), (filter_uninit), (filter_free),
27447         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
27448         (gst_iterator_foreach), (find_custom_fold_func),
27449         (gst_iterator_find_custom):
27450         * gst/gstiterator.h:
27451         Added missing files.
27452
27453 2005-03-07  Wim Taymans  <wim@fluendo.com>
27454
27455         * Makefile.am:
27456         * configure.ac:
27457         * docs/design/part-MT-refcounting.txt:
27458         * docs/design/part-conventions.txt:
27459         * docs/design/part-gstobject.txt:
27460         * docs/design/part-relations.txt:
27461         * examples/mixer/mixer.c: (main):
27462         * examples/thread/thread.c: (eos), (main):
27463         * gst/Makefile.am:
27464         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
27465         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
27466         (gst_spider_plug_from_srcpad):
27467         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
27468         (gst_spider_identity_change_state),
27469         (gst_spider_identity_sink_loop_type_finding):
27470         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
27471         * gst/elements/gstidentity.c: (gst_identity_init):
27472         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
27473         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
27474         * gst/elements/gsttypefindelement.c: (free_entry):
27475         * gst/gst.c:
27476         * gst/gst.h:
27477         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
27478         (gst_bin_set_clock_func), (gst_bin_auto_clock),
27479         (gst_bin_set_index), (gst_bin_set_element_sched),
27480         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
27481         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
27482         (gst_bin_iterate_elements), (iterate_child_recurse),
27483         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
27484         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
27485         (compare_interface), (gst_bin_get_by_interface),
27486         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
27487         * gst/gstbin.h:
27488         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
27489         (gst_buffer_default_free), (gst_buffer_default_copy),
27490         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
27491         (gst_buffer_create_sub):
27492         * gst/gstbuffer.h:
27493         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
27494         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
27495         (gst_caps_unref), (gst_static_caps_get),
27496         (gst_caps_remove_and_get_structure), (gst_caps_append),
27497         (gst_caps_append_structure), (gst_caps_remove_structure),
27498         (gst_caps_copy_nth), (gst_caps_set_simple),
27499         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
27500         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
27501         (gst_caps_structure_intersect_field), (gst_caps_intersect),
27502         (gst_caps_structure_subtract_field), (gst_caps_subtract),
27503         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
27504         (gst_caps_structure_figure_out_union),
27505         (gst_caps_switch_structures), (gst_caps_do_simplify),
27506         (gst_caps_replace), (gst_caps_from_string),
27507         (gst_caps_copy_conditional):
27508         * gst/gstcaps.h:
27509         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
27510         (_gst_clock_id_free), (gst_clock_id_unref),
27511         (gst_clock_id_compare_func), (gst_clock_id_wait),
27512         (gst_clock_id_wait_async), (gst_clock_class_init),
27513         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
27514         (gst_clock_get_time), (gst_clock_set_time_adjust),
27515         (gst_clock_set_property), (gst_clock_get_property):
27516         * gst/gstclock.h:
27517         * gst/gstcompat.h:
27518         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
27519         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
27520         * gst/gstdata.h:
27521         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27522         (gst_element_requires_clock), (gst_element_provides_clock),
27523         (gst_element_set_clock), (gst_element_clock_wait),
27524         (gst_element_wait), (gst_element_set_time_delay),
27525         (gst_element_is_indexable), (gst_element_add_pad),
27526         (gst_element_add_ghost_pad), (gst_element_remove_pad),
27527         (pad_compare_name), (gst_element_get_static_pad),
27528         (gst_element_request_pad), (gst_element_get_request_pad),
27529         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
27530         (gst_element_class_get_pad_template_list),
27531         (gst_element_class_get_pad_template), (gst_element_error_func),
27532         (gst_element_get_random_pad), (gst_element_get_event_masks),
27533         (gst_element_send_event), (gst_element_seek),
27534         (gst_element_get_query_types), (gst_element_query),
27535         (gst_element_get_formats), (gst_element_convert),
27536         (gst_element_is_locked_state), (gst_element_set_locked_state),
27537         (gst_element_sync_state_with_parent), (gst_element_change_state),
27538         (gst_element_finalize), (gst_element_yield),
27539         (gst_element_interrupt), (gst_element_set_scheduler),
27540         (gst_element_get_scheduler), (gst_element_set_loop_function):
27541         * gst/gstelement.h:
27542         * gst/gstevent.h:
27543         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
27544         (gst_format_get_by_nick), (gst_format_get_details),
27545         (gst_format_iterate_definitions):
27546         * gst/gstformat.h:
27547         * gst/gstindex.c: (gst_index_gtype_resolver):
27548         * gst/gstinfo.c:
27549         * gst/gstinfo.h:
27550         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
27551         (gst_mem_chunk_free):
27552         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
27553         (gst_object_ref), (gst_object_unref), (gst_object_sink),
27554         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
27555         (gst_object_dispatch_properties_changed),
27556         (gst_object_set_name_default), (gst_object_set_name),
27557         (gst_object_get_name), (gst_object_set_name_prefix),
27558         (gst_object_get_name_prefix), (gst_object_set_parent),
27559         (gst_object_get_parent), (gst_object_unparent),
27560         (gst_object_check_uniqueness), (gst_object_save_thyself),
27561         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
27562         (gst_object_set_property), (gst_object_get_property),
27563         (gst_object_get_path_string):
27564         * gst/gstobject.h:
27565         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27566         (gst_real_pad_init), (gst_real_pad_get_property),
27567         (gst_pad_custom_new), (gst_pad_get_direction),
27568         (gst_pad_set_active), (gst_pad_is_active),
27569         (gst_pad_set_event_function), (gst_pad_is_linked),
27570         (gst_pad_link_free), (gst_pad_link_intersect),
27571         (gst_pad_link_fixate), (gst_pad_set_caps),
27572         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
27573         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
27574         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
27575         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
27576         (gst_pad_get_caps), (gst_pad_peer_get_caps),
27577         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
27578         (gst_pad_realize), (gst_pad_get_allowed_caps),
27579         (gst_real_pad_dispose), (gst_real_pad_finalize),
27580         (gst_pad_collectv), (gst_pad_collect_valist),
27581         (gst_pad_template_dispose), (gst_pad_template_new),
27582         (gst_pad_get_internal_links):
27583         * gst/gstpad.h:
27584         * gst/gstpipeline.c: (gst_pipeline_dispose),
27585         (gst_pipeline_change_state):
27586         * gst/gstpipeline.h:
27587         * gst/gstplugin.c:
27588         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
27589         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
27590         * gst/gstpluginfeature.h:
27591         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
27592         * gst/gstquery.c: (_gst_query_type_initialize),
27593         (gst_query_type_register), (gst_query_type_get_by_nick),
27594         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
27595         * gst/gstquery.h:
27596         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
27597         * gst/gstscheduler.c: (gst_scheduler_add_element),
27598         (gst_scheduler_factory_create):
27599         * gst/gststructure.c: (gst_structure_set_parent_refcount),
27600         (gst_structure_free), (gst_structure_set_name),
27601         (gst_structure_id_set_value), (gst_structure_set_value),
27602         (gst_structure_set_valist), (gst_structure_remove_field),
27603         (gst_structure_remove_fields),
27604         (gst_structure_remove_fields_valist),
27605         (gst_structure_remove_all_fields), (gst_structure_foreach),
27606         (gst_structure_map_in_place),
27607         (gst_caps_structure_fixate_field_nearest_int),
27608         (gst_caps_structure_fixate_field_nearest_double):
27609         * gst/gststructure.h:
27610         * gst/gstsystemclock.c: (gst_system_clock_class_init),
27611         (gst_system_clock_init), (gst_system_clock_dispose),
27612         (gst_system_clock_async_thread),
27613         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
27614         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
27615         * gst/gstsystemclock.h:
27616         * gst/gsttag.c: (gst_tag_list_add_value_internal),
27617         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
27618         * gst/gsttaginterface.c:
27619         * gst/gstthread.c: (gst_thread_dispose),
27620         (gst_thread_release_children_locks), (gst_thread_change_state),
27621         (gst_thread_main_loop):
27622         * gst/gsttrashstack.h:
27623         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
27624         * gst/gsttypes.h:
27625         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27626         (gst_element_request_pad), (gst_element_get_pad_from_template),
27627         (gst_element_request_compatible_pad),
27628         (gst_element_get_compatible_pad_filtered),
27629         (gst_element_get_compatible_pad), (gst_element_state_get_name),
27630         (gst_element_link_pads_filtered), (gst_element_link_filtered),
27631         (gst_element_link_many), (gst_element_link),
27632         (gst_element_link_pads), (gst_element_unlink_pads),
27633         (gst_element_unlink_many), (gst_element_unlink),
27634         (gst_pad_can_link_filtered), (gst_pad_can_link),
27635         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
27636         (gst_object_default_error), (gst_bin_add_many),
27637         (gst_bin_remove_many), (gst_element_populate_std_props),
27638         (gst_element_class_install_std_props), (gst_buffer_merge),
27639         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
27640         (link_fold_func), (gst_pad_proxy_setcaps):
27641         * gst/gstutils.h:
27642         * gst/gstvalue.c: (gst_value_deserialize_string):
27643         * gst/parse/grammar.y:
27644         * gst/schedulers/gstbasicscheduler.c:
27645         (gst_basic_scheduler_cothreaded_chain),
27646         (gst_basic_scheduler_chain_recursive_add),
27647         (gst_basic_scheduler_pad_link):
27648         * gst/schedulers/gstoptimalscheduler.c:
27649         (get_group_schedule_function),
27650         (gst_opt_scheduler_state_transition),
27651         (gst_opt_scheduler_add_element), (element_get_reachables_func):
27652         * libs/gst/bytestream/bytestream.c:
27653         * libs/gst/dataprotocol/dataprotocol.c:
27654         (gst_dp_header_from_buffer):
27655         * po/nb.po:
27656         * po/ru.po:
27657         * tests/threadstate/threadstate2.c: (eos):
27658         * tools/gst-compprep.c: (main):
27659         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
27660         (print_pad_info), (print_children_info):
27661         * tools/gst-launch.c: (idle_func), (main):
27662         * tools/gst-md5sum.c: (idle_func), (main):
27663         * tools/gst-xmlinspect.c: (print_element_info):
27664         First THREADED backport attempt, focusing on adding locks and
27665         making sure the API is threadsafe. Needs more work. More docs
27666         follow this week.
27667
27668 2005-02-24  Andy Wingo  <wingo@pobox.com>
27669
27670         * tests/bench-complexity.scm:
27671         * tests/complexity.gnuplot: New files, good for running complexity
27672         benchmarks.
27673
27674         * tests/Makefile.am:
27675         * tests/complexity.c: New test, sets up N elements, at each level
27676         teeing into M streams per element. Eeeenteresting.
27677
27678         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
27679         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
27680         running bench-mass_elements.scm.
27681
27682         * tests/bench-mass_elements.scm: New script, runs mass_elements
27683         for various numbers of identities, outputting the results to a
27684         file. Requires guile 1.6. Just for testing.
27685
27686 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27687
27688         * gst/schedulers/fairscheduler.c:
27689           compile with debug disabled
27690
27691 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27692
27693         * configure.ac:
27694           hunting season on 0.9 is now OPEN