e5e8149941e3828729568c9f0fb574c89a4fed7e
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2
3         * gst/gstelementfactory.h:
4         * tests/check/elements/fakesink.c:
5         * tests/check/elements/fakesrc.c: (setup_fakesrc):
6         * tests/check/elements/fdsrc.c: (setup_fdsrc):
7         * tests/check/elements/filesink.c: (setup_filesink):
8         * tests/check/elements/filesrc.c: (setup_filesrc):
9         * tests/check/elements/identity.c: (setup_identity):
10         * tests/check/elements/tee.c:
11         * tests/check/generic/sinks.c:
12         * tests/check/generic/states.c: (setup), (teardown):
13         * tests/check/gst/gst.c:
14         * tests/check/gst/gstabi.c:
15         * tests/check/gst/gstbin.c:
16         * tests/check/gst/gstbus.c: (pull_messages):
17         * tests/check/gst/gstcaps.c:
18         * tests/check/gst/gstelement.c:
19         * tests/check/gst/gstevent.c:
20         * tests/check/gst/gstghostpad.c:
21         * tests/check/gst/gstiterator.c:
22         * tests/check/gst/gstmessage.c:
23         * tests/check/gst/gstminiobject.c: (my_foo_init):
24         * tests/check/gst/gstobject.c: (thread_name_object),
25         (gst_object_suite):
26         * tests/check/gst/gstpad.c:
27         * tests/check/gst/gstplugin.c:
28         * tests/check/gst/gstpoll.c:
29         * tests/check/gst/gstquery.c:
30         * tests/check/gst/gstsegment.c:
31         * tests/check/gst/gststructure.c:
32         * tests/check/gst/gstsystemclock.c:
33         * tests/check/gst/gsttask.c:
34         * tests/check/gst/gstutils.c:
35         * tests/check/gst/gstvalue.c:
36         * tests/check/gst/struct_hppa.h:
37         * tests/check/gst/struct_i386.h:
38         * tests/check/gst/struct_ppc32.h:
39         * tests/check/gst/struct_ppc64.h:
40         * tests/check/gst/struct_x86_64.h:
41         * tests/check/libs/adapter.c: (create_and_fill_adapter):
42         * tests/check/libs/basesrc.c:
43         * tests/check/libs/controller.c: (GST_START_TEST):
44         * tests/check/libs/gdp.c:
45         * tests/check/libs/gstnetclientclock.c:
46         * tests/check/libs/gstnettimeprovider.c:
47         * tests/check/libs/libsabi.c:
48         * tests/check/libs/struct_hppa.h:
49         * tests/check/libs/struct_i386.h:
50         * tests/check/libs/struct_ppc32.h:
51         * tests/check/libs/struct_ppc64.h:
52         * tests/check/libs/struct_x86_64.h:
53         * tests/check/pipelines/cleanup.c:
54         * tests/check/pipelines/simple-launch-lines.c:
55         * tests/check/pipelines/stress.c:
56         And correct even more valid sparse warnings.
57
58         * win32/common/libgstreamer.def:
59         Add gst_poll_fd_init to the list of symbols.
60
61 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
62
63         * gst/gstconfig.h.in:
64         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
65         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
66         (gst_check_log_critical_func), (gst_check_drop_buffers),
67         (gst_check_element_push_buffer_list):
68         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
69         (gst_controller_get_type):
70         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
71         (gst_object_get_controller), (gst_object_get_control_source):
72         * libs/gst/controller/gstinterpolationcontrolsource.c:
73         (gst_interpolation_control_source_new):
74         * libs/gst/controller/gstlfocontrolsource.c:
75         (gst_lfo_control_source_new):
76         * libs/gst/dataprotocol/dataprotocol.c:
77         (gst_dp_event_from_packet_0_2):
78         * plugins/elements/gstfdsrc.c:
79         * plugins/elements/gstmultiqueue.c:
80         * plugins/elements/gsttee.c:
81         * plugins/elements/gsttypefindelement.c:
82         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
83         (gst_file_index_add_association):
84         * plugins/indexers/gstmemindex.c:
85         * tests/benchmarks/gstpollstress.c: (mess_some_more):
86         * tests/check/elements/queue.c: (setup_queue):
87         * tests/check/gst/gstpipeline.c:
88         * tests/check/libs/collectpads.c: (setup), (teardown),
89         (gst_collect_pads_suite):
90         * tests/examples/adapter/adapter_test.c:
91         * tests/examples/metadata/read-metadata.c: (make_pipeline):
92         * tests/examples/xml/createxml.c:
93         * tests/examples/xml/runxml.c:
94         * tools/gst-inspect.c:
95         * tools/gst-run.c:
96         Correct all relevant warnings found by the sparse semantic code
97         analyzer. This include marking several symbols static, using
98         NULL instead of 0 for pointers, not using variable sized arrays
99         on the stack, moving variable declarations to the beginning of
100         a block and using "foo (void)" instead of "foo ()" for declarations.
101
102 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
103
104         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
105         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
106         Don't reset GstPollFDs, this is not necessary at all.
107
108         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
109         (delayed_restart), (delayed_control):
110         Use GST_POLL_FD_INIT.
111
112 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
113
114         * gst/gstpoll.c: (gst_poll_fd_init):
115         * gst/gstpoll.h:
116         Added Since tags.
117
118         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
119         Use some more init macros.
120
121 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
122
123         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
124         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
125         Use init macros and functions.
126
127 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
128
129         * docs/gst/gstreamer-sections.txt:
130         * gst/gstpoll.c: (gst_poll_fd_init):
131         * gst/gstpoll.h:
132         Add INIT macro and _init method for initializing the GstPollFD.
133
134 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
135
136         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
137         (gst_fd_sink_update_fd):
138         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
139         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
140         (delayed_restart), (delayed_control):
141         Initialize some uninitialized variables as spotted by valgrind.
142
143 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
144
145         * tests/benchmarks/Makefile.am:
146         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
147         (main):
148         Add poll stress test.
149
150 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
151
152         Patch by: Peter Kjellerstedt <pkj at axis dot com>
153
154         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
155         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
156         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
157         * plugins/elements/gstfdsink.h:
158         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
159         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
160         (gst_fd_src_unlock_stop), (gst_fd_src_create),
161         (gst_fd_src_uri_set_uri):
162         * plugins/elements/gstfdsrc.h:
163         Port to GstPoll. See #505417.
164
165 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
166
167         * win32/common/libgstreamer.def:
168         Add new gst_poll_ symbols to win32 defs.
169
170 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
171
172         * docs/libs/gstreamer-libs-sections.txt:
173         * libs/gst/net/gstnetclientclock.c:
174         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
175         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
176         (gst_net_client_clock_thread), (gst_net_client_clock_start),
177         (gst_net_client_clock_stop), (gst_net_client_clock_new):
178         * libs/gst/net/gstnetclientclock.h:
179         * libs/gst/net/gstnettimeprovider.c:
180         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
181         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
182         (gst_net_time_provider_start), (gst_net_time_provider_stop),
183         (gst_net_time_provider_new):
184         * libs/gst/net/gstnettimeprovider.h:
185         Use a private stuct to not break ABI.
186
187 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
188
189         Patch by: Peter Kjellerstedt <pkj at axis dot com>
190
191         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
192         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
193         (gst_net_client_clock_thread), (gst_net_client_clock_start),
194         (gst_net_client_clock_stop), (gst_net_client_clock_new):
195         * libs/gst/net/gstnetclientclock.h:
196         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
197         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
198         (gst_net_time_provider_start), (gst_net_time_provider_stop),
199         (gst_net_time_provider_new):
200         * libs/gst/net/gstnettimeprovider.h:
201         Massive code removal and cleanups because of GstPoll.
202         Fixes #505417.
203
204 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
205
206         * configure.ac:
207         Add checks for poll, ppoll and pselect.
208
209         * docs/gst/gstreamer-docs.sgml:
210         * docs/gst/gstreamer-sections.txt:
211         Add docs for GstPoll.
212
213         * gst/Makefile.am:
214         * gst/gst.h:
215         * gst/gstpoll.c: (find_index), (selectable_fds),
216         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
217         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
218         (gst_poll_set_mode), (gst_poll_get_mode),
219         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
220         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
221         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
222         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
223         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
224         (gst_poll_fd_can_write), (gst_poll_wait),
225         (gst_poll_set_controllable), (gst_poll_restart),
226         (gst_poll_set_flushing):
227         * gst/gstpoll.h:
228         Add generic poll abstraction. We ideally don't want to have this in core
229         here but in glib intead...
230         This code will be used in various network elements and ultimately for
231         the nanosecond precision monotonic clock (that's why it's here in core).
232         It'll allow us to implement cancelable socket operations for windows too.
233
234         * tests/check/Makefile.am:
235         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
236         (delayed_stop), (delayed_restart), (delayed_flush),
237         (delayed_control), (gst_poll_suite):
238         Add GstPoll unit test.
239
240 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
241
242         * gst/gstfilter.c:
243           Improve documentation of gst_filter_run(). Fixes #518627.
244
245 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
246
247         * docs/README:
248           Add a few lines about the new 'check-inspected-versions' target.
249
250 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
251
252         * tests/check/gst/gstevent.c:
253           Add qos to the event test. Rename tcase/tsuite; is not only about
254           custom events.
255
256 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
257
258         * plugins/elements/gstqueue.c:
259           Ensure that buffer metadata is writeable, before modifying. Spotted by
260           Mike.
261
262 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
263
264         * plugins/elements/gstqueue.c:
265         * plugins/elements/gstqueue.h:
266           When dropping buffers in leaky modes, mark next buffers we sent as
267           DISCONT.
268
269 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
270
271         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
272           Also, if mmap() fails that would be a READ error, not OPEN_READ.
273
274 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
275
276         * plugins/elements/Makefile.am:
277         * plugins/elements/gstbufferstore.c:
278         * plugins/elements/gstbufferstore.h:
279         * plugins/elements/gsttypefindelement.h:
280           Remove GstBufferStore, no idea why we were still building it.
281           It's not used anywhere and superseded by GstAdapter.
282
283         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
284           (gst_file_src_create_mmap):
285         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
286           Printf format fixes for 64-bit integers.
287
288 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
289
290         * configure.ac:
291         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
292         We're not in 0.8 times anymore.
293
294 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
295
296         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
297         (gst_check_element_push_buffer_list):
298         * libs/gst/check/gstcheck.h:
299         Make the declaration in the header for
300         gst_check_element_push_buffer_list match the implementation.
301
302         Fix up spelling, grammar and wording of the documentation in a few
303         places, and add the Since keyword to new API functions.
304         Use g_list_delete_link instead of g_list_remove in
305         gst_check_drop_buffers, since it's immeasurably more efficient.
306
307         * tests/check/elements/fakesrc.c: (GST_START_TEST):
308         Use new gst_check_drop_buffers function where appropriate.
309
310         * win32/common/libgstbase.def:
311         * win32/common/libgstreamer.def:
312         Add new symbols gst_collect_pads_take_buffer, 
313         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
314         exports
315
316         Changelog surgery to add API keyword to new gst_check API.
317
318 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
319
320         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
321         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
322         Update pre-generated flex files with flex 2.3.34.
323
324 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
325
326         * gst/gstminiobject.c:
327           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
328           friendly to subclasses and not require them to know all internals
329           of their parent class.
330
331 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
332
333         * docs/libs/gstreamer-libs-sections.txt:
334         * libs/gst/base/gstcollectpads.c:
335         * libs/gst/base/gstcollectpads.h:
336           Add sub-buffer functions to collectpads. Fixes #516187.
337           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
338
339 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
340
341         * gst/gstbuffer.c:
342           Copy selected buffer-flags when creating subbuffers.
343           Fixes #516395.
344
345 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
346
347         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
348         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
349         * gst/gstmessage.c: (gst_message_class_init),
350         (gst_message_finalize):
351         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
352         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
353         (gst_mmap_buffer_finalize):
354         Properly chain up finalize functions to the parent class.
355
356 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
357
358         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
359
360         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
361         (gst_index_set_resolver_full):
362         * gst/gstindex.h:
363         Add new function with option to dispose of user_data in resolver.
364         Actually call the dispose function when finalizing the object and not
365         just when changing the resolver/filter.
366         API: GstIndex::gst_index_set_resolver_full()
367
368         * docs/gst/gstreamer-sections.txt:
369         Add new function to docs. Fixes #515469.
370
371 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
372
373         * gst/gstindex.c: (gst_index_finalize):
374         Chain up finalize to the parent class. Fixes leaking the GstObject
375         name and other things.
376
377 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
378
379         * configure.ac:
380         Make DISABLE_DEPRECATED defined *only* during CVS, not during
381         pre-releases or releases.
382
383         * docs/faq/gst-uninstalled:
384         Add gst-plugins-gl
385
386         * docs/random/release:
387         Change one of the steps - we only upload core & base to Gnome FTP
388
389 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
390
391         * gst/gstconfig.h.in:
392           Add 'id' for example.
393
394         * gst/gstpad.c:
395         * gst/gstutils.c:
396         * plugins/elements/gstfdsink.c:
397           Link to signals. Doc and comment fixes.
398
399 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
400
401         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
402         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
403           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
404           unused and unimplemented; finally, it is plugin features, not
405           plugins, that have ranks.
406           
407 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
408
409         * gst/gstpluginfeature.h:
410           Clarify GstRank range docs.
411
412 2008-02-05  David Schleef  <ds@schleef.org>
413
414         * gst/gst.c: Add a separate gst_deinitialized that prevents
415           gst_init() from being called after gst_deinit().  Fixes #509559
416
417 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
418
419         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
420         (gst_bin_class_init):
421         * gst/gstelement.c: (gst_element_base_class_init),
422         (gst_element_class_add_pad_template):
423         * gst/gstpadtemplate.c: (gst_pad_template_init):
424         * gst/gstpipeline.c: (gst_pipeline_get_type),
425         (gst_pipeline_base_init), (gst_pipeline_class_init):
426         * libs/gst/base/gstbasesink.c:
427         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
428         (gst_base_src_base_init), (gst_base_src_class_init):
429         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
430         (gst_capsfilter_class_init):
431         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
432         (gst_fake_sink_class_init):
433         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
434         (gst_fake_src_class_init):
435         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
436         (gst_fd_sink_class_init):
437         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
438         (gst_fd_src_class_init):
439         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
440         (gst_file_sink_class_init):
441         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
442         (gst_file_src_class_init):
443         * plugins/elements/gstidentity.c: (gst_identity_base_init),
444         (gst_identity_class_init):
445         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
446         (gst_multi_queue_class_init):
447         * plugins/elements/gstqueue.c: (gst_queue_base_init),
448         (gst_queue_class_init):
449         * plugins/elements/gsttee.c: (gst_tee_base_init),
450         (gst_tee_class_init):
451         * plugins/elements/gsttypefindelement.c:
452         (gst_type_find_element_base_init),
453         (gst_type_find_element_class_init):
454         * tests/check/gst/gstelement.c: (gst_element_suite):
455         Revert previous changes to the behaviour of GstPadTemplates, etc
456         and the possiblity to call them in class_init as it breaks too
457         many elements. Reopens bug #491501.
458
459         Should be applied again for 0.11, thus added a few FIXME 0.11 at
460         several places.
461
462 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
463
464         * tools/gst-launch.c:
465         Dump one graph per pipeline state-change and state change name
466         (if GST_DEBUG_DUMP_DOT_DIR is set).
467
468 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
469
470         * gst/gstpad.c:
471         * tests/check/gst/gstpad.c:
472         Be sure that we have a new copy of the caps and not
473         reffed caps from a template
474
475 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
476
477         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
478         * gst/gstpipeline.c: (gst_pipeline_get_type),
479         (gst_pipeline_class_init):
480         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
481         (gst_base_sink_class_init):
482         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
483         (gst_base_src_class_init):
484         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
485         (gst_base_transform_class_init):
486         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
487         (gst_collect_pads_class_init):
488         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
489         * libs/gst/net/gstnettimeprovider.c:
490         (gst_net_time_provider_base_init),
491         (gst_net_time_provider_class_init):
492         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
493         (gst_capsfilter_class_init):
494         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
495         (gst_fake_sink_class_init):
496         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
497         (gst_fake_src_class_init):
498         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
499         (gst_fd_sink_class_init):
500         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
501         (gst_fd_src_class_init):
502         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
503         (gst_file_sink_class_init):
504         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
505         (gst_file_src_class_init):
506         * plugins/elements/gstidentity.c: (gst_identity_base_init),
507         (gst_identity_class_init):
508         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
509         (gst_multi_queue_class_init):
510         * plugins/elements/gstqueue.c: (gst_queue_base_init),
511         (gst_queue_class_init):
512         * plugins/elements/gsttee.c: (gst_tee_base_init),
513         (gst_tee_class_init):
514         * plugins/elements/gsttypefindelement.c:
515         (gst_type_find_element_base_init),
516         (gst_type_find_element_class_init):
517         Don't use base_init where not absolutely necessary. For example it's
518         not necessary anymore for adding pad templates or setting element
519         details.
520
521         Leave empty base_init functions in several places as GST_BOILERPLATE
522         still defines and uses them.
523
524 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
525
526         * gst/gstelement.c: (gst_element_base_class_init),
527         (gst_element_class_add_pad_template):
528         * gst/gstpadtemplate.c:
529         Make it possible (and recommended) to set element details and add
530         pad templates in the class_init functions by copying the details/pad
531         templates in GstElement's base_init.
532
533         Also make it possible to replace existing pad templates by adding
534         a new one with the same name. This was done in a hackish fashion
535         in same elements before already.
536
537         Don't reference pad templates that are added a second time. A
538         new pad template has a refcount of one and is not floating anymore
539         and to be owned by the element's class. Make this more explicit by
540         mentioning it in the docs of gst_element_class_add_pad_template().
541
542         These changes are backwards compatible. Fixes bug #491501.
543
544         * tests/check/gst/gstelement.c:
545         Add unit test for setting element details, adding pad templates and
546         replacing them in a subclass.
547
548 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
549
550         * tools/gst-inspect.c: (print_interfaces),
551         (print_element_properties_info), (print_pad_info),
552         (print_signal_info), (print_element_info):
553         Fix a few memory leaks.
554
555 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
556
557         * docs/libs/gstreamer-libs-sections.txt:
558         * libs/gst/check/gstcheck.c:
559         * libs/gst/check/gstcheck.h:
560         Add more functions for unit testing: gst_check_drop_buffers,
561         gst_check_caps_equal, gst_check_element_push_buffer_list,
562         gst_check_element_push_buffer
563         API: gst_check_drop_buffers
564         API: gst_check_caps_equal
565         API: gst_check_element_push_buffer_list
566         API: gst_check_element_push_buffer
567
568 2008-02-01  Julien Moutte  <julien@fluendo.com>
569
570         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
571         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
572         (gst_index_finalize), (gst_index_entry_free),
573         (gst_index_add_association): Fix memory leaks.
574         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
575         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
576         (gst_mem_index_free_format), (gst_mem_index_free_id),
577         (gst_mem_index_finalize): Fix memory leaks.
578         * win32/common/config.h: Updated to CVS HEAD.
579
580 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
581
582         * docs/README:
583           Some more details about how the plugin docs works.
584
585         * docs/plugins/gstreamer-plugins-sections.txt:
586           Whitespace cleanup.
587
588 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
589
590         * gst/parse/grammar.tab.pre.c:
591         * gst/parse/grammar.tab.pre.h:
592         * gst/parse/grammar.y:
593         * gst/parse/lex._gst_parse_yy.pre.c:
594           Add delayed set-property. This allows to set properties on dynamicaly
595           created objects (pads in videomxer).
596
597 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
598
599         * gst/gstutils.c:
600         Check if caps are not NULL (fix bug #510194)
601
602 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
603
604         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
605         (gst_base_sink_get_position_paused):
606         Add fixme regarding EOS in pull mode.
607         Fix position reporting in PAUSED for negative rates.
608
609 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
610
611         * gst/gstminiobject.c: (gst_mini_object_replace):
612         When replacing a miniobject, do a quick equality check first so that we
613         can avoid a ref/unref pair.
614
615 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
616
617         * docs/design/part-synchronisation.txt:
618         Update some docs.
619
620         * docs/plugins/Makefile.am:
621         * docs/plugins/gstreamer-plugins-docs.sgml:
622         * docs/plugins/gstreamer-plugins-sections.txt:
623         * plugins/elements/gstmultiqueue.c:
624         Add multiqueue to the docs.
625
626 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
627
628         * configure.ac:
629           Back to CVS
630
631 === release 0.10.17 ===
632
633 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
634
635         * configure.ac:
636           releasing 0.10.17, "Due Negligence"
637
638 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
639
640         * gst/gstutils.c:
641         Revert caps != NULL check temporarily for 0.10.17 release.
642
643 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
644
645         * gst/gstutils.c:
646         Check if caps are not NULL (fix bug #510194)
647
648 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
649
650         * gst/gstutils.c:
651         Fix compilation on systems that have posix timers but no
652         monotonic clock.
653         Fixes: #512715
654         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
655         dot net>
656
657 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
658
659         * tools/gst-inspect.c:
660         Revert previous commit in preparation for an impromptu 0.10.17 release
661
662 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
663
664         * tools/gst-inspect.c: (print_interfaces),
665         (print_element_properties_info), (print_pad_info),
666         (print_signal_info), (print_element_info):
667         Fix a few memory leaks.
668
669 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
670
671         * configure.ac:
672         Back to CVS
673
674 === release 0.10.16 ===
675
676 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
677
678         * configure.ac:
679           releasing 0.10.16, "Special Dispensation"
680
681 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
682
683         * configure.ac:
684           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
685           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
686           not fail when trying to crosscompile on OpenEmbedded (#511750).
687
688 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
689
690         * docs/manuals.mak:
691         Use $(MAKE) instead of make to fix the build if GNU make is
692         called different. Fixes bug #510747.
693
694 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
695
696         * gst/gstplugin.c: (_gst_plugin_initialize):
697           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
698           again, which I broke two commits ago when changing the API
699           of gst_plugin_register_static(): the g_list_foreach() in
700           _gst_plugin_register_static still assumed the old function
701           signature and would therefore fail (re-fixes #510187).
702
703         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
704           (_gst_plugin_register_static), (gst_plugin_register_static):
705           Revert the (technically correct) change to call g_thread_init() from
706           the pre-main() constructor. This will break programs which call
707           g_thread_init() without an if (!g_thread_supported()) guard in their
708           main function. We could just blame it on GLib or the application, but
709           it's probably best to just avoid this altogether and simply not use
710           any GLib functions here and use plain old malloc() with a simple
711           array to store the plugins to register later when gst_init() is
712           finally called (re-fixes #510187).
713
714         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
715           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
716           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
717           (GST_START_TEST), (gst_plugin_suite):
718           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
719           works.
720
721 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
722
723         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
724           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
725           This makes gtk-doc complain, but results in slightly better
726           compiler errors. The old _gst_plugin_register_static() is
727           still guarded, so there'll be a compiler warning about that
728           instead. Fixes #510187 too.
729
730 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
731
732         * gst/gst.c: (init_post):
733         * gst/gstplugin.c: (_gst_plugin_register_static),
734           (gst_plugin_register_static), (_gst_plugin_initialize):
735         * gst/gstplugin.h: (GstPluginFilter):
736           Change API of gst_plugin_register_static() to not take
737           a GstPluginDesc, but rather just take all the arguments
738           in a GstPluginDesc directly. This is more intuitive and
739           avoids certain mistakes when porting code from
740           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
741           Fixes #510187.
742
743         * tests/check/gst/gstplugin.c:
744           Fix up for changed API.
745
746 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
747
748         * docs/faq/legal.xml:
749           Update FAQ, Totem actually has an exception these days.
750
751 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
752
753         * win32/common/libgstreamer.def:
754         Add new API declarations
755
756 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
757
758         * gst/gstminiobject.c:
759           Spelling fixes for the API docs.
760
761 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
762
763         * libs/gst/base/gstbasetransform.c:
764           Fix long property description for QoS.
765
766 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
767
768         * gst/gst.c:
769         _gst_trace_on is already provided by gsttrace.h, no need to declare
770         it ourselves.
771
772         * docs/libs/gstreamer-libs-sections.txt:
773         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
774         and remove strange tcase_add_test which is outputting a warning.
775
776         * libs/gst/check/gstcheck.c:
777         * libs/gst/check/gstcheck.h:
778         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
779         and define them in gstcheck.c instead of having every .c file whcih
780         includes gstcheck.h be defining its own copy and relying on symbol
781         interposing to marry them all, which doesn't work on Solaris.
782
783         * tests/check/elements/identity.c: (GST_START_TEST):
784         Don't define 'buffers' locally, it comes from libgstcheck.
785
786         * tests/check/generic/sinks.c: (send_buffer):
787         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
788
789         * tests/check/gst/gststructure.c: (GST_START_TEST):
790         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
791         * tests/check/gst/gstutils.c: (GST_START_TEST):
792         * tests/check/gst/gstvalue.c: (GST_START_TEST):
793         Add a bunch of casts to make various constants fit the types
794         they're being assigned to.
795
796 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
797
798         * gst/gstchildproxy.c:
799           Improve docs and add some ideas for making this more general-purpose.
800
801 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
802
803         * gst/gst_private.h: (GST_CAT_TYPES):
804           Add GST_CAT_TYPES, for consistency, and so that the other
805           debug categories don't make fun of it. Spotted by Saur on IRC.
806
807 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
808
809         * gst/parse/Makefile.am:
810           Move types.h from EXTRA_DIST to noinst_HEADERS.
811
812 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
813
814         * autogen.sh:
815           Add -Wno-portability to the automake parameters to stop warnings
816           about GNU make extensions being used. We require GNU make in almost
817           every Makefile anyway.
818
819         * configure.ac:
820           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
821           at the same time is required for per target flags.
822
823 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
824
825         * gst/gstmacros.h:
826           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
827           __GNUC__ is defined before using it.
828
829 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
830
831         * docs/gst/gstreamer-sections.txt:
832         * gst/gst.c: (init_post):
833         * gst/gstplugin.c: (_gst_plugin_register_static),
834           (gst_plugin_register_static), (_gst_plugin_initialize),
835           (gst_plugin_register_func):
836         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
837           API: add gst_plugin_register_static() and deprecate
838           GST_PLUGIN_DEFINE_STATIC, since it's not portable
839           (#498924).
840           Also, in _gst_plugin_register_static(), make sure to call
841           g_thread_init() before calling GLib functions such as
842           g_list_append() if we're not initialised yet, since that
843           may lead to random crashes with older GSlice/GLib versions.
844
845         * tests/check/gst/gstplugin.c:
846           Adapt unit test to above changes.
847
848 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
849
850         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
851         * gst/gstcaps.c: (gst_caps_to_string):
852         * gst/gststructure.c: (GST_ASCII_IS_STRING),
853           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
854           Yet another gratuitous GString micro-optimisation: add a (private)
855           function that serialises a structure appending to an existing
856           GString, so that when we serialise caps we don't need to alloc+free
857           a throwaway GString for each structure (each of which also entailing
858           multiple reallocs on the way); also use g_string_sized_new() in
859           various places with an approximate string length to avoid reallocs
860           within GString. See #500143.
861
862 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
863
864         * gst/gststructure.c: (gst_structure_id_set_value):
865           Always check UTF-8 conformance of structure strings and not only
866           if the debugging system is enabled; reasoning: the behaviour of
867           the actual code shouldn't really change depending on whether the
868           debugging system is enabled or not (#508291).
869
870 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
871
872         * Makefile.am:
873           Remove old coverage target in favour of "make lcov".
874
875 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
876
877         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
878         (gst_base_src_loop):
879         The start segment for reverse playback goes from start to last_stop.
880
881 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
882
883         Patch by: Peter Kjellerstedt <pkj axis com>
884
885         * gst/gstclock.h:
886         Cast the results from the timeval/spec_to_time macros to what the
887         docs say it casts to, a GstClockTime. fixes #508175.
888
889 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
890
891         * gst/gstbuffer.c:
892         Update some comments.
893
894         * tools/gst-inspect.c: (print_element_properties_info):
895         Improve printing of flags.
896
897 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
898
899         * libs/gst/base/gstbasetransform.c:
900           (gst_base_transform_transform_size):
901           Print element name with g_warning() if there's a problem
902           with the unit size.
903
904 2008-01-07  David Schleef  <ds@schleef.org>
905
906         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
907
908         * libs/gst/controller/gstcontroller.h:
909         * libs/gst/controller/gstcontrolsource.h:
910         * libs/gst/controller/gstinterpolationcontrolsource.h:
911         * libs/gst/controller/gstlfocontrolsource.h:
912         * libs/gst/dataprotocol/dataprotocol.h:
913           Fix empty prototypes.  Fixes bug #507957.
914
915 2008-01-07  David Schleef  <ds@schleef.org>
916
917         * docs/faq/dependencies.xml: Fix typo.
918
919 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
920
921         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
922         (gst_base_src_loop):
923         Don't update the last_stop position in do_seek, that's the position we
924         did a seek to.
925         Read backwards when we have a negative rate.
926
927         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
928         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
929         (filesrc_suite):
930         Add check for reverse reading.
931
932 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
933
934         Patch by: Alexis Ballier <aballier at gentoo org>
935
936         * tests/check/gst/gstabi.c:
937         * tests/check/gst/struct_ppc64.h:
938         * tests/check/libs/libsabi.c:
939         * tests/check/libs/struct_ppc64.h:
940           Decide which header to include based on the userland ABI target
941           and not the kernel/cpu. Fix up structure sizes of ppc64 header
942           for 64-bit userland (#503590).  Might need something similar for
943           x86 too.
944
945 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
946
947         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
948           Log the reason why fopen fails in addition to the fact that it failed.
949           
950 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
951
952         * gst/parse/parse.l:
953         Use "%option never-interactive" to prevent useless calls to isatty()
954         on every input when parsing. Also use "%option noinput" to not define
955         the static input/yyinput functions which we don't use anyway. This
956         removes a compiler warning with gcc 4.3 and saves some bytes in the
957         library.
958         
959         * gst/parse/lex._gst_parse_yy.pre.c:
960         Regenerated for the above change.
961
962 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
963
964         * gst/gstpad.c: (fixate_value):
965         Don't crash when trying to fixate and empty list.
966         Fixes #506643.
967
968 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
969
970         * docs/faq/gst-uninstalled:
971         Clarify the comments to make the usage of this script and what it
972         does easier to understand.
973
974 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
975
976         * tools/gst-plot-timeline.py:
977         Add more options to gst-plot-timeline
978
979 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
980
981         * docs/design/part-synchronisation.txt:
982         Some more info on how the stream_time in GstBaseSink is done.
983
984 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
985
986         * tests/check/generic/sinks.c: (gst_sinks_suite):
987           Put back the tcase_set_timeout(), apparently it's needed after
988           all; fix it up in a way that makes things work with valgrind too.
989
990 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
991
992         * gst/gstdebugutils.c:
993           Add warning when failed to open file for writing.
994
995 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
996
997         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
998
999         * gst/gstvalue.c: (gst_value_is_fixed):
1000           Optimisation: bail out of the loop as early as possible (#500143).
1001
1002 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1003
1004         * gst/gstcaps.c: (gst_caps_to_string):
1005         * gst/gstinfo.c: (gst_debug_construct_term_color):
1006         * gst/gstparse.c: (gst_parse_launchv):
1007         * gst/gstutils.c: (gst_util_dump_mem):
1008         * gst/gstvalue.c: (gst_value_serialize_any_list),
1009           (gst_value_transform_any_list_string):
1010           Bunch of gratuitous nano-optimisations.
1011
1012 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1013
1014         * tests/check/generic/sinks.c: (async_done_func),
1015           (async_done_eos_func):
1016           Fix leak in unit test (bus sync handler must unref the message
1017           if it returns GST_BUS_DROP). Don't fiddle with the default test
1018           timeout, this is smaller than the current preconfigured value
1019           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
1020           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
1021
1022 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1023
1024         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1025
1026         * configure.ac:
1027         Check for stdio_ext.h for the filesink changes.
1028
1029         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
1030         (gst_file_sink_class_init), (gst_file_sink_init),
1031         (gst_file_sink_dispose), (gst_file_sink_set_property),
1032         (gst_file_sink_get_property), (gst_file_sink_open_file),
1033         (gst_file_sink_close_file):
1034         * plugins/elements/gstfilesink.h:
1035         Add two properties to control the buffering mode and size.
1036         API: GstFileSink::buffer-mode
1037         API: GstFileSink::buffer-size
1038         Fixes #500150.
1039
1040 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1041
1042         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
1043         Add some more docs to explain why a FIXME was wrongly added. 
1044
1045 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
1046
1047         * gst/gstobject.c:
1048           Fix typo in the gst_object_{ref,unref} documentation.
1049
1050 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
1051
1052         * tests/check/libs/controller.c:
1053         * tests/check/libs/typefindhelper.c:
1054         * tests/check/pipelines/parse-launch.c:
1055           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
1056           going to be deprecated (see #498924).
1057
1058 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
1059
1060         * gst/gsttypefind.c: (gst_type_find_register):
1061           Make gst_type_find_register work for static typefind functions,
1062           ie. allow passing plugin == NULL (prerequisite for #498924).
1063
1064         * gst/gstelementfactory.c: (gst_element_register):
1065           Small docs addition.
1066
1067 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1068
1069         * gst/gstpad.c: (gst_pad_dispose):
1070         Really unlink the peer pad instead of setting the peer pointer to NULL
1071         when we dispose the pad.
1072         This correctly calls the unlink functions and makes sure that the peer
1073         does not have a handle to invalid memory. See #504671.
1074
1075         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1076         Add testsuite for above case.
1077
1078 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
1079
1080         Patch by: Peter Kjellerstedt <pkj axis com>
1081
1082         * libs/gst/check/gstcheck.h:
1083           Fix detection of the check version we're compiling against (would
1084           otherwise break if check goes v0.10.0); correctly report the
1085           name of the failed test again in case of failure, instead of
1086           just 'tf' (fixes #504499).
1087
1088 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1089
1090         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1091         (gst_base_src_get_range), (gst_base_src_pad_get_range),
1092         (gst_base_src_loop), (gst_base_src_set_flushing),
1093         (gst_base_src_change_state):
1094         Allow sending EOS to the source to make it send out an EOS event from
1095         the streaming thread.
1096         Update docs and deprecate the old NULL/READY shutdown method.
1097
1098         * tests/check/libs/basesrc.c: (GST_START_TEST),
1099         (gst_basesrc_suite):
1100         Add unit test for controlled shutdown.
1101
1102 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1103
1104         * docs/design/part-synchronisation.txt:
1105         Small updates.
1106
1107         * gst/gstsegment.c: (gst_segment_set_seek),
1108         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1109         (gst_segment_to_running_time):
1110         The seek format can be different from the segment format when the start
1111         and stop values are not to be updated, when we only do a rate change for
1112         example.
1113
1114         * tests/check/gst/gstsegment.c: (GST_START_TEST),
1115         (gst_segment_suite):
1116         Add a testcase for the rate-only seeks, checking that the format is
1117         correctly ignored when start and stop are not updated.
1118
1119 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
1120
1121         Patch by: Matthias Bolte <photon at mail dot upb dot de>
1122
1123         * win32/vs8/grammar.vcproj:
1124         * win32/vs8/libgstcontroller.vcproj:
1125         * win32/vs8/libgstreamer.vcproj:
1126         Fix compilation with VS8 and include some missing files.
1127
1128 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
1129
1130         * gst/gsttaglist.c:
1131           Small docs addition: mention that the strings returned by
1132           gst_tag_list_get_string*() are in UTF-8 encoding.
1133
1134 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
1135
1136         * Makefile.am:
1137           The check-exports stuff moved to common/win32.mak, so include that.
1138
1139 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1140
1141         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1142         (gst_base_src_perform_seek), (gst_base_src_get_range),
1143         (gst_base_src_set_playing), (gst_base_src_change_state):
1144         Make _wait_playing() not check any variables so that we can call this
1145         function from subclasses. Move the checks elsewhere similar to
1146         _wait_preroll() in basesink.
1147         Add some debugging.
1148         Only signal the LIVE cond when we are going back to PLAYING.
1149
1150 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1151
1152         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1153           Use g_remove() and g_rename(). Check result of g_rename(), and
1154           don't leak the open file descriptor if we error out when writing.
1155
1156         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
1157           Must check the return value of close() after writing out the new
1158           registry file.  Sometimes write problems such as out-of-diskspace
1159           are only reported when the file is closed and not already during
1160           the write.  This may have caused partial/broken registry files in
1161           some rare circumstances. Should fix #503675.
1162
1163 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
1164
1165         * docs/gst/.cvsignore:
1166         * docs/libs/.cvsignore:
1167         * docs/plugins/.cvsignore:
1168         Ignore files generated by new common/* modifications
1169
1170 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1171
1172         * win32/common/libgstbase.def:
1173           Yes, you can also have a <TAB> if you want.
1174
1175 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1176
1177         * win32/common/libgstbase.def:
1178           Add new basetransform API to win export file.
1179
1180 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1181
1182         * tests/check/gst/gstbin.c:
1183           Adjust the test to the refcount change two days ago.
1184
1185 2007-12-14  David Schleef  <ds@schleef.org>
1186
1187         * docs/faq/getting.xml: Fix typo.
1188
1189 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
1190
1191         * docs/libs/gstreamer-libs-sections.txt:
1192         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1193           (gst_base_transform_prepare_output_buffer),
1194           (gst_base_transform_set_gap_aware):
1195         * libs/gst/base/gstbasetransform.h:
1196           API: Add gst_base_transform_set_gap_aware() to control whether
1197           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
1198           get buffers with this flag at all. Fixes #503231.
1199
1200 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
1201
1202         * libs/gst/base/gstbasesink.c:
1203         * libs/gst/base/gstbasesrc.c:
1204         * libs/gst/base/gstbasetransform.c:
1205           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
1206           thread. Correct log message in gstbasesrc.c.
1207
1208 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1209
1210         * gst/gstutils.c: (element_find_unconnected_pad):
1211           Fix possible compiler warning (#503417).
1212
1213 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1214
1215         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
1216           Don't use GST_CAT_EVENT here for logging, it makes no sense.
1217
1218 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
1219
1220         * tools/gst-inspect.c: (print_element_properties_info):
1221           Add support for GstFraction properties.
1222
1223 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
1224
1225         * Makefile.am:
1226           Add check-exports target and run it as part of 'make check'
1227           (see #499140 and #493983).
1228
1229         * gst/gst_private.h:
1230         * gst/gstelementfactory.h:
1231         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
1232         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
1233           (_priv_gst_in_valgrind):
1234         * gst/gstinfo.h: (GstLogFunction):
1235         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
1236           (gst_type_find_register):
1237         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
1238           (gst_type_find_factory_get_type):
1239         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
1240           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
1241           (gst_controller_new_valist), (gst_controller_new_list),
1242           (_gst_controller_dispose), (_gst_controller_class_init):
1243         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
1244         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
1245           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
1246           (gst_object_get_controller), (gst_object_set_controller),
1247           (gst_object_suggest_next_sync), (gst_object_sync_values),
1248           (gst_object_set_control_source), (gst_object_get_control_source),
1249           (gst_object_get_value_arrays), (gst_object_get_value_array),
1250           (gst_object_get_control_rate), (gst_object_set_control_rate):
1251         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
1252         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
1253           Make some functions that should be static static; rename some
1254           private symbols so that they don't get exported; add some FIXME
1255           comments so we can move accidentally exported functions into
1256           our private section in 0.11.
1257
1258         * win32/common/libgstreamer.def:
1259           Add gst_utils_get_timestamp().
1260
1261 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
1262
1263         * gst/gstvalue.c:
1264         * gst/gstvalue.h:
1265           Add more missing "Since:" tags to docs.
1266
1267 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
1268
1269         * gst/gstutils.c:
1270           Add mising "Since:" to docs.
1271
1272 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1273
1274         * gst/gstplugin.c:
1275           Include "glib-compat-private.h" to fix the build on system with
1276           glib < 2.10. Fixes #503131.
1277
1278 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1279
1280         * gst/gstutils.c:
1281         * gst/gstutils.h:
1282           Actually its not PURE as it gets the time from elsewhere.
1283
1284 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1285
1286         * docs/gst/gstreamer-sections.txt:
1287         * gst/gstclock.h:
1288         * gst/gstdebugutils.c:
1289         * gst/gstinfo.c:
1290         * gst/gstutils.c:
1291         * gst/gstutils.h:
1292         * libs/gst/base/gstbasesink.c:
1293         * tools/gst-launch.c:
1294           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
1295           uses as we don't have HAVE_POSIX_TIMERS in public headers.
1296           Thanks Tim for spotting.
1297           API: gst_util_get_timestamp
1298
1299 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
1300
1301         * configure.ac:
1302           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
1303
1304 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
1305
1306         * gst/gststructure.c: (gst_structure_validate_name),
1307           (gst_structure_new_valist), (gst_structure_parse_value),
1308           (gst_structure_from_string):
1309           Don't crash in _from_string() if the structure name is not valid
1310           (fixes #501560).  Allow structure names to start with a number
1311           again (this apparently broke the ubuntu codec installer).
1312
1313         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
1314           (GST_START_TEST):
1315           Add unit test for the crash; update unit tests for new behaviour.
1316
1317 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
1318
1319         * gst/gstutils.c:
1320         Clarify gst_element_get_compatible_pad() documentation.
1321         Fixes #500919.
1322
1323 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
1324
1325         * tests/check/Makefile.am:
1326           Don't forget to dist {gst,libs}/struct_hppa.h.
1327
1328 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1329
1330         * libs/gst/base/gstbasesink.c:
1331           Use new API to get elapsed time.
1332
1333 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1334
1335         * gst/gstdebugutils.c:
1336         * gst/gstinfo.c:
1337           Fix wrong order of args in GST_CLOCK_DIFF() usage.
1338
1339         * tools/gst-launch.c:
1340           Use new API to get elapsed time.
1341
1342 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1343
1344         * docs/gst/gstreamer-sections.txt:
1345         * gst/gstclock.h:
1346         * gst/gstdebugutils.c:
1347         * gst/gstinfo.c:
1348           Rename new API + ChangeLog surgery to remove old name from last entry..
1349
1350 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1351
1352         * docs/gst/gstreamer-sections.txt:
1353         * gst/gstclock.h:
1354         * gst/gstdebugutils.c:
1355         * gst/gstinfo.c:
1356           Now hide the different clock stuff behind a macro.
1357
1358 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1359
1360         * configure.ac:
1361         * gst/gstdebugutils.c:
1362         * gst/gstinfo.c:
1363           Apply the posix-timer check from #361155. Conditionally use the posix
1364           timer for logging. This gives better timestamp precission, less
1365           overhead and no ntp jitter.
1366
1367 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
1368
1369         * gst/gstminiobject.c: (gst_mini_object_get_type),
1370         (gst_mini_object_class_init), (gst_mini_object_copy_default),
1371         (gst_mini_object_finalize), (gst_mini_object_copy),
1372         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
1373         (gst_mini_object_replace), (param_mini_object_validate),
1374         (gst_param_spec_mini_object_get_type):
1375         Some cleanup and checking against invalid function parameters.
1376
1377 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
1378
1379         * docs/gst/gstreamer-sections.txt:
1380         * gst/gstclock.h:
1381         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1382         (gst_systemclock_suite):
1383         Start merging in the easy bits of #361155, the monotonic clock patch.
1384         This one adds a few handy macros with docs and a testsuite.
1385
1386 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
1387
1388         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
1389         Be a bit smarter when seeking, like, don't try to do a seek when it's
1390         not needed. This avoids errors when the file is not seekable.
1391         Fixes #499771.
1392
1393 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
1394
1395         * docs/gst/gstreamer-docs.sgml:
1396         * docs/gst/gstreamer-sections.txt:
1397         * docs/gst/gstreamer.types.in:
1398         * gst/Makefile.am:
1399         * gst/gst.h:
1400         * gst/gstpreset.c:
1401         * gst/gstpreset.h:
1402         * plugins/elements/gstqueue.c:
1403           Due to popular request remove preset interface again. :-(.
1404
1405 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
1406
1407         * tools/gst-inspect.c:
1408           Print 'default value' for enums and flags too.
1409
1410 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
1411
1412         * docs/random/ensonic/profiling.txt:
1413           More ideas.
1414
1415         * gst/gstbin.c:
1416           Fix typo and give better log output.
1417
1418         * gst/gstdebugutils.c:
1419         * gst/gstdebugutils.h:
1420           More ideas, make graphs a bit smaller and fix param name in macro.
1421
1422 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
1423
1424         * gst/gstpreset.c:
1425           Try harder to use the return value from fgets().
1426
1427 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
1428
1429         * gst/gstpreset.c:
1430           For theses two fgets we handle the error below.
1431
1432 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
1433
1434         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1435         Only send upstream events upstream. Fixes #498746.
1436
1437 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
1438
1439         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1440
1441         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1442         (gst_identity_init), (gst_identity_transform_ip),
1443         (gst_identity_set_property), (gst_identity_get_property):
1444         * plugins/elements/gstidentity.h:
1445         Add property to disable handoff signal emission. Fixes #498694.
1446         API: GstIdentity::signal-handoffs
1447
1448 2007-11-21  Julien Moutte  <julien@fluendo.com>
1449
1450         * docs/faq/gst-uninstalled: Yet another missing library for the
1451         uninstalled script (fft)
1452
1453 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
1454
1455         * docs/faq/developing.xml:
1456         Add a question about how to submit new translations.
1457
1458         * docs/random/release:
1459         Update the contact email address for the Translation Project
1460
1461         * plugins/elements/gstfdsrc.c:
1462         The parent_class for fdsrc is pushsrc, not GstElement.
1463
1464 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
1465
1466         * gst/gstpreset.c:
1467           Plug a leak and fix saving.
1468
1469 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
1470
1471         * docs/gst/gstreamer-sections.txt:
1472         Add new gst_preset__get_property_names() function to the docs
1473         to fix the build.
1474
1475 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
1476
1477         * gst/gstpreset.c:
1478         * gst/gstpreset.h:
1479           Change _get_preset_names API to return a strv with copies. Add
1480           _get_property_names to allow implementations to filter and provide
1481           good default implementation.
1482
1483 2007-11-20  Julien MOUTTE  <julien@moutte.net>
1484
1485         * docs/faq/gst-uninstalled: Add another library to the uninstalled
1486         script (sdp).
1487
1488 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
1489
1490         * gst/gstpreset.c:
1491           More cleanups, docs, and TODOs from comments that now slowly come in.
1492
1493 2007-11-19  Julien MOUTTE  <julien@moutte.net>
1494
1495         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
1496         search path.
1497
1498 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
1499
1500         * gst/gstpreset.c:
1501           Fix bogus warning and make the property type specific code more
1502           similar.
1503
1504 2007-11-19  Julien MOUTTE  <julien@moutte.net>
1505
1506         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
1507         it build on OS X.
1508
1509 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
1510
1511         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1512         (gst_bin_add_func), (gst_bin_remove_func),
1513         (gst_bin_change_state_func), (gst_bin_continue_func):
1514         Change email, cleanups add some more debug and comments.
1515         Also set bus and clock on new elements when the pipeline was in error.
1516
1517 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
1518
1519         * gst/gstbin.c:
1520         * gst/gstdebugutils.c:
1521           Fix build with --disable-gst-debug. Fixes #497859.
1522           Spotted by Sameer Naik.
1523
1524 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
1525
1526         * gst/gstevent.c:
1527           Little documentation improvment.
1528
1529         * gst/gstpreset.c:
1530           More TODO cleanups. Remove c++ comments.
1531
1532         * libs/gst/controller/gstcontroller.c:
1533           Add TODO and use quark from static string.
1534
1535         * tests/check/gst/gstmessage.c:
1536         * tests/check/gst/gststructure.c:
1537           Use quark from static string.
1538
1539 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
1540
1541         * gst/gstpreset.c:
1542           Add some comments and TODOs.
1543
1544         * gst/gstpreset.h:
1545           Add padding for future changes.
1546
1547         * plugins/elements/gstqueue.c:
1548           Implement the iface.    
1549
1550 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
1551
1552         * docs/gst/gstreamer-docs.sgml:
1553         * docs/gst/gstreamer-sections.txt:
1554         * docs/gst/gstreamer.types.in:
1555         * gst/Makefile.am:
1556         * gst/gst.h:
1557         * gst/gstpreset.c:
1558         * gst/gstpreset.h:
1559           Add the preset interface (Fixes #396779). Do some doc cleanups along.
1560
1561 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
1562
1563         * configure.ac:
1564
1565         Back to CVS
1566
1567 === release 0.10.15 ===
1568
1569 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
1570
1571         * configure.ac:
1572           releasing 0.10.15, "October"
1573
1574 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
1575
1576         * win32/vs6/libgstreamer.dsp:
1577         Convert line endings back to DOS.
1578
1579 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
1580
1581         * docs/design/draft-tagreading.txt:
1582         * docs/random/ensonic/profiling.txt:
1583         Update fast tagreading draft and performance profiling ideas.
1584
1585 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
1586
1587         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
1588         Don't hold the object lock when unreffing a buffer because it could
1589         cause a deadlock when the finalize function wants to grab the object
1590         lock too. Fixes #495133.
1591
1592 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
1593
1594         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
1595         (gst_segment_to_stream_time), (gst_segment_to_running_time):
1596         Also accumulate time correctly when doing reverse playback. Fixes
1597         #488201,
1598         When converting to running and stream time, use default values for
1599         start/stop/time/accum when comparing different formats. Fixes #494245.
1600
1601         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1602         Do running/stream time in TIME format.
1603
1604         * tests/check/gst/gstsegment.c: (GST_START_TEST),
1605         (gst_segment_suite):
1606         2 new unit tests for segment accumulation.
1607
1608 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1609
1610         * gst/gst.c: (init_pre):
1611         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
1612           (_gst_debug_bin_to_dot_file):
1613           Move getenv() back into gst_init, so everyone can live happily
1614           ever after. Make sure the symbol isn't exported though.
1615
1616 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1617
1618         Patch by: Sebastien Moutte  <sebastien moutte net>
1619
1620         * win32/common/gstenumtypes.c:
1621         * win32/common/gstenumtypes.h:
1622           Update enum types.
1623
1624         * win32/vs6/libgstreamer.dsp:
1625           Update vs6 project files (#494343).
1626
1627 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1628
1629         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
1630         (gst_base_src_perform_seek), (gst_base_src_default_event),
1631         (gst_base_src_set_flushing), (gst_base_src_activate_push),
1632         (gst_base_src_activate_pull):
1633         Unify flushing code, remove some old unlock code that is no longer used.
1634         Take the streaming lock when seeking to avoid races. Fixes #492729.
1635         Added some more comments.
1636
1637 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1638
1639         * gst/gst.c: (_gst_disable_segtrap):
1640           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
1641           we can use gst_segtrap_is_enabled() there now that we have that API.
1642           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
1643           to do the getenv here (and export the variable).
1644
1645         * gst/gstdebugutils.c: (debug_dump_element),
1646           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
1647           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
1648
1649         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
1650           (gst_debug_log_default):
1651           Rename _gst_info_start_time to priv_gst_info_start_time so it
1652           doesn't get exported (was never in any header).
1653
1654         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
1655           (gst_plugin_loading_mutex):
1656           Make static mutex gst_plugin_loading_mutex really static (was never
1657           in any header), and use gst_segtrap_is_enabled() instead of
1658           _gst_disable_segtrap.
1659
1660         * gst/gsttrace.c: (_gst_trace_default):
1661           Make local _gst_trace_default static (was never in any header).
1662
1663 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1664
1665         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
1666
1667         * win32/common/libgstbase.def:
1668         * win32/common/libgstcontroller.def:
1669         * win32/common/libgstdataprotocol.def:
1670         * win32/common/libgstnet.def:
1671         * win32/common/libgstreamer.def:
1672           Add more missing symbols, remove some duplicates, and sort
1673           as the 'sort' command sorts it (partially fixes #493983).
1674
1675 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1676
1677         * gst/gstelement.c: (gst_element_set_state_func):
1678         Only change the state cookie if a different state was set on the
1679         element. See #492729.
1680
1681 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1682
1683         * gst/gstvalue.c:
1684           Remove unused and uninitialised type variables that were still
1685           exported for some reason (they were never in any header files
1686           though).
1687
1688 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1689
1690         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1691         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
1692         (gst_base_sink_event), (gst_base_sink_get_position_last),
1693         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1694         (gst_base_sink_change_state):
1695         Don't try to report a 0 position when we don't know, return -1 and FALSE
1696         instead. This mostly happens when we are prerolling.
1697         Make sure we can report the right position before we post the ASYNC_DONE
1698         message so that a message handler can query position without races.
1699
1700         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1701         (async_done_handoff), (async_done_func), (send_buffer),
1702         (async_done_eos_func), (gst_sinks_suite):
1703         Add two tests for the above.
1704
1705 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1706
1707         * MAINTAINERS:
1708         Update with new email address.
1709
1710         * docs/design/part-TODO.txt:
1711         Add some more info about future pad-block and negotiation changes.
1712
1713         * docs/design/part-buffering.txt:
1714         Add some ideas about buffering reporting.
1715
1716 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
1717
1718         * tests/check/gst/gstobject.c:
1719         Disable silly racy test that always fails on this combination of CPU
1720         and kernel.
1721
1722 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1723
1724         Patch by: Murray Cumming  <murrayc@murrayc.com>
1725
1726         * gst/gstobject.c:
1727           Corrected the registration of the parent-set and parent-unset
1728           signals: The parameter is a GstObject, not a GObject (#493134).
1729
1730 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1731
1732         * gst/gst_private.h:
1733         * gst/gstbuffer.h:
1734         * gst/gstevent.h:
1735         * gst/gstformat.h:
1736         * gst/gstmessage.h:
1737         * gst/gstplugin.h:
1738         * gst/gstquery.h:
1739         * gst/gsttaglist.h:
1740         * gst/gstvalue.h:
1741           Move declaration of private _gst_foo_initialize() functions into
1742           our private header file where they should have been all along.
1743
1744 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1745
1746         * docs/plugins/gstreamer-plugins-sections.txt:
1747         * gst/gstdebugutils.h:
1748         * gst/gstxml.h:
1749         * plugins/elements/gstqueue.c:
1750           gtk-doc fixes; trailing-comma-in-enum fix.
1751
1752 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1753
1754         * gst/gst.c: (gst_deinit):
1755           Clean up on deinit (not the external ones though, doesn't seem to be
1756           needed for some reason).
1757
1758 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1759
1760         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
1761           Remove __declspec(dllimport) for MSVC that was copied over into core
1762           from a plugin, obviously without ever having been tested (note the
1763           single underscore in _declspec in the initial commit), and that doesn't
1764           really make sense.  See #492077.
1765
1766 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1767
1768         * gst/gst.c: (init_post):
1769         * gst/gstevent.c: (_gst_event_initialize):
1770         * gst/gstquery.c: (_gst_query_initialize):
1771         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
1772           g_type_class_ref() other types as well, see #349410 and #64764.
1773
1774         * gst/gstbuffer.c: (_gst_buffer_initialize):
1775         * gst/gstmessage.c: (_gst_message_initialize):
1776           Simplify existing g_type_class_ref().
1777
1778 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1779
1780         * gst/gstformat.c: (_gst_format_initialize):
1781           g_type_class_ref() our GstFormat type to make sure we avoid the
1782           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
1783           bug #64764. Should fix intermittent tee unit test failures (#474823).
1784
1785 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1786
1787         * tests/check/elements/tee.c: (test_num_buffers):
1788           Simplify, simplify, simplify - or not.  Rewrite unit test
1789           not to use gst_parse_launch(); allow N sub-streams. Increasing
1790           the number of sub-streams seems to reproduce #474823 more easily.
1791
1792 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
1793
1794         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
1795
1796         * gst/gsttrace.c:
1797         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1798         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1799         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
1800           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
1801           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
1802           so use _pipe() directly (#492077).
1803
1804         * win32/common/dirent.c: (_treaddir):
1805           Add a couple of casts to make it build without warnings with MSVC.
1806
1807         * win32/common/libgstreamer.def:
1808           Add some more symbols that need to be exported.
1809
1810 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
1811
1812         * tests/examples/metadata/read-metadata.c: (message_loop):
1813           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
1814           arriving in a second or third tag message are added to
1815           the tag list as well.
1816
1817 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
1818
1819         * libs/gst/base/gstbasesrc.c:
1820           Its "Since:" and not "@Since:". And remove an superflous cast.
1821
1822 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
1823
1824         * docs/libs/gstreamer-libs-sections.txt:
1825         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1826         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
1827         (gst_base_sink_get_property), (gst_base_sink_render_object),
1828         (gst_base_sink_preroll_object),
1829         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1830         (gst_base_sink_change_state):
1831         * libs/gst/base/gstbasesink.h:
1832         Add a new last-buffer property that contains the last buffer used in
1833         basesink for preroll or rendering. useful for making snapshots.
1834         API: gst_base_sink_get_last_buffer()
1835         API: GstBaseSink::last-buffer
1836
1837 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
1838
1839         * docs/gst/running.xml:
1840         * gst/gst.c:
1841         * gst/gstdebugutils.c:
1842         * gst/gstdebugutils.h:
1843         * tools/gst-launch.c:
1844           Improve bin graph dumping, by using the envvar to specify a path.
1845           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
1846
1847 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
1848
1849         * plugins/elements/gsttypefindelement.c:
1850           (gst_type_find_element_handle_event),
1851           (gst_type_find_element_activate):
1852           Post special error message if we can't determine the type of a stream
1853           because it's empty.
1854
1855 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
1856
1857         * docs/gst/running.xml:
1858         * gst/gstdebugutils.c:
1859           Document new env-var. Add one log-line after dumpng a graph.
1860
1861 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
1862
1863         * configure.ac:
1864           Ugly hack to put the (recently removed and non-portable, apparently)
1865           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
1866           GNU ld, because without that 'make check' fails miserably on my debian
1867           stable box.  Someone with more knowledge of linker intricacies and
1868           portability issues than me fix this properly please.
1869
1870 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
1871
1872         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1873         Reset last seen position after flushing so that we don't report the old
1874         position anymore.
1875
1876 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
1877
1878         * gst/gstelementfactory.c: (gst_element_register):
1879         * gst/gsturi.h:
1880         Patch from Alessandro Decina adding get_type_full and
1881         get_protocols_full private vfuncs to the URIHandler interface
1882         to allow bindings to support creating URI handlers. 
1883         Partially fixes: #339279
1884         API: GstURIHandlerInterface::get_type_full
1885         API: GstURIHandlerInterface::get_protocols_full
1886
1887 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
1888
1889         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1890         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
1891         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
1892         Make it so that pads are considered linked until a buffer is pushed
1893         and discovered otherwise. This avoids problems with decodebin2 hanging
1894         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
1895         case.
1896
1897         Make sure we lock the multiqueue when updating the max-size properties.
1898         
1899         Fix a crash on Solaris in a debug statement in get_request_pad that
1900         passes a NULL string to GST_DEBUG. 
1901
1902         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1903         (run_output_order_test):
1904         Fix the test to allow the first buffer on not-linked pads to come out
1905         of sequence while multiqueue discovers that they are not-linked.
1906
1907 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
1908
1909         * configure.ac:
1910         * libs/gst/check/Makefile.am:
1911         Use a custom export symbol regex for libgstcheck, as it needs
1912         to export symbols that don't match the standard GStreamer gst_*
1913         pattern, and  --export-dynamic is not portable (only works on 
1914         GNU ld)
1915
1916         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1917         (gst_check_setup_sink_pad):
1918         Make sure to pass a message parameter to the fail_* macros.
1919
1920         * tests/check/gst/gstinfo.c: (GST_START_TEST):
1921         Fix some compiler warnings.
1922
1923 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
1924
1925         * tests/check/gst/gststructure.c: (test_to_string):
1926           Disable test that checks that white spaces are not allowed
1927           in structure names or field names, since we need to
1928           support that for now for backwards compatibility reasons.
1929
1930 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
1931
1932         * docs/gst/gstreamer-sections.txt:
1933         * gst/gsttaglist.c:
1934         * gst/gsttaglist.h:
1935           API: add GST_TAG_ARTIST_SORTNAME
1936           API: add GST_TAG_ALBUM_SORTNAME
1937           API: add GST_TAG_TITLE_SORTNAME
1938           Add tag variants for sorting (#414539).
1939
1940 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
1941
1942         * gst/gststructure.c:
1943           Also allow white space for names so we don't break
1944           backwards compatibility.
1945
1946 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
1947
1948         * docs/design/part-TODO.txt:
1949         * docs/design/part-segments.txt:
1950         * docs/design/part-streams.txt:
1951         Small updates.
1952
1953 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
1954
1955         * docs/gst/gstreamer-sections.txt:
1956          Fixed documentation from my previous commit (added new API add
1957          gst_value_set_structure(), add gst_value_get_structure() and
1958          GST_VALUE_HOLDS_STRUCTURE).
1959
1960 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
1961
1962         * gst/gstdebugutils.c:
1963           Reflow code to fix uninitialized variable warning.
1964
1965 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
1966
1967         * gst/gstcaps.c: (gst_caps_to_string),
1968         (gst_caps_from_string_inplace):
1969         * gst/gststructure.c: (gst_structure_get_abbrs),
1970         (gst_structure_to_string), (gst_structure_from_string):
1971         * gst/gstvalue.c: (gst_value_set_structure),
1972         (gst_value_get_structure), (gst_value_serialize_structure),
1973         (gst_value_deserialize_structure), (_gst_value_initialize):
1974         * gst/gstvalue.h:
1975         * tests/check/gst/gststructure.c: (GST_START_TEST),
1976         (gst_structure_suite):
1977         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1978          Added GstStructure to gst_value_table and its related functions.
1979          Changed gst_structure_to_string to print ';' in the end.
1980          Changed gst_caps_to_string to not print ';' beteween its
1981          fields (structures) anymore and remove the lastes ';' from latest
1982          structure. Now it is possible to have nested structures.
1983          In addition, backward compatibilty is assured by accepting '\0' as
1984          end delimiter. Fixes: #487969.
1985          API: add gst_value_set_structure()
1986          API: add gst_value_get_structure()
1987          API: add GST_VALUE_HOLDS_STRUCTURE
1988
1989 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
1990
1991         * gst/gstbus.c:
1992           When no GSource callback has been set up, tell developer
1993           to use a function that actually exists.
1994
1995 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
1996
1997         * docs/gst/gstreamer-sections.txt:
1998         * gst/Makefile.am:
1999         * gst/gst.c:
2000         * gst/gst.h:
2001         * gst/gstdebugutils.c:
2002         * gst/gstdebugutils.h:
2003         * gst/gstinfo.c:
2004         * gst/gstinfo.h:
2005         * tools/gst-launch.c:
2006           Allow dumping pipelines as dot graphs. Fixes #456573.
2007
2008 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2009
2010         * gst/gststructure.c:
2011           Allow '+' as well, it can be part of media or mime types
2012           such as image/svg+xml.
2013
2014 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2015
2016         * docs/gst/gstreamer-sections.txt:
2017         * gst/gstbus.c:
2018         * gst/gstbus.h:
2019           API: add gst_bus_pop_filtered
2020           API: add gst_bus_timed_pop_filtered
2021           Two new functions for waiting for specific message types on the
2022           bus for a specified amount of time without iterating any main
2023           loops or main contexts.
2024
2025         * tests/check/gst/gstbus.c:
2026           Some tests for the new functions.
2027
2028 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2029
2030         * docs/libs/gstreamer-libs-sections.txt:
2031           Make gtk-doc ignore stuff it should ignore.
2032
2033 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2034
2035         * libs/gst/check/gstcheck.c:
2036         * libs/gst/check/gstcheck.h:
2037           Allow runtime selection of unit tests to run via the GST_CHECKS
2038           environment variable (test case function names, comma-separated).
2039
2040 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
2041
2042         * gst/gststructure.c:
2043         * tests/check/gst/gststructure.c:
2044           Revert serialisation change and constrain structure-names after
2045           consensus on irc. Update api documentation to reflect the change.
2046
2047 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
2048
2049         * gst/gststructure.c:
2050           Improve serialization and fix tests.
2051
2052         * tests/check/gst/gststructure.c:
2053           Add another test that covers why I actually did the previous structure
2054           change.
2055
2056 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
2057
2058         * tools/gst-inspect.c: (print_element_info):
2059         Don't crash when inspecting an element.
2060
2061 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2062
2063         * tests/check/gst/gststructure.c:
2064           Add unit test for escaping of structure name when serialising
2065           and deserialising to/from strings.
2066
2067 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
2068
2069         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2070         (gst_single_queue_new):
2071         * plugins/elements/gstqueue.c: (gst_queue_init),
2072         (gst_queue_push_one):
2073         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
2074         upstream is tricked into thinking it can suggest a format downstream
2075         while downstream does not support that format. The real problem is that
2076         core calls acceptcaps when pushing a buffer with new caps, for which we
2077         do a little workaround by setting the caps on the srcpad ourselves
2078         before pushing the buffer (until this is figured out). Fixes #486758.
2079
2080 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2081
2082         * gst/gststructure.c:
2083         * gst/gstvalue.c:
2084           Add some more comments and debug output. Quote structure name to fix
2085           deserialisation of some strings.
2086
2087 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2088
2089         * gst/gstbuffer.h:
2090           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
2091           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
2092
2093 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2094
2095         * tools/gst-inspect.c:
2096           Save approx. 400 1 byte allocs when printing. Use API to acces element
2097           details.
2098
2099         * tools/gst-run.c:
2100           Avoid a strdup.
2101
2102         * tools/gst-xmlinspect.c:
2103           Use API to acces element details.
2104
2105 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2106
2107         * gst/gstinfo.c:
2108           Fix some spelling errors.
2109
2110 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
2111
2112         * gst/gstbin.c: (bin_handle_async_done):
2113         Correctly set the next state if all of our async children commited their
2114         state. This makes sure we can actually cancel the state change in
2115         progress. Fixes a regression in Rhythmbox when seeking.
2116
2117 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2118
2119         * gst/gstbin.c:
2120           Don't shadow local variable.
2121
2122         * gst/gstinfo.c:
2123           Don't shadow global function name.
2124
2125 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2126
2127         * gst/gstelementfactory.c:
2128         * gst/gstpluginfeature.c:
2129         * gst/gstpluginfeature.h:
2130         * gst/gstregistrybinary.c:
2131         * gst/gstregistryxml.c:
2132         * gst/gsttypefind.c:
2133           Use already-interned string for the private GstPluginFeature
2134           plugin_name field.
2135
2136 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2137
2138         * docs/libs/gstreamer-libs-sections.txt:
2139           Add new API to docs; fixes the build.
2140
2141 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
2142         
2143         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
2144
2145         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
2146         (gst_base_sink_event):
2147         * libs/gst/base/gstbasesink.h:
2148         Add function to wait for EOS, subclasses can use this to correctly wait
2149         for devices to drain before performing the EOS logic. Fixes #485343.
2150         API: gst_base_sink_wait_eos()
2151
2152 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2153
2154         * gst/gstplugin.h:
2155           Cast description string constants in GST_PLUGIN_DEFINE macros
2156           to a (gchar*) to make C++ code using these macros compile
2157           without warning with g++-4.2 (see #462737).  Even if slightly
2158           ugly, this seems preferable to putting the description strings
2159           into the GLib quark table or making the structure member a
2160           const gchar * and doing casts in core code that allocs and
2161           frees these strings, or requiring a cast in the C++ code.
2162
2163 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2164
2165         * gst/gstinfo.h:
2166           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
2167           to print the entire class/function signature into the log
2168           file for C++ code.  This only affects C++ code, for C code
2169           everything remains the same.
2170
2171 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
2172
2173         * gst/gstbin.c: (remove_from_queue):
2174         Work around a problem with pipelines containing (semi)loops until a
2175         proper, more complicated solution is ready. See #475455.
2176
2177 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2178
2179         * gst/gstplugin.c:
2180         * gst/gstplugin.h:
2181         * gst/gstregistrybinary.c:
2182         * gst/gstregistryxml.c:
2183           Put more strings into the GLib quark table. No need to keep
2184           a hundred-something copies of identical version strings,
2185           license strings, package name strings and package origin
2186           strings around. 
2187
2188 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2189
2190         * docs/manual/advanced-dataaccess.xml:
2191           Don't imply that it's okay to unconditionally change
2192           buffer data or buffer metadata in a pad probe callback,
2193           and a bunch of other comments. Fixes #430031.
2194
2195 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2196
2197         * win32/common/gstenumtypes.c:
2198         * win32/common/gstenumtypes.h:
2199         * win32/common/gstversion.h:
2200           Update generated files.
2201
2202 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2203
2204         * docs/manual/advanced-autoplugging.xml:
2205           Prefix section with broken code with a warning (see #342432).
2206
2207 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2208
2209         * docs/manual/appendix-integration.xml:
2210         * docs/manual/basics-init.xml:
2211           Call g_thread_init() before g_option_context_new() to
2212           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
2213
2214 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2215
2216         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2217         (gst_base_sink_queue_object_unlocked),
2218         (gst_base_sink_queue_object), (gst_base_sink_event),
2219         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
2220         When we received EOS and are waiting for when to post the EOS message,
2221         our state is prerolled and we should not return ASYNC.
2222         Reorganize some code paths to implement this behavior.
2223
2224         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2225         (gst_sinks_suite):
2226         Add unit test to verify above EOS fix.
2227
2228 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2229
2230         * plugins/elements/gsttypefindelement.c:
2231         (gst_type_find_element_have_type), (gst_type_find_element_init),
2232         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
2233         Move detecting the input caps of the sinkpad to the setcaps function.
2234         This allows us to update the output caps when we receive new input caps
2235         instead of always using the first detected caps.
2236
2237 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2238
2239         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2240         (gst_base_sink_get_position):
2241         Don't try to preroll non-async elements after a flush.
2242         Subtract latency form clock times when reporting position.
2243
2244 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2245
2246         * gst/gstpad.c: (gst_pad_pause_task):
2247         * gst/gstutils.c:
2248         Small comment and documentation update.
2249
2250 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2251
2252         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2253         (gst_base_src_set_live), (gst_base_src_is_live),
2254         (gst_base_src_query_latency), (gst_base_src_perform_seek),
2255         (gst_base_src_default_event), (gst_base_src_wait),
2256         (gst_base_src_do_sync), (gst_base_src_get_range),
2257         (gst_base_src_pad_get_range), (gst_base_src_loop),
2258         (gst_base_src_unlock), (gst_base_src_unlock_stop),
2259         (gst_base_src_set_flushing), (gst_base_src_set_playing),
2260         (gst_base_src_activate_push), (gst_base_src_activate_pull),
2261         (gst_base_src_change_state):
2262         Rework the locking of basesrc in a similar fashion to basesink. We
2263         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
2264         us to handle live sources and semi live ones much better.
2265         Simplify flushing.
2266         Fix unlocking when seeking, shutting down and pausing in live sources.
2267
2268 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2269
2270         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
2271         Fix compilation again.
2272
2273 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2274
2275         * gst/gstelement.c:
2276           Use meaningful categories for the logs to clean the default one.
2277
2278 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2279
2280         * tests/check/pipelines/cleanup.c:
2281           Print message name and not just number.
2282
2283 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2284
2285         * docs/design/draft-tagreading.txt:
2286           Add some more thoughts.
2287
2288 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2289
2290         * tests/check/pipelines/simple-launch-lines.c:
2291           Print message name and not just number.
2292
2293 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2294
2295         * libs/gst/base/gsttypefindhelper.c:
2296           Speedup typefinding. This is work in progress (see #459862).
2297
2298 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2299
2300         * gst/gstplugin.c:
2301           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
2302           Spotted by Josep Torra Valles <josep@fluendo.com>.
2303
2304 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
2305
2306         * gst/gstclock.h:
2307           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
2308           field has moved to GstObject.
2309
2310 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
2311
2312         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
2313         (gst_base_src_get_range), (gst_base_src_change_state):
2314         Call unlock for live sources so that they can't get stuck in _create and
2315         produce a buffer before they are set back to PLAYING.
2316
2317 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
2318
2319         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2320         (gst_queue_locked_dequeue):
2321         Comment the segment-related code... in the PROPER function.
2322         See #482147 and my commit from yesterday.
2323
2324 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
2325
2326         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2327         Also initialize the counter that calculates the first timestamp on a
2328         buffer correctly for non-live sources.
2329
2330 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
2331
2332         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
2333         Disable code that's breaking the current-time-level reporting.
2334         See #482147
2335
2336 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
2337
2338         * docs/gst/gstreamer-sections.txt:
2339         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
2340         as they shouldn't show up. Fixes the docs build.
2341
2342 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
2343         
2344         * gst/gstinfo.h:
2345         Add an explicit variable importation needed on VS6 (only for MSC_VER)
2346         Define M_PI which is used in files which are including gstinfo.h. 
2347         VS6 includes doesn't define it.
2348         * win32/common/libgstbase.def:
2349         * win32/common/libgstcontroller.def:
2350         * win32/common/libgstreamer.def:
2351         Add new exported functions and variables.
2352         * win32/vs6/libgstcontroller.dsp:
2353         * win32/vs6/libgstreamer.dsp:
2354         Update the list of files to build.
2355         
2356 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
2357
2358         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2359
2360         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
2361         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
2362         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
2363         Improve debugging. Fixes #480858.
2364
2365 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
2366
2367         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2368
2369         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2370         First patch of code cleanups, use the macros and right arguments in the
2371         macros to signal and lock the queue. See #480858.
2372
2373 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
2374
2375         * gst/gstbus.c: (poll_func):
2376         Improve debugging when dealing with _poll().
2377
2378 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
2379
2380         * gst/gstregistryxml.c:
2381           Fix memory leak I introduced a few days ago.
2382
2383 2007-09-26  Michael Smith <msmith@fluendo.com>
2384
2385         * gst/gstbuffer.c: (gst_buffer_finalize):
2386           Make it once again possible to free GstBuffers in the default
2387           build.
2388           The poisoning scribbles on parts of the miniobject we need in
2389           order to free it.
2390           Fixes #480341
2391
2392 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
2393
2394         * docs/gst/gstreamer-sections.txt:
2395         * gst/gsttaglist.c:
2396         * gst/gsttaglist.h:
2397         API: add GST_TAG_COMPOSER, fixes #459809.
2398
2399 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
2400
2401         * gst/gstplugin.c:
2402         * gst/gstplugin.h:
2403         Add the 3-clause BSD license and the MIT/X11 license to the license
2404         list. Fixes #479784.
2405
2406 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
2407
2408         * docs/faq/getting.xml:
2409           Add Q+A about different GStreamer versions (#364056).
2410
2411 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2412
2413         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2414         (gst_base_sink_event), (gst_base_sink_change_state):
2415         Return correct gboolean from query function.
2416
2417 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2418
2419         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2420         (gst_base_sink_event), (gst_base_sink_query),
2421         (gst_base_sink_change_state):
2422         Simplify latency query.
2423         When not synchronizing, we can report latency without querying the peer
2424         element.
2425
2426 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2427
2428         * gst/gstobject.h:
2429         * gst/gstvalue.c:
2430         Fix small typos in the docs.
2431
2432 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2433
2434         * docs/design/draft-latency.txt:
2435         * docs/design/draft-push-pull.txt:
2436         * docs/design/draft-tagreading.txt:
2437         * docs/design/part-MT-refcounting.txt:
2438         * docs/design/part-activation.txt:
2439         * docs/design/part-block.txt:
2440         * docs/design/part-element-source.txt:
2441         * docs/design/part-events.txt:
2442         * docs/design/part-gstbin.txt:
2443         * docs/design/part-gstelement.txt:
2444         * docs/design/part-gstobject.txt:
2445         * docs/design/part-gstpipeline.txt:
2446         * docs/design/part-messages.txt:
2447         * docs/design/part-preroll.txt:
2448         * docs/design/part-push-pull.txt:
2449         * docs/design/part-qos.txt:
2450         * docs/design/part-query.txt:
2451         * docs/design/part-scheduling.txt:
2452         * docs/design/part-seeking.txt:
2453         * docs/design/part-segments.txt:
2454         * docs/design/part-states.txt:
2455         Documentation updates and typo fixes.
2456
2457 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
2458
2459         * plugins/elements/gstfakesink.c:
2460           Add some debug text to error message to indicate that
2461           we errored out on request.
2462
2463         * tools/gst-launch.c:
2464           When the state change to PLAYING fails, check for an
2465           error message on the bus and print it.
2466
2467 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2468
2469         translated by: Jorge González González <aloriel@gmail.com>
2470
2471         * po/LINGUAS:
2472         * po/es.po:
2473           Added Spanish translation.
2474
2475 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
2476
2477         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2478         Fix printf arguments.
2479
2480 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
2481
2482         * tests/check/generic/states.c:
2483           Improved state change unit test.
2484
2485 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
2486
2487         * gst/gstbin.h:
2488           Move priv to the right place.
2489
2490         * gst/gstsystemclock.c:
2491           Add FIXME: and improve log.
2492
2493         * tests/check/Makefile.am:
2494         * tests/examples/manual/Makefile.am:
2495           Work with all types of registries.
2496
2497 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
2498
2499         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2500         Don't unref the event after pushing it. Fixes #478401.
2501
2502 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
2503
2504         * .cvsignore:
2505         * tests/examples/manual/.cvsignore:
2506           Ignore registries in any format.
2507
2508 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
2509
2510         * gst/glib-compat-private.h:
2511           Add compatibility macro for g_intern_string() for
2512           GLib-2.8 (any reason we can't just bump the
2513           requirement to at least 2.10?)
2514
2515         * gst/gstpadtemplate.h:
2516         * gst/gstelementfactory.c:
2517         * gst/gstregistryxml.c:
2518         * gst/gstregistrybinary.c:
2519           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
2520           up the internal code accordingly.  This shouldn't be a problem, since
2521           there is no reason external code could ever assume the string in such
2522           a structure is dynamically allocated unless it did that itself;  the
2523           use of g_strdup() is private to element factories.  The new code also
2524           saves some memory by putting pad template name strings into the GLib
2525           quark table instead of allocating them dynamically.
2526           Declaring this field constant fixes warnings with g++-4.2 when using
2527           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
2528
2529 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
2530
2531         * gst/gstelementfactory.c:
2532           Release static caps. Fixes #475723.
2533
2534 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
2535
2536         * gst/gstinfo.c:
2537         * gst/gstinfo.h:
2538           Make some internal API take const gchar * instead of just
2539           gchar * to avoid compiler warnings with g++-4.2.2 when
2540           passing string constants (partially fixes #478092).
2541
2542 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
2543
2544         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
2545         A latency query fails when one of the sinks fail.
2546
2547         * gst/gstelement.c: (gst_element_set_base_time):
2548         Improve debugging.
2549
2550 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
2551
2552         * gst/gstbin.c: (gst_bin_continue_func):
2553         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2554         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
2555         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
2556
2557         Fix minor compilation warnings shown with Forte.
2558
2559 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
2560
2561         * plugins/elements/gstqueue.c: (apply_buffer),
2562         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
2563         Measure queue level based on the diff between head and tail timestamps
2564         even when pushing the first buffer.
2565
2566 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
2567
2568         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2569         (gst_base_sink_event), (gst_base_sink_change_state):
2570         Sinks that don't preroll can always be queried for the latency.
2571         Don't post ASYNC start when we are not async.
2572
2573 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
2574
2575         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2576         (gst_queue_handle_sink_event), (gst_queue_chain),
2577         (gst_queue_push_one), (gst_queue_handle_src_query),
2578         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
2579         * plugins/elements/gstqueue.h:
2580         When downstream returns UNEXPECTED from pushing a buffer, don't try to
2581         push more buffers but allow pushing of EOS and NEWSEGMENT.
2582         Add some more debug info here and there. Fixes #476514.
2583
2584 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
2585
2586         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2587         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
2588         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2589         (gst_base_sink_set_flushing), (gst_base_sink_query),
2590         (gst_base_sink_change_state):
2591         Latency query is allowed after we are prerolled. Introduce a new flag
2592         for this and stop abusing other variables.
2593
2594 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2595
2596         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2597         Push OOB events downstream when we get them in send_event. This allows
2598         the application to insert events in the pipeline.
2599         Add some more comments.
2600
2601 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2602
2603         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
2604         (do_bin_latency), (gst_bin_change_state_func):
2605         * gst/gstpipeline.c: (gst_pipeline_change_state):
2606         Move latency query from GstPipeline to GstBin so that we can also
2607         use it when async-handling is enabled on bins.
2608
2609 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2610
2611         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2612         (gst_base_src_do_sync), (gst_base_src_change_state):
2613         Update docs.
2614         Clean up the timestamping and syncing code for pseudo live sources.
2615
2616 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
2617
2618         Patch by: Steve Fink  <sphink gmail com>
2619
2620         * docs/manual/appendix-checklist.xml:
2621           Mention less -R switch in the section about debug output (#474055).
2622
2623 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2624
2625         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2626         Queue can latency to the pipeline up to the configured max size in time.
2627         Report this fact in the latency query.
2628
2629 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
2630
2631         Patch by: Sebastien Moutte <sebastien at moutte dot net>
2632
2633         * libs/gst/controller/gstinterpolation.c:
2634         * libs/gst/controller/gstlfocontrolsource.c:
2635         Use gst_guint64_to_gdouble() when converting from a uint64 or
2636         GstClockTime to double to fix the build on win32. Fixes #474371.
2637
2638 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
2639
2640         * gst/gstbuffer.c: (gst_buffer_finalize):
2641         Implement poisoning for GstBuffer if --enable-poisoning is specified.
2642         When finalizing a buffer the complete struct is filled with 0xff,
2643         thus making a use of the buffer after the final unref impossible.
2644
2645 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
2646
2647         * tests/check/libs/controller.c: (GST_START_TEST):
2648         Use fail_unless_equals_int(a, b) instead of
2649         fail_unless_equals (a == b) to get better output on failures.
2650
2651 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
2652
2653         * tests/check/gst/gsturi.c:
2654           Also check for the other file URI variant on win32.
2655
2656 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
2657
2658         * gst/gsturi.c: (gst_uri_get_location):
2659           If there's no hostname, we want to return 'c:/foo/bar.txt'
2660           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
2661
2662         * tests/check/gst/gsturi.c:
2663           Unit test for the above and a few more things.
2664
2665 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
2666
2667         * docs/design/part-live-source.txt:
2668         Add docs on how live sources should timestamp.
2669
2670         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2671         Add some more debug info.
2672         For subclasses that are live and like to sync, add aditional startup
2673         latency to sync time and timestamps so that we timstamp according to the
2674         design doc.
2675
2676 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
2677
2678         * gst/gstbuffer.c:
2679           Also do a g_type_class_ref() for the subbuffer type in
2680           the init function.
2681
2682 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
2683
2684         * docs/gst/gstreamer-sections.txt:
2685         * gst/gstpad.c: (gst_pad_peer_query):
2686         * gst/gstpad.h:
2687         Add function to perform a query on the peer of a pad.
2688         API: gst_pad_peer_query()
2689
2690 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
2691
2692         * tests/check/gst/gstsystemclock.c:
2693           Cleanup the test a little (use gst-logging and not g_message). Improve
2694           test to check if a wait reached the target.
2695
2696 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
2697
2698         * docs/libs/gstreamer-libs-sections.txt:
2699           Add new API to docs and fix the build.
2700
2701 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
2702
2703         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2704         (gst_base_src_init), (gst_base_src_set_do_timestamp),
2705         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
2706         (gst_base_src_get_property), (gst_base_src_do_sync):
2707         * libs/gst/base/gstbasesrc.h:
2708         Add property to make the basesrc timestamp buffers based on the current
2709         running time.
2710         API: GstBaseSrc::do-timestamp
2711         API: gst_base_src_set_do_timestamp()
2712         API: gst_base_src_get_do_timestamp()
2713
2714 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
2715
2716         * docs/random/release:
2717           Really make sure translations are up-to-date before
2718           a release (#465010).
2719
2720 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
2721
2722         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2723         Always destroy the timer, also in error cases.
2724
2725 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
2726
2727         * docs/manual/highlevel-xml.xml:
2728         Fix XML example code. Fixes #472714.
2729
2730 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
2731
2732         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2733         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2734         (gst_base_sink_query):
2735         Protect eos and have_preroll with the OBJECT lock so we don't need to
2736         take the PREROLL lock when querying the latency. Fixes #473846.
2737
2738 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
2739
2740         * gst/gstelement.c:
2741           Give some log-messages a category.
2742
2743 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
2744
2745         * gst/gststructure.c:
2746         (gst_structure_fixate_field_nearest_fraction):
2747         Fix fraction list fixation code. Take the fraction with the smallest
2748         difference with the target instead of the first one in the list.
2749
2750         * tests/check/gst/gststructure.c: (GST_START_TEST),
2751         (gst_structure_suite):
2752         Added test to verify correct fraction list fixation behaviour.
2753
2754 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
2755
2756         * win32/common/libgstreamer.def:
2757           Export gst_bus_add_signal_watch too.
2758
2759 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
2760
2761         * docs/libs/gstreamer-libs-sections.txt:
2762         Add new methods to docs.
2763
2764         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2765         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
2766         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
2767         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
2768         * libs/gst/base/gstbasesink.h:
2769         Add ts-offset property to fine-tune the synchronisation.
2770         API: GstBaseSink::ts-offset property
2771         API: gst_base_sink_set_ts_offset()
2772         API: gst_base_sink_get_ts_offset()
2773
2774 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
2775
2776         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2777         (gst_base_sink_init), (gst_base_sink_set_sync),
2778         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2779         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
2780         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
2781         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
2782         (gst_base_sink_get_property), (gst_base_sink_change_state):
2783         * libs/gst/base/gstbasesink.h:
2784         Add async property to instruct the sink never to inform the parent about
2785         ASYNC state changes, update docs.
2786         Check argument with g_return_* for the public functions.
2787         API: GstBaseSink::async property
2788         API: gst_base_sink_set_async_enabled()
2789         API: gst_base_sink_is_async_enabled()
2790
2791 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
2792
2793         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
2794         Improve debugging.
2795
2796         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2797         (gst_base_src_default_query), (gst_base_src_wait),
2798         (gst_base_src_do_sync), (gst_base_src_change_state):
2799         Rearrange some code so that we can add support for measuring the 
2800         startup latency.
2801
2802 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
2803
2804         * docs/random/ensonic/dynlink.txt:
2805           More thoughs on this.
2806
2807         * plugins/elements/gstcapsfilter.c:
2808           Add bugzilla ticket number to FIXME comment.
2809
2810 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
2811
2812         * docs/design/part-TODO.txt:
2813         * docs/design/part-block.txt:
2814         Update some docs.
2815
2816 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2817
2818         * gst/Makefile.am:
2819           Revert patch which uses $(gst_headers) instead of $^ because it
2820           breaks make dist.
2821
2822 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2823
2824         * tests/check/gst/gstbin.c: (GST_START_TEST):
2825           Fix leaks in the new unit test.
2826
2827 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
2828
2829         * gst/gst.c:
2830           Don't use GST_INFO before the debug system is actually initialised
2831           (shouldn't do any harm, but won't print anything either, so we can
2832           just as well remove it).
2833
2834         * gst/gstinfo.h:
2835           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
2836           compilers that don't support variadic macros (such as MSVC), should
2837           check for debug_level <= __gst_debug_min as well, since that's the
2838           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
2839           inline helper functions. Should improve performance a bit, but also
2840           makes sure uses of GST_INFO et.al are ignored if the debugging
2841           system isn't initialised yet (instead of printing an assertion
2842           failure).
2843
2844 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
2845
2846         patch by: David Nečas <yeti@physics.muni.cz>
2847
2848         * gst/Makefile.am:
2849           Replace some non portable makefile constructs.
2850
2851 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
2852
2853         * common/gtk-doc-plugins.mak:
2854           Grrrrr. Don't remove the types file on make clean.
2855
2856 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
2857
2858         * tools/gst-launch.1.in:
2859         Add colorspace to example pipeline. Fixes #458274.
2860
2861 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
2862
2863         * docs/random/release:
2864           The release manager should run 'make download-po' before making a
2865           release to make sure translations are up-to-date.
2866
2867         * po/LINGUAS:
2868         * po/be.po:
2869         * po/pl.po:
2870         * po/rw.po:
2871           Add some new translations.
2872
2873 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
2874
2875         * tools/gst-launch.c: (event_loop), (main):
2876         Don´t try to do any state management when a live pipeline posts
2877         buffering messages.
2878         Also make the buffering string translatable.
2879
2880 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
2881
2882         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
2883         (bin_handle_async_start), (gst_bin_handle_message_func):
2884         Improve debugging.
2885         When adding elements, insert messages into the bus of the newly added
2886         element and make sure the element is the source of the message. This
2887         allows the parent bin to intercept the message and do the
2888         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
2889         messages to the app (which is not allowed).
2890         Update some docs.
2891
2892         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2893         Fix testsuite so that is does not work around messages that should not
2894         have been posted in the first place.
2895
2896 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
2897
2898         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
2899         (update_degree), (gst_bin_sort_iterator_next):
2900         Fix annoying bug in the sorted iterator where a sink that is not really
2901         a sink (when it has downstream links) screwed up the iterator.
2902
2903         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2904         Unit test to verify the fix.
2905
2906 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
2907
2908         * gst/gstmessage.h:
2909         Add some more docs for the messages.
2910
2911         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2912         (gst_base_sink_query):
2913         Add some more debugging.
2914
2915         * tools/gst-launch.c: (event_loop):
2916         When interrupting, don't try to set pipeline to PAUSED twice.
2917
2918 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
2919
2920         
2921         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
2922         (bin_handle_async_start), (gst_bin_handle_message_func):
2923         Move ASYNC_START message posting to where it belongs, similar to
2924         async_done. 
2925         Don't post ASYNC_START when we are in error. 
2926         Post ASYNC_START when we added an async element to a bin.
2927
2928 2007-08-14  Julien MOUTTE  <julien@moutte.net>
2929
2930         * gst/gstindex.c: (gst_index_add_association): Fix index entry
2931         generation from vargs. Fixes #466595.
2932
2933 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
2934
2935         * gst/gstbin.c: (gst_bin_element_set_state):
2936         Always change the state of a NO_PREROLL element even if it has ASYNC
2937         elements inside (in case of a bin).
2938
2939         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
2940         Unit test for this case.
2941
2942 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
2943
2944         * libs/gst/check/gstbufferstraw.c:
2945         * libs/gst/check/gstcheck.h:
2946         * libs/gst/controller/gstcontroller.c:
2947         * libs/gst/controller/gstcontrolsource.h:
2948         * libs/gst/controller/gstlfocontrolsource.h:
2949         * plugins/elements/gstcapsfilter.h:
2950         * plugins/elements/gstfdsink.h:
2951         * plugins/elements/gstfdsrc.h:
2952           Add more missing docs.
2953
2954 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
2955
2956         * gst/gststructure.c:
2957         Add Since tag to docs.
2958
2959 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
2960
2961         * docs/gst/gstreamer-sections.txt:
2962         * gst/gststructure.c: (gst_structure_get_uint):
2963         * gst/gststructure.h:
2964         Add function to get uint from a structure.
2965         API: gst_structure_get_uint()
2966
2967 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
2968
2969         * gst/gstcaps.c: (gst_caps_set_simple_valist),
2970         (gst_caps_intersect):
2971         Fix proper check for simple caps.
2972
2973 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
2974
2975         * docs/gst/Makefile.am:
2976         * docs/libs/Makefile.am:
2977           Remove cruft and do some cleanups.
2978
2979         * docs/gst/gstreamer-docs.sgml:
2980         * docs/libs/gstreamer-libs-docs.sgml:
2981           Prepare for comming gtkdoc features (rebase against online docs).
2982
2983 2007-08-10  Michael Smith <msmith@fluendo.com>
2984
2985         * docs/gst/gstreamer-sections.txt:
2986           Add gst_registry_add_path to docs.
2987
2988 2007-08-10  Michael Smith <msmith@fluendo.com>
2989
2990         * gst/gstregistry.h:
2991           Add gst_registry_add_path, which was missing from this header.
2992
2993 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
2994
2995         * libs/gst/controller/gstlfocontrolsource.c:
2996           Printf format fix.
2997
2998 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
2999
3000         * libs/gst/base/gstbasesink.c:
3001           Don't send an async_start message during downwards state change if 
3002           target state is less than READY
3003
3004 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3005
3006         translated by: Gabor Kelemen <kelemeng@gnome.hu>
3007
3008         * po/LINGUAS:
3009         * po/hu.po:
3010           Added Hungarian translation.
3011
3012 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3013
3014         * po/fi.po:
3015         * po/it.po:
3016         * po/nl.po:
3017         * po/sv.po:
3018         * po/uk.po:
3019           Updated translations.
3020
3021 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
3022
3023         * libs/gst/controller/Makefile.am:
3024         Dist gstlfocontrolsourceprivate.h
3025
3026 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
3027
3028         * docs/libs/gstreamer-libs.types:
3029         Don't register the enum type gst_lfo_waveform_get_type() in the
3030         .types file - only GObject derived types belong.
3031
3032 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
3033
3034         Patch by: <arenevier at fdn dot fr>
3035
3036         * gst/gstbuffer.h:
3037         Remove comma from last element in enum to avoid compile errors when
3038         using -pendantic. Fixes #464366.
3039
3040 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
3041
3042         * docs/design/part-TODO.txt:
3043         Add some more TODO items
3044
3045         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
3046         Improve debugging.
3047
3048         * gst/gstcaps.c: (gst_caps_intersect):
3049         Optimize trivial intersection case between identical caps pointers.
3050
3051         * gst/gstelement.c: (gst_element_continue_state),
3052         (gst_element_set_state_func):
3053         * gst/gstpad.c:
3054         Fix spelling and grammar mistakes.
3055
3056 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
3057
3058         * po/POTFILES.in:
3059         * po/POTFILES.skip:
3060           Update POTFILES. Fixes #461599.
3061
3062 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
3063
3064         * gst/gst.c:
3065         Fix confusing typo in debug output.
3066
3067 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
3068
3069         reviewed by: Stefan Kost <ensonic@users.sf.net>
3070
3071         * libs/gst/controller/Makefile.am:
3072         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
3073         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
3074         (gst_lfo_control_source_new),
3075         (gst_lfo_control_source_set_waveform),
3076         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
3077         (gst_lfo_control_source_finalize),
3078         (gst_lfo_control_source_dispose),
3079         (gst_lfo_control_source_set_property),
3080         (gst_lfo_control_source_get_property),
3081         (gst_lfo_control_source_class_init):
3082         * libs/gst/controller/gstlfocontrolsource.h:
3083         * libs/gst/controller/gstlfocontrolsourceprivate.h:
3084         API: Add GstLFOControlSource, a control source that gives values
3085         for specific timestamps based on several periodic waveforms.
3086         Fixes #459717.
3087
3088         * tests/check/libs/controller.c: (GST_START_TEST),
3089         (gst_controller_suite):
3090         * docs/libs/gstreamer-libs-docs.sgml:
3091         * docs/libs/gstreamer-libs-sections.txt:
3092         * docs/libs/gstreamer-libs.types:
3093         Add documentation and unit tests for GstLFOControlSource.
3094
3095 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
3096
3097         * configure.ac:
3098         Back to CVS
3099
3100 === release 0.10.14 ===
3101
3102 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
3103
3104         * configure.ac:
3105           releasing 0.10.14, "Breathing Vacuum"
3106
3107 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
3108
3109         * gst/gstelement.c: (gst_element_class_set_details_simple):
3110         * gst/gstelement.h:
3111           Make strings passed to gst_element_class_set_details_simple()
3112           constant, as they should be (#462752).
3113
3114 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
3115
3116         * gst/gstbin.c: (gst_bin_change_state_func),
3117         (bin_handle_async_done), (gst_bin_handle_message_func):
3118         Don't forget about the fact that some element went ASYNC even after a
3119         resync. This makes us post the ASYNC_DONE message correctly.
3120         Fixes #462558.
3121
3122 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
3123
3124         * gst/gstregistry.c: (gst_registry_add_feature):
3125         When replacing an existing feature in the registry, make sure to
3126         continue holding a reference until we've replaced the name string
3127         within our feature hash table. Make sure to use g_hash_table_replace
3128         instead of g_hash_table_insert to ensure the new name string is used
3129         as a key instead of the old one that we're about to free.
3130         Fixes: #462085
3131
3132 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
3133
3134         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3135         (gst_plugin_feature_set_name):
3136         Revert patch from #459466 until after the release and we can work
3137         out exactly what the problem is (if any).
3138
3139 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
3140
3141         * docs/gst/gstreamer-sections.txt:
3142         * gst/gsttaglist.c:
3143         * gst/gsttaglist.h:
3144           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
3145
3146 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
3147
3148         * docs/libs/Makefile.am:
3149         Include our build-prefix libs and includes before the generic ones to
3150         avoid linking against the installed libs when we want the build-tree
3151         ones.
3152
3153 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
3154
3155         Patch by: Steve Fink  <sphink gmail com>
3156
3157         * docs/pwg/building-testapp.xml:
3158           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
3159           if people try to build or install the example from the plugin
3160           template against a GStreamer from package using the configure
3161           defaults.
3162
3163 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
3164
3165         Patch by: Steve Fink  <sphink gmail com>
3166
3167         * tools/gst-inspect.1.in:
3168           Document --print-all and --print-plugin-auto-install-info command
3169           line options in man page.
3170
3171 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
3172
3173         * docs/gst/gstreamer-sections.txt:
3174         Add docs for new api function.
3175
3176 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
3177
3178         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
3179         * gst/gstelementfactory.h:
3180         API: gst_element_factory_has_interface()
3181         Added method to check if an element factory implements a named
3182         interface.
3183
3184 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
3185
3186         * configure.ac:
3187         * docs/gst/gstreamer.types.in:
3188           Another conditional doc check.
3189
3190         * gst/gstmessage.c:
3191         * gst/gstparamspecs.h:
3192         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3193         * gst/gstvalue.c:
3194         * gst/gstxml.h:
3195           API-doc fixes.
3196
3197 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3198
3199         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
3200         (gst_registry_binary_load_feature),
3201         (gst_registry_binary_load_plugin),
3202         (gst_registry_binary_read_cache):
3203           Print error just once and with additional info.
3204
3205 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3206
3207         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3208         (helper_find_suggest), (helper_find_get_length),
3209         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
3210         (gst_type_find_helper_for_buffer):
3211           Cleanup the typefindhelper code and add private doc comments.
3212
3213 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
3214
3215         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3216         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
3217         Fix capsfilter for cases where the caps set on capsfilter will provide
3218         additional information.
3219         Fixes #449197
3220
3221 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3222
3223         * gst/gsttypefindfactory.c:
3224           Fix docs that recommened wrong function to use.
3225
3226 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3227
3228         * tools/gst-inspect.c: (print_plugin_features):
3229           Also give media-type for typefinders in element output.
3230
3231 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3232
3233         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
3234         (gst_registry_remove_features_for_plugin_unlocked),
3235         (gst_registry_add_feature), (gst_registry_remove_feature),
3236         (gst_registry_lookup_feature_locked):
3237         * gst/gstregistry.h:
3238           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
3239           Fixes #459501.
3240
3241 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3242
3243         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3244         (gst_plugin_feature_set_name):
3245           Avoid double memory usage for pluginfeature names. Fixes #459466.
3246
3247 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
3248
3249         * gst/gstpad.h:
3250           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
3251           driving the pipeline may need to explicitly check for NOT_LINKED as
3252           well, since IS_FATAL doesn't cover that.
3253
3254 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
3255
3256         * docs/pwg/advanced-types.xml:
3257           Fix typo and duplicate entry in video formats list.
3258
3259 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
3260
3261         * libs/gst/controller/gstinterpolation.c:
3262         Also round to the nearest int when using cubic interpolation.
3263
3264 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
3265
3266         * libs/gst/controller/gstinterpolation.c:
3267         When linearly interpolating integer types, round to the nearest int
3268         by adding 0.5. Don't do it for float/double types.
3269         Fixes the failing controller test on my machine, which is somehow
3270         rounding differently than on the buildbots.
3271
3272 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3273
3274         * tools/gst-plot-timeline.py:
3275           Better log parsing (categories can have -). Adjust text vs. lines, so
3276           that they span the same y-range.        
3277
3278 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3279
3280         * docs/random/ensonic/audiobaseclasses.txt:
3281         * docs/random/ensonic/dynlink.txt:
3282         * docs/random/ensonic/profiling.txt:
3283           Save my thoughts.
3284
3285         * docs/random/moving-plugins:
3286           Add note to use g_assert type macros.
3287
3288 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3289
3290         * configure.ac:
3291         * libs/gst/check/Makefile.am:
3292           Add libm check as we use in for plugins.
3293
3294 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
3295
3296         * gst/gstbin.c: (gst_bin_continue_func):
3297         Check that the state_cookie hasn't changed since the continue_func
3298         was scheduled. Avoids problems where the state changes back to
3299         something it shouldn't be because it was changed in the meantime.
3300
3301 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
3302
3303         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
3304         (gst_registry_binary_save_string),
3305         (gst_registry_binary_save_pad_template),
3306         (gst_registry_binary_save_feature),
3307         (gst_registry_binary_save_plugin),
3308         (gst_registry_binary_load_feature),
3309         (gst_registry_binary_load_plugin),
3310         (gst_registry_binary_read_cache):
3311           Fix memory leak. Be less verbose in the log.
3312
3313 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3314
3315         * tests/check/elements/.cvsignore:
3316         Add file to cvsignore as commanded.
3317
3318 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3319
3320         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3321         (mq_dummypad_event), (run_output_order_test):
3322         Use a GStaticMutex to protect all cases where libcheck
3323         fail_if/fail_unless macros might be called from multiple threads
3324         simultaneously to avoid errors like:
3325           "check_pack.c:107: :-1081725400:Bad message type arg"
3326
3327 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3328
3329         * tests/check/pipelines/stress.c: (GST_START_TEST):
3330         Make sure we set the pipeline back to the NULL state before
3331         dropping our final reference.
3332
3333 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3334
3335         * tests/check/elements/tee.c: (GST_START_TEST):
3336         Make the tee stress-test a little less stressful so it doesn't just
3337         time out on slow-machines, and remove a small race when it's starting 
3338         up by adding a get_state() call.
3339
3340 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
3341
3342         * gst/gst.c:
3343           Avoid reading registry twice on startup. Fixes #457322.
3344
3345 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
3346
3347         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3348         * pkgconfig/gstreamer-check.pc.in:
3349         Substitute the CFLAGS for libcheck into our .pc file too so that
3350         dependent modules will pick it up properly if libcheck is installed
3351         into some other prefix.
3352
3353 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
3354
3355         * configure.ac:
3356         Revert the pkg-config check for libcheck, since it pulls in the
3357         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
3358         a proper solution, either from the check project, or something else.
3359
3360 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
3361
3362         * configure.ac:
3363           Use pkg-config to locate check.
3364
3365 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
3366
3367         * gst/gsttaglist.c:
3368           Fix doc syntax.
3369
3370         * gst/gstutils.c:
3371         * gst/gstutils.h:
3372           Add deprecation guards.
3373
3374         * libs/gst/base/gstcollectpads.h:
3375           Don't document object (this is implicitly private).
3376
3377 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
3378
3379         * gst/gststructure.c: (gst_structure_parse_value):
3380           When deserialising foo=bar without a type cast, check if it's a
3381           boolean before falling back to a string type, otherwise things like
3382           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
3383           because the filtercaps end up having a signed=(string)true field,
3384           which causes problems later when intersection caps.
3385
3386         * tests/check/gst/gststructure.c: (GST_START_TEST):
3387           Add a unit test for this.
3388
3389 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
3390
3391         Reviewed by: Stefan Kost <ensonic@users.sf.net>
3392
3393         * libs/gst/controller/Makefile.am:
3394         * libs/gst/controller/gstcontroller.c:
3395         (gst_controlled_property_add_interpolation_control_source),
3396         (gst_controlled_property_new), (gst_controlled_property_free),
3397         (gst_controller_find_controlled_property),
3398         (gst_controller_new_valist), (gst_controller_new_list),
3399         (gst_controller_new), (gst_controller_remove_properties_valist),
3400         (gst_controller_remove_properties_list),
3401         (gst_controller_remove_properties),
3402         (gst_controller_set_property_disabled),
3403         (gst_controller_set_disabled), (gst_controller_set_control_source),
3404         (gst_controller_get_control_source), (gst_controller_get),
3405         (gst_controller_sync_values), (gst_controller_get_value_array),
3406         (_gst_controller_dispose), (gst_controller_get_type),
3407         (gst_controlled_property_set_interpolation_mode),
3408         (gst_controller_set), (gst_controller_set_from_list),
3409         (gst_controller_unset), (gst_controller_unset_all),
3410         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
3411         * libs/gst/controller/gstcontroller.h:
3412         * libs/gst/controller/gstcontrollerprivate.h:
3413         * libs/gst/controller/gstcontrolsource.c:
3414         (gst_control_source_class_init), (gst_control_source_init),
3415         (gst_control_source_get_value),
3416         (gst_control_source_get_value_array), (gst_control_source_bind):
3417         * libs/gst/controller/gstcontrolsource.h:
3418         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
3419         (gst_object_get_control_source):
3420         * libs/gst/controller/gstinterpolation.c:
3421         (gst_interpolation_control_source_find_control_point_node),
3422         (gst_interpolation_control_source_get_first_value),
3423         (_interpolate_none_get), (interpolate_none_get),
3424         (interpolate_none_get_boolean_value_array),
3425         (interpolate_none_get_enum_value_array),
3426         (interpolate_none_get_string_value_array),
3427         (_interpolate_trigger_get), (interpolate_trigger_get),
3428         (interpolate_trigger_get_boolean_value_array),
3429         (interpolate_trigger_get_enum_value_array),
3430         (interpolate_trigger_get_string_value_array):
3431         * libs/gst/controller/gstinterpolationcontrolsource.c:
3432         (gst_control_point_free), (gst_interpolation_control_source_reset),
3433         (gst_interpolation_control_source_new),
3434         (gst_interpolation_control_source_set_interpolation_mode),
3435         (gst_interpolation_control_source_bind),
3436         (gst_control_point_compare), (gst_control_point_find),
3437         (gst_interpolation_control_source_set_internal),
3438         (gst_interpolation_control_source_set),
3439         (gst_interpolation_control_source_set_from_list),
3440         (gst_interpolation_control_source_unset),
3441         (gst_interpolation_control_source_unset_all),
3442         (gst_interpolation_control_source_get_all),
3443         (gst_interpolation_control_source_get_count),
3444         (gst_interpolation_control_source_init),
3445         (gst_interpolation_control_source_finalize),
3446         (gst_interpolation_control_source_dispose),
3447         (gst_interpolation_control_source_class_init):
3448         * libs/gst/controller/gstinterpolationcontrolsource.h:
3449         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3450         API: Refactor GstController into the core controller which can take
3451         a GstControlSource for providing actual values for timestamps.
3452         Implement a interpolation control source and use this for backward
3453         compatibility, deprecate a bunch of functions that are now handled
3454         by GstControlSource or GstInterpolationControlSource.
3455         Make it possible to disable the controller completely or only for
3456         specific properties. Fixes #450711.
3457         * docs/libs/gstreamer-libs-docs.sgml:
3458         * docs/libs/gstreamer-libs-sections.txt:
3459         * docs/libs/gstreamer-libs.types:
3460         Add new functions and classes to the docs.
3461         * tests/check/libs/controller.c: (GST_START_TEST),
3462         (gst_controller_suite):
3463         * tests/examples/controller/audio-example.c: (main):
3464         Port unit test and example to the new API and add some new
3465         unit tests.
3466
3467 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
3468
3469         Patch by: Mark Nauwelaerts <manauw at skynet be>
3470
3471         * plugins/elements/gstmultiqueue.c:
3472         (gst_multi_queue_get_internal_links), (apply_buffer),
3473         (single_queue_overrun_cb), (gst_single_queue_new):
3474         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
3475         the pipeline layout can be tracked correctly. Fixes #453732.
3476
3477 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
3478
3479         * docs/gst/Makefile.am:
3480         * docs/libs/Makefile.am:
3481         * docs/plugins/Makefile.am:
3482           Simplify --extra-dir as gtkdoc scans recursively.
3483
3484 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
3485
3486         * tools/gst-launch.c: (main):
3487         When we got an error, there is no point in waiting for preroll when
3488         shutting down.
3489
3490 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
3491
3492         * plugins/elements/gsttee.c: (gst_tee_base_init),
3493         (gst_tee_request_new_pad), (gst_tee_release_pad),
3494         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
3495         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
3496         (gst_tee_chain):
3497         Be a lot smarter when deciding what srcpad to use for proxying
3498         the buffer_alloc. Also handle pad added/removed when doing so.
3499         Fixes #357959.
3500         Keep track of what pads we already pushed on in case we have pads
3501         added/removed while pushing. Fixes #374639 
3502
3503         * tests/check/Makefile.am:
3504         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
3505         (tee_suite):
3506         Added unit test for pad resync.
3507
3508 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3509
3510         * po/nl.po:
3511         * po/sv.po:
3512           Updated translations.
3513
3514 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3515
3516         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
3517
3518         * po/LINGUAS:
3519         * po/fi.po:
3520           Added new Finnish translation.
3521
3522 2007-06-28  Wim Taymans  <wim@fluendo.com>
3523
3524         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3525         (single_queue_overrun_cb):
3526         When figuring out when a queue is filled, use our internal time estimate
3527         based on segments, just like check_full does.
3528
3529 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
3530
3531         * gst/gstminiobject.c: (gst_mini_object_get_type):
3532           Remove 3 do-nothing methods.
3533
3534 2007-06-27  Wim Taymans  <wim@fluendo.com>
3535
3536         Patch by: Tim Angus <tim at ngus dot net>
3537
3538         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3539         (gst_capsfilter_set_property):
3540         Take a reference instead of a copy when setting "caps".
3541         Fix documentation to clarify this behaviour. Fixes #449414.
3542
3543 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
3544
3545         * gst/gstindexfactory.c: (gst_index_factory_get_type):
3546         * gst/gstplugin.c: (gst_plugin_init):
3547         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
3548         * gst/gstquery.c: (gst_query_get_type):
3549         * gst/gstregistry.c: (gst_registry_init):
3550         * gst/gsturi.c: (gst_uri_handler_base_init):
3551           Remove empty instance_init() functions to save relocs and lessen the
3552           noise. Remove some of the function prototypes that are doubled by
3553           G_DEFINE_TYPE.
3554           
3555 2007-06-27  Wim Taymans  <wim@fluendo.com>
3556
3557         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
3558
3559         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
3560         Add peer and direction in the XML serialisation of ghostpads.
3561         Fixes #449226.
3562
3563 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
3564
3565         * configure.ac:
3566           Preserve useful information, thanks Tim.
3567
3568 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
3569
3570         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3571         (gst_single_queue_flush), (apply_segment), (apply_buffer),
3572         (gst_single_queue_push_one), (gst_multi_queue_loop),
3573         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3574         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
3575         (compute_high_id), (gst_single_queue_new):
3576         * plugins/elements/gstmultiqueue.h:
3577         Take the multiqueue lock when updating the fill level so we don't get
3578         confused. 
3579
3580         After applying a buffer or event on the src pad segment, make sure to
3581         call gst_data_queue_limits_changed() to get the data queue to unblock
3582         and check the filled state again.
3583         
3584         Rework the not-linked pad handling so the logic is that not-linked 
3585         pads can push as fast as they like, but only so they never get 
3586         ahead of any linked pads.
3587
3588         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
3589         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
3590         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
3591
3592         Add a test to check that not-linked pads always stay behind
3593         linked pads.
3594
3595         Fixes: #430682
3596
3597 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
3598
3599         * docs/random/release:
3600           Some updates to the release procedure.
3601
3602 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
3603
3604         * gst/gstelementfactory.c: (__gst_element_details_clear):
3605           Microoptimization that saves stunning 80 bytes.
3606
3607 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
3608
3609         * docs/plugins/gstreamer-plugins.args:
3610         * docs/plugins/inspect/plugin-coreelements.xml:
3611         * docs/plugins/inspect/plugin-coreindexers.xml:
3612           Update docs with caps info.
3613
3614 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3615
3616         * po/it.po:
3617           Updated Italian translation.
3618
3619 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3620
3621         * ChangeLog:
3622         * po/vi.po:
3623           Update Vietnamese translations.
3624
3625 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
3626
3627         * libs/gst/base/gstbasesink.c:
3628           Remove unused signal enum.
3629
3630 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
3631
3632         * docs/gst/gstreamer-sections.txt:
3633         * gst/gstelement.c:
3634         * gst/gstutils.c: (gst_type_register_static_full):
3635         Beef up and include the docs for gst_type_register_static_full and
3636         gst_element_class_set_details_simple and add the API keyword
3637         in the ChangeLog.
3638
3639 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
3640
3641         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3642         (update_time_level), (gst_single_queue_push_one),
3643         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
3644         (single_queue_overrun_cb), (single_queue_underrun_cb),
3645         (single_queue_check_full):
3646         Fix setting max-* properties after adding queues.
3647         Use IS_FILLED for checking visible items.
3648         Signal overrun if multiple queues overrun.
3649         Add extra debug output.
3650         Patch by: Wim Taymans <wim@fluendo.com>
3651
3652 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
3653
3654         * gst/gstelement.c: (gst_element_class_set_details_simple):
3655         * gst/gstelement.h:
3656         * gst/gstutils.c: (gst_type_register_static_full):
3657         * gst/gstutils.h:
3658         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
3659         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
3660         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
3661         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
3662         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
3663         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
3664         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
3665         * plugins/elements/gstidentity.c: (gst_identity_base_init):
3666         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
3667         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3668         (apply_buffer), (gst_queue_chain):
3669         * plugins/elements/gsttee.c: (gst_tee_base_init):
3670         * plugins/elements/gsttypefindelement.c:
3671         (gst_type_find_element_base_init),
3672         (gst_type_find_element_class_init):
3673           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
3674           API: add gst_type_register_static_full
3675           API: add gst_element_class_set_details_simple
3676
3677 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
3678
3679         * docs/pwg/advanced-types.xml:
3680           Fix typo in iana.org URI.
3681
3682 2007-06-19  Andy Wingo  <wingo@pobox.com>
3683
3684         * tests/check/pipelines/simple-launch-lines.c
3685         (test_state_change_returns): Enable pull-mode tests now that
3686         basesink has been fixed.
3687
3688         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
3689         Changed from gst_base_sink_is_prerolled, reversing the sense of
3690         the return value. Returns FALSE also if the sink is in pull mode,
3691         in which case it needs no preroll.
3692         (gst_base_sink_query, gst_base_sink_change_state): Update for
3693         needs_preroll change.
3694         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
3695         chaining up, in which we return SUCCESS directly if we activated
3696         in pull mode instead of ASYNC. Involves countering an async_start
3697         message sent before chaining up; not sure if this is correct, in
3698         an ideal world we only send async-start when activating in push
3699         mode.
3700
3701         * tests/check/pipelines/simple-launch-lines.c
3702         (test_state_change_returns): New test, partially disabled until
3703         basesink is fixed.
3704
3705 2007-06-19  Wim Taymans  <wim@fluendo.com>
3706
3707         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3708         (gst_multi_queue_sink_event):
3709         Fix event leak.
3710
3711 2007-06-19  Wim Taymans  <wim@fluendo.com>
3712
3713         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3714         (gst_bin_change_state_func), (bin_push_state_continue),
3715         (bin_handle_async_start), (bin_handle_async_done),
3716         (gst_bin_handle_message_func):
3717         Move the common code for posting state-change messages into
3718         one function.
3719         Broadcast the state signal after we posted the messages.
3720         Mark the bin as busy when it's doing a state-change.
3721         Make sure async-start/done messages don't interfere with the bin's
3722         state when it's busy.
3723         After the state change, let the bin check which elements completed the
3724         state change while it was busy so that it can update its state.
3725
3726 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
3727
3728         * docs/random/release:
3729         Add a note about updating the doap file to the release checklist
3730
3731 2007-06-18  Wim Taymans  <wim@fluendo.com>
3732
3733         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3734         (gst_single_queue_push_one), (gst_multi_queue_chain),
3735         (gst_multi_queue_sink_event):
3736         Make sure we don't reference the buffer/event after we have given away
3737         ownership in the queue.
3738
3739 2007-06-18  Wim Taymans  <wim@fluendo.com>
3740
3741         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3742         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
3743         Update queue state _after_ adding the item in the queue because else we
3744         could end up being full without the element added yet.
3745
3746 2007-06-18  Wim Taymans  <wim@fluendo.com>
3747
3748         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3749         (gst_bin_remove_func), (gst_bin_get_state_func),
3750         (gst_bin_element_set_state), (gst_bin_continue_func),
3751         (bin_push_state_continue), (bin_handle_async_start),
3752         (bin_handle_async_done), (gst_bin_handle_message_func):
3753         * gst/gstbin.h:
3754         Immediatly commit the toplevel bin state when receiving an async-done
3755         message. This enables us to avoid spawning a thread to commit the state
3756         in some common cases and it also avoids some races.
3757         Avoid spawning a state thread when adding/removing async elements to a
3758         toplevel bin. Instead we immediatly update the bin state.
3759         Get rid of iterating all the children when getting the state in the bin
3760         because it is now always up-to-date.
3761         Fix bug where locked elements would always return _SUCCESS even it they
3762         returned NO_PREROLL before being locked.
3763         Fix the order of the state_change, async-start/done messages that was
3764         sometimes incorrect.
3765         Mark the state_dirty field as deprecated, we don't need it anymore as we
3766         are always up-to-date.
3767
3768         * gst/gstelement.c: (gst_element_get_state_func),
3769         (gst_element_continue_state):
3770         Small debug inprovements.
3771         Return the previous element state return when nothing is pending instead
3772         of blindly returning SUCCESS.
3773
3774         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
3775         (gst_sinks_suite):
3776         Add a whole bunch of new testcases.
3777
3778 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3779
3780         * po/uk.po:
3781         * po/vi.po:
3782           Update translations.
3783
3784 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
3785
3786         * gst/gstpad.c:
3787         Fix typo in the docs.
3788
3789 2007-06-15  Wim Taymans  <wim@fluendo.com>
3790
3791         * docs/libs/gstreamer-libs-sections.txt:
3792         Add docs for new methods.
3793
3794 2007-06-15  Wim Taymans  <wim@fluendo.com>
3795
3796         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
3797         (gst_multi_queue_item_new):
3798         Don't use GSlice because we don't depend on >= 2.10 yet.
3799
3800 2007-06-15  Wim Taymans  <wim@fluendo.com>
3801
3802         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3803         (update_time_level), (apply_segment), (apply_buffer),
3804         (gst_single_queue_push_one), (gst_multi_queue_item_new),
3805         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
3806         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
3807         (single_queue_underrun_cb), (single_queue_check_full):
3808         Remove debug printf.
3809
3810 2007-06-15  Wim Taymans  <wim@fluendo.com>
3811
3812         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
3813         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
3814         (gst_data_queue_set_flushing), (gst_data_queue_push),
3815         (gst_data_queue_pop), (gst_data_queue_drop_head),
3816         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
3817         * libs/gst/base/gstdataqueue.h:
3818         Various cleanups.
3819         Added methods to get the current levels and to inform the queue that the
3820         'full' limits changed.
3821
3822         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3823         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3824         (gst_single_queue_flush), (update_time_level), (apply_segment),
3825         (apply_buffer), (gst_single_queue_push_one),
3826         (gst_multi_queue_item_steal_object),
3827         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3828         (gst_multi_queue_loop), (gst_multi_queue_chain),
3829         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3830         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
3831         (gst_multi_queue_src_query), (single_queue_overrun_cb),
3832         (single_queue_underrun_cb), (single_queue_check_full),
3833         (gst_single_queue_new):
3834         Keep track of time in the queue by measuring the difference between
3835         running_time on input and output. This gives more accurate results and
3836         can compensate for segments correctly.
3837         Make a queue by default only 5 buffers deep. We will now increase the
3838         buffer size depending on the filledness of the other queues.
3839         Factor out commong flush code.
3840         Make sure we don't add additional refcounts to buffers when we can avoid
3841         it.
3842         Propagate GstFlowReturn differently.
3843         Use GSlice for intermediate GstMultiQueueItems.
3844         Keep track of EOS.
3845         Resize queues on over and underruns based on filled level of other
3846         queues.
3847         When checking if the queue is filled, prefer to measure in time if we
3848         can and fall back to bytes when no time is known.
3849
3850         * plugins/elements/gstqueue.c:
3851         Fix return value.
3852
3853 2007-06-15  Wim Taymans  <wim@fluendo.com>
3854
3855         * libs/gst/base/gstbasetransform.c:
3856         (gst_base_transform_sink_event):
3857         Work around the brokenness of the event vmethod in basetransform. Prefer
3858         to return TRUE when the subclass returned FALSE (meaning don't forward
3859         the event). 
3860
3861         * libs/gst/base/gstbasetransform.h:
3862         Clarify the docs.
3863
3864 2007-06-15  Wim Taymans  <wim@fluendo.com>
3865
3866         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
3867         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3868         (gst_base_src_default_query), (gst_base_src_get_range),
3869         (gst_base_src_start):
3870         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
3871         Improve debugging.
3872
3873 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
3874
3875         * docs/pwg/advanced-types.xml:
3876           Added more formats to caps table.
3877
3878 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
3879
3880         * tools/gst-launch.c: (main):
3881           Remove crufy code. GOption does not need this workaround.
3882
3883 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3884
3885         * libs/gst/controller/gstcontroller.c:
3886         (gst_controlled_property_set_interpolation_mode):
3887           Fix wrong getter for enums in controller.
3888
3889 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3890
3891         * libs/gst/check/gstcheck.c: (gst_check_init):
3892           Intercept criticals and warnings in the Gst-Phonon log domain, so
3893           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
3894           well.
3895         
3896 2007-06-14  Edward Hervey  <edward@fluendo.com>
3897
3898         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
3899         Since this file doesn't include "gst.h" it will not go through the
3900         macros that disable GST_LOG if debugging was disabled.
3901
3902 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3903
3904         * libs/gst/check/Makefile.am:
3905         * libs/gst/check/gstcheck.h:
3906         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3907         * pkgconfig/gstreamer-check.pc.in:
3908           Ugly 'fix' for the controller unit test on the p5 bot: in
3909           fail_unless_equals_float() check whether the values are 'almost
3910           equal' by allowing a small absolute error, which should be good
3911           enough for our use cases (normal numbers and values close to 0).
3912           Proper fixage left to floating point arithmetic aficionados.
3913
3914 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3915
3916         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
3917         (gst_base_sink_render_object), (gst_base_sink_get_position):
3918           Add two breaks thats where missing.
3919
3920 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3921
3922         * docs/libs/gstreamer-libs-sections.txt:
3923         * libs/gst/check/gstcheck.h:
3924           API: add fail_unless_equals_float() and assert_equals_float().
3925           Add documentation for some of the macros.
3926
3927         * tests/check/libs/controller.c: (GST_START_TEST):
3928           Use newly-added asserts.
3929
3930 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3931
3932         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
3933           Show the caps change in the log to help spotting the case of not
3934           exactly matching caps.
3935
3936 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3937
3938         * docs/pwg/building-boiler.xml:
3939           Fix typos, spotted by Thijs Vermeir (#447190).
3940
3941 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
3942
3943         * docs/plugins/tmpl/.cvsignore:
3944         Ignore file to keep the buildbots happy
3945
3946 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
3947
3948         * docs/plugins/Makefile.am:
3949         * docs/plugins/gstreamer-plugins-docs.sgml:
3950         * docs/plugins/gstreamer-plugins-sections.txt:
3951         Pull fdsink into the docs too.
3952
3953 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
3954
3955         * libs/gst/controller/gstinterpolation.c:
3956         Actually use the new functions with min/max checks for the trigger and
3957         none interpolation modes for get() and get_value_array() instead of
3958         just the latter.
3959
3960 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
3961
3962         * libs/gst/controller/gstcontroller.c:
3963         (gst_controlled_property_free):
3964         Unset the minimum and maximum GValues when freeing the corresponding
3965         GstControllerProperty struct.
3966
3967 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
3968
3969         * libs/gst/controller/gstcontroller.c:
3970         (gst_controlled_property_new):
3971         * libs/gst/controller/gstcontrollerprivate.h:
3972         * libs/gst/controller/gstinterpolation.c:
3973         (gst_controlled_property_find_control_point_node),
3974         (interpolate_none_get), (interpolate_none_get_enum_value_array),
3975         (interpolate_none_get_string_value_array),
3976         (interpolate_trigger_get),
3977         (interpolate_trigger_get_enum_value_array),
3978         (interpolate_trigger_get_string_value_array):
3979         Protect against values larger or smaller than the minimum or maximum
3980         allowed value for the property when using values that can be compared.
3981
3982         Optimize trigger interpolator a bit by taking the last requested value
3983         into account instead of always looping through the complete list.
3984
3985         Fix coding style a bit, everywhere else we use "return foo" instead
3986         of "return (foo)".
3987         
3988         * tests/check/libs/controller.c: (GST_START_TEST),
3989         (gst_controller_suite):
3990         Add unit test for the protection against too large or too small
3991         values.
3992
3993 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
3994
3995         * docs/random/slomo/controller.txt:
3996         Add some thoughts about the future of the controller.
3997
3998 2007-06-08  Wim Taymans  <wim@fluendo.com>
3999
4000         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4001         Don't overflow in retimestamping code.
4002
4003 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
4004
4005         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
4006         Use gst_util_guint64_to_gdouble for conversions.
4007         * win32/common/libgstreamer.def:
4008         Add new exported functions.
4009
4010 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
4011
4012         * gst/gstutils.c:
4013           Small docs addition.
4014
4015 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4016
4017         * README:
4018           Remove that test line again.
4019
4020 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4021
4022         * README:
4023           Test commit mail sending.
4024
4025 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4026
4027         * configure.ac:
4028           Fix typo and test commit mail sending.
4029
4030 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4031
4032         * tests/examples/controller/audio-example.c:
4033           Improve comment and test commit mail sending.
4034
4035 2007-06-07  Wim Taymans  <wim@fluendo.com>
4036
4037         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
4038         (gst_bin_remove_func), (gst_bin_element_set_state),
4039         (bin_handle_async_start), (bin_handle_async_done),
4040         (gst_bin_handle_message_func):
4041         Add helper function to find messages.
4042         Generate the async-done messages together with the state change
4043         messages.
4044         Small cleanups in handling toplevel bins.
4045
4046 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4047
4048         * libs/gst/base/gstdataqueue.c:
4049         * libs/gst/base/gstdataqueue.h:
4050         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4051         (gst_multi_queue_item_new), (gst_multi_queue_chain),
4052         (gst_multi_queue_sink_event):
4053         * tests/check/elements/multiqueue.c: (multiqueue_suite):
4054           Fix multiqueue leaking buffers and events when downstream or the
4055           queue are flushing. Make refcounting assumptions explicit and
4056           document them (shouldn't break existing code that uses it other than
4057           maybe leak miniobjects, but that already happens anyway). Add unit
4058           test for the most common flushing case. Fixes #423700.
4059           
4060 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
4061
4062         * libs/gst/controller/gstcontroller.c:
4063         Clarify docs: The get_all, get_value_array(s) functions
4064         don't modify the GObject properties.
4065
4066 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
4067
4068         * libs/gst/controller/gstcontroller.c:
4069         (gst_controlled_property_set_interpolation_mode),
4070         (gst_controlled_property_prepend_default),
4071         (gst_controlled_property_new), (gst_controller_set_unlocked),
4072         (gst_controller_set), (gst_controller_set_from_list),
4073         (gst_controller_unset), (gst_controller_unset_all):
4074         * libs/gst/controller/gstcontrollerprivate.h:
4075         * libs/gst/controller/gstinterpolation.c:
4076         Factor out the 'set' logic into gst_controller_set_unlocked for the
4077         gst_controller_set and gst_controller_set_from_list functions.
4078
4079         To make life of the interpolators easier always add a control point
4080         at timestamp zero with the default value.
4081
4082         In the linear interpolator make things more obvious by better variable
4083         naming (slope).
4084
4085         Implement cubic interpolation mode (by using a natural cubic spline)
4086         and map the quadratic interpolation mode to this too (as quadratic
4087         doesn't make much sense, see discussion on the list).
4088
4089         * tests/check/libs/controller.c: (GST_START_TEST),
4090         (gst_controller_suite):
4091         Add unit test for the cubic interpolation mode and check everywhere
4092         if the interpolation mode could be set as expected.
4093
4094 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4095
4096         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
4097           Don't use GLib-2.10 functions, we still depend on
4098           GLib-how-old-is-it-again-2.8.
4099
4100 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4101
4102         * docs/gst/gstreamer-sections.txt:
4103         * gst/Makefile.am:
4104         * gst/gst.c:
4105         * gst/gst.h:
4106         * gst/gstparamspecs.c: (_gst_param_fraction_init),
4107         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
4108         (_gst_param_fraction_values_cmp),
4109         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
4110         * gst/gstparamspecs.h:
4111         * gst/gstvalue.c:
4112         * tests/check/Makefile.am:
4113         * tests/check/gst/.cvsignore:
4114         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
4115         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
4116         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
4117         (GST_START_TEST), (gst_param_spec_suite):
4118           API: add GstParamSpecFraction, so elements can have fraction
4119           properties without lots of painful string parsing (#444648).
4120
4121 2007-06-05  Wim Taymans  <wim@fluendo.com>
4122
4123         * gst/gstobject.c: (gst_object_class_init):
4124         Fix signal signature.
4125
4126         * gst/gstsegment.c:
4127         Add small clarification in the api docs.
4128
4129         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
4130         States are protected with object lock.
4131
4132 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
4133
4134         * AUTHORS:
4135         I should probably be listed as an author by now.
4136
4137         * docs/random/release:
4138         Update the release doc
4139
4140 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
4141
4142         * gst/gstvalue.c:
4143           Make docs for gst_value_compare() mention return enums that
4144           actually exist.
4145
4146 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
4147
4148         * configure.ac:
4149           Back to CVS
4150
4151 === release 0.10.13 ===
4152
4153 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
4154
4155         * configure.ac:
4156           releasing 0.10.13, "With or without you"
4157
4158 2007-05-25  Wim Taymans  <wim@fluendo.com>
4159
4160         * gst/gstbin.c: (bin_handle_async_done):
4161         Make sure that the child bin stops after completing the async state
4162         change so that the parent can continue the state change to PLAYING.
4163         Fixes #441159.
4164
4165 2007-05-25  Wim Taymans  <wim@fluendo.com>
4166
4167         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4168         (unref_data), (gst_collect_pads_remove_pad),
4169         (gst_collect_pads_check_pads):
4170         Use additional refcounting to avoid crashes when dynamically adding and
4171         removing pads. Fixes #420206.
4172
4173 2007-05-24  Wim Taymans  <wim@fluendo.com>
4174
4175         * tools/gst-launch.c: (event_loop):
4176         When buffering goes from a two digit to a single digit number, make sure
4177         to remove the old second digit by writing a blank over it.
4178
4179 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
4180
4181         * libs/gst/base/gstdataqueue.c:
4182           Eliminate tabs and trailing comma in enum list; fix some typos.
4183
4184 2007-05-24  Wim Taymans  <wim@fluendo.com>
4185
4186         * tests/check/gst/gstbin.c: (GST_START_TEST):
4187         Allow refcount of 3 and 4 because some state thread might still be busy
4188         with it.
4189
4190 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
4191
4192         * plugins/elements/Makefile.am:
4193         * plugins/elements/gstmultiqueue.h:
4194         * plugins/elements/gstqueue.h:
4195           These are not installed headers, no need for padding.
4196
4197 2007-05-24  Wim Taymans  <wim@fluendo.com>
4198
4199         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4200         (gst_bin_continue_func):
4201         Enable latency for next release.
4202         Restore STATE_LOCK around recalc_state that was left out during the
4203         rewrite and could result in racy behaviour when _get_state and
4204         recalc_state are run concurrently. See #440463.
4205
4206 2007-05-23  Wim Taymans  <wim@fluendo.com>
4207
4208         * tests/check/gst/gstsystemclock.c: (store_callback),
4209         (GST_START_TEST):
4210         Improve test_async_order to also work when both timers are already
4211         expired when we get scheduled to check it.
4212
4213 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4214
4215         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
4216         (gst_bin_set_property), (gst_bin_get_property),
4217         (gst_bin_remove_func), (gst_bin_handle_message_func):
4218         * gst/gstbin.h:
4219           'private' is a c++ keyword, let's not use that in header files,
4220           otherwise c++ compilers will throw a tantrum.
4221
4222 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4223
4224         * plugins/elements/gstelements.c:
4225         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
4226         (gst_file_sink_get_current_offset):
4227         * plugins/indexers/gstindexers.c: (plugin_init):
4228           Use #ifdef for HAVE_XYZ for consistency.
4229
4230         * tests/check/Makefile.am:
4231         * tests/check/elements/.cvsignore:
4232         * tests/check/elements/filesink.c: (setup_filesink),
4233         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
4234           Add some unit tests for filesink.
4235
4236 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4237
4238         Patch by: Mark Nauwelaerts <manauw at skynet be>
4239
4240         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4241         (gst_file_sink_query), (gst_file_sink_do_seek),
4242         (gst_file_sink_get_current_offset), (gst_file_sink_render):
4243         * plugins/elements/gstfilesink.h:
4244           Fix position reporting; rename data_written member to current_pos to
4245           reflect its real meaning (fixes #412648).
4246
4247 2007-05-22  Edward Hervey  <edward@fluendo.com>
4248
4249         * docs/gst/gstreamer-sections.txt:
4250         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4251         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
4252         (gst_bin_remove_func), (gst_bin_handle_message_func):
4253         * gst/gstbin.h:
4254         Add a property for bins that handle the state change of their childs.
4255         Fixes #435880
4256
4257 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
4258
4259         * libs/gst/controller/gstinterpolation.c:
4260         Use an array of the correct type when using _get_value_array with
4261         linear interpolation.
4262
4263 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
4264
4265         * gst/gstelement.c (gst_element_requires_clock,
4266           gst_element_provides_clock, gst_element_request_pad,
4267           gst_element_class_set_details, gst_element_class_set_details_simple,
4268           gst_element_default_send_event, gst_element_abort_state,
4269           gst_element_continue_state, gst_element_set_state,
4270           gst_element_set_state_func, iterator_activate_fold_with_resync):
4271         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
4272           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
4273           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
4274           gst_pad_get_range, gst_pad_pull_range):
4275         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
4276           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
4277           GstPadActivateModeFunction, GstPadChainFunction,
4278           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
4279           GstPadFixateCapsFunction, GstPadTemplate):
4280         * gst/gstpipeline.c (gst_pipeline_change_state,
4281           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
4282           gst_pipeline_set_clock, gst_pipeline_auto_clock,
4283           gst_pipeline_get_delay):
4284           Whitespace and docs fixes.
4285
4286 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4287
4288         * libs/gst/controller/gstinterpolation.c:
4289         (interpolate_trigger_get_enum_value_array),
4290         (interpolate_trigger_get_string_value_array):
4291         Add support for retrieving value arrays when using the trigger
4292         interpolation mode. 
4293
4294 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4295
4296         * libs/gst/controller/gstcontroller.c:
4297         (gst_controller_get_value_array):
4298         * libs/gst/controller/gstcontroller.h:
4299         Clarify the docs of gst_controller_get_value_array(): The array where
4300         the values should be written to must be allocated as there seems to be
4301         no way to get the size of a random GType. This doesn't change any
4302         behaviour. Also fix some typos all over the place and remove an unused,
4303         commented function that is not necessary as g_object_set() could be
4304         used instead.
4305         * tests/check/libs/controller.c: (GST_START_TEST),
4306         (gst_controller_suite):
4307         Add unit test for gst_controller_get_value_array().
4308
4309 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
4310
4311         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4312
4313         Disable part of the gst_buffer_try_new_and_alloc test, because
4314         it can happily succeed on 64-bit systems where there's more address
4315         space available.
4316
4317 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4318
4319         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4320         Add unit test for the improved caps checking from bug #421543.
4321
4322 2007-05-21  Wim Taymans  <wim@fluendo.com>
4323
4324         * docs/design/part-synchronisation.txt:
4325         Small addition.
4326
4327         * gst/gstbin.c: (gst_bin_query):
4328         * plugins/elements/gstqueue.c: (apply_segment):
4329         Improve debugging.
4330
4331         * gst/gstmessage.h:
4332         Improve docs.
4333
4334 2007-05-21  Wim Taymans  <wim@fluendo.com>
4335
4336         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4337         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
4338         (gst_pad_configure_src):
4339         Added simple version of improved caps checking. It was previously
4340         assumed that a setcaps function would check the validity of the caps but
4341         people prefer us to check caps against the template automatically. 
4342         Fixes #421543.
4343
4344 2007-05-21  Wim Taymans  <wim@fluendo.com>
4345
4346         * libs/gst/base/gstbasetransform.h:
4347         Fix macro for locking/unlocking the transform lock.
4348
4349 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
4350
4351         * docs/plugins/tmpl/.cvsignore:
4352           Ignore more.
4353
4354 2007-05-18  Edward Hervey  <edward@fluendo.com>
4355
4356         * plugins/elements/gstqueue.c: (gst_queue_loop):
4357         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
4358         for the subtle art of warning a potentially blocking thread that it
4359         should check the source pad return value, and relay the information
4360         upstream.
4361
4362 2007-05-18  Edward Hervey  <edward@fluendo.com>
4363
4364         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4365         Release the queue lock !
4366
4367 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4368
4369         * docs/libs/gstreamer-libs-sections.txt:
4370         Add the two new controller functions to the appropiate places.
4371
4372 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4373
4374         reviewed by: Stefan Kost <ensonic@users.sf.net>
4375
4376         * libs/gst/controller/gstcontroller.c:
4377         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
4378         (_gst_controller_get_property), (_gst_controller_set_property),
4379         (_gst_controller_init), (_gst_controller_class_init):
4380         * libs/gst/controller/gstcontroller.h:
4381         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
4382         (gst_object_get_control_rate), (gst_object_set_control_rate):
4383         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
4384         Add API that provides sync suggestion timestamps for elements that
4385         call gst_object_sync_values() from which those elements can subdivide
4386         their processing loop to get the best results for the controlled
4387         properties. For now it just suggests last_sync + control_rate as
4388         new timestamp but this will be improved in the future.
4389
4390         While doing that change the control-rate property to a GstClockTime
4391         from guint and change it's meaning from samples to nanoseconds as
4392         the GstController doesn't know anything about sampling rate. Strictly
4393         speaking this breaks ABI but as the control-rate property didn't do
4394         anything in the past and as such couldn't be used this should be no
4395         problem.        
4396
4397 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4398
4399         reviewed by: Stefan Kost <ensonic@users.sf.net>
4400
4401         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4402         (gst_controller_unset_all):
4403         * libs/gst/controller/gstcontrollerprivate.h:
4404         * libs/gst/controller/gstinterpolation.c:
4405         (gst_controlled_property_find_control_point_node):
4406         Save last synced value from the list to continue searching from there
4407         in future syncs. This speeds everything up a bit.
4408         
4409 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4410
4411         reviewed by: Stefan Kost <ensonic@users.sf.net>
4412
4413         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
4414         (gst_control_point_find), (gst_controlled_property_new),
4415         (gst_control_point_free), (gst_controlled_property_free),
4416         (gst_controller_set), (gst_controller_set_from_list),
4417         (gst_controller_unset), (gst_controller_unset_all),
4418         (gst_controller_sync_values):
4419         * libs/gst/controller/gstcontroller.h:
4420         * libs/gst/controller/gstcontrollerprivate.h:
4421         * libs/gst/controller/gstinterpolation.c:
4422         (gst_controlled_property_find_control_point_node),
4423         (interpolate_none_get), (interpolate_trigger_get):
4424         Add a new private GstControlPoint struct which "inherits" from
4425         GstTimedValue to allow different interpolators to store internal
4426         values next to each control point. From the outside everything is
4427         still a GstControlPoint so we don't loose binary compatibility.
4428         Also fixup all the GValue handling to not leak GValues or list nodes.
4429         * tests/check/libs/controller.c: (GST_START_TEST):
4430         Free the list nodes and GValues in the controller_misc test.
4431
4432 2007-05-17  Edward Hervey  <edward@fluendo.com>
4433
4434         * gst/gstsegment.c:
4435         Small doc fix.
4436
4437 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
4438
4439         * gst/gstplugin.c: (gst_plugin_load_file):
4440           If we fail to load a plugin because of unresolved symbols or missing
4441           libraries and spew a warning to stderr, we may just as well mention
4442           which plugin it was that failed to load.
4443
4444 2007-05-13  David Schleef  <ds@schleef.org>
4445
4446         * docs/Makefile.am: the gtk-doc makefile snippet correctly
4447           handles the case when ENABLE_GTK_DOC is false, and installs
4448           the prebuilt documentation.  So gtk-doc subdirs are 
4449           unconditionally enabled.  Fixes: #349099.
4450
4451 2007-05-13  David Schleef  <ds@schleef.org>
4452
4453         * gst/gstutils.h: Reword some documentation.
4454
4455 2007-05-12  David Schleef  <ds@schleef.org>
4456
4457         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
4458           do anything with the passed "module" parameter, so remove it.
4459           Allows removal of additional vestigal code.
4460
4461 2007-05-12  David Schleef  <ds@schleef.org>
4462
4463         * gst/gstplugin.c:
4464           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
4465           Switch to using g_stat() because it's more portable.
4466
4467 2007-05-12  David Schleef  <ds@schleef.org>
4468
4469         * gst/gst.c:
4470           Add GST_DISABLE_OPTION_PARSING, in order to disable option
4471           parsing for embedded systems.
4472         * gst/gstelementfactory.c:
4473           Allow gst_element_register() to be called with plugin==NULL.
4474           Did nobody notice that static elements were broken?
4475
4476 2007-05-12  Wim Taymans  <wim@fluendo.com>
4477
4478         * tools/gst-launch.c: (event_loop):
4479         Give more interesting info when buffering starts and stops.
4480         Fix case where buffering starts but we fail to update the buffering flag
4481         because the target state is not PLAYING.
4482
4483 2007-05-12  Wim Taymans  <wim@fluendo.com>
4484
4485         * plugins/elements/gstqueue.c: (gst_queue_init),
4486         (gst_queue_finalize), (update_time_level), (apply_segment),
4487         (apply_buffer), (gst_queue_locked_flush),
4488         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
4489         (gst_queue_handle_sink_event), (gst_queue_chain),
4490         (gst_queue_push_one), (gst_queue_loop):
4491         * plugins/elements/gstqueue.h:
4492         Refactor an cleanup queue a bit.
4493         Do better time level calculations that also work when the srcpad is not
4494         yet running.
4495         Remove some unneeded debug lines.
4496
4497         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
4498         Added testcase for time level measurement.
4499         Try to make some stuff more racefree.
4500
4501 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
4502
4503         * gst/gsturi.c: (gst_element_make_from_uri):
4504           Don't leak plugin feature.
4505
4506         * tests/check/Makefile.am:
4507         * tests/check/gst/.cvsignore:
4508         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
4509           Add brain-dead unit test.
4510
4511 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
4512
4513         Patch by: Jeroen Wouters <woutersj at gmail com>
4514
4515         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
4516           Treat protocol strings in a case-insensitive way (#437563).
4517
4518 2007-05-11  Michael Smith <msmith@fluendo.com>
4519
4520         * gst/gstplugin.c: (gst_plugin_load_file):
4521         * gst/gstregistry.c: (gst_registry_scan_path_level):
4522           Don't print a g_warning for any failure to load a shared object.
4523           Instead, push this down into gstplugin.c, and warn _only_ if we
4524           failed to open the module (i.e. failure to link).
4525           Avoids warnings on normal, working, non-plugin .so files.
4526
4527 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
4528
4529         * gst/gstplugin.c (gst_plugin_load_file):
4530         * gst/gstregistry.c (GST_CAT_DEFAULT,
4531           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
4532           Print a g_warning if there was an error when loading a plugins during
4533           registry scan. The shuld help beginners starting with gst-plugin
4534           template.
4535
4536 2007-05-10  Wim Taymans  <wim@fluendo.com>
4537
4538         * plugins/elements/gstqueue.c: (gst_queue_class_init),
4539         (update_time_level), (gst_queue_locked_flush),
4540         (gst_queue_handle_sink_event), (gst_queue_chain),
4541         (gst_queue_push_one), (gst_queue_loop):
4542         * plugins/elements/gstqueue.h:
4543         Be smarter when calculating the current amount of data in the queue by
4544         measuring the difference between start and end timestamps (in running
4545         time) inside the queue. Fixes #432876.
4546         API: GstQueue::pushing to notify elements that we are pushing data again
4547         since the running signal is rather broken for this purpose.
4548
4549 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
4550
4551         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
4552           gst_queue_base_init, gst_queue_init):
4553           use GST_BOILERPLATE
4554
4555 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
4556
4557         * win32/common/libgstreamer.def:
4558         Add new exported functions.
4559         * win32/vs6/grammar.dsp:
4560         Use grammar pre-generated files.
4561
4562 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
4563
4564         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
4565
4566         * gst/Makefile.am:
4567         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
4568         * gst/gstparse.h:
4569         * gst/gstutils.c: (gst_parse_bin_from_description):
4570         * gst/gstutils.h:
4571           Maintain API and ABI when --disable-parse is used. Now that
4572           we have an appropriate error code, we can just return NULL and the
4573           appropriate error when gst_parse_launch() is used despite it having
4574           been disabled (#342564).
4575
4576         * tests/check/Makefile.am:
4577         * tests/check/pipelines/.cvsignore:
4578         * tests/check/pipelines/parse-disabled.c:
4579           Make sure these functions exist and return NULL plus a GError when
4580           --disable-parse is used.
4581
4582 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
4583
4584         * tests/benchmarks/complexity.c: (main):
4585         * tests/benchmarks/mass-elements.c: (main):
4586           Set a good example and don't leak messages.
4587
4588 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
4589
4590         * docs/gst/Makefile.am:
4591         * docs/libs/Makefile.am:
4592           Correct fixxrefs options.
4593
4594         * docs/plugins/Makefile.am:
4595         * docs/plugins/gstreamer-plugins-docs.sgml:
4596         * docs/plugins/gstreamer-plugins-sections.txt:
4597         * plugins/elements/Makefile.am:
4598         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
4599         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
4600           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
4601           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
4602           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
4603           _GstCapsFilterClass, trans_class):
4604         * plugins/elements/gstelements.c (name, rank, type, _elements):
4605         * plugins/elements/gstidentity.c
4606           (gst_identity_check_imperfect_timestamp,
4607           gst_identity_check_imperfect_offset):
4608           Document capsfilter and add doc-blurb to identity.
4609
4610 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
4611
4612         * libs/gst/controller/gstcontroller.c:
4613         (gst_controlled_property_set_interpolation_mode):
4614         * libs/gst/controller/gstinterpolation.c:
4615           Don't crash if someone tries to set an interpolation mode that
4616           is invalid or that isn't supported yet. Fixes #422295.
4617
4618         * tests/check/libs/controller.c: (GST_START_TEST),
4619         (gst_controller_suite):
4620           Add a test case for the above.
4621
4622 2007-05-03  Edward Hervey  <edward@fluendo.com>
4623
4624         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4625         Properly set the last_stop position on GstSegment. This will only happen
4626         if there is a buffer to push out.
4627
4628 2007-05-03  Wim Taymans  <wim@fluendo.com>
4629
4630         * libs/gst/base/gstbasetransform.c:
4631         (gst_base_transform_buffer_alloc):
4632         always_in_place does not mean that the sink and source caps are the
4633         same! Make sure we don't blindly proxy the buffer_alloc in this case.
4634
4635 2007-05-03  Wim Taymans  <wim@fluendo.com>
4636
4637         * docs/libs/gstreamer-libs-sections.txt:
4638         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4639         (gst_base_src_default_query), (gst_base_src_get_range):
4640         * libs/gst/base/gstbasesrc.h:
4641         API: gst_base_src_query_latency(). Added method so that subclasses can
4642         easily get the latency values of the base source class.
4643
4644 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
4645
4646         * tools/gst-inspect.c (print_implementation_info):
4647         Remove 0.8 cruft.
4648
4649 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
4650
4651         * tools/Makefile.am:
4652         * tools/gst-launch.1.in:
4653           Don't create a customised man page based on the host architecture,
4654           describe the default registry path generically. That way the man
4655           page is the same for all architectures and packagers have one
4656           multilib issue less to deal with. Fixes #434926.
4657
4658 2007-05-02  Wim Taymans  <wim@fluendo.com>
4659
4660         * gst/gstpad.c:
4661         Fix documentation as spotted by rg on IRC. 
4662
4663 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
4664
4665         * gst/gstutils.c:
4666           Improve docs for gst_element_{link,unlink}.
4667
4668 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
4669
4670         * docs/design/part-events.txt:
4671         * docs/design/part-overview.txt:
4672         * gst/gstevent.c:
4673         * gst/gsturi.c:
4674         * gst/gsturi.h:
4675         * libs/gst/base/gstbasesink.c:
4676           Typo fixes; minor docs addition.
4677
4678 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4679
4680         * docs/gst/gstreamer-sections.txt:
4681         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
4682         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
4683         * gst/gsturi.h:
4684         API: Add gst_uri_protocol_is_supported(), which checks if a sink
4685         or src that supports a given URI protocol exists.
4686
4687 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4688
4689         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4690         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4691         Set the location to NULL if "file://" is set as URI. Otherwise
4692         some random previous URI would still be set if "file://" is
4693         set on an already used filesink/filesrc.
4694
4695 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4696
4697         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4698         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4699         Special case the "file://" URI as as this is used by some
4700         applications to test with gst_element_make_from_uri if there's
4701         an element that supports the URI protocol.
4702         Also move the g_path_is_absolute() check for the location part
4703         of the URI to also check this for "file://localhost/bla" URIs.
4704
4705 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
4706
4707         * docs/gst/gstreamer-sections.txt:
4708         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
4709         * gst/gstbuffer.h:
4710         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4711         (gst_buffer_suite):
4712           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
4713
4714 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
4715
4716         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4717         (gst_registry_binary_load_pad_template),
4718         (gst_registry_binary_load_plugin),
4719         (gst_registry_binary_read_cache):
4720         * gst/gstregistrybinary.h:
4721           Implement no-mmap alternative for registry reading. Do code cleanups.
4722           Add more comments about avoiding strdups for all text data. Comments
4723           welcome.
4724
4725 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
4726
4727         * gst/gstregistrybinary.h (GstBinaryPluginElement,
4728           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
4729           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
4730           Comment structs and reformat to fix the build (that stuff should go
4731           into a priv. header).
4732
4733 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
4734
4735         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
4736         (gst_registry_binary_load_feature):
4737         * gst/gstregistrybinary.h:
4738           Refactor so that we can implement multiple features. Add support for
4739           TypeFindFactory features.
4740
4741 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
4742
4743         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
4744
4745         * configure.ac:
4746           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
4747
4748 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
4749
4750         * gst/gstbin.c: (gst_bin_element_set_state),
4751         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
4752         (bin_handle_async_done), (gst_bin_handle_message_func):
4753           Fix build with --gst-disable-gst-debug
4754
4755 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
4756
4757         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
4758           Make sure streaming has finished before calling the ::stop() vfunc,
4759           since that vfunc might clear state which is being used in the
4760           streaming thread. This fixes a race that caused crashes in
4761           audioresample when shutting down a pipeline (#420106).
4762
4763 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4764
4765         * docs/gst/gstreamer-sections.txt:
4766           That was one byte missing.
4767
4768 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4769
4770         * configure.ac:
4771         * docs/gst/gstreamer-sections.txt:
4772         * gst/Makefile.am:
4773         * gst/gstconfig.h.in:
4774         * gst/gstobject.c: (gst_object_class_init),
4775         (gst_signal_object_class_init):
4776         * gst/gstobject.h:
4777           2nd attempt to have a xml-less build as a joined effort of #413123
4778           and #421480.
4779
4780 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4781
4782         * docs/design/draft-tagreading.txt:
4783           Added open issues/thoughts to draft.
4784
4785 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4786
4787         * gst/parse/grammar.tab.pre.c:
4788         * gst/parse/grammar.tab.pre.h:
4789         * gst/parse/lex._gst_parse_yy.pre.c:
4790         Update the prebuild parser sources.
4791
4792 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4793
4794         * gst/parse/Makefile.am:
4795         And now fix the building of the flex sources. Now everything should
4796         work as expected.
4797
4798 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4799
4800         * gst/parse/Makefile.am:
4801         Now hopefully fix the build failures by setting proper rule
4802         dependencies and moving instead of copying.
4803
4804 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
4805
4806         * tests/benchmarks/complexity.gnuplot:
4807         * tests/benchmarks/complexity.scm:
4808         * tests/benchmarks/mass-elements.gnuplot:
4809         * tests/benchmarks/mass-elements.scm:
4810           Total licensification.
4811
4812 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
4813
4814         * gst/parse/Makefile.am:
4815           Fix the build by correcting the rule that gave wrong files to flex.
4816
4817 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
4818
4819         * tests/benchmarks/complexity.c:
4820         * tests/benchmarks/mass-elements.c:
4821           Change licence to LGPL as granted by Benjamin and Andy.
4822
4823 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4824
4825         * gst/parse/Makefile.am:
4826         Add correct grammar.tab.h dependency if compiling without new enough
4827         flex. Fixes #431150.
4828
4829 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
4830
4831         * gst/parse/Makefile.am:
4832         Fix typo and use outdated sources if the flex/bison sources are newer
4833         than the pregenerated ones but flex is too old. Print a warning in
4834         that case. This should fix the build on the build bot.
4835
4836 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
4837
4838         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
4839         * gst/parse/Makefile.am:
4840         * gst/parse/grammar.y:
4841         * gst/parse/parse.l:
4842         Make the parser reentrant and recursively callable. This requires flex
4843         >= 2.5.31, for older versions pregenerated sources are used as we
4844         can't bump the build dependency. Finally fixes #349180.
4845
4846         * gst/gstparse.c: (gst_parse_launch):
4847         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
4848         now anyway.
4849
4850         * docs/gst/Makefile.am:
4851         * docs/gst/Makefile.am:
4852         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
4853         (__gst_parse_strfree), (__gst_parse_link_new),
4854         (__gst_parse_link_free), (__gst_parse_chain_new),
4855         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
4856         (gst_parse_element_set), (gst_parse_free_link),
4857         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
4858         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
4859         (_gst_parse_launch):
4860         * gst/parse/grammar.tab.pre.h:
4861         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
4862         (yy_get_previous_state), (yy_try_NUL_trans), (input),
4863         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
4864         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
4865         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
4866         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
4867         (_gst_parse_yypop_buffer_state),
4868         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
4869         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
4870         (yy_fatal_error), (_gst_parse_yyget_extra),
4871         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
4872         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
4873         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
4874         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
4875         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
4876         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
4877         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
4878         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
4879         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
4880         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
4881         (_gst_parse_yyfree):
4882         If the installed flex version is too old use pre-generated parser
4883         sources. These pre-generated parser sources are always updated when
4884         the actual flex/bison sources change but require everybody who wants
4885         to change something in the parser to have flex >= 2.5.31 installed.
4886
4887 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
4888
4889         * common/m4/gst-gettext.m4:
4890         * gst/gst-i18n-lib.h:
4891           Make --disable-nls to work
4892
4893 2007-04-17  Wim Taymans  <wim@fluendo.com>
4894
4895         * gst/gstconfig.h.in:
4896         Revert previous change that broke the build.
4897
4898 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
4899
4900         * configure.ac:
4901         * gst/Makefile.am:
4902         * gst/gstconfig.h.in:
4903           Drop libxml2 dependency when building with 
4904           --enable-binary-registry --disable-loadsave
4905
4906 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
4907
4908         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4909         (gst_registry_binary_read_cache):
4910         * gst/gstregistrybinary.h:
4911           Remove unnecessary <sys/mman.h> include which broke the win32 build
4912           with MingW; move includes from header file to .c file, even if the
4913           header file isn't installed; use g_strerror() where UTF-8 strings
4914           are expected, such as in GST_DEBUG messages.
4915
4916 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4917
4918         * docs/libs/gstreamer-libs-sections.txt:
4919         Remove bogus addition for API I didn't end up keeping.
4920
4921         * libs/gst/base/gstbasesrc.h:
4922         Mention Since: 0.10.13 in the documentation.
4923
4924         Add the API keyword to the previous ChangeLog entry.
4925
4926 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4927
4928         * docs/libs/gstreamer-libs-sections.txt:
4929         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4930         (gst_base_src_default_prepare_seek_segment),
4931         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
4932         * libs/gst/base/gstbasesrc.h:
4933         Allow basesrc derived classes to execute seeks in other formats
4934         by providing a prepare_seek_segment vmethod. Sub-classes can choose
4935         to prepare the GstSegment in any format that their perform_seek method
4936         will be able to understand. The default implementation provides the
4937         old behaviour of attempting to convert the seek offsets to the 
4938         configured native format.
4939
4940         API: basesrc::prepare_seek_segment vmethod.
4941
4942 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4943
4944         * gst/gstelement.c: (gst_element_get_state_func):
4945         Don't output the same debug statement twice.
4946
4947         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
4948         (gst_adapter_peek), (gst_adapter_take_buffer):
4949         Optimise the case where we have buffers at the head of the queue that
4950         can be joined quickly (because they're contiguous sub-buffers) by
4951         merging them together rather than copying data out into new memory.
4952
4953         * gst/parse/grammar.y:
4954         * tests/check/pipelines/parse-launch.c:
4955         Fix a leak in an error path for parse_launch, and add a check 
4956         for it to the testsuite.
4957
4958 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4959
4960         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
4961           Don't deadlock when releasing a pad - gst_pad_set_active may try
4962           and take the multiqueue lock too.
4963
4964 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
4965
4966         * gst/gsterror.c: (_gst_core_errors_init):
4967         * gst/gsterror.h:
4968           API: add GST_CORE_ERROR_DISABLED (#392804).
4969
4970 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4971
4972         * docs/faq/gst-uninstalled:
4973           don't get empty paths on the PATH variables
4974         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
4975           Don't format for the uncommon terminal width of 84 characters.
4976
4977 2007-04-06  Wim Taymans  <wim@fluendo.com>
4978
4979         * gst/gstpipeline.c: (reset_stream_time),
4980         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
4981         Only try to select a different pipeline clock when we went back to
4982         PAUSED and not when we merely got flushed.
4983
4984 2007-04-05  Michael Smith  <msmith@fluendo.com>
4985
4986         * tools/gst-launch.1.in:
4987           fractions are better supported in gstreamer than ractions, so
4988           suggest using those.
4989
4990 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4991
4992         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
4993
4994         * po/LINGUAS:
4995         * po/da.po:
4996           Added Danish translation.
4997
4998 2007-04-05  Wim Taymans  <wim@fluendo.com>
4999
5000         * libs/gst/base/gstbasesink.c:
5001         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
5002         Fix leak caused when refusing newsegment after EOS.
5003
5004         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5005         (gst_fake_sink_init), (gst_fake_sink_set_property),
5006         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
5007         (gst_fake_sink_render), (gst_fake_sink_change_state):
5008         * plugins/elements/gstfakesink.h:
5009         Add num-buffers property to make the element generate EOS after a
5010         configurable amount of buffers.
5011         API: fakesink::num-buffers property.
5012
5013         * tests/check/elements/fakesink.c: (GST_START_TEST),
5014         (fakesink_suite):
5015         Fix GstBus leak in test.
5016         Test for fakesink num-buffers.
5017
5018 2007-04-05  Wim Taymans  <wim@fluendo.com>
5019
5020         * libs/gst/base/gstbasesink.c:
5021         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5022         (gst_base_sink_change_state):
5023         Don't accept anything after an EOS, return UNEXPECTED instead.
5024
5025         * tests/check/elements/fakesink.c: (GST_START_TEST),
5026         (fakesink_suite):
5027         Unit test for new EOS behaviour.
5028
5029 2007-04-05  Wim Taymans  <wim@fluendo.com>
5030
5031         * gst/gstelement.c: (gst_element_get_request_pad):
5032         Make padtemplates also work when they don't contain %s or %d.
5033
5034 2007-04-05  Wim Taymans  <wim@fluendo.com>
5035
5036         * docs/gst/gstreamer-sections.txt:
5037         * gst/gstclock.c: (gst_clock_adjust_unlocked),
5038         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
5039         * gst/gstclock.h:
5040         Improve _adjust_unlocked() so that it overflows less.
5041         Add gst_clock_unadjust_unlocked to convert from external time to
5042         internal time based on calibration.
5043         Add some more debug.
5044         API: GstClock::gst_clock_unadjust_unlocked()
5045
5046 2007-04-03  Wim Taymans  <wim@fluendo.com>
5047
5048         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
5049
5050         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5051         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
5052         when releasing sink pad. Fixes #425400.
5053
5054 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
5055
5056         * docs/random/ensonic/dynlink.txt:
5057           More work on proposal for new core api.
5058
5059         * docs/libs/gstreamer-libs-sections.txt:
5060         * libs/gst/base/gstbasetransform.h:
5061           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
5062           
5063         * libs/gst/controller/gstcontroller.c:
5064         (on_object_controlled_property_changed),
5065         (gst_controller_sync_values),
5066         (gst_controller_set_interpolation_mode):
5067         * libs/gst/controller/gstcontroller.h:
5068           Less verbose logging add docs for unimplemented parts and correctly
5069           return when using unavailable parts.
5070
5071 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
5072
5073         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
5074         Move all the debug to the CLOCK category, and associate it with
5075         the clock object.
5076
5077 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
5078
5079         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
5080         Make take_buffer a bit quicker by removing redundant checks
5081         caused by calling gst_adapter_take.
5082
5083 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
5084
5085         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
5086           Don't leak GCond.
5087
5088         * tests/check/Makefile.am:
5089         * tests/check/elements/.cvsignore:
5090         * tests/check/elements/multiqueue.c: (setup_multiqueue),
5091         (GST_START_TEST), (multiqueue_suite):
5092           Add some dead simple unit tests for the 'multiqueue' element
5093           (some bits don't work yet and are disabled for now).
5094
5095 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
5096
5097         * gst/gstelement.c: (gst_element_get_request_pad),
5098         (gst_element_class_get_request_pad_template):
5099           Make gst_element_get_request_pad() create request pads only for
5100           request pad templates and not for, say, sometimes pad templates.
5101
5102 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
5103
5104         * docs/design/draft-klass.txt:
5105           Add example that needs more thinking.
5106         
5107         * docs/design/draft-missing-plugins.txt:
5108           More thoughts about wrapper plugins.
5109         
5110         * docs/random/ensonic/embedded.txt:
5111         * docs/random/ensonic/profiling.txt:
5112           More design work.
5113
5114 2007-03-25  Wim Taymans  <wim@fluendo.com>
5115
5116         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
5117         (gst_base_src_loop):
5118         Only push the segment events in the PLAYING state for live sources.
5119
5120 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
5121
5122         * gst/gstpipeline.c: (gst_pipeline_change_state):
5123         Modify the clock distribution path in PAUSED->PLAYING so that we 
5124         never attempt to choose a new clock unless we're actually leaving
5125         the PAUSED state for the first time. This prevents choosing a
5126         different clock when the state_change gets called for a 2nd time due
5127         to some element doing an async state change.
5128
5129 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
5130
5131         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
5132         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
5133         (gst_pad_chain_unchecked), (gst_pad_push):
5134         Revert last commit. This needs some more thoughts.
5135
5136 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
5137
5138         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
5139         (gst_pad_chain_unchecked), (gst_pad_push):
5140         Check in set_caps if the caps are compatible with the pad and remove
5141         two functions that are redundant now. Fixes #421543.
5142
5143 2007-03-22  Wim Taymans  <wim@fluendo.com>
5144
5145         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5146         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
5147         Unref some more to make valgrind happy.
5148
5149 2007-03-22  Wim Taymans  <wim@fluendo.com>
5150
5151         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
5152         (gst_system_clock_id_wait_jitter),
5153         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
5154         Fix anoying regression that survived a few releases. When adding an
5155         async entry while blocking on a sync entry, the sync entry will unblock
5156         but still be busy, so it should continue to wait instead of returning
5157         _BUSY to the app.
5158         Add some comments here and there.
5159
5160         * tests/check/gst/gstsystemclock.c: (mixed_thread),
5161         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
5162         Add testcase for this.
5163
5164 2007-03-22  Wim Taymans  <wim@fluendo.com>
5165
5166         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5167         Handle errors from the clock sync better, only UNSCHEDULED indicates a
5168         WRONG_STATE and can silently pause the task. All other cases should
5169         error out.
5170
5171 2007-03-22  Wim Taymans  <wim@fluendo.com>
5172
5173         Patch by: Ville Syrjala <syrjala at sci dot fi>
5174
5175         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
5176         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
5177         Improve debugging.
5178
5179 2007-03-21  Michael Smith  <msmith@fluendo.com>
5180
5181         * docs/pwg/advanced-types.xml:
5182           Fix some errors in the typefinding docs pointed out on irc.
5183
5184 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
5185
5186         * libs/gst/base/gstbasesrc.c:
5187         Clarify FIXME comment in the face of having added unlock_stop()
5188
5189 2007-03-21  Wim Taymans  <wim@fluendo.com>
5190
5191         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
5192         Prepare for release where we warn against possible app breakage in the
5193         case of live pipelines along with an env var to enable/disable live
5194         preroll mode (GST_COMPAT=[no-]live-preroll).
5195
5196 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5197
5198         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
5199         So we should use correct constants for checking for None offset.
5200
5201 2007-03-20  Wim Taymans  <wim@fluendo.com>
5202
5203         * docs/design/part-block.txt:
5204         Mention the fact that the newly switched element should be set to at
5205         least PAUSED.
5206
5207 2007-03-20  Wim Taymans  <wim@fluendo.com>
5208
5209         * gst/gst.c:
5210         Fix compilation with registry disabled as spotted by Saur.
5211
5212 2007-03-20  Wim Taymans  <wim@fluendo.com>
5213
5214         Patch by: Olivier Crete <tester at tester dot ca>
5215
5216         * gst/gstelement.c: (gst_element_sync_state_with_parent):
5217         Look at the pending state too when syncing the element state to the
5218         parent. Fixes #420133.
5219
5220 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
5221
5222         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5223         (gst_base_sink_change_state):
5224         * libs/gst/base/gstbasesink.h:
5225         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5226         (gst_base_src_default_event), (gst_base_src_unlock_stop),
5227         (gst_base_src_deactivate):
5228         * libs/gst/base/gstbasesrc.h:
5229         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
5230         for sub-classes to correctly clear any state they set trying to
5231         unlock, such as clearing out unlock commands from a command fd.
5232         API: basesrc::unlock_stop
5233         API: basesink::unlock_stop
5234
5235         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
5236         (gst_fd_sink_render), (gst_fd_sink_unlock),
5237         (gst_fd_sink_unlock_stop):
5238         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
5239         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
5240         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
5241
5242         Implement unlock_stop in fdsrc and fdsink.
5243         Implement seeking in fdsrc when a seekable fd is passed, as in
5244         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
5245
5246 2007-03-19  Wim Taymans  <wim@fluendo.com>
5247
5248         Patch by: Evan Nemerson <evan at coeus dash group dot com>
5249
5250         * gst/gstelement.c: (gst_element_class_init):
5251         Fix pad-added and pad-removed signal signatures so that the pad type is
5252         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
5253
5254 2007-03-19  Wim Taymans  <wim@fluendo.com>
5255
5256         * docs/gst/gstreamer-sections.txt:
5257         Add new element field and method.
5258
5259         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5260         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
5261         (gst_bin_recalc_state), (gst_bin_get_state_func),
5262         (gst_bin_element_set_state), (gst_bin_change_state_func),
5263         (gst_bin_continue_func), (bin_bus_handler),
5264         (bin_push_state_continue), (bin_handle_async_start),
5265         (bin_handle_async_done), (gst_bin_handle_message_func):
5266         Make async state changes a bit smarter by using new ASYNC_START and
5267         ASYNC_DONE messages. This reduces the number of times we run the state
5268         recalculation thread.
5269         Don't change state of element with a pending ASYNC_START message.
5270         Deprecate STATE_DIRTY messages.
5271         
5272         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
5273         (gst_element_get_state_func), (gst_element_continue_state),
5274         (gst_element_lost_state), (gst_element_set_state_func),
5275         (gst_element_change_state):
5276         * gst/gstelement.h:
5277         Keep the state that was last set by the app in a new element field.
5278         Don't allow state changes when handling an element event.
5279         Post ASYNC_START and ASYNC_DONE messages.
5280         Change lost_state so that we go to PAUSED and wait for the parent to set
5281         us to PLAYING again (so latency calculation can be performed)
5282         Export gst_element_change_state() method so that subclasses can use it.
5283         API: gst_element_change_state()
5284         API: GST_STATE_TARGET
5285
5286         * gst/gstpipeline.c: (gst_pipeline_class_init),
5287         (reset_stream_time), (gst_pipeline_change_state),
5288         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
5289         Using the new ASYNC_START message we can reset the base_time when
5290         needed. This can then be used to implement base_time redistribution in
5291         flushing seeks so that we can remove the explicit seek handling.
5292         Perform latency query and configuration when going to PLAYING.
5293
5294         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5295         (gst_base_sink_query), (gst_base_sink_change_state):
5296         Post new ASYNC_START/ASYNC_DONE messages.
5297
5298         * tests/check/generic/sinks.c: (GST_START_TEST):
5299         Fix test because the bin will not set the async element to PLAYING right
5300         away.
5301
5302         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
5303         Make the message check a little stronger.
5304         Handle ASYNC messages.
5305
5306         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
5307         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
5308         Expect ASYNC_DONE messages.
5309
5310 2007-03-19  Wim Taymans  <wim@fluendo.com>
5311
5312         * docs/gst/gstreamer-sections.txt:
5313         * gst/gstmessage.c: (gst_message_new_async_start),
5314         (gst_message_new_async_done), (gst_message_parse_info),
5315         (gst_message_parse_async_start):
5316         * gst/gstmessage.h:
5317         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
5318         support.
5319
5320 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
5321
5322         * tools/gst-inspect.c:
5323         (print_plugin_automatic_install_info_codecs):
5324           Now that we don't check for the 'Codec' keyword any longer in the
5325           klass, we shouldn't spew a warning if the klass isn't a decoder or
5326           encoder (since it might be a Source/Network, for example).
5327
5328 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
5329
5330         * tools/gst-inspect.c:
5331         (print_plugin_automatic_install_info_codecs):
5332           Don't require decoder/demuxer/depayloader elements or
5333           encoder/muxer/paylader elements to have 'Codec' as part of their
5334           factory class string when introspecting a plugin's capabilities.
5335           draft-klass.txt mentions that it might be removed in future, and
5336           flump3dec doesn't have it as part of its class string, so chances
5337           are others might also not have it.
5338
5339 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5340
5341         * po/af.po:
5342         * po/az.po:
5343         * po/bg.po:
5344         * po/ca.po:
5345         * po/cs.po:
5346         * po/de.po:
5347         * po/en_GB.po:
5348         * po/fr.po:
5349         * po/it.po:
5350         * po/nb.po:
5351         * po/nl.po:
5352         * po/ru.po:
5353         * po/sq.po:
5354         * po/sr.po:
5355         * po/sv.po:
5356         * po/tr.po:
5357         * po/uk.po:
5358         * po/vi.po:
5359         * po/zh_CN.po:
5360         * po/zh_TW.po:
5361           Update translations from translation project
5362
5363 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
5364
5365         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
5366         (gst_child_proxy_set_property):
5367           Invert precondition check to be alike the ones in the mimiced gobject
5368           api.
5369
5370 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
5371
5372         * docs/design/draft-tagreading.txt:
5373         * docs/random/ensonic/audiobaseclasses.txt:
5374           Do some Architect work.
5375
5376         * gst/gstobject.c: (gst_object_set_name):
5377           Add a WARNING.
5378
5379         * gst/gstpad.c:
5380           Add docs that point from gst_pad_get_range to gst_pad_pull_range
5381
5382 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
5383
5384         * gst/gstsystemclock.c: (gst_system_clock_init),
5385         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
5386         Defer starting the async system clock thread until the first async
5387         wait is scheduled. Fixes #414986.
5388
5389 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
5390
5391         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
5392         (gst_single_queue_free):
5393           Fix small leak (free GstSingleQueue structure too, not only contents).
5394
5395 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
5396
5397         * gst/gstbin.c:(gst_bin_add):
5398         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
5399         * win32/common/libgstbase.def:
5400         * win32/common/libgstreamer.def:
5401         Add new exported functions.
5402
5403 2007-03-09  Wim Taymans  <wim@fluendo.com>
5404
5405         * docs/plugins/gstreamer-plugins-sections.txt:
5406         Fix GstTee docs.
5407
5408 2007-03-09  Wim Taymans  <wim@fluendo.com>
5409
5410         * docs/gst/gstreamer-sections.txt:
5411         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
5412         * gst/gstbuffer.h:
5413         Add metadata copy functions. Fixes #393099.
5414         API: gst_buffer_copy_metadata()
5415
5416         * gst/gstutils.c: (gst_buffer_stamp):
5417         * libs/gst/base/gstbasetransform.c:
5418         (gst_base_transform_prepare_output_buffer):
5419         Use new metadata copy functions.
5420
5421 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5422
5423         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5424         (gst_identity_init), (gst_identity_check_perfect),
5425         (gst_identity_check_imperfect_timestamp),
5426         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
5427         (gst_identity_set_property), (gst_identity_get_property):
5428         * plugins/elements/gstidentity.h:
5429         Separate out check-imperfect-timestamp and check-imperfect-offset.
5430         Put back check-perfect as it was to keep compatibility.
5431
5432 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
5433
5434         * gst/gstelement.c: (gst_element_dispose):
5435         There's no need to warn if VOID_PENDING is not NONE here, as
5436         long as the state is NULL it's ok, and that's checked immediately
5437         above.
5438
5439 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5440
5441         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5442         Fix check for perfect stream to ignore buffers with -1 
5443         offsets/offset ends when checking data contiguity.
5444
5445 2007-03-08  Wim Taymans  <wim@fluendo.com>
5446
5447         * tools/gst-launch.c: (event_loop):
5448         Print INFO messages.
5449
5450 2007-03-08  Wim Taymans  <wim@fluendo.com>
5451
5452         * libs/gst/base/gstbasetransform.c:
5453         (gst_base_transform_sink_eventfunc),
5454         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5455         (gst_base_transform_activate):
5456         * libs/gst/base/gstbasetransform.h:
5457         Add support for dropping buffers with custom GstFlowReturn.
5458         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
5459         buffers or dropped buffers.
5460
5461         * docs/libs/gstreamer-libs-sections.txt:
5462         docs for new custom return code.
5463
5464         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5465         Use drop support in base class to implement drop-probability.
5466
5467 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
5468
5469         * gst/gst.c: (load_plugin_func):
5470         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
5471         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5472         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
5473           Remove newlines at end of debug log strings.
5474
5475 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5476
5477         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5478         Only post bus message at max, once per buffer received.
5479
5480 2007-03-07  Wim Taymans  <wim@fluendo.com>
5481
5482         * docs/design/Makefile.am:
5483         * docs/design/part-synchronisation.txt:
5484         Add doc about synchronisation
5485
5486         * docs/design/draft-latency.txt:
5487         * docs/design/part-TODO.txt:
5488         * docs/design/part-clocks.txt:
5489         * docs/design/part-events.txt:
5490         * docs/design/part-gstbus.txt:
5491         * docs/design/part-gstpipeline.txt:
5492         * docs/design/part-live-source.txt:
5493         * docs/design/part-messages.txt:
5494         * docs/design/part-overview.txt:
5495         * docs/design/part-streams.txt:
5496         * docs/design/part-trickmodes.txt:
5497         Documentation updates.
5498
5499 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
5500
5501         * gstreamer.doap:
5502         Update the doap file.
5503
5504 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5505
5506         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5507         Rename non-perfect to imperfect for Mike and for the sanctity of the
5508         language.
5509         Also make sure bus message gets emitted for data-incontiguities.
5510
5511 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5512
5513         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
5514         (gst_identity_start):
5515         * plugins/elements/gstidentity.h:
5516         Emit bus message if check-perfect is true and we encounter a
5517         non-perfect stream between 2 consecutive buffers.
5518         Fixes #415394.
5519
5520 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
5521
5522         * configure.ac:
5523         Back to CVS
5524
5525 === release 0.10.12 ===
5526
5527 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
5528
5529         * configure.ac:
5530           releasing 0.10.12, "Inevitable Demise"
5531
5532 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
5533
5534         * configure.ac:
5535          Version 0.10.11.2 (0.10.12 pre-release)
5536          Bump libtool versioning.
5537
5538 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
5539
5540         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5541           Log flow-names and not numbers.
5542
5543 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5544
5545         * configure.ac:
5546           Convert to new AG_GST style.
5547
5548 2007-02-28  Wim Taymans  <wim@fluendo.com>
5549
5550         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
5551         Don't unref query twice.
5552
5553 2007-02-28  Wim Taymans  <wim@fluendo.com>
5554
5555         * gst/gstvalue.c: (gst_value_transform_object_string),
5556         (_gst_value_initialize):
5557         Implement GstObject -> string transform so we print object names
5558         when serializing GValues containing GstObjects.
5559
5560 2007-02-28  Wim Taymans  <wim@fluendo.com>
5561
5562         * docs/gst/gstreamer-sections.txt:
5563         Add new stuff to docs.
5564
5565 2007-02-28  Wim Taymans  <wim@fluendo.com>
5566
5567         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5568         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
5569         (gst_base_sink_change_state):
5570         Improve latency query code.
5571         Don't leak latency events.
5572
5573         * tests/check/gst/gstbin.c: (GST_START_TEST):
5574         Improve debugging.
5575
5576 2007-02-28  Wim Taymans  <wim@fluendo.com>
5577
5578         * gst/gstelement.c: (gst_element_message_full),
5579         (gst_element_get_state_func):
5580         * gst/gstelement.h:
5581         Improve docs a little. Added Since: for new macro.
5582
5583         * gst/gstobject.c: (gst_object_sink):
5584         * gst/gstpipeline.c: (gst_pipeline_change_state),
5585         (gst_pipeline_set_new_stream_time):
5586         * gst/gstpipeline.h:
5587         Improve debugging and docs.
5588
5589         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5590         Improve debugging.
5591
5592 2007-02-28  Wim Taymans  <wim@fluendo.com>
5593
5594         * gst/gstelement.c: (gst_element_message_full),
5595         (gst_element_set_locked_state), (gst_element_get_state_func),
5596         (gst_element_change_state):
5597         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
5598         Documentation updates.
5599         Small code cleanups.
5600
5601         * gst/gstmessage.c: (gst_message_new_info),
5602         (gst_message_parse_info):
5603         * gst/gstmessage.h:
5604         API: gst_message_new_info()
5605         API: gst_message_parse_info()
5606         Add INFO message create and parse code.
5607
5608 2007-02-28  Wim Taymans  <wim@fluendo.com>
5609
5610         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
5611         (bin_query_latency_done):
5612         Also report the live parameter of a latency query.
5613
5614 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5615
5616         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
5617           Copy the current generic/states example from -base and adapt so
5618           we can use the exact same code everywhere.
5619           Check a STATES_IGNORE_ELEMENTS env var which can be used
5620           to ignore certain element factories for this test, which is
5621           what is being done in -base
5622         * tests/check/Makefile.am:
5623           Mention this environment variable.
5624
5625 2007-02-27  Wim Taymans  <wim@fluendo.com>
5626
5627         * docs/gst/gstreamer-sections.txt:
5628         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5629         (gst_bus_timed_pop), (gst_bus_pop):
5630         * gst/gstbus.h:
5631         API: gst_bus_timed_pop()
5632         Implement gst_bus_timed_pop() to do a blocking timed wait for a
5633         message to arrive on the bus.
5634
5635         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
5636         (gst_bus_suite):
5637         Two unit tests for new _timed_pop() function.
5638
5639 2007-02-23  Wim Taymans  <wim@fluendo.com>
5640
5641         * gst/gstpipeline.c: (gst_pipeline_change_state),
5642         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
5643         Don't ref a NULL clock in _provide_clock_func().
5644         Don't allow an INVALID delay.
5645         Don't try to calculate base_time with an invalid start_time.
5646         Also distribute and notify a NULL clock when it was selected.
5647
5648         * tools/gst-launch.c: (event_loop):
5649         Don't crash when a NULL clock was selected in the pipeline.
5650
5651 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5652
5653         * docs/design/Makefile.am:
5654         * docs/design/draft-missing-plugins.txt:
5655         * docs/random/draft-missing-plugins.txt:
5656           Some small updates: update plugin system identifier prefix
5657           ('gstreamer.net' to 'gstreamer'), mention our new install
5658           API in libgstbaseutils rather than libgimme-codec, add
5659           reference to the online docs.
5660
5661 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5662
5663         * win32/common/config.h:
5664           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
5665           use moap cl ci to only check in what is mentioned in the ChangeLog.
5666
5667 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5668
5669         * docs/gst/gstreamer-sections.txt:
5670         * gst/gstelement.h:
5671           Fix up documentation to link to the correct GstGError section.
5672           Add GST_ELEMENT_INFO macro since someone else added a Info message.
5673
5674 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5675
5676         * tools/gst-launch.c: (event_loop):
5677           Make sure that we actually show the important message part of a
5678           warning message.
5679           No need to check if the gerror is not NULL to free; first of all
5680           g_free accepts NULL; and second the default error handler would
5681           segfault if gerror was NULL.
5682
5683 2007-02-21  Wim Taymans  <wim@fluendo.com>
5684
5685         * docs/gst/gstreamer-sections.txt:
5686         Removed docs as well.
5687
5688 2007-02-21  Wim Taymans  <wim@fluendo.com>
5689
5690         * gst/gstmessage.c: (gst_message_parse_duration):
5691         * gst/gstmessage.h:
5692         Remove new messages for release.
5693
5694 2007-02-20  Wim Taymans  <wim@fluendo.com>
5695
5696         * docs/design/part-gstghostpad.txt:
5697         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
5698         (gst_ghost_pad_new_full):
5699         Make the ghostpad a parent of the internal pad again for better backward
5700         compatibility. Don't write code that relies on this however.
5701
5702         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5703         (gst_pad_link_check_hierarchy):
5704         Require that parents should be GstElements in the hierarchy check.
5705
5706 2007-02-20  Wim Taymans  <wim@fluendo.com>
5707
5708         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
5709         (gst_bin_change_state_func), (bin_query_min_max_init),
5710         (bin_query_latency_fold), (bin_query_latency_done),
5711         (gst_bin_query):
5712         Improve debug info.
5713         Implement latency query.
5714
5715 2007-02-20  Wim Taymans  <wim@fluendo.com>
5716
5717         * docs/design/part-gstghostpad.txt:
5718         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
5719         (gst_ghost_pad_internal_do_activate_push),
5720         (gst_ghost_pad_internal_do_activate_pull),
5721         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5722         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
5723         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
5724         Do not set the internal pad as a parent anymore so we can avoid
5725         hierarchy linking errors when the ghostpad has no parent yet. This also
5726         fixes failed activation because of unlinked internal pads, which in
5727         turn fixes the impossible case where you have to activate a pad before
5728         you can add it to a running element.
5729         Also fix the docs.
5730
5731         * gst/gstpad.c: (pre_activate), (post_activate),
5732         (gst_pad_set_active), (gst_pad_activate_pull),
5733         (gst_pad_activate_push), (gst_pad_check_pull_range):
5734         Add some more debug info.
5735         Mark activation mode in pre_activate so that we don't try to activate in
5736         endless loops. Fixes #385084.
5737
5738 2007-02-19  Wim Taymans  <wim@fluendo.com>
5739
5740         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5741         (gst_base_transform_check_get_range):
5742         Implement a checkgetrange function instead of relying on the default
5743         core behaviour that assumes we can operate in pull mode if we have a
5744         getrange function. First step at fixing #385084.
5745
5746 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
5747
5748         * gst/gstchildproxy.h:
5749         * libs/gst/base/gstbasesink.h:
5750         * libs/gst/base/gstbasesrc.h:
5751         * libs/gst/base/gstbasetransform.h:
5752         More docs coverage and some ChangeLog surgery (add missing names)
5753
5754 2007-02-15  Wim Taymans  <wim@fluendo.com>
5755
5756         * docs/design/part-TODO.txt:
5757         * docs/design/part-activation.txt:
5758         * docs/design/part-block.txt:
5759         * docs/design/part-buffering.txt:
5760         * docs/design/part-clocks.txt:
5761         * docs/design/part-element-source.txt:
5762         * docs/design/part-events.txt:
5763         * docs/design/part-gstbin.txt:
5764         * docs/design/part-gstbus.txt:
5765         * docs/design/part-gstpipeline.txt:
5766         * docs/design/part-live-source.txt:
5767         * docs/design/part-messages.txt:
5768         * docs/design/part-overview.txt:
5769         * docs/design/part-qos.txt:
5770         * docs/design/part-query.txt:
5771         * docs/design/part-states.txt:
5772         * docs/design/part-trickmodes.txt:
5773         Some doc updates. Start renaming from stream_time to running_time where
5774         it was used wrongly.
5775
5776 2007-02-15  Wim Taymans  <wim@fluendo.com>
5777
5778         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5779         Answer LATENCY query.
5780
5781 2007-02-15  Wim Taymans  <wim@fluendo.com>
5782
5783         * tests/check/gst/gstevent.c: (event_probe), (test_event),
5784         (GST_START_TEST):
5785         Improve debugging.
5786
5787 2007-02-15  Wim Taymans  <wim@fluendo.com>
5788
5789         * gst/gstpad.c: (gst_pad_get_internal_links_default),
5790         (gst_pad_dispatcher):
5791         Improve debugging of default pad dispatcher and query functions.
5792
5793 2007-02-15  Wim Taymans  <wim@fluendo.com>
5794
5795         * docs/gst/gstreamer-sections.txt:
5796         Remove old unused method.
5797
5798 2007-02-13  Wim Taymans  <wim@fluendo.com>
5799
5800         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5801         Fix check
5802
5803 2007-02-13  Wim Taymans  <wim@fluendo.com>
5804
5805         * docs/design/part-seeking.txt:
5806         Some small update.
5807
5808         * gst/gstsegment.c: (gst_segment_set_seek):
5809         Revert old bogus change that should make seeking work again.
5810
5811 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
5812
5813         * docs/random/ensonic/dynlink.txt:
5814         * docs/random/ensonic/interfaces.txt:
5815         * docs/random/ensonic/receipies.txt:
5816           Possible dynamic reconnection api, plus some type fixes the other two
5817           docs.
5818
5819 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
5820
5821         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5822         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5823         Also check for an absolute path following file:// in the filesrc
5824         element. Remove redundant check and call g_path_is_absolute() on the
5825         unescaped location.
5826
5827 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
5828
5829         * docs/design/draft-klass.txt:
5830           Add existing category analysis.
5831           
5832         * gst/gstcaps.c:
5833           Fix doc example, framerate is a fraction.
5834
5835 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
5836
5837         * configure.ac:
5838         * docs/gst/Makefile.am:
5839         * docs/gst/gstreamer-sections.txt:
5840         * docs/libs/Makefile.am:
5841           Erm, forgot a bunch of --extra-dir.
5842
5843 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
5844
5845         * configure.ac:
5846         * docs/gst/Makefile.am:
5847         * docs/libs/Makefile.am:
5848         * docs/plugins/Makefile.am:
5849           Add crossreferences to glib/gobject docs.
5850
5851 2007-02-12  Wim Taymans  <wim@fluendo.com>
5852
5853         * docs/design/draft-latency.txt:
5854         Small update.
5855
5856         * docs/libs/gstreamer-libs-sections.txt:
5857         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5858         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
5859         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
5860         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
5861         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
5862         (gst_base_sink_get_position), (gst_base_sink_query),
5863         (gst_base_sink_change_state):
5864         * libs/gst/base/gstbasesink.h:
5865         API: gst_base_sink_query_latency() to let subclasses query the upstream
5866         latency.
5867         API: gst_base_sink_get_latency() to let subclasses query the configured
5868         latency in the sink.
5869         Implement query and set latency.
5870         Update some docs.
5871         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
5872         don't continue preroll when we are flushing. Fixes #405284.
5873
5874         * tests/check/pipelines/stress.c: (change_state_timeout),
5875         (quit_timeout), (GST_START_TEST), (stress_suite):
5876         Test for #405284.
5877
5878 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
5879
5880         Patch by: René Stadler <mail at renestadler de>
5881
5882         * docs/gst/gstreamer-sections.txt:
5883         * gst/gsttaglist.c: (_gst_tag_initialize):
5884         * gst/gsttaglist.h:
5885           API: add GST_TAG_REFERENCE_LEVEL (#403597).
5886
5887 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
5888
5889         * docs/libs/Makefile.am:
5890           Fix path to core docs.
5891
5892         * gst/gstbin.c: (gst_bin_get_by_interface),
5893         (gst_bin_iterate_all_by_interface):
5894           Refix docs by also renaming 'interface' to 'iface' in implementation.
5895
5896         * docs/gst/gstreamer-sections.txt:
5897         * gst/gstcaps.c:
5898         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
5899         * gst/gstchildproxy.h:
5900         * gst/gstelementfactory.c:
5901         * gst/gstpadtemplate.h:
5902         * libs/gst/controller/gstcontroller.c:
5903         (gst_controlled_property_new):
5904           Document more.
5905
5906 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
5907
5908         * gst/gstbin.h:(gst_bin_get_by_interface),
5909         (gst_bin_iterate_all_by_interface):
5910         Replace interface parameter name by iface as interface is 
5911         a reserved keyword in Visual Studio for C++ projects so it removes
5912         a build error for application developpers using VS.
5913         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
5914         Fix a bug on Windows in uri format check. Now the prefix checked
5915         is file:// and next we check if the path after file:// is absolute.
5916         * win32/common/libgstbase.def:
5917         * win32/common/libgstdataprotocol.def:
5918         * win32/common/libgstgstreamer.def:
5919         Add new exported functions.
5920
5921 2007-02-09  Andy Wingo  <wingo@pobox.com>
5922
5923         * tests/check/pipelines/simple-launch-lines.c
5924         (simple_launch_lines_suite, test_tee): Disable tee test until I
5925         have time to fix it :-(
5926
5927         * tests/check/Makefile.am (noinst_HEADERS): 
5928         * tests/check/libs/libsabi.c: 
5929         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
5930         * tests/check/gst/gstabi.c: 
5931         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
5932
5933         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
5934         tests for push and pull tee behavior.
5935
5936         * plugins/elements/gsttee.h: 
5937         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
5938         mark as deprecated as well as unimplemented. It was a crack idea.
5939         Add support for tee operating in pull mode, off by default.
5940
5941         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
5942         normal-case logs down to LOG, raise errors to WARNING.
5943         (gst_registry_xml_read_cache): Don't log before calling a function
5944         that logs.
5945
5946         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
5947         exit (registry finalize).
5948         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
5949         DEBUG log when we emit signals that people don't even have the
5950         chance to connect to.
5951         (gst_registry_scan_path_level): Less logging in the normal case.
5952
5953 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
5954
5955         Patch by: Michal Benes <michal dot benes at itonis dot tv>
5956
5957         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5958         Correctly generate EOS for non-seekable files. We don't have a total
5959         length for them and would get an unexpected end of file if we only
5960         special-cased for regular files. (Fixes: #404569)
5961
5962 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
5963
5964         * tests/check/elements/filesrc.c: (GST_START_TEST),
5965         (filesrc_suite):
5966         Add unit test for the GstURIHandler interface in filesrc. This also
5967         tests the newly added file://localhost/foo/bar support.
5968
5969 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5970
5971         * gst/gstelementfactory.h:
5972           The klass string is not a hierarchy. Add reference to the design doc
5973           for more information and common types.
5974
5975 2007-02-02  Wim Taymans  <wim@fluendo.com>
5976
5977         * gst/gstquery.c: (gst_query_new_latency):
5978         Remove old structure field.
5979
5980 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
5981
5982         * tools/gst-launch.1.in:
5983           Give example for network streaming (#351998)
5984
5985 2007-02-02  Wim Taymans  <wim@fluendo.com>
5986
5987         * docs/gst/gstreamer-sections.txt:
5988         Add docs for new methods.
5989
5990         * gst/gstevent.c: (gst_event_new_latency),
5991         (gst_event_parse_latency):
5992         * gst/gstevent.h:
5993         Add new LATENCY event to configure latency in a pipeline.
5994         API: gst_event_new_latency
5995         API: gst_event_parse_latency
5996
5997         * gst/gstmessage.c: (gst_message_new_buffering),
5998         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
5999         (gst_message_new_latency), (gst_message_parse_buffering),
6000         (gst_message_parse_lost_preroll):
6001         * gst/gstmessage.h:
6002         Added messages used in draft-latency.
6003         API: gst_message_new_lost_preroll
6004         API: gst_message_parse_lost_preroll
6005         API: gst_message_new_prerolled
6006         API: gst_message_new_latency
6007
6008         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
6009         (gst_query_parse_latency):
6010         * gst/gstquery.h:
6011         Implemented new latency query as in design doc.
6012         API: gst_query_new_latency
6013         API: gst_query_set_latency
6014         API: gst_query_parse_latency
6015
6016 2007-02-02  Wim Taymans  <wim@fluendo.com>
6017
6018         * docs/design/draft-latency.txt:
6019         Slight redesign to allow for dynamic latency adjustments.
6020
6021         * docs/design/part-negotiation.txt:
6022         Fix some typos.
6023
6024 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
6025
6026         reviewed by: Wim Taymans <wim@fluendo.com>
6027
6028         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6029         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6030         Allow file://localhost/foo/bar URLs and correctly fail for every other
6031         hostname that one sets. This was gnomevfssrc is linked for those if
6032         installed as it can handle it (#403172)
6033
6034 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
6035
6036         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6037
6038         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6039         (unref_data), (gst_collect_pads_add_pad_full):
6040         * libs/gst/base/gstcollectpads.h:
6041         Don't put the previously added destroy notify in the GstCollectData
6042         struct as all it's padding is already used and we don't want to break
6043         ABI. Instead put in the pad's GObject data for now. This should be
6044         cleaned up for 0.11 (#402393).
6045
6046 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
6047
6048         reviewed by: Wim Taymans <wim@fluendo.com>
6049
6050         * docs/libs/gstreamer-libs-sections.txt:
6051         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6052         (unref_data), (gst_collect_pads_add_pad),
6053         (gst_collect_pads_add_pad_full):
6054         * libs/gst/base/gstcollectpads.h:
6055         API: Add function to specify a destroy notification for custom
6056         GstCollectData when adding new pads in GstCollectPads (#402393).
6057
6058 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
6059
6060         * po/sv.po:
6061           Update Swedish translation (#378255).
6062
6063 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
6064
6065         * docs/design/draft-klass.txt:
6066           Fix the previous change, this is a list of categories and not a hierarchy.
6067
6068 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
6069
6070         * docs/design/draft-klass.txt:
6071           Add info about how to get a list of used classes.
6072
6073 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
6074
6075         * plugins/elements/gsttypefindelement.c:
6076         (gst_type_find_element_chain_do_typefinding),
6077         (gst_type_find_element_change_state):
6078           Don't leak found caps in chain function (no idea why that never
6079           showed up as a leak anywhere).
6080
6081 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
6082
6083         * gst/gstplugin.h:
6084           Fix and expand GstPluginDesc API docs.
6085
6086 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
6087
6088         * gst/gstcaps.c:
6089         * gst/gstelementfactory.c:
6090         * gst/gstpadtemplate.h:
6091           api doc fixes
6092
6093         * libs/gst/controller/gstcontroller.c:
6094         (gst_controlled_property_new):
6095         * tests/examples/controller/audio-example.c:
6096           comment fixes
6097
6098 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
6099
6100         * configure.ac:
6101           comment about refining the xml deps
6102
6103         * docs/manuals.mak:
6104           comments about moving away from jade for docs
6105         
6106         * gst/gst.c:
6107           recommit the ifdefs to use the binary registry
6108         
6109         * gst/gstbin.c: (gst_bin_change_state_func):
6110           this break is obsolete
6111
6112         * gst/gstelementfactory.h:
6113           better GST_ELEMENT_DETAILS docs, add comment about translation
6114
6115         * gst/gstinfo.h:
6116           remove eol slash
6117
6118         * gst/gstobject.c: (gst_signal_object_get_type):
6119           add G_UNLIKELY as usual
6120
6121         * gst/gstpad.c: (gst_pad_event_default):
6122           add fall trhu comment
6123
6124         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6125         (gst_registry_binary_initialize_magic),
6126         (gst_registry_binary_save_string),
6127         (gst_registry_binary_save_pad_template),
6128         (gst_registry_binary_save_feature),
6129         (gst_registry_binary_save_plugin),
6130         (gst_registry_binary_write_cache),
6131         (gst_registry_binary_check_magic),
6132         (gst_registry_binary_load_pad_template),
6133         (gst_registry_binary_load_feature),
6134         (gst_registry_binary_load_plugin),
6135         (gst_registry_binary_read_cache):
6136           comment typo and formatting
6137
6138         * gst/gstutils.c: (gst_element_state_get_name),
6139         (gst_element_state_change_return_get_name):
6140           remove obsolete breaks
6141
6142         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6143           add FIXME 0.11 and remove cpp comment
6144
6145 2007-01-29  Edward Hervey  <edward@fluendo.com>
6146
6147         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6148         Fix print statement in an even more portable way.
6149
6150 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
6151
6152         * docs/gst/gstreamer-sections.txt:
6153         * gst/gstutils.h:
6154           API: add GST_ROUND_DOWN_* macros (#401781).
6155
6156 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
6157
6158         * docs/gst/gstreamer.types.in:
6159         * gst/gstregistry.c: (gst_registry_class_init):
6160           Document registry signals and make gtk-doc pick them up (#401381).
6161
6162 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
6163
6164         * docs/pwg/building-testapp.xml:
6165           Add some audioconverts and audioresample to the pipeline, and some
6166           more comments and error handling.
6167
6168 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
6169
6170         * docs/manual/manual.xml:
6171         * docs/pwg/pwg.xml:
6172           Fix typo (#400987).
6173
6174 2007-01-26  Wim Taymans  <wim@fluendo.com>
6175
6176         * gst/gstcaps.c: (gst_static_caps_get):
6177         Init caps flags too.
6178
6179 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
6180
6181         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
6182
6183         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6184         If not using mmap'ed files try to seek to the end instead of the
6185         start to determine whether we can seek at all. This fixes the case
6186         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
6187         seeks for everything afterwards fail. Fixes #400656
6188
6189 2007-01-25  Wim Taymans  <wim@fluendo.com>
6190
6191         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
6192         Add some refcount debugging.
6193         Make gst_static_caps_get threadsafe, which is needed when autoplugging
6194         in multiple streaming threads.
6195
6196 2007-01-25  Wim Taymans  <wim@fluendo.com>
6197
6198         Patch by: David Schleef <ds at schleef dot org>
6199
6200         * docs/libs/gstreamer-libs-sections.txt:
6201         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
6202         * libs/gst/base/gstadapter.h:
6203         API: gst_adapter_copy() that can reduce the amount of memcpy when
6204         getting data from the adapter. Fixes #388201.
6205
6206 2007-01-25  Edward Hervey  <edward@fluendo.com>
6207
6208         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6209         In print statements, "%x" is for guint. Fixes build on macosx.
6210
6211 2007-01-24  Edward Hervey  <edward@fluendo.com>
6212
6213         * plugins/elements/gstmultiqueue.c:
6214         (gst_multi_queue_loop):
6215         Small fix.
6216         (single_queue_overrun_cb), (single_queue_underrun_cb),
6217         (single_queue_check_full), (gst_single_queue_new):
6218         Implement single queue growth system.
6219         This uses the extra-size properties, and will grow single queues by
6220         that much if one goes full whereas there are others empty. This is
6221         called extra-mode in the code.
6222         When a single queue's levels go back below the initial max-size
6223         limits, it is no longer in extra-mode. This is to ensure we don't
6224         consume too much memory.
6225         Fixes #399875
6226
6227 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
6228
6229         * gst/gst.c: (gst_init_get_option_group):
6230           Make warning about late g_thread_init() calls a bit more explicit,
6231           so that it's more obvious to application developers what they need
6232           to do if a user files a bug against their application.
6233
6234 2007-01-22  Edward Hervey  <edward@fluendo.com>
6235
6236         * plugins/elements/gstmultiqueue.c:
6237         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
6238         Remove previous hack of unsetting the flushing flag for the source pad
6239         instead of activating it. Instead, fix the source pad activate function
6240         so that it no longer depends on having a parent set or not.
6241
6242 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
6243
6244         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
6245
6246         * docs/manual/basics-bus.xml:
6247           Fix example code, gst_element_unref() doesn't exist any longer.
6248
6249 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
6250
6251         Patch by: Mark Nauwelaerts <manauw at skynet be>
6252
6253         * gst/gstpad.c:
6254           Fix two docs typoes (#399094).
6255
6256 2007-01-19  Edward Hervey  <edward@fluendo.com>
6257
6258         * docs/faq/gst-uninstalled:
6259         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
6260         depending on libgstbaseutils can work in uninstalled environment.
6261
6262 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
6263
6264         * gst/gsttaglist.h:
6265         * gst/gsttagsetter.c:
6266         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
6267         statement for new tag.
6268
6269 2007-01-17  Edward Hervey  <edward@fluendo.com>
6270
6271         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
6272         When dynamically creating single queues, activate sinkpad before adding
6273         it.
6274         We should be doing the same thing for the source pad, but we can't
6275         since it would call a method which needs the parent to be set in order
6276         to work propertly. Instead of activating the source pad, we just unset
6277         the flushing flag, which is the minimal requirement for adding a pad
6278         to an element in a state greater than READY.
6279
6280 2007-01-17  Edward Hervey  <edward@fluendo.com>
6281
6282         * docs/faq/gst-uninstalled:
6283         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
6284         Mac OS X.
6285
6286 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
6287
6288         * tests/check/gst/gstabi.c:
6289         * tests/check/gst/struct_hppa.h:
6290         * tests/check/libs/libsabi.c:
6291         * tests/check/libs/struct_hppa.h:
6292           Add ABI structs for HPPA (see #393796).
6293
6294 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
6295
6296         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6297           Actually write ABI structs to the file specified in the GST_ABI
6298           environment variable, as the message we print claims we would.
6299
6300 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6301
6302         * tests/check/gst/gsttask.c:
6303           Fix header comment.
6304
6305 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6306
6307         * gst/gsttaglist.c: (_gst_tag_initialize):
6308           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
6309           previous two entries.
6310
6311 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6312
6313         * docs/gst/gstreamer-sections.txt:
6314         * gst/gsttaglist.c: (_gst_tag_initialize):
6315         * gst/gsttaglist.h:
6316           Add tag support for beat-per-minute.
6317
6318 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6319
6320         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6321         (gst_registry_binary_initialize_magic),
6322         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
6323         (gst_registry_binary_save_pad_template),
6324         (gst_registry_binary_save_feature),
6325         (gst_registry_binary_save_plugin),
6326         (gst_registry_binary_write_cache),
6327         (gst_registry_binary_check_magic),
6328         (gst_registry_binary_load_pad_template),
6329         (gst_registry_binary_load_feature),
6330         (gst_registry_binary_load_plugin),
6331         (gst_registry_binary_read_cache):
6332         * gst/gstregistrybinary.h:
6333           Use glib types, cleanup comments, impement interfaces and uri-types.
6334
6335 2007-01-13  Andy Wingo  <wingo@pobox.com>
6336
6337         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
6338         getrange() to return buffers with other caps, while we fix
6339         demuxers and typefind, or otherwise change part-negotiation.txt.
6340
6341 2007-01-12  Andy Wingo  <wingo@pobox.com>
6342
6343         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
6344         Factor start/stop into this private function instead of partially
6345         in activate functions and partially in the change_state function.
6346         Fixes setup before the element has changed from READY->PAUSED, as
6347         is the case in pull-mode pipelines.
6348         (gst_base_transform_sink_activate_push)
6349         (gst_base_transform_src_activate_pull): Refactor to use
6350         gst_base_transform_activate().
6351         (gst_base_transform_change_state): Removed, not needed any more.
6352
6353         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6354         Truncate before fixating.
6355         
6356         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6357         Don't set_caps() if the result of fixating is ANY, as it's not
6358         supported, and not necessary in the case of a link with no
6359         template caps on either side. Fixes tests/check/libs/basesrc in
6360         some pull-mode tests.
6361
6362         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
6363         (gst_base_transform_init, gst_base_transform_sink_activate_push)
6364         (gst_base_transform_src_activate_pull): 
6365         Track the activation mode.
6366         (gst_base_transform_setcaps): In pull mode, when activating the
6367         src pad, after activating the sink pad, activate the sink pad's
6368         peer, as discussed in part-negotiation.txt.
6369
6370         * libs/gst/base/gstbasesrc.h: 
6371         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
6372         vmethod, as in basesink.
6373
6374         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
6375
6376         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
6377         mode, first proxy the setcaps to the peer pad.
6378         (gst_base_sink_pad_fixate): Add a fixate function that calls the
6379         new fixate vmethod.
6380         (gst_base_sink_default_activate_pull): Rename from
6381         gst_base_sink_activate_pull.
6382         (gst_base_sink_negotiate_pull): New function, performs negotiation
6383         in pull mode before calling ::activate_pull().
6384         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
6385         vmethod instead of the default implementation. I have no idea how
6386         this worked before. Negotiate before calling activate_pull.
6387
6388         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
6389         sink pads in pull mode. In addition to being correct, fixes
6390         filesrc ! decodebin ! identity ! fakesink.
6391         (gst_pad_get_range, gst_pad_pull_range): Don't call
6392         gst_pad_set_caps() if the caps changes; instead error out with
6393         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
6394
6395 2007-01-12  Andy Wingo  <wingo@pobox.com>
6396
6397         * docs/design/part-negotiation.txt: Update with more policy.
6398
6399 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
6400
6401         * libs/gst/check/gstbufferstraw.h:
6402         * libs/gst/check/gstcheck.h:
6403           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
6404           belongs.
6405
6406 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
6407
6408         * tests/check/Makefile.am:
6409         * tests/check/gst/.cvsignore:
6410         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
6411         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
6412         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
6413         (GST_START_TEST), (gst_tag_setter_suite):
6414           Add minimal unit test for beforementioned GstTagSetter bug.
6415
6416 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
6417
6418         Patch by: René Stadler <mail at renestadler dot de>
6419
6420         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
6421           gst_tag_list_merge() returns a new list, so it's not the best idea
6422           to ingore its return value. Effectively meant that tags could only
6423           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
6424           Also add function guard to require a non-NULL taglist as input (has
6425           always been so due to gst_tag_list_copy(), just making it explicit).
6426
6427 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6428
6429         * docs/random/draft-missing-plugins.txt:
6430           Some additions: mention new API that is supposed to be used at the
6431           various stages; short blob about new gst-inspect introspection
6432           option; mention potential future problem with plugins that have
6433           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
6434
6435 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6436
6437         * tools/gst-inspect.c:
6438         (print_plugin_automatic_install_info_codecs),
6439         (print_plugin_automatic_install_info_protocols),
6440         (print_plugin_automatic_install_info), (main):
6441         Add --print-plugin-auto-install-info option to gst-inspect, so we can
6442         introspect plugin files and get machine-parsable output that corresponds
6443         to the last bit of the missing-plugin installer string (small gotcha:
6444         doesn't take into account ranks).
6445
6446 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
6447
6448         * configure.ac:
6449         * docs/gst/gstreamer-sections.txt:
6450         * gst/Makefile.am:
6451         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
6452         (gst_registry_lookup_locked):
6453         * gst/gstregistry.h:
6454         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6455         (gst_registry_binary_initialize_magic),
6456         (gst_registry_binary_save_string),
6457         (gst_registry_binary_save_pad_template),
6458         (gst_registry_binary_save_feature),
6459         (gst_registry_binary_save_plugin),
6460         (gst_registry_binary_write_cache),
6461         (gst_registry_binary_check_magic),
6462         (gst_registry_binary_load_pad_template),
6463         (gst_registry_binary_load_feature),
6464         (gst_registry_binary_load_plugin),
6465         (gst_registry_binary_read_cache):
6466         * gst/gstregistrybinary.h:
6467         * gst/gstregistryxml.c: (load_feature),
6468         (gst_registry_xml_read_cache):
6469           commit binary registry (disabled by default, see #359653)
6470
6471 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6472
6473         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
6474           Fix 'make check' too.
6475
6476 2007-01-10  Andy Wingo  <wingo@pobox.com>
6477
6478         * docs/design/part-negotiation.txt: Fix a typo, add a couple
6479         notes.
6480         
6481         * docs/design/part-negotiation.txt: Update with, um, one way that
6482         pull-mode negotiation might work?
6483
6484         * gst/gstpad.h: 
6485         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
6486         that the pad must be a src pad; makes sense to call it the other
6487         way in pull mode, and the logic is symmetric anyway.
6488
6489 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
6490
6491         * plugins/elements/gstfilesink.c:
6492           Include <stdio.h> for fseeko().
6493
6494 2007-01-10  Wim Taymans  <wim@fluendo.com>
6495
6496         * gst/gstevent.c:
6497         * gst/gstevent.h:
6498         Reserve LATENCY event.
6499
6500 2007-01-09  Wim Taymans  <wim@fluendo.com>
6501
6502         * docs/design/draft-latency.txt:
6503         Updates.
6504
6505 2007-01-09  Wim Taymans  <wim@fluendo.com>
6506
6507         * docs/design/draft-latency.txt:
6508         Updates.
6509
6510         * gst/gstelement.h:
6511         * gst/gststructure.c:
6512         * gst/gsttrace.c:
6513         Small typo fixes.
6514
6515 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
6516
6517         * tests/check/.cvsignore:
6518           Ignore test-registry.xml as well.
6519
6520 2007-01-09  Wim Taymans  <wim@fluendo.com>
6521
6522         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6523         unref data at the end when we are done with the pad.
6524
6525 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
6526
6527         * docs/gst/gstreamer-sections.txt:
6528         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
6529         (init_post), (gst_deinit), (gst_update_registry):
6530         * gst/gst.h:
6531           API: add gst_update_registry() (#391296).
6532
6533         * tests/check/Makefile.am:
6534         * tests/check/gst/gstregistry.c:
6535         * tests/check/gst/.cvsignore:
6536           Simple unit test for the above.
6537
6538 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
6539
6540         * gst/gstregistry.c: (gst_registry_scan_path_level):
6541           Plugin extension on HP-UX is .sl, add that to the list of approved
6542           plugin extensions (see #393796).
6543
6544         * tests/check/gst/gstpad.c: (GST_START_TEST):
6545           ulong => gulong. Fixes compilation with HP-UX compiler.
6546
6547         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6548           Fix compilation if valgrind headers are not available.
6549
6550 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
6551
6552         * win32/common/libgstreamer.def: 
6553           Add new exported function.
6554         * win32/vs6/libgstbase.dsp: 
6555           Add gstdataqueue.c to the build.
6556         * win32/vs6/libgstcoreelements.dsp:
6557           Add gstmultiqueue.c to the build.
6558         
6559 2007-01-06  Andy Wingo  <wingo@pobox.com>
6560
6561         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
6562         activate_pull(), providing for a way to specialize the process of
6563         spawning a thread to pull on the sink pad. There is a default
6564         implementation.
6565
6566         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
6567         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
6568         (gst_base_sink_init): Renamed pad activation functions (inserting
6569         "_pad" in their names). Refactor to use the new activate_pull
6570         vmethod, as appropriate.
6571         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
6572         default activate_pull function to start a task pulling from the
6573         sink pad, as before.
6574
6575         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
6576         on the pads if necessary, as in push()/chain(). Update docs.
6577         Shouldn't affect existing pull() usage as it is currently only
6578         being used on buffers without caps.
6579
6580 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6581
6582         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6583         (init_pre):
6584           Call g_thread_init() first thing in gst_init() / gst_check_init().
6585           When initialisation is done via gst_init_get_option_group() and
6586           GOption parsing, issue a warning if the GLib thread system has not
6587           been initialised yet by the time gst_init_get_option_group() is
6588           called, as it's quite likely other GLib functions such as
6589           g_option_context_new() have been called already then, and
6590           g_thread_init() must be called before any other GLib function. The
6591           application in question must be fixed in that case, since memory
6592           corruption might happen otherwise.
6593           We issue the warning because even if the GLib folks decide to work
6594           around the problem on their end in future, this is still an issue
6595           with all GLib versions >= 2.10.0, so we should warn until we depend
6596           on a GLib version we know to be safe.
6597           Update documentation as well.
6598           Closes bug #391278.
6599
6600 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6601
6602         * tools/gst-inspect.c: (main):
6603         * tools/gst-launch.c: (main):
6604         * tools/gst-typefind.c: (main):
6605         * tools/gst-xmlinspect.c: (main):
6606           Call g_thread_init() really really early, before any other GLib
6607           function (see #342564 and recent discussion on gtk-devel-list).
6608
6609 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6610
6611         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
6612
6613         * gst/gst_private.h:
6614         * gst/gstconfig.h.in:
6615         * gst/gstinfo.h:
6616           On win32, all the __declspec stuff for symbol exporting is
6617           apparently only needed with MSVC, but doesn't work with MingW.
6618           Fixes compilation with MingW and #391909.
6619
6620 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6621
6622         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
6623           Change some GST_ERROR_OBJECT that aren't really errors to
6624           GST_WARNING_OBJECT in order to reduce terminal spam.
6625
6626 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
6627
6628         * tests/check/Makefile.am:
6629           disable test again, as there seem to be still race problems
6630
6631 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
6632
6633         * tests/check/Makefile.am:
6634         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6635         (GST_START_TEST), (queue_suite):
6636           enable queue test again, add tests for the leaky behaviour
6637
6638 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
6639
6640         * configure.ac:
6641         * tests/examples/Makefile.am:
6642           Compile adapter test/example only if the required headers are
6643           available (fixes #391915).
6644
6645 2007-01-01  David Schleef  <ds@schleef.org>
6646
6647         * gst/gstplugin.c:
6648           Restore the previous signal handler for SIGSEGV instead of
6649           setting to default, since we may have stolen it away from
6650           someone.  (i.e., Mono)
6651
6652 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
6653
6654         * docs/random/draft-missing-plugins.txt:
6655           Some small additions and clarifications.
6656
6657 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
6658
6659         * gst/gstregistryxml.c: (gst_registry_save_escaped):
6660           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
6661           since that can lead to random memory corruptions and crashes
6662           (may or may not be related to #383244, #386711, and #386711).
6663
6664 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6665
6666         * tests/check/.cvsignore:
6667         * tests/check/Makefile.am:
6668           sync .cvsignome and CLEANFILES
6669
6670 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6671
6672         * tests/check/Makefile.am:
6673           fix distcheck
6674
6675 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6676
6677         * docs/design/part-states.txt:
6678           two tiny additional comments
6679         
6680         * gst/gststructure.c:
6681           doc fixing
6682
6683         * tests/check/Makefile.am:
6684         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6685         (GST_START_TEST):
6686           disable test for now, unless it gets fixed
6687
6688 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6689
6690         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6691         (GST_START_TEST):
6692           fix race in underrun test
6693
6694 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6695
6696         * tests/check/elements/.cvsignore:
6697           ignore more
6698
6699         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6700         (GST_START_TEST):
6701           try to narrow test failure
6702
6703 2006-12-21  David Schleef  <ds@schleef.org>
6704
6705         * plugins/elements/gstfakesrc.c:
6706           Use g_random_int_range(), since it produces better random
6707           numbers in a range than almost-correct floating point code.
6708
6709 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6710
6711         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6712         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6713         (gst_check_teardown_sink_pad):
6714           do not automatically (de)activate pads
6715
6716         * tests/check/Makefile.am:
6717         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6718         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
6719           add new, yet simple tests for queue
6720
6721         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
6722         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
6723         * tests/check/elements/filesrc.c: (cleanup_filesrc),
6724         (GST_START_TEST):
6725         * tests/check/elements/identity.c: (cleanup_identity):
6726           consistent pad (de)activation
6727
6728 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
6729
6730         Patch by: Sebastian Dröge  <slomo ubuntu com>
6731
6732         * libs/gst/base/gstcollectpads.c:
6733           Fix two doc typos (#387866).
6734
6735 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
6736
6737         * docs/manual/advanced-dparams.xml:
6738           Fix typo (g_object_control_properties() doesn't exist).
6739
6740 2006-12-19  Edward Hervey  <edward@fluendo.com>
6741
6742         * gst/gstsegment.c: (gst_segment_set_seek):
6743         Fine tune the cases where the segment start/stop values are really
6744         updated.
6745         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6746         Add tests for the return values of gst_segment_set_seek().
6747
6748 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
6749
6750         * gst/gst.c:
6751           Docs typo fix.
6752
6753         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6754         (gst_queue_init):
6755           Fix incorrect documentation and flesh it out a bit more.
6756           Set default values for the max properties on the GParamSpec as well,
6757           so it shows up correctly in gst-inspect.
6758
6759 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
6760
6761         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6762           Correct docs of queue, add more detail and crosslink it more.
6763
6764 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6765
6766         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6767           Print additional debug info when the stream isn't perfectly
6768           timestamped; don't try to use invalid durations.
6769
6770 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6771
6772         * docs/design/Makefile.am:
6773           Dist new design docs.
6774
6775 2006-12-16  Wim Taymans  <wim@fluendo.com>
6776
6777         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6778
6779         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
6780         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6781         (gst_collect_pads_stop), (gst_collect_pads_event),
6782         (gst_collect_pads_chain):
6783         * libs/gst/base/gstcollectpads.h:
6784         Add refcounting to the collectpads data so we can track when it's safe
6785         to free the data. Fixes #383382.
6786
6787 2006-12-15  Wim Taymans  <wim@fluendo.com>
6788
6789         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6790         (gst_collect_pads_remove_pad):
6791         Automatically activate/deactivate pads when they are added to a
6792         started/stoped collectpads.
6793
6794 2006-12-15  Wim Taymans  <wim@fluendo.com>
6795
6796         * gst/gstelement.c: (gst_element_add_pad):
6797         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6798         * gst/gstpad.c: (gst_pad_init):
6799         Set pads to FLUSHING when they are created. Check, warn and fix when a
6800         demuxer adds an inactive pad to itself when running. Fixes #339326.
6801
6802 2006-12-15  Wim Taymans  <wim@fluendo.com>
6803
6804         * gst/gstelement.c: (gst_element_class_init),
6805         (gst_element_default_send_event), (gst_element_send_event),
6806         (gst_element_default_query), (gst_element_query):
6807         Expose default element send_event and query handling as vmethods that
6808         subclasses can chain up to.
6809
6810 2006-12-15  Wim Taymans  <wim@fluendo.com>
6811
6812         * gst/gstelement.c: (gst_element_set_state_func):
6813         Small documentation fixes.
6814
6815 2006-12-15  Wim Taymans  <wim@fluendo.com>
6816
6817         * docs/design/draft-latency.txt:
6818         Checked in draft for handling latency in pipelines.
6819
6820 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6821
6822         * Makefile.am:
6823         * gstreamer.doap:
6824         * gstreamer.spec.in:
6825           adding .doap file
6826
6827 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
6828
6829         * gst/gst.c: (init_pre), (init_post):
6830           init_pre() and init_post() might be called via our GOptionGroup or
6831           from gst_init(), and we should skip both of them if we've already
6832           been initialised, otherwise we will init some things twice or add
6833           two default log functions.
6834
6835 2006-12-13  Edward Hervey  <edward@fluendo.com>
6836
6837         * docs/manual/basics-bus.xml:
6838         No, gst_main_loop does not exist. Its g_main_loop.
6839         Discovered by somebody who abused the copy-paste technique of coding :)
6840
6841 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
6842
6843         * gst/gstghostpad.c:
6844           Log ghostpad debug stuff to the GST_PADS category as well rather
6845           than just to the default category.
6846
6847 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6848
6849         * configure.ac:
6850         * gst/gst.c: (init_pre):
6851           Add some basic system details such as OS and architecture
6852           to the debug output if possible, courtesy of uname().
6853
6854 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6855
6856         * docs/gst/running.xml:
6857           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
6858           environment variables.
6859
6860 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
6861
6862         * tests/check/gst/gstbin.c: (GST_START_TEST):
6863         It is acceptable to have a refcount of 2 or 3 at this point in the
6864         test, because the pipeline might be just posting its state_change
6865         message. The next line then waits for that message to appear using
6866         bus_poll, so that should be fine too.
6867
6868 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
6869
6870         * gst/gst.c: (ensure_current_registry_forking):
6871         Ignore EINTR when reading from the child registry pipe.
6872         Explicitly ignore the return value from close, since it makes no
6873         difference.
6874
6875         * gst/gstminiobject.c: (gst_mini_object_ref),
6876         (gst_mini_object_unref):
6877         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
6878
6879         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
6880         When removing cached plugins, remove their features too, so they're
6881         not visible after they've disappeared.
6882
6883         * gst/gstutils.c: (prepare_link_maybe_ghosting):
6884         In the unlikely case that we are linking pads with no parents, don't
6885         crash trying to get the non-existent parent bin.
6886
6887         * gst/parse/grammar.y:
6888         Output debug in the PIPELINE category
6889
6890 2005-03-08  Wim Taymans  <wim@fluendo.com>
6891
6892         Patch by: René Stadler <mail at renestadler dot de>
6893
6894         * gst/gstclock.c: (gst_clock_new_periodic_id):
6895         Reject invalid clock times for interval of periodic ids.
6896         Fixes ##383506.
6897
6898 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
6899
6900         * gst/gstelementfactory.c: (gst_element_factory_create):
6901         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6902         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6903         * tools/gst-inspect.c: (print_element_info):
6904         Fix refcounting of gst_plugin_feature_load to match the docs. 
6905         Fixes: #380129
6906
6907 2006-12-07  Wim Taymans  <wim@fluendo.com>
6908
6909         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6910         (gst_base_sink_get_position):
6911         Improve debugging of events.
6912
6913 2006-12-07  Wim Taymans  <wim@fluendo.com>
6914
6915         Patch by: René Stadler <mail at renestadler dot de>
6916
6917         * gst/gstclock.c: (gst_clock_id_wait):
6918         Make period ids add the interval to the origial requested time instead
6919         of the possibly updated time which can be wrong when there are multiple
6920         waiters for the same id. Fixes #382592.
6921
6922         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
6923         (gst_system_clock_id_wait_jitter_unlocked),
6924         (gst_system_clock_id_wait_jitter):
6925         Fix restart in the async notify thread when an async entry is added to
6926         the front of the list. Fixes #381492. 
6927
6928         * tests/check/gst/gstsystemclock.c: (store_callback),
6929         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
6930         Added test for multiple async waits.
6931         Added test for async wait order.
6932
6933 2006-12-07  Wim Taymans  <wim@fluendo.com>
6934
6935         * gst/gstbin.c: (gst_bin_query):
6936         Add some more docs about the POSITION query.
6937
6938 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
6939
6940         * configure.ac:
6941         Bump version nano - back to CVS.
6942
6943 === release 0.10.11 ===
6944
6945 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
6946
6947         * configure.ac:
6948           releasing 0.10.11, "Love never runs on time"
6949
6950 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
6951
6952         * win32/common/libgstbase.def:
6953         * win32/common/libgstreamer.def:
6954         * win32/vs8/libgstbase.vcproj:
6955         * win32/vs8/libgstcoreelements.vcproj:
6956         * win32/vs8/libgstreamer.vcproj:
6957         Fix compilation on win32 under VS8
6958         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6959         Partially fixes #381175
6960
6961 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
6962
6963         * gst/gstvalue.c: (gst_value_compare_fraction):
6964         If someone is foolish enough to compare 2 fractions with denominator =
6965         0, return UNORDERED rather than aborting.
6966
6967 2006-11-28  Edward Hervey  <edward@fluendo.com>
6968
6969         * libs/gst/base/Makefile.am:
6970         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
6971         (gst_data_queue_base_init), (gst_data_queue_class_init),
6972         (gst_data_queue_init), (gst_data_queue_new),
6973         (gst_data_queue_cleanup), (gst_data_queue_finalize),
6974         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
6975         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
6976         (gst_data_queue_is_empty), (gst_data_queue_is_full),
6977         (gst_data_queue_set_flushing), (gst_data_queue_push),
6978         (gst_data_queue_pop), (gst_data_queue_drop_head),
6979         (gst_data_queue_set_property), (gst_data_queue_get_property):
6980         * libs/gst/base/gstdataqueue.h:
6981         New GstDataQueue object for threadsafe queueing. Most useful for
6982         elements that need some queueing functionnality.
6983         * docs/libs/gstreamer-libs-docs.sgml:
6984         * docs/libs/gstreamer-libs-sections.txt:
6985         Insert documentation for GstDataQueue
6986         * plugins/elements/Makefile.am:
6987         * plugins/elements/gstelements.c:
6988         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
6989         (gst_multi_queue_class_init), (gst_multi_queue_init),
6990         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6991         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
6992         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
6993         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6994         (gst_multi_queue_loop), (gst_multi_queue_chain),
6995         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6996         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
6997         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
6998         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
6999         (wake_up_next_non_linked), (compute_next_non_linked),
7000         (single_queue_overrun_cb), (single_queue_underrun_cb),
7001         (single_queue_check_full), (gst_single_queue_new):
7002         * plugins/elements/gstmultiqueue.h:
7003         New multiqueue element, using GstDataQueue. Used for queuing multiple
7004         streams.
7005         Closes #344639 and #347785
7006
7007 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
7008
7009         * docs/pwg/advanced-types.xml:
7010           add more missing type details
7011
7012         * tools/gst-run.c: (main):
7013           remove unused variable
7014
7015 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
7016
7017         * docs/libs/Makefile.am:
7018         * docs/libs/gstreamer-libs.types:
7019           add types of base classes to enable gobject specific stuff in the docs
7020
7021         * docs/random/ensonic/embedded.txt:
7022           more ideas about isolating platform specific things
7023
7024 2006-11-20  Wim Taymans  <wim@fluendo.com>
7025
7026         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
7027
7028         * libs/gst/check/gstcheck.h:
7029         Fix compilation and running against 0.9.4. Fixes #377332.
7030
7031 2006-11-20  Wim Taymans  <wim@fluendo.com>
7032
7033         * gst/gstsegment.c: (gst_segment_set_seek),
7034         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7035         (gst_segment_to_running_time):
7036         Fix boundary checking in to_running_time() and to_stream_time().
7037         Fixes #377183.
7038
7039         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7040         stream and running time can now be calculated for the complete
7041         clipped segment.
7042
7043 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
7044
7045         * gst/gstpad.c: (gst_pad_push_event):
7046           Can't access event structure after giving away ownership of
7047           the event.
7048
7049 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
7050
7051         * docs/random/ensonic/embedded.txt:
7052         * docs/random/ensonic/profiling.txt:
7053         * docs/random/ensonic/receipies.txt:
7054           more thinking
7055
7056 2006-11-13  Wim Taymans  <wim@fluendo.com>
7057
7058         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7059
7060         * gst/gstpad.c:
7061         Fix documentation for gst_pad_dispatcher. Fixes #374475.
7062
7063 2006-11-13  Wim Taymans  <wim@fluendo.com>
7064
7065         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
7066
7067         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7068         Store new length in segment duration so we don't keep on calling the
7069         potentially expensize get_size() call. Fixes #370865.
7070
7071 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
7072
7073         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
7074
7075         * win32/common/libgstreamer.def:
7076           Add two missing symbols (#366492).
7077
7078 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
7079
7080         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
7081         (gst_adapter_take_buffer):
7082         Fix format string to use all its arguments.
7083         Remove useless >= check on a guint
7084
7085 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7086
7087         * tests/examples/adapter/.cvsignore:
7088         Ignore build file as commanded by the build-bot
7089
7090 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7091
7092         * tests/examples/adapter/Makefile.am:
7093         * tests/examples/adapter/adapter_test.c: (run_test_take),
7094         (run_test_take_buffer), (run_tests), (main):
7095
7096         Add new files from the previous commit
7097
7098 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7099
7100         * Makefile.am:
7101         * configure.ac:
7102         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
7103         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
7104         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
7105         * libs/gst/base/gstadapter.h:
7106         * tests/check/libs/adapter.c: (create_and_fill_adapter),
7107         (GST_START_TEST), (gst_adapter_suite):
7108         * tests/examples/Makefile.am:
7109         Do some optimisation work in GstAdapter to avoid copies in more cases.
7110         It could still do slightly better by merging buffers when
7111         gst_buffer_is_span_fast is true, but is already faster. 
7112
7113         Also, avoid traversing a single-linked list to append each incoming 
7114         buffer inside the adapter.
7115
7116         Add simple test app that times the adapter behaviour in different
7117         situations, and extend the unit test to check that bytes enter and
7118         exit the adapter in their original order.
7119
7120 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
7121
7122         * docs/random/draft-missing-plugins.txt:
7123           Update: use element message instead of adding a new message
7124           type to the core; don't provide GStreamer API to initiate the
7125           plugin download, just provide API to compose the strings needed
7126           and let an external libgimmestuff handle the rest.
7127
7128 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
7129
7130         * tools/gst-inspect.c: (print_element_properties_info):
7131         Print a string instead of 'unknown type' for GValueArray properties
7132
7133 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
7134
7135         * docs/random/draft-missing-plugins.txt:
7136         More small fixes.
7137
7138 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7139
7140         * tests/examples/typefind/typefind.c: (type_found), (main):
7141           Make typefind element example work again (#371894); add a
7142           license header.
7143
7144 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7145
7146         * docs/random/draft-missing-plugins.txt:
7147           Commit initial draft about how to deal with missing plugins,
7148           needs work (API too).
7149
7150 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
7151
7152         * docs/pwg/advanced-types.xml:
7153           documents the new caps elements (see #363118)
7154
7155 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
7156
7157         * gst/gstplugin.c: (gst_plugin_load_file):
7158         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
7159         (gst_file_src_map_region), (gst_file_src_start):
7160         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
7161         (gst_file_index_commit):
7162           Use g_strerror() instead of strerror() - we want UTF-8.
7163
7164 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
7165
7166         Patch by: Peter Kjellerstedt <pkj at axis com>
7167
7168         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7169           Another printf fix (#371493).
7170
7171 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7172
7173         * tests/check/gst/gsttag.c:
7174           relicence (okay with author=company)
7175
7176 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7177
7178         * gst/gstpad.c: (gst_pad_event_default_dispatch),
7179         (gst_pad_push_event):
7180           Enhance debug and improve docs
7181         
7182         * gst/gsturi.c:
7183           Fix docs
7184
7185 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7186
7187         * docs/random/ensonic/distributed.txt:
7188         * docs/random/ensonic/profiling.txt:
7189           more ideas
7190
7191 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7192
7193         * docs/gst/gstreamer-sections.txt:
7194           add new API and fix the build
7195           
7196         * gst/gstbin.c: (gst_bin_recalc_state):
7197         * gst/gstelement.c: (gst_element_message_full),
7198         (gst_element_get_state_func), (gst_element_set_state_func):
7199           use new API and improve logging
7200         
7201         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7202         * gst/gstutils.h:
7203           API: add function to get StateChangereturn names to improve logs 
7204
7205 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7206
7207         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7208           I'm considering shooting the next person to put strerror stuff
7209           in the translateable part of the message.
7210
7211 2006-11-03  Wim Taymans  <wim@fluendo.com>
7212
7213         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7214         Get the type and printf conversion specifiers right.
7215
7216 2006-11-03  Wim Taymans  <wim@fluendo.com>
7217
7218         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7219
7220         * gst/gstpad.c: (gst_pad_init), (pre_activate),
7221         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
7222         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
7223         Some small cleanups. Improve debugging.
7224         * gst/gstpad.h:
7225         Signal all waiting threads with a broadcast instead of just one.
7226         Fixes #369942.
7227
7228 2006-11-03  Wim Taymans  <wim@fluendo.com>
7229
7230         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
7231         (gst_fd_src_create):
7232         Add some debugging. 
7233         Only update fd when it's different from the old.
7234
7235 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7236
7237         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
7238           Printf fixes for PPC/OSX, take two (#369366).
7239
7240 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7241
7242         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
7243
7244         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7245         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7246         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
7247           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
7248           don't cast to long long for portability reasons, but use
7249           GLib's types instead.
7250
7251 2006-10-30  Michael Smith  <msmith@fluendo.com>
7252
7253         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7254           Get the arguments to lseek() the right way around.
7255           Fixes 367677.
7256
7257 2006-10-30  Wim Taymans  <wim@fluendo.com>
7258
7259         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
7260
7261         * gst/gstinfo.h:
7262         _declspec should be __declspec (two underscores, not one). Fixes 366572.
7263
7264 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
7265
7266         Patch by: Kjartan Maraas  <kmaraas at gnome org>
7267
7268         * docs/design/part-MT-refcounting.txt:
7269         * docs/random/wtay/capsnego2-docs:
7270         * gst/gstclock.c:
7271         * gst/gstxml.c:
7272           Typo fixes (#366212).
7273
7274 2006-10-28  Wim Taymans  <wim@fluendo.com>
7275
7276         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7277
7278         * gst/gst.c:
7279         * win32/common/libgstbase.def:
7280         * win32/common/libgstreamer.def:
7281         * win32/vs8/libgstbase.vcproj:
7282         * win32/vs8/libgstcontroller.vcproj:
7283         Add needed entries in .def files.
7284         Use HAVE_UNISTD_H.
7285         Rearrange def files in vs8 solutions. Fixes #366286.
7286
7287 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
7288
7289         * win32/common/gstconfig.h:
7290           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
7291           hand-made win32 gstconfig.h. Fixes #366321.
7292
7293 2006-10-27  Wim Taymans  <wim@fluendo.com>
7294
7295         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
7296         (gst_ghost_pad_new_full):
7297         Make acceptcaps return TRUE when we don't have a target, just like
7298         setcaps does.
7299
7300 2006-10-27  Wim Taymans  <wim@fluendo.com>
7301
7302         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7303         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
7304
7305 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
7306
7307         * gst/gststructure.c: (gst_structure_id_set_value):
7308           If someone tries to set a non-UTF8 string field on a structure,
7309           don't just print a warning, but also ignore the request and do
7310           not change/add that field to the structure.
7311
7312         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7313           Test for the above.
7314
7315 2006-10-25  David Schleef  <ds@schleef.org>
7316
7317         * gst/gstinfo.c:
7318           g_hash_table_insert() needs a cast to a non-const pointer duh.
7319
7320 2006-10-25  David Schleef  <ds@schleef.org>
7321
7322         * gst/gstinfo.c:
7323         * gst/gstinfo.h:
7324           Change name parameter of _gst_debug_register_funcptr to const
7325           to reflect the constness of its use in the function as well
7326           as to quiet a gcc warning.
7327
7328 2006-10-25  Edward Hervey  <edward@fluendo.com>
7329
7330         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7331         Don't push the buffer if it's empty.
7332         Closes #363095
7333
7334 2006-10-24  Wim Taymans  <wim@fluendo.com>
7335
7336         * gst/gstevent.h:
7337         Add small comment.
7338
7339         * libs/gst/base/gstbasetransform.c:
7340         (gst_base_transform_sink_eventfunc):
7341         Debug segment values *after* updating them as this is more
7342         interesting.
7343
7344 2006-10-23  Wim Taymans  <wim@fluendo.com>
7345
7346         * docs/design/part-events.txt:
7347         Update some docs.
7348
7349         * docs/design/part-block.txt:
7350         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7351         (gst_pad_push_event):
7352         Revert BLOCKING patch, it tries to be smart without really having a
7353         clear idea what or how. So, now we discard all FLUSHING events again on
7354         a blocking pad. Should fix gnonlin again.
7355
7356 2006-10-23  Wim Taymans  <wim@fluendo.com>
7357
7358         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7359
7360         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7361         (gst_base_src_start), (gst_base_src_activate_push):
7362         Make sure size is always initialized. Fixes #364388.
7363
7364 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
7365
7366         * docs/random/ensonic/distributed.txt:
7367           add some ideas about doing distributed processing
7368
7369         * docs/random/ensonic/profiling.txt:
7370           get_rusage look promising
7371
7372 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
7373
7374         * docs/manual/basics-helloworld.xml:
7375           Add a cast in example to fix compile warning
7376
7377 2006-10-18  Wim Taymans  <wim@fluendo.com>
7378
7379         * gst/gstsegment.c: (gst_segment_set_last_stop),
7380         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7381         Relax arg checking again, -1 is allowed.
7382
7383 2006-10-18  Wim Taymans  <wim@fluendo.com>
7384
7385         * gst/gstsegment.c: (gst_segment_set_last_stop),
7386         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7387         _set_last_stop() must be with a value != -1
7388         A _TYPE_SET to -1 means seek to 0.
7389         Calc last_stop correctly for negative rates.
7390         Make sure we work with positive durations when updating a segment.
7391
7392 2006-10-18  Wim Taymans  <wim@fluendo.com>
7393
7394         * docs/design/part-live-source.txt:
7395         * gst/gstclock.h:
7396         Small docs fixes.
7397
7398 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
7399
7400         * gst/gstbuffer.h:
7401           Add an explicit cast to GstBuffer** to keep old code that added an
7402           explicit cast to GstMiniObject** for gst_mini_object_replace()
7403           compiling without warning.
7404
7405 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
7406
7407         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
7408           check for validity of dates
7409
7410 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
7411
7412         * docs/gst/gstreamer-sections.txt:
7413           Forgot this one, makes gtk-doc shut up.
7414
7415 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
7416
7417         Patch by: Peter Kjellerstedt <pkj at axis com>
7418
7419         * gst/gstobject.h:
7420           Don't define xmlNodePtr to gpointer if the core was built with
7421           --disable-loadsave and --disable-registry, this will break
7422           applications that want to use libxml2 but are buildling against a
7423           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
7424           instead so we don't have to mess with the libxml2 namespace
7425           (#361675).
7426
7427 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
7428
7429         * gst/gstbuffer.h:
7430           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
7431           type-punned pointer warnings.
7432
7433 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
7434
7435         * gst/gstelement.h:
7436           Add casts to the correct return type to state <=> state transition
7437           macros.
7438
7439 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
7440
7441         * docs/design/part-live-source.txt:
7442           describe howto handle latency
7443         
7444         * docs/random/ensonic/profiling.txt:
7445           more ideas
7446
7447         * tools/gst-plot-timeline.py:
7448           fix log parsing for solaris, remove unused function
7449
7450 2006-10-16  Wim Taymans  <wim@fluendo.com>
7451
7452         * docs/design/part-trickmodes.txt:
7453         * gst/gstevent.c:
7454         Update some docs regarding reverse playback.
7455
7456 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
7457
7458         Patch by: Marcus Granado  <mrc dot gran at gmail com>
7459
7460         * win32/vs8/grammar.vcproj:
7461           Error out with a warning if glib-genmarshal.exe is not in path,
7462           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
7463
7464 2006-10-13  Wim Taymans  <wim@fluendo.com>
7465
7466         * gst/gstsegment.c: (gst_segment_set_seek):
7467         When seeking to stop -1, set last_stop (current position) to the
7468         duration of the segment.
7469
7470 2006-10-13  Wim Taymans  <wim@fluendo.com>
7471
7472         * gst/gstelement.h:
7473         Clarify _NO_PREROLL a bit more.
7474
7475         * gst/gstevent.c:
7476         Fix docs.
7477
7478         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
7479         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
7480         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
7481         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
7482         due to wrong locking order. Fixes #361769.
7483         Remove some redundant/misplaced checks in pad_block.
7484
7485         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7486         For negative rates, count backwards from the duration.
7487
7488 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
7489
7490         * gst/gsterror.c: (_gst_library_errors_init):
7491           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
7492           up with something better).
7493
7494 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
7495
7496         * win32/vs6/libgstreamer.dsp:
7497         * win32/vs7/libgstreamer.vcproj:
7498         * win32/vs8/libgstreamer.vcproj:
7499           Don't reference glib-compat.c which is currently not used and not
7500           disted; add gstquark.c which was recently added. Fixes #361730.
7501
7502 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
7503
7504         * win32/common/libgstbase.def:
7505         * win32/common/libgstcontroller.def:
7506         * win32/common/libgstreamer.def:
7507           Add gst_caps_merge() and a bunch of other recently-added functions.
7508           Fixes #361732.
7509
7510 2006-10-11  Wim Taymans  <wim@fluendo.com>
7511
7512         * docs/plugins/gstreamer-plugins.args:
7513         * docs/plugins/inspect/plugin-coreelements.xml:
7514         * docs/plugins/inspect/plugin-coreindexers.xml:
7515         Update element args.
7516
7517         * gst/gstsystemclock.c:
7518         Small comment update.
7519
7520         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7521         (gst_tee_request_new_pad), (gst_tee_release_pad),
7522         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
7523         (gst_tee_sink_activate_pull):
7524         * plugins/elements/gsttee.h:
7525         Some tee loving:
7526         Add default property defines.
7527         Implement release pad function.
7528         Give properties better blubs etc.
7529         Activate pads before adding them to a running tee.
7530         Do simple buffer_alloc on the first requested pad.
7531         Post error when activation fails.
7532
7533 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
7534
7535         * gst/gst.c: (ensure_current_registry_forking):
7536           Check return value of write() to make compiler happy.
7537
7538 2006-10-11  Wim Taymans  <wim@fluendo.com>
7539
7540         Patch by: Sjoerd Simons <sjoerd at luon dot net>
7541
7542         * plugins/elements/gstqueue.c: (gst_queue_chain):
7543         Recheck queue filledness after signalling the overrun when we're about
7544         to leak downstream because we released the lock when emitting the signal
7545         and the queue could be empty again. Fixes #352345.
7546
7547 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
7548
7549         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
7550           Fix refcounting here too, just like we did for _new_valist() a few
7551           days ago (#357180) (thanks to René Stadler). Also remove all those
7552           'Since: 0.9' from the gtk-doc blobs.
7553
7554         * tests/check/libs/controller.c: (controller_refcount_new_list),
7555         (gst_controller_suite):
7556           Unit test for the above.
7557
7558 2006-10-10  Wim Taymans  <wim@fluendo.com>
7559
7560         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
7561
7562         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7563         (gst_pad_save_thyself):
7564         Update some docs.
7565         Write pad direction in XML output. Fixes #345496.
7566
7567 2006-10-10  Wim Taymans  <wim@fluendo.com>
7568
7569         Patch by: René Stadler <mail at renestadler dot de>
7570
7571         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7572         (gst_controller_new_list), (_gst_controller_dispose),
7573         (_gst_controller_finalize), (_gst_controller_class_init):
7574         Take ref to controlled object so that it cannot disappear. 
7575         Fixes #357432.
7576
7577 2006-10-10  Wim Taymans  <wim@fluendo.com>
7578
7579         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7580         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7581         (gst_check_teardown_sink_pad):
7582         Activate/deactivate pads in setup/teardown respectively.
7583
7584 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7585
7586         Patch by: Josep Torra Valles <josep@fluendo.com>
7587
7588         * gst/Makefile.am:
7589         Cast values when making gstenumtypes.h.  This pacifies Forte
7590         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
7591         in the enumeration.
7592
7593 2006-10-09  Wim Taymans  <wim@fluendo.com>
7594
7595         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
7596         Rename some more @cur to @start to fix docs. 
7597
7598         * gst/gstsegment.c: (gst_segment_set_seek):
7599         Fix typo.
7600         time and start must always stay in sync as defined in design doc.
7601
7602         * gst/gsttaglist.c: (gst_tag_list_is_empty):
7603         Rename param to fix docs.
7604
7605         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7606         Check that start and time are in sync.
7607
7608         * tests/check/pipelines/parse-launch.c:
7609         (gst_parse_test_element_change_state):
7610         Activate pad before adding to the element.
7611
7612 2006-10-09  Wim Taymans  <wim@fluendo.com>
7613
7614         * docs/design/part-qos.txt:
7615         Fix typo.
7616
7617         * gst/gstevent.c:
7618         * gst/gstevent.h:
7619         Update seek event docs regarding negative rates.
7620         Rename @cur to @start. 
7621
7622         * gst/gstsegment.c: (gst_segment_set_seek):
7623         * gst/gstsegment.h:
7624         Update set_seek docs regarding negative rates.
7625         Correctly update last_stop to @stop when dealing with negative
7626         rates.
7627         Rename @cur to @start. 
7628
7629         * tests/check/gst/gstpad.c: (GST_START_TEST):
7630         Activate pads before trying to use them.
7631
7632         * tests/check/gst/gstsegment.c: (GST_START_TEST),
7633         (gst_segment_suite):
7634         Add simple check for segments and negative rates.
7635
7636 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
7637
7638         * gst/gsttaglist.c: (gst_tag_list_is_empty):
7639         * gst/gsttaglist.h:
7640         * docs/gst/gstreamer-sections.txt:
7641           API: add gst_tag_list_is_empty() (#360467).
7642
7643         * tests/check/gst/gsttag.c: (GST_START_TEST):
7644           And a test case.
7645
7646 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7647
7648         * gst/gstmessage.h:
7649         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
7650         a value that doesn't fit on enumeration.
7651
7652 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7653
7654         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7655         Remove local debugging system and use Gstreamer's instead.
7656
7657 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7658
7659         Patch by: Josep Torra Valles <josep@fluendo.com>
7660
7661         * common/m4/gst-error.m4:
7662         Disable warning of statement not reached on Forte.
7663         * gst/gstmessage.h:
7664         Fix warning on Forte (value doesn't fit on enumeration).
7665         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
7666         Fix warning on Forte (value doesn't fit on enumeration).
7667         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7668         DEBUG macro says it takes minimum of 2 args and so Forte
7669         complains about the use with just 1 arg.
7670         * plugins/elements/gstfdsink.c:
7671         * plugins/elements/gstfdsrc.c:
7672         * plugins/elements/gstfilesink.c:
7673         * plugins/elements/gstfilesrc.c:
7674         Use correct return type for the uri handler implementations.
7675
7676         All these fix warnings in Forte.  Fixes bug #360860.
7677
7678 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
7679
7680         * gst/gstelement.h:
7681           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
7682           format string, so don't use G_GNUC_PRINTF for those versions.
7683
7684 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
7685
7686         * gst/gsttaglist.c: (gst_is_tag_list):
7687         * gst/gsttaglist.h:
7688           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
7689
7690         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7691           Small test for the above.
7692
7693 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
7694
7695         * gst/gsttaglist.h:
7696           Less tabs, more spaces.
7697
7698 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
7699
7700         * gst/gstinfo.h:
7701           Those two function declarations do actually belong there, revert
7702           commit from yesterday that turned them intro macros.
7703
7704 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7705
7706         Patch by: Josep Torra Valles <josep@fluendo.com>
7707
7708         * gst/gst.c: (gst_init_get_option_group):
7709         Fix empty declaration and type mismatch.
7710         * gst/gstbin.c: (gst_bin_change_state_func):
7711         Fix type mismatch.
7712         * gst/gstelement.c: (gst_element_continue_state),
7713         (gst_element_set_state_func), (gst_element_change_state),
7714         (gst_element_change_state_func):
7715         Fix type mismatches.
7716         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
7717         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
7718         Cast as appropriate.
7719         * gst/gstobject.c: (gst_class_signal_connect):
7720         Cast as appropriate.  The function pointer parameter really
7721         has the wrong type but would break API if we change it.
7722         * gst/gstquery.c:
7723         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
7724         order of including string.h.
7725         * gst/gstutils.c: (gst_element_state_get_name):
7726         Remove unreachable line.
7727         * gst/gstxml.c: (gst_xml_parse_doc):
7728         Fix type mismatch.
7729         All these caught by Forte.
7730
7731 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7732
7733         Patch by: Josep Torra Valles <josep@fluendo.com>
7734
7735         * common/m4/gst-error.m4:
7736         Fixed bug #360151.
7737         We need to disable warnings on Forte for empty declarations
7738         due to gst-indent adding ;s to lines that just use macros
7739         where the macro actually doesn't need a ; at end to end
7740         statement.
7741
7742 2006-10-06  Wim Taymans  <wim@fluendo.com>
7743
7744         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7745         (gst_file_sink_close_file), (gst_file_sink_event),
7746         (gst_file_sink_render):
7747         Add some FIXME for the NEWSEGMENT handling.
7748
7749 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7750
7751         * gst/parse/grammar.y:
7752         Remove static function gst_parse_element_lock as all it does
7753         is return.  Looks like cruft from 0.8.
7754
7755 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7756
7757         Patch by: Josep Torra Valles <josep@fluendo.com>
7758
7759         * common/m4/gst-error.m4:
7760         * configure.ac:
7761         * libs/gst/net/Makefile.am:
7762         Fix a compilation issue with Forte on Solaris.  inet_aton is in
7763         libresolv.
7764
7765 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
7766
7767         * gst/gstpad.c: (pre_activate):
7768         * gst/gstregistry.c: (gst_registry_scan_path_level):
7769         * gst/gstregistryxml.c: (load_plugin):
7770         * libs/gst/controller/gstcontroller.c:
7771         (gst_controlled_property_set_interpolation_mode):
7772         * libs/gst/dataprotocol/dataprotocol.c:
7773         (gst_dp_packet_from_event_1_0):
7774         * libs/gst/net/gstnetclientclock.c:
7775         (gst_net_client_clock_observe_times):
7776         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7777           Printf fixes.
7778
7779 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
7780
7781         * configure.ac:
7782         * docs/gst/gstreamer-sections.txt:
7783         * gst/gstconfig.h.in:
7784         * gst/gstelement.h:
7785         * gst/gstinfo.h:
7786           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
7787           whether we can use G_GNUC_PRINTF in other header files and at
7788           least check the printf format/arguments of debug messages and
7789           GST_ELEMENT_ERROR messages when the printf extension is not
7790           being used.
7791           Replace more tabs with spaces in gstinfo.h and remove two spurious
7792           function declarations in GST_DISABLE_DEBUG part with macros.
7793
7794 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
7795
7796         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
7797           More docs for the sync-message signal (mention that it is not
7798           emitted by default); log message structures of messages posted on
7799           the bus as well.
7800
7801 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
7802
7803         * gst/gst.c: (ensure_current_registry_forking):
7804         Use a pipe pair to receive status results from the forked child, and
7805         ignore the result from waitpid. Fixes #355499
7806
7807 2006-10-02  Wim Taymans  <wim@fluendo.com>
7808
7809         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7810         (gst_ghost_pad_suite):
7811         Fix leak in check.
7812
7813 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
7814
7815         * gst/gstpad.c:
7816           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
7817
7818 2006-10-02  Edward Hervey  <edward@fluendo.com>
7819
7820         * docs/design/part-block.txt:
7821         Further explain the use of flushing on blocked pads.
7822         * docs/gst/gstreamer-sections.txt:
7823         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7824         (gst_pad_push_event):
7825         * gst/gstpad.h:
7826         Added new GstPadFlag : GST_PAD_BLOCKING.
7827         Adds the notion of pads really blocking, which enables to properly
7828         handle FLUSH_START/FLUSH_STOP events on blocked pads.
7829         Fixes #358999
7830         API: gst_pad_is_blocking()
7831         API: GST_PAD_IS_BLOCKING() macro
7832         API: GST_PAD_BLOCKING GstPadFlag
7833         
7834 2006-10-02  Wim Taymans  <wim@fluendo.com>
7835
7836         Patch by: mrcgran <mrc.gran at gmail dot com>
7837
7838         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
7839         Filter the proxied caps against the padtemplate if we have one.
7840
7841         * gst/gstquery.c: (gst_query_new_segment):
7842         Add include for gstinfo.h so that compilation with
7843         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
7844
7845 2006-10-02  Wim Taymans  <wim@fluendo.com>
7846
7847         Patch by: Alessandro Decina  <alessandro at nnva org>
7848
7849         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
7850         (gst_file_sink_set_location), (gst_file_sink_open_file),
7851         (gst_file_sink_close_file), (gst_file_sink_event),
7852         (gst_file_sink_render):
7853         Set file to NULL when closing filesink so that we can set a new filename
7854         in READY. Fixes #358613.
7855
7856 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
7857
7858         Patch by: Alessandro Decina  <alessandro at nnva org>
7859
7860         * gst/gstevent.c: (_gst_event_copy):
7861           Fix gst_mini_object_make_writable() and gst_event_copy() for events
7862           with event structures by setting the parent refcount address of the
7863           copied structure to the address of the refcount member of the newly
7864           copied event rather than the address of the refcount member of the
7865           original event. Fixes #358737.
7866
7867         * tests/check/gst/gstevent.c: (GST_START_TEST):
7868           Unit test for the above.
7869
7870 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
7871
7872         * docs/design/Makefile.am:
7873           Dist some more files.
7874
7875 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
7876
7877         * tests/check/libs/controller.c: (GST_START_TEST),
7878         (gst_controller_suite):
7879           Add test for the previous fix; add some more tests
7880           for correct refcounting behaviour; fix a few leaks
7881           in test cases; call gst_controller_init() at start
7882           of all tests.
7883
7884 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
7885
7886         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7887         (gst_controller_set_from_list):
7888           Don't g_return_val_if_fail() on timed values with invalid timestamps
7889           inside a critical section without unlocking the mutex. Spotted by
7890           René Stadler. (#357617)
7891           Also, fix up refcounting properly: when returning an existing
7892           controller, we should increase the reference only once and not
7893           once per property and when trying to control a property again
7894           we should also increase the refcount.
7895
7896 2006-09-29  Wim Taymans  <wim@fluendo.com>
7897
7898         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7899         * libs/gst/net/gstnettimeprovider.c:
7900         (gst_net_time_provider_thread):
7901         Stop reading commands when EOF as well.
7902
7903         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7904         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7905         * plugins/elements/gstidentity.c: (gst_identity_class_init):
7906         Unify description of the dump property.
7907
7908 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7909
7910         * tests/examples/manual/.cvsignore:
7911         OK, so it's actually cvsignore that needs changing. Stop laughing.
7912
7913 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7914
7915         * tests/examples/manual/Makefile.am:
7916         Gah, declare vars *before* using them
7917
7918 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7919
7920         * gst/gst.c: (init_pre), (scan_and_update_registry),
7921         (ensure_current_registry_nonforking),
7922         (ensure_current_registry_forking), (ensure_current_registry),
7923         (init_post), (gst_debug_help), (gst_deinit):
7924         * gst/gst_private.h:
7925         * gst/gstregistry.c: (gst_registry_finalize),
7926         (gst_registry_remove_features_for_plugin_unlocked),
7927         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7928         (gst_registry_scan_path),
7929         (_priv_gst_registry_remove_cache_plugins),
7930         (_priv_gst_registry_cleanup):
7931         * gst/gstregistry.h:
7932         Re-commit the registry changes, along with an extra fix:
7933           When a cached plugin is encountered at a different file path,
7934           update the stored path in the registry cache so that the parent
7935           process knows where it actually is now when it re-reads the registry
7936           cache. Fixes the thing that broke distcheck with the previous commit.
7937
7938         * tests/check/Makefile.am:
7939         Clean up files named 'core' too when running make clean.
7940
7941         * tests/examples/manual/Makefile.am:
7942         Set up a registry path for running these tests, and clean it properly
7943         for distcheck.
7944
7945 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7946
7947         * configure.ac:
7948         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
7949         want gmodule-no-export-2.0.pc instead so that we don't drag in
7950         --export-dynamic on every project that links to GStreamer.
7951
7952         Also, make our export regex only match the start of symbols, rather 
7953         than any symbol that contains '_gst' somewhere.
7954
7955         * libs/gst/check/Makefile.am:
7956         The libgstcheck we build does however need export-dynamic, as it
7957         produces some symbols that don't match our _gst... style regex.
7958         Fixes: #318031
7959
7960 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
7961
7962         * gst/gst.c: (init_pre), (scan_and_update_registry),
7963         (ensure_current_registry_nonforking),
7964         (ensure_current_registry_forking), (ensure_current_registry),
7965         (init_post), (gst_debug_help), (gst_deinit):
7966         * gst/gst_private.h:
7967         * gst/gstregistry.c: (gst_registry_finalize),
7968         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7969         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
7970         (_gst_registry_cleanup):
7971         * gst/gstregistry.h:
7972           Revert previous change until I figure out why it breaks distcheck.
7973
7974 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
7975
7976         * gst/gst.c: (init_pre), (scan_and_update_registry),
7977         (ensure_current_registry_nonforking),
7978         (ensure_current_registry_forking), (ensure_current_registry),
7979         (init_post), (gst_debug_help), (gst_deinit):
7980
7981           Make init_pre and init_post take the full complement of GOptionFunc
7982           args so they can return useful GErrors. Make the registry updating
7983           functions do so.
7984
7985           Call _priv_gst_registry_remove_cache_plugins after scanning files to
7986           ensure that the registry we're about to write out doesn't contain
7987           stale information about old-deleted plugin files.
7988
7989           Make _priv_gst_registry_remove_cache_plugins return a boolean so
7990           that deletion of plugin files is considered a registry change.
7991
7992         * gst/gst_private.h:
7993         * gst/gstregistry.c: (gst_registry_finalize),
7994         (gst_registry_remove_features_for_plugin_unlocked),
7995         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7996         (gst_registry_scan_path),
7997         (_priv_gst_registry_remove_cache_plugins),
7998         (_priv_gst_registry_cleanup):
7999         * gst/gstregistry.h:
8000         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
8001         by adding _priv prefix, so that they won't appear in the global
8002         symbol table. They still do atm though because of #318031. Move the
8003         prototypes to gst_private.h
8004
8005         When removing a plugin, remove all features for that plugin too. 
8006         Fixes #340878.
8007
8008 2006-09-27  Wim Taymans  <wim@fluendo.com>
8009
8010         * docs/random/moving-plugins:
8011         Make it clear that the "compiled-in descriptions" really mean
8012         the element details.
8013
8014         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8015         (gst_base_sink_wait_preroll):
8016         Update docs.
8017
8018         * docs/libs/gstreamer-libs-sections.txt:
8019         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8020         (gst_base_src_get_range), (gst_base_src_activate_push):
8021         * libs/gst/base/gstbasesrc.h:
8022         Added function to block while waiting for PLAYING, this function
8023         is used by live sources that block on the clock.
8024         API: gst_base_src_wait_playing()
8025
8026 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
8027
8028         Patch by: Peter Kjellerstedt <pkj at axis com>
8029
8030         * Makefile.am:
8031           gst-element-check.m4 is generated and should therefore be
8032           copied from the build dir rather than the source dir (#357593).
8033           'make distcheck' hasn't noticed this because we were disting
8034           the file as well, so stop doing that.
8035
8036 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
8037
8038         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8039           Add some tests for gst_caps_intersect().
8040
8041         * tools/gst-launch.c: (event_loop):
8042           Print all buffering percentages we get, even the 100% one.
8043
8044 2006-09-26  Wim Taymans  <wim@fluendo.com>
8045
8046         * tools/gst-inspect.c: (print_element_properties_info),
8047         (print_signal_info):
8048         Fix printing of flags to match the look of enums.
8049
8050 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8051
8052         * gst/gstelementfactory.c:
8053           Fix typo in docs blurb.
8054
8055 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8056
8057         * gst/gsturi.c: (search_by_entry):
8058           Don't assert/crash here if a uri handler doesn't return any
8059           supported protocols. The list of protocols could be generated
8060           dynamically at runtime or at plugin registration, and an error
8061           in the underlying library shouldn't be fatal (#353301).
8062
8063 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8064
8065         * gst/gstinfo.c:
8066           Fix warning if HAVE_PRINTF_EXTENSION is undefined
8067           (spotted by Peter Kjellerstedt).
8068
8069 2006-09-23  Wim Taymans  <wim@fluendo.com>
8070
8071         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
8072
8073         * libs/gst/base/gstbasesrc.c:
8074         (gst_base_src_default_check_get_range), (gst_base_src_start),
8075         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8076         (gst_base_src_change_state):
8077         Match _start/_stop calls in the activate functions. Remove redundant
8078         _stop call from the state change function. Fixes #356910.
8079         Turn failure DEBUG into ERROR. 
8080
8081 2006-09-22  Wim Taymans  <wim@fluendo.com>
8082
8083         * docs/design/part-buffering.txt:
8084         * gst/gstmessage.c: (gst_message_new_buffering),
8085         (gst_message_parse_buffering):
8086         Update docs about buffering.
8087
8088         * docs/design/part-trickmodes.txt:
8089         Fix typo.
8090
8091 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
8092
8093         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8094         (gst_controller_new_list):
8095           Ref instances when returning them again (fixes #357180)
8096
8097 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
8098
8099         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
8100           Don't forget to release proxy lock when there's an error.
8101
8102 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
8103
8104         * gst/gstcaps.h:
8105           Add extra initialisers for Caps things, to fix some plugin warnings
8106           when using -Wextra
8107
8108 2006-09-18  Wim Taymans  <wim@fluendo.com>
8109
8110         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8111           Also set template on the internal pad so that a getcaps from the 
8112           target pad returns the template caps.
8113
8114 2006-09-18  Wim Taymans  <wim@fluendo.com>
8115
8116         * gst/gstelement.c: (gst_element_post_message),
8117         (gst_element_dispose):
8118         Use _DEBUG_OBJECT some more.
8119
8120         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8121         Avoid typechecks.
8122
8123         * tools/gst-launch.c: (main):
8124         If the toplevel element is not a GstPipeline, it must be put in a
8125         pipeline so that a bus and clock is selected.
8126
8127 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
8128
8129         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8130           JITTER, RATE, and LATENCY query should be handled by the
8131           default case and not by the CONVERT query code.
8132
8133 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
8134
8135         * gst/gstformat.c: (gst_format_register):
8136           Fix locking order (must take lock before using n_values).
8137
8138         * gst/gstvalue.c: (gst_value_serialize_enum),
8139         (gst_value_deserialize_enum_iter_cmp),
8140         (gst_value_deserialize_enum):
8141           Fix serialisation/deserialisation of custom registered GstFormats.
8142
8143         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8144           Unit test for custom format serialisation/deserialisation.
8145
8146 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
8147
8148         * docs/pwg/building-boiler.xml:
8149         * plugins/elements/gstcapsfilter.c:
8150         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
8151         section.
8152
8153 2006-09-16  Edward Hervey  <edward@fluendo.com>
8154
8155         * libs/gst/base/gstbasetransform.c:
8156         (gst_base_transform_buffer_alloc):
8157         Check if requested caps are the same as the sinks caps IF
8158         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
8159         is FALSE.
8160         This fixes the renegotiation issues stated in #352827.
8161
8162 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8163
8164         * configure.ac:
8165         * docs/manual/advanced-autoplugging.xml:
8166         * tests/examples/Makefile.am:
8167         * tests/examples/manual/.cvsignore:
8168         * tests/examples/manual/Makefile.am:
8169         * tests/examples/manual/extract.pl:
8170           Extract the manual examples again like we used to do.
8171           Fix one of them.
8172
8173 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8174
8175         * win32/common/config.h:
8176           update for version
8177
8178 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
8179
8180         * gst/gsterror.c:
8181           Documents how to receive errors.
8182
8183 2006-09-15  Wim Taymans  <wim@fluendo.com>
8184
8185         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
8186         (event_loop), (main):
8187         Added some comments here and there.
8188         Post an application message when an interrupt is caught instead of doing
8189         an uncontrolled state change.
8190         Clean up the event loop.
8191         Handle buffering messages, pause/resume the pipeline.
8192         Make shutdown because of an interrupt more reliable.
8193
8194 2006-09-15  Wim Taymans  <wim@fluendo.com>
8195
8196         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8197         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
8198         (gst_base_sink_preroll_object):
8199         Make sure that our internal state is correct when we commit our state
8200         asynchronously. This solves a race where a state change to PLAYING
8201         could cause the sink to remain blocked in preroll in some situations.
8202
8203 2006-09-15  Wim Taymans  <wim@fluendo.com>
8204
8205         * tools/gst-inspect.c: (print_element_properties_info),
8206         (print_signal_info):
8207         List flags as hex so it's easier to deal with.
8208
8209 2006-09-15  Wim Taymans  <wim@fluendo.com>
8210
8211         * docs/libs/gstreamer-libs-sections.txt:
8212         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
8213         (gst_base_sink_do_sync):
8214         * libs/gst/base/gstbasesink.h:
8215         Expose logic to wait for preroll so that subclasses such as audiosink
8216         can also use this method.
8217         API: gst_base_sink_wait_preroll()
8218
8219 2006-09-15  Wim Taymans  <wim@fluendo.com>
8220
8221         * gst/gstobject.c: (gst_object_set_parent):
8222         * gst/gstpipeline.c: (do_pipeline_seek):
8223         Small cleanups in docs and code.
8224
8225         * gst/gstsegment.c: (gst_segment_clip):
8226         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8227         if stop == start and start is in the segment, no clipping should be
8228         done. Also add a test for this.
8229
8230 2006-09-15  Wim Taymans  <wim@fluendo.com>
8231
8232         * docs/design/part-buffering.txt:
8233         * docs/gst/gstreamer-sections.txt:
8234         * gst/gstmessage.c: (gst_message_new_buffering),
8235         (gst_message_parse_buffering):
8236         * gst/gstmessage.h:
8237         Added methods to create and parse BUFFERING messages.
8238         Added preliminary docs about buffering.
8239         API: gst_message_new_buffering
8240         API: gst_message_parse_buffering
8241
8242 2006-09-06  Wim Taymans  <wim@fluendo.com>
8243
8244         * gst/gstbin.c:
8245         Update documentation.
8246
8247         * gst/gstelement.c: (gst_element_class_init),
8248         (gst_element_release_request_pad), (gst_element_set_clock),
8249         (gst_element_get_index), (gst_element_add_pad),
8250         (gst_element_remove_pad), (gst_element_get_random_pad),
8251         (gst_element_send_event), (gst_element_get_query_types),
8252         (gst_element_query), (gst_element_post_message),
8253         (gst_element_message_full), (gst_element_continue_state),
8254         (gst_element_lost_state), (gst_element_save_thyself),
8255         (gst_element_restore_thyself):
8256         Documentation updates.
8257         Rename last bit of the new-pad -> pad-added signal rename.
8258         Fix the case where an element query would only work if the source
8259         pad was linked.
8260         Avoid some useless type checking in message handling.
8261
8262         * gst/gstevent.c:
8263         * gst/gstevent.h:
8264         * gst/gstutils.c:
8265         Documentation updates.
8266
8267 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8268
8269         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8270           add an INFO line for when we actually update the fd
8271
8272 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8273
8274         * configure.ac:
8275           back to TRUNK
8276
8277 === release 0.10.10 ===
8278
8279 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
8280
8281         * configure.ac:
8282           releasing 0.10.10, "Pais"
8283
8284 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
8285
8286         * docs/manual/advanced-position.xml:
8287           Fix typo in sample code.
8288
8289 2006-09-05  Wim Taymans  <wim@fluendo.com>
8290
8291         * libs/gst/net/gstnetclientclock.c: (inet_aton),
8292         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8293         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
8294         * libs/gst/net/gstnetclientclock.h:
8295         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8296         * libs/gst/net/gstnettimepacket.h:
8297         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
8298         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
8299         (gst_net_time_provider_thread), (gst_net_time_provider_new):
8300         * libs/gst/net/gstnettimeprovider.h:
8301         Make stuff compile on windows. Fixes #345295.
8302
8303 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
8304
8305         * gst/gst.c: (ensure_current_registry_forking):
8306           Print better details when child was terminated by signal.
8307
8308 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
8309
8310         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
8311           Print a warning rather than g_assert() if a plugin feature
8312           is a URI handler but returns no protocols (#353976).
8313
8314 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
8315
8316         * docs/random/moving-plugins:
8317         Fix two typos.         
8318
8319 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
8320
8321         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
8322           Fix locking order, handle NULL function values properly.
8323
8324         * gst/gstinfo.h:
8325           Fix docs.
8326
8327         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
8328           Initialise variable before using it and fix debug statement to
8329           print the address of the function rather than the address of the
8330           variable on the stack holding the address of the function.
8331
8332 2006-09-01  Wim Taymans  <wim@fluendo.com>
8333
8334         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
8335         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
8336         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8337         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
8338         (gst_ghost_pad_parent_unset),
8339         (gst_ghost_pad_internal_do_activate_push),
8340         (gst_ghost_pad_internal_do_activate_pull),
8341         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8342         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8343         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8344         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
8345         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
8346         (gst_ghost_pad_new_no_target_from_template),
8347         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8348         More cleanups.
8349         Avoid needless typechecking in macros.
8350         Since the internal pad is always present and never changes, there is
8351         no need to locking or ref when retrieving it.
8352         Improve debugging a bit.
8353         Handle link errors when setting the target. Fixes #341029.
8354
8355 2006-09-01  Wim Taymans  <wim@fluendo.com>
8356
8357         * docs/libs/gstreamer-libs-sections.txt:
8358         * docs/plugins/gstreamer-plugins-sections.txt:
8359         Fix docs some more.
8360
8361         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8362         (gst_collect_pads_event):
8363         * libs/gst/base/gstcollectpads.h:
8364         Documentation updates.
8365         Free queued buffer when removing a pad.
8366
8367 2006-08-31  Michael Smith  <msmith@fluendo.com>
8368
8369         * gst/gstutils.c: (gst_element_link_pads),
8370         (gst_element_link_pads_filtered):
8371           Ensure that we set a capsfilter to NULL if we failed to link it
8372           when doing filtered linking, to avoid criticals.
8373
8374           No need to check for unreffing srcpad, which is explicly NULLed
8375           above (a trivial code cleanup).
8376
8377 2006-08-31  Wim Taymans  <wim@fluendo.com>
8378
8379         * docs/design/part-gstghostpad.txt:
8380         Update ascii art in documentation.
8381
8382         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
8383         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
8384         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8385         (gst_ghost_pad_internal_do_activate_push),
8386         (gst_ghost_pad_internal_do_activate_pull),
8387         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8388         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8389         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
8390         (gst_ghost_pad_set_target):
8391         Small cleanups and leak fixes.
8392         Remove some checks now that the internal pad is never NULL.
8393         Fix the case where linking pads without a target would create nasty
8394         criticals. Fixes #341029.
8395         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
8396         value of _set_target().
8397
8398         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8399         (gst_ghost_pad_suite):
8400         Some more tests for creating and linking untargeted ghostpads.
8401
8402 2006-08-31  Edward Hervey  <edward@fluendo.com>
8403
8404         * docs/gst/gstreamer-sections.txt:
8405         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
8406         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8407         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
8408         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
8409         (gst_ghost_pad_new_from_template),
8410         (gst_ghost_pad_new_no_target_from_template):
8411         * gst/gstghostpad.h:
8412         Refactored *_new() functions.
8413         Templates are now used as a g_object_new() parameter.
8414         Use template in _do_getcaps() if we don't have a target.
8415         Small documentation cleanups.
8416         Added two new constructors:
8417         gst_ghost_pad_new_from_template()
8418         gst_ghost_pad_new_no_target_from_template()
8419         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8420         (gst_ghost_pad_suite):
8421         Added tests for new ghostpad instanciation functions.
8422
8423         API additions: gst_ghost_pad_new_from_template,
8424         gst_ghost_pad_new_no_target_from_template
8425
8426 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
8427
8428         * docs/random/ensonic/profiling.txt:
8429           Ideas about qos profiling.
8430
8431 2006-08-29  Wim Taymans  <wim@fluendo.com>
8432
8433         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
8434         Code cleanups.
8435         Fix memleak.
8436
8437 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
8438
8439         * gst/gstxml.c:
8440           Improve and detypofy docs.
8441
8442         * tests/check/Makefile.am:
8443         * tests/check/gst/.cvsignore:
8444         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
8445           Add a basic test suite for GstXML.
8446
8447 2006-08-29  Wim Taymans  <wim@fluendo.com>
8448
8449         * gst/gstelement.c: (activate_pads), (clear_caps),
8450         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8451         Clear the pad caps when the element shut down all of the pads and
8452         is not streaming data that could modify the caps. 
8453         Fixes #352958.
8454
8455 2006-08-28  Michael Smith  <msmith@fluendo.com>
8456
8457         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8458           Revert previous change; I misunderstood single-segment mode.
8459
8460 2006-08-28  Michael Smith  <msmith@fluendo.com>
8461
8462         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8463           Unset DISCONT on buffers when using single-segment mode.
8464
8465 2006-08-28  Wim Taymans  <wim@fluendo.com>
8466
8467         * gst/gstcaps.c: (gst_caps_merge_structure):
8468         * gst/gstcaps.h:
8469         Fix docs and indentation again.
8470
8471         * tests/check/gst/gstquery.c: (GST_START_TEST):
8472         Fix leak in tests and add some more tests.
8473
8474 2006-08-28  Edward Hervey  <edward@fluendo.com>
8475
8476         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8477         Inform GstSegment of the last stop position in order for the current
8478         segment to have a proper duration if it doesn't have a specific stop
8479         position from which a duration could be calculated.
8480         This bug was noticeable when a non-flushing, non-update new segment was
8481         followed by another segment (all buffers from the new segment were being
8482         dropped).
8483
8484 2006-08-28  Wim Taymans  <wim@fluendo.com>
8485
8486         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8487         Small comment update.
8488
8489         * plugins/elements/gstidentity.c: (gst_identity_class_init),
8490         (gst_identity_transform_ip):
8491         Drop-probability is broken, mention this in the code with a 
8492         FIXME and also in the property description.
8493         Make silent also be silent about the drop messages.
8494
8495 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
8496
8497         * docs/manual/appendix-win32.xml:
8498           Remove mention of popt, we don't depend on that any
8499           longer (#353136). Add some comments pointing out that
8500           this section is slightly outdated.
8501
8502 2006-08-28  Wim Taymans  <wim@fluendo.com>
8503
8504         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8505
8506         * gst/gstquery.c: (gst_query_new_segment):
8507         * tests/check/gst/gstquery.c: (GST_START_TEST):
8508         Initialize variables when creating a new segment query.
8509         Fixes #353121.
8510
8511 2006-08-28  Wim Taymans  <wim@fluendo.com>
8512
8513         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8514
8515         * gst/gstelement.c: (gst_element_get_bus):
8516         * tests/check/gst/gstelement.c: (GST_START_TEST):
8517         Check for NULL before _reffing the bus. Fixes #353122.
8518
8519 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
8520
8521         * docs/manual/basics-bus.xml:
8522           Docs update: fix wrong callback return value explanation; add
8523           some lines about the implicit relationship between main loop
8524           and main context; remove duplicate main loop variable declaration.
8525
8526 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
8527
8528         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8529           Don't leak caps in unit test; add a few more simple
8530           checks. 
8531
8532 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
8533
8534         * docs/gst/gstreamer-sections.txt:
8535         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
8536         (gst_caps_structure_is_subset), (gst_caps_merge),
8537         (gst_caps_merge_structure):
8538         * gst/gstcaps.h:
8539         * libs/gst/base/gstbasetransform.c:
8540         (gst_base_transform_transform_caps):
8541         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8542           implement caps merging (fixes #352580)
8543
8544 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
8545
8546         * tools/Makefile.am:
8547         * tools/gst-plot-timeline.py:
8548           add debug-log plotting developer tool (#340674)
8549
8550 2006-08-23  Wim Taymans  <wim@fluendo.com>
8551
8552         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
8553         (gst_pad_stop_task):
8554         Improve debugging for task functions.
8555
8556         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
8557         (gst_task_start), (gst_task_pause), (gst_task_join):
8558         Make sure that the task function started and finished after a 
8559         join(). 
8560         Don't try to push the task function on the threadpool multiple
8561         times.
8562         Improve the g_warning message with some useful suggestions
8563         about how to fix the problem. 
8564
8565 2006-08-23  Wim Taymans  <wim@fluendo.com>
8566
8567         * gst/gstutils.c: (gst_pad_proxy_getcaps):
8568         Handle RESYNC correctly in _proxy_getcaps.
8569
8570 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
8571
8572         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
8573         (gst_xml_parse_memory), (gst_xml_get_element):
8574           Chain up to parent class in dispose function and also
8575           unref the elements in the toplevel_elements GList.
8576           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
8577           Always return a reference in gst_xml_get_element() rather
8578           than only sometimes.
8579
8580         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8581           Don't leak GstXml object.
8582
8583 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
8584
8585         * docs/gst/gstreamer-sections.txt:
8586         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
8587         (gst_caps_merge):
8588         * gst/gstcaps.h:
8589         * libs/gst/base/gstbasetransform.c:
8590         (gst_base_transform_transform_caps):
8591           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
8592           in a better way
8593
8594 2006-08-21  Edward Hervey  <edward@fluendo.com>
8595
8596         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
8597         Implement GObject::dispose virtual method in GstXML so we can free the
8598         top_elements GList.
8599
8600 2006-08-21  Wim Taymans  <wim@fluendo.com>
8601
8602         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
8603         (gst_buffer_create_sub):
8604         Copy duration/offset_end/caps when creating a subbuffer of the
8605         complete parent.
8606         Make the subbuffer read-only when we make the metadata writable for
8607         now. Fixes #351768.
8608
8609         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8610         Added check for metadata copy when creating subbuffers.
8611
8612 2006-08-21  Edward Hervey  <edward@fluendo.com>
8613
8614         * libs/gst/base/gstbasetransform.c:
8615         (gst_base_transform_buffer_alloc):
8616         Only call downstream buffer_alloc if transform element is passthrough
8617         or always_in_place. Closes #350449.
8618
8619 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8620
8621         * ChangeLog:
8622           ChangeLog surgery to add comments to previous changes
8623
8624 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8625
8626         * gst/gst.c:
8627           Add comments
8628
8629         * gst/gstpad.c: (gst_pad_set_active):
8630           Be more verbose in the log
8631
8632         * libs/gst/base/gstbasetransform.c:
8633         (gst_base_transform_transform_caps):
8634           Simplify caps to get rid of duplicates, fixes #345444
8635
8636 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8637
8638         * gst/gstvalue.c:
8639         * gst/gstvalue.h:
8640           Use these optimizations only internally.
8641
8642 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8643
8644         * gst/gstvalue.c: (gst_value_compare_list),
8645         (gst_value_compare_fraction_range),
8646         (gst_value_intersect_fraction_fraction_range),
8647         (gst_value_intersect_fraction_range_fraction_range),
8648         (gst_value_subtract_fraction_fraction_range),
8649         (gst_value_subtract_fraction_range_fraction_range),
8650         (gst_value_get_compare_func), (gst_value_compare),
8651         (gst_value_compare_with_func):
8652         * gst/gstvalue.h:
8653           Saves the expensive lookup of the compare function in many cases
8654          (#345444)
8655
8656 2006-08-18  Edward Hervey  <edward@fluendo.com>
8657
8658         * tests/check/gst/gstinfo.c: (gst_info_suite):
8659         Disable test that require gstdebug if it wasn't built in core.
8660
8661 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
8662
8663         * docs/random/ensonic/logging.txt:
8664           update ideas
8665           
8666         * gst/gstinfo.c: (gst_debug_log_default):
8667           reorder fields, save some columns, add optional color codes for log
8668           levels
8669
8670 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
8671
8672         * docs/random/ensonic/logging.txt:
8673           add ideas about making the logs a bit more useful
8674
8675 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
8676
8677         * docs/pwg/advanced-events.xml:
8678         * docs/pwg/titlepage.xml:
8679           Update for 0.10 API (#340627). Add myself
8680           to authors list.
8681
8682 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
8683
8684         * docs/libs/gstreamer-libs-docs.sgml:
8685         * docs/libs/gstreamer-libs-sections.txt:
8686         * libs/gst/check/gstbufferstraw.c:
8687           Make gstcheck stuff show up in docs (still needs to
8688           be documented properly though).
8689
8690 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
8691
8692         * docs/gst/gstreamer-sections.txt:
8693         * gst/Makefile.am:
8694         * gst/gst.c: (init_post):
8695         * gst/gst_private.h:
8696         * gst/gstquark.c: (_priv_gst_quarks_initialize):
8697         * gst/gstquark.h:
8698         * gst/gstquery.c: (gst_query_new_position),
8699         (gst_query_set_position), (gst_query_parse_position),
8700         (gst_query_new_duration), (gst_query_set_duration),
8701         (gst_query_parse_duration), (gst_query_new_convert),
8702         (gst_query_set_convert), (gst_query_parse_convert),
8703         (gst_query_new_segment), (gst_query_set_segment),
8704         (gst_query_parse_segment), (gst_query_new_seeking),
8705         (gst_query_set_seeking), (gst_query_parse_seeking):
8706         Add internal helpers for pre-registering quarks from static strings
8707         and using the quark values directly instead of looking them up when
8708         creating and parsing queries. Can be used for event construction too.
8709         Closes #350432.
8710
8711 2006-08-16  Wim Taymans  <wim@fluendo.com>
8712
8713         * gst/gstbin.c:
8714         Fix bogus docs.
8715
8716 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8717
8718         * gst/gstutils.c: (gst_util_set_value_from_string):
8719           Fix memleak (#351502).
8720
8721         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8722           Add unit test for most of gst_util_set_value_from_string()
8723           (not that one would want to encourage use of this function).
8724
8725 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8726
8727         * libs/gst/check/gstcheck.h:
8728           Use const gchar * variables in fail_unless_equals_string
8729           macro to avoid compiler warnings (and don't use tabs for
8730           indenting).
8731
8732 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8733
8734         * tools/gst-launch.c: (print_tag):
8735           More space on the left for the tag names, to cater
8736           for the 'extended comment' tag (not touching the
8737           string for the first line since it's translated).
8738
8739 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8740
8741         * libs/gst/check/gstcheck.h:
8742           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
8743           print something when they fail.
8744
8745 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8746
8747         * docs/gst/gstreamer-sections.txt:
8748         * gst/gsttaglist.c: (_gst_tag_initialize):
8749         * gst/gsttaglist.h:
8750           API: add GST_TAG_EXTENDED_COMMENT (#350935).
8751           Also change merge function for GST_TAG_COMMENT to
8752           use_first.
8753
8754 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8755
8756         * gst/gstinfo.c: (gst_debug_print_object):
8757           Make GST_PTR_FORMAT print messages as well.
8758
8759         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
8760         (GST_START_TEST), (gst_info_suite):
8761           More tests.
8762
8763 2006-08-14  Edward Hervey  <edward@fluendo.com>
8764
8765         * gst/gstelementfactory.c: (gst_element_register):
8766         If the GstElementClass doesn't have a GstElementDetails with all fields
8767         filled up correctly (longname, description AND author), then error out
8768         nicely instead of crashing.
8769
8770 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8771
8772         * gst/gststructure.c:
8773           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
8774
8775         * gst/gstvalue.h:
8776           Expand on the difference between arrays and lists as we use them.
8777           
8778 2006-08-14  Wim Taymans  <wim@fluendo.com>
8779
8780         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8781         If the parent state change function failed, don't assume we can safely
8782         stop the source, this will be done when the pads are deactivated.
8783
8784 2006-08-14  Wim Taymans  <wim@fluendo.com>
8785
8786         * gst/gstbuffer.c:
8787         * gst/gsttask.c: (gst_task_join):
8788         Small doc updates.
8789
8790         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8791         (gst_pad_stop_task):
8792         When pad (de)activation failed for some reason, restore the old
8793         activation mode and set the pad to flushing instead of assuming the
8794         pad is deactivated.
8795         If the _task_join() failed, reinstall the task on the pad so that it can
8796         be stopped later and return an error.
8797
8798 2006-08-11  Andy Wingo  <wingo@pobox.com>
8799
8800         * configure.ac:
8801         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8802         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
8803         is only for users of API that don't want to see deprecated
8804         functions in the headers; people that want to compile out
8805         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
8806         CFLAGS. Fixes the build of multifdsink, or will soon..
8807
8808 2006-08-11  Wim Taymans  <wim@fluendo.com>
8809
8810         * docs/gst/gstreamer-sections.txt:
8811         Add GstClockClass vmethod docs.
8812
8813         * gst/gstcaps.h:
8814         Mark #endif with comment for associated #if
8815
8816         * gst/gstclock.c: (gst_clock_id_wait):
8817         * gst/gstclock.h:
8818         Add vmethod wait_jitter to avoid an unneeded _get_time() for
8819         most clock implementations.
8820         Document vmethods.
8821         Flesh out docs about resolution methods.
8822         API: GstClockClass::wait_jitter
8823
8824         * gst/gstsystemclock.c: (gst_system_clock_class_init),
8825         (gst_system_clock_async_thread),
8826         (gst_system_clock_id_wait_jitter_unlocked),
8827         (gst_system_clock_id_wait_jitter):
8828         Use base class wait_jitter variant for improved performance
8829         due to less clock polling.
8830
8831 2006-08-11  Edward Hervey  <edward@fluendo.com>
8832
8833         * gst/gst.c: (gst_init_check), (init_post):
8834         Set gst as being initialized before scanning/updating the registry,
8835         since there might be my python plugin loader that calls gst_init() and
8836         we don't want to loop back in.
8837         Closes #350879
8838
8839 2006-08-11  Wim Taymans  <wim@fluendo.com>
8840
8841         * docs/design/part-qos.txt:
8842         Bring docs in line with the code. Mostly the sign of the jitter was
8843         wrong in the docs. Fixes #349943.
8844
8845         * gst/gstclock.c:
8846         Fix the docs for the jitter.
8847
8848         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
8849         (gst_event_parse_tag), (gst_event_new_buffer_size),
8850         (gst_event_parse_buffer_size), (gst_event_parse_qos),
8851         (gst_event_new_seek), (gst_event_parse_seek),
8852         (gst_event_new_navigation):
8853         Make sure the GstStructure has no parent when creating custom
8854         events.
8855         Add some more argument checking so that we avoid 0.0 rates.
8856         Flesh out the docs for the QoS event some more.
8857
8858 2006-08-11  Wim Taymans  <wim@fluendo.com>
8859
8860         * docs/gst/gstreamer-sections.txt:
8861         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8862         (ensure_current_registry_forking), (ensure_current_registry),
8863         (parse_one_option), (parse_goption_arg), (gst_deinit),
8864         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
8865         * gst/gst.h:
8866         Doc updates.
8867         Added API and command line option to disable registry forking in
8868         addition to the environment variable.
8869         Constify some static arrays.
8870         Added some more debug.
8871         Don't deinit twice.
8872         API: gst_registry_fork_is_enabled()
8873         API: gst_registry_fork_set_enabled()
8874         API: --gst-disable-registry-fork command line option
8875         Fixes #348918.
8876
8877 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
8878
8879         * gst/gst.c: (gst_init):
8880           Fix typo in error message.
8881
8882 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
8883
8884         * libs/gst/controller/gstcontroller.h:
8885           fix ABI size-correction
8886
8887         * tests/check/libs/gdp.c: (gst_dp_suite):
8888           make tests that use deprecated API conditional
8889
8890 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
8891
8892         * docs/libs/gstreamer-libs-sections.txt:
8893         * libs/gst/controller/gstcontroller.c:
8894         (_gst_controller_get_property), (_gst_controller_set_property),
8895         (_gst_controller_init), (_gst_controller_class_init):
8896         * libs/gst/controller/gstcontroller.h:
8897         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
8898         (gst_object_set_control_rate):
8899           API: add gst_object_{s,g}et_control_rate(), add private data section,
8900           fix docs
8901
8902         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8903         * libs/gst/dataprotocol/dataprotocol.h:
8904           add deprecation guards to make gtk-doc happy and allow disabling cruft
8905
8906 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8907
8908         * tests/check/Makefile.am:
8909         * tests/check/gst/.cvsignore:
8910           Let's enable the new unit test as well.
8911
8912 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8913
8914         * configure.ac:
8915         * docs/gst/gstreamer-sections.txt:
8916         * gst/gstconfig.h.in:
8917         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
8918         (_gst_info_printf_extension_ptr),
8919         (_gst_info_printf_extension_segment):
8920           API: add GST_SEGMENT_FORMAT, which is a printf extension we
8921           register that lets us easily dump GstSegments into debug
8922           logs (#350419).
8923
8924         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
8925         (info_segment_format_printf_extension), (gst_info_suite):
8926           Add simple unit test that logs a bunch of different segments (not
8927           valgrinded at the moment because of leaks in
8928           gst_debug_add_log_function).
8929
8930 2006-08-09  Edward Hervey  <edward@fluendo.com>
8931
8932         * libs/gst/base/gstbasetransform.c:
8933         (gst_base_transform_buffer_alloc):
8934         Even if we can't figure out the proper format to request downstream,
8935         call buffer_alloc() downstream with the input parameters without setting
8936         the caps on the srcpad. This will force negotiation in the chain
8937         function.
8938         Closes #350449
8939
8940 2006-08-08  Edward Hervey  <edward@fluendo.com>
8941
8942         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
8943         Unlinking from a pad without a target is now a perfectly valid case
8944         which should NOT raise an assertion.
8945         This case would happen if a linked ghostpad its target set to NULL after
8946         it was previously linked.
8947
8948 2006-08-08  Edward Hervey  <edward@fluendo.com>
8949
8950         * tests/check/libs/gdp.c:
8951         Also comment out the test (see below).
8952
8953 2006-08-08  Edward Hervey  <edward@fluendo.com>
8954
8955         * tests/check/libs/gdp.c: (gst_dp_suite):
8956         Use the architecture information from config.h and not gcc macros
8957         in order to properly disable a test that fails on PPC64.
8958
8959 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
8960
8961         * gst/gstelement.c: (gst_element_remove_pad):
8962           Don't crash printing the warning if the pad has no parent.
8963
8964 2006-08-02  Wim Taymans  <wim@fluendo.com>
8965
8966         * libs/gst/dataprotocol/dataprotocol.c:
8967         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8968         (gst_dp_crc), (gst_dp_header_payload_length),
8969         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
8970         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
8971         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
8972         (gst_dp_event_from_packet), (gst_dp_validate_header),
8973         (gst_dp_validate_payload):
8974         Make debug category static
8975         Constify the crc table.
8976         Do some more arg checking in public functions.
8977         Fix some docs and do some small cleanups.
8978
8979         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
8980         Add some more checks to see if GDP deals with bogus input.
8981
8982 2006-07-31  Wim Taymans  <wim@fluendo.com>
8983
8984         * gst/gstvalue.c: (gst_value_compare_list):
8985         Fix GstValueList comparison code. Fixes #347293.
8986
8987         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8988         Check to test GstValueList comparison.
8989
8990 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
8991
8992         * gst/gstelementfactory.c: (gst_element_factory_create):
8993         Remove unnecessary ref/unref pair
8994
8995         * gst/parse/grammar.y:
8996         Make sure to free the parse buffer on all code paths.
8997         Move a g_free up to the error handler where it's easier to see.
8998
8999         * tests/check/gst/gstevent.c: (test_event):
9000         Extending timeout for downstream travelling events to 10 seconds to
9001         hopefully avoid intermittent failure on the buildbots.
9002
9003         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
9004         Don't manually set the state of the src element - it will happen as a
9005         natural consequence of the pipeline changing state, and that way it
9006         will do it in the right order too.
9007
9008 2006-07-31  Wim Taymans  <wim@fluendo.com>
9009
9010         * libs/gst/base/gstbasetransform.c:
9011         (gst_base_transform_buffer_alloc):
9012         Use OBJECT_LOCK and refcounting to get the pad caps in the
9013         buffer_alloc function because the caps could change while we are
9014         busy with them. Fixes #349105
9015
9016 2006-07-31  Wim Taymans  <wim@fluendo.com>
9017
9018         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
9019         Protect _PAD_CAPS with OBJECT_LOCK.
9020
9021 2006-07-31  Wim Taymans  <wim@fluendo.com>
9022
9023         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9024         (gst_pad_get_property), (gst_pad_activate_pull),
9025         (gst_pad_activate_push), (gst_pad_set_blocked_async),
9026         (gst_pad_set_activate_function),
9027         (gst_pad_set_activatepull_function),
9028         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
9029         (gst_pad_set_getrange_function),
9030         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
9031         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9032         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
9033         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
9034         (gst_pad_set_acceptcaps_function),
9035         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9036         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
9037         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
9038         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
9039         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
9040         (gst_pad_configure_sink), (gst_pad_configure_src),
9041         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
9042         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
9043         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
9044         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
9045         (gst_pad_send_event):
9046         Use _DEBUG_OBJECT when it makes sense.
9047         Protect GST_PAD_CAPS with the OBJECT_LOCK.
9048         Small cleanups and code reflows.
9049         Avoid caps refcounting in _accept_caps.
9050         Refactor alloc_buffer so that the code performed on the peer is in a
9051         separate function. Also if the pad does not implement a buffer alloc
9052         function, we should still check if the pad is flushing before falling
9053         back to the default allocator.
9054
9055 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
9056
9057         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9058         Make all uses of identity and fakesink have silent=true to avoid
9059         serialising every passing data structure, which is breaking tests
9060         on FC4 for some unknown reason.
9061
9062 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
9063
9064         * gst/parse/Makefile.am:
9065         * gst/parse/grammar.y:
9066         * gst/parse/parse.l:
9067           Reverted previous patch as it required to bump the flex dependency to
9068           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
9069
9070 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
9071
9072         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
9073
9074         * gst/parse/Makefile.am:
9075         * gst/parse/grammar.y:
9076         * gst/parse/parse.l:
9077           push & pop the state of the lexer for reentrant use case
9078           Fixes #349180
9079
9080 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
9081
9082         * libs/gst/base/gstbasesrc.h:
9083           Note in the docs that the ::newsegment vfunc is not actually used by
9084           GstBaseSrc.
9085
9086 2006-07-28  Wim Taymans  <wim@fluendo.com>
9087
9088         * libs/gst/base/gstcollectpads.c:
9089         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
9090         (gst_collect_pads_clear), (gst_collect_pads_flush),
9091         (gst_collect_pads_event), (gst_collect_pads_chain):
9092         When flushing a pad, also clear the queued buffer so that we don't
9093         accidentally use it when we shouldn't.
9094         Fix leaks by inreffing incomming buffer.
9095         Flush out queued buffers in case of errors.
9096         Fixes #347452.
9097
9098 2006-07-28  Wim Taymans  <wim@fluendo.com>
9099
9100         * docs/random/phonon-gst:
9101         Random notes about a Phonon backend.
9102
9103 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
9104
9105         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9106         Extra debug output
9107         * tests/check/libs/gdp.c: (gst_dp_suite):
9108         Take a whack at fixing the ppc compile using a different define to
9109         disable the broken test.
9110
9111         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9112         Remove excess g_print()
9113
9114 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
9115
9116         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9117         Oops, meant to uncomment this line too to dampen the noise a bit.
9118
9119 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
9120
9121         * gst/parse/grammar.y:
9122         * gst/parse/parse.l:
9123         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9124         (GST_START_TEST), (parse_suite):
9125         Fix some of the leaks exposed by extending the parse-launch testsuite,
9126         and move the 3 I can't figure out into a separate test that won't run
9127         the pipelines unless the appropriate line is uncommented.
9128
9129 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
9130
9131         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9132           Requesting 0 bytes before the end of the file should result in
9133           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
9134           unit test.
9135
9136 2006-07-27  Wim Taymans  <wim@fluendo.com>
9137
9138         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
9139         Fix useless assert, a uint is always positive.
9140
9141         * gst/gststructure.c: (gst_structure_nth_field_name),
9142         (gst_structure_foreach), (gst_structure_map_in_place):
9143         Check input arguments for public functions to avoid obvious crashes.
9144
9145         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
9146         * plugins/elements/gstfakesink.h:
9147         Do less useless typechecking.
9148
9149 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
9150
9151         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9152           Do not use mmap() by default since there are a number of error
9153           conditions that we would like to handle in a non-fatal way that
9154           will result in a SIGBUS if we use mmap(). Examples: external
9155           devices (USB harddrive, portable music player) being unplugged
9156           while in use; file on mounted CD/DVD that can't be read because
9157           the medium is partly damaged. Fixes #348455 and #348475.
9158
9159 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
9160
9161         * gst/gstquery.h:
9162         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
9163         rates are a gdouble
9164
9165 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
9166
9167         * gst/gstregistry.c:
9168           Move big documentation comment into class section header, so that it
9169           appears in the API docs.
9170
9171 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9172
9173         * docs/gst/gstreamer-sections.txt:
9174         Oops. Commit the docs additions too for new API.
9175         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
9176
9177 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9178
9179         * gst/gststructure.c: (gst_structure_id_set),
9180         (gst_structure_id_set_valist):
9181         * gst/gststructure.h:
9182         Add API for setting values into structures without performing
9183         a quark lookup, if the appropriate quark is already known.
9184
9185         API: gst_structure_id_set
9186         API: gst_structure_id_set_valist
9187
9188         * gst/parse/grammar.y:
9189         * gst/parse/parse.l:
9190         Remove some dead code shown by the coverage information.
9191         Don't throw a critical g_warning when encountering a syntax error,
9192         just warn and let the normal error path handle it.
9193
9194         * plugins/elements/gstelements.c:
9195         Bump the rank of filesink up to PRIMARY so that it is preferred over
9196         gnomevfssink for file:// sink uri's
9197
9198         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9199         (GST_START_TEST), (run_delayed_test),
9200         (gst_parse_test_element_base_init),
9201         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
9202         (gst_parse_test_element_change_state),
9203         (gst_register_parse_element), (parse_suite):
9204         Beef up the tests for parse syntax to check that more error cases
9205         fail as they are supposed to. Increases the test coverage a bit.
9206
9207 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
9208
9209         * docs/manual/basics-elements.xml:
9210           Fix gst_element_link() example.
9211
9212         * gst/gstutils.c:
9213           Mention in API docs that one should usually gst_bin_add()
9214           elements to a bin or pipeline before doing the linking.
9215           
9216 2006-07-26  Wim Taymans  <wim@fluendo.com>
9217
9218         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
9219         (gst_subbuffer_get_type), (gst_buffer_create_sub):
9220         Avoid function call for known types by keeping the buffer and
9221         subbuffer GType global.
9222
9223         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9224         Random silly optimisations in read() path.
9225
9226 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9227
9228         * tools/gst-launch.c: (main):
9229           If the top-level of the parse is a normal bin, it doesn't do the
9230           right logic to run as a top-level element, so place it inside a
9231           pipeline.
9232
9233 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
9234
9235         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
9236           Remove superfluous g_object_notify() calls, GObject does
9237           that for us automatically.
9238
9239 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
9240
9241         * gst/gstinfo.h:
9242           on Win32, use dllspec to export the debug category symbols
9243
9244 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
9245
9246         * gst/gsttaglist.c: (_gst_tag_initialize):
9247           Allow more than one GST_TAG_IMAGE per taglist.
9248
9249 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9250
9251         * gst/gstminiobject.c:
9252           update docs
9253         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
9254         (gst_fd_src_create):
9255           log recurring events at LOG level
9256           add more debug for when the fd gets set
9257
9258 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
9259
9260         * gst/gstparse.c: (gst_parse_launch):
9261           Also remove reentrance checks if flex is MT safe (#348179)
9262          Fix my empty ChangeLog entry below
9263
9264 2006-07-21  Andy Wingo  <wingo@pobox.com>
9265
9266         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
9267
9268         * libs/gst/check/Makefile.am
9269         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
9270         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
9271         * libs/gst/check/gstbufferstraw.h:
9272         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
9273         functions, thus proving I am still a GStreamer haxor. OK I wrote
9274         them a long time ago, but anyways.
9275
9276 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
9277
9278         * configure.ac:
9279         * gst/gstparse.c: (gst_parse_launch):
9280           Check for flex version and omit mutex if we have a MT save flex
9281           (fixes #348179)
9282
9283 2006-07-21  Wim Taymans  <wim@fluendo.com>
9284
9285         * gst/gstparse.c: (gst_parse_launch):
9286         Protect recursive calls to _parse with a recursive mutex
9287         and busy flag.
9288
9289 2006-07-21  Wim Taymans  <wim@fluendo.com>
9290
9291         * tests/check/gst/gstpad.c: (GST_START_TEST):
9292         Fix leak in test.
9293
9294 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
9295
9296         * gst/gstparse.c: (gst_parse_launch):
9297           Do not hang on recursive usage of gst_parse_launch()
9298
9299 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
9300
9301         * gst/gsttaglist.c:
9302           Add some more docs, comments and FIXME 0.11s here and there
9303           and also fix some typos.
9304
9305 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
9306
9307         * gst/gstsegment.h:
9308           Convert tabs to spaces for better readability. 
9309
9310 2006-07-20  Edward Hervey  <edward@fluendo.com>
9311
9312         * tests/check/libs/gdp.c: (gst_dp_suite):
9313         the test_buffer test fails at line 140 on ppc64 at the following
9314         check:
9315         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
9316                 GST_BUFFER_FLAG_IN_CAPS),
9317                 "GST_BUFFER_IN_CAPS flag should have been copied !");
9318         See bug #348114 for more details.
9319
9320 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
9321
9322         * docs/pwg/advanced-scheduling.xml:
9323         * gst/gstpad.c:
9324           Fix typos (#348000).
9325
9326 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
9327
9328         * docs/pwg/intro-basics.xml:
9329           Fix wrong links (#347927).
9330
9331 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
9332
9333         * gst/gstregistry.h:
9334         * gst/gstregistryxml.c: (load_feature),
9335         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
9336         * win32/common/config.h:
9337           make --disable-index work (#342564)
9338
9339 2006-07-18  Wim Taymans  <wim@fluendo.com>
9340
9341         Patch by: Peter Kjellerstedt <pkj at axis dot com>
9342
9343         * gst/Makefile.am:
9344         * gst/gsttrace.h:
9345         The attached patch adds two missing defines to gsttrace.h when tracing
9346         is disabled.  It also corrects one existing define.
9347         Fixes #347756.
9348
9349 2006-07-17  Wim Taymans  <wim@fluendo.com>
9350
9351         * docs/gst/gstreamer-sections.txt:
9352         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
9353         * gst/gst.h:
9354         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
9355         Add two functions to check and change the SIGSEGV behaviour
9356         when loading plugins.
9357         Don't mess with the SIGSEGV handler when we were told not to.
9358         Fixes #347794.
9359         API: gst_segtrap_is_enabled
9360         API: gst_segtrap_set_enabled
9361
9362 2006-07-14  Wim Taymans  <wim@fluendo.com>
9363
9364         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9365         * tests/check/elements/filesrc.c: (GST_START_TEST):
9366         Revert fix for regression in #347408 after release.
9367
9368 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
9369
9370         Patch by: Antoine Tremblay <hexa00 at gmail com>
9371
9372         * gst/gstutils.c: (gst_element_unlink):
9373           Free iterator when done (#347311).
9374
9375         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9376           And add a test case for this.
9377
9378 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
9379
9380         * configure.ac:
9381         Bump nano back to CVS
9382
9383 === release 0.10.9 ===
9384
9385 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
9386
9387         * configure.ac:
9388           releasing 0.10.9, "On the road again"
9389
9390 2006-07-13  Wim Taymans  <wim@fluendo.com>
9391
9392         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9393         * tests/check/elements/filesrc.c: (GST_START_TEST):
9394         Revert pull-0 fix for release. Disable check. Fixes #347408.
9395
9396 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9397
9398         * libs/gst/dataprotocol/dataprotocol.c:
9399         (gst_dp_event_from_packet_1_0):
9400           Fixes #347337: failure to deserialize event packets with
9401           empty payload (only event type)
9402
9403 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9404
9405         * gst/Makefile.am:
9406           do not install a .c file in the header directory
9407
9408 2006-07-13  Edward Hervey  <edward@fluendo.com>
9409
9410         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9411         GhostPad no longer implicitely use the padtemplates of the targets.
9412         Fixes #347384
9413
9414 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
9415
9416         * gst/gstvalue.c: (gst_value_compare_list),
9417         (gst_value_compare_array), (_gst_value_initialize):
9418         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9419         Make GstValueArray comparison be order dependent as designed.
9420         Add checks for value lists and value array comparisons.
9421         Fixes #347221
9422
9423 2006-07-11  Edward Hervey  <edward@fluendo.com>
9424
9425         * gst/gstbin.c: (activate_pads),
9426         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
9427         (gst_bin_change_state_func):
9428         (de)activate src pads before calling state_change on the childs.
9429         This is to avoid the case where a src ghostpad is blocked (holding the
9430         stream lock), which would block the deactivation of the ghostpad's
9431         target pad.
9432         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
9433         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
9434         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
9435         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
9436         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
9437         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9438         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9439         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
9440         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
9441         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
9442         (gst_ghost_pad_class_init),
9443         (gst_ghost_pad_internal_do_activate_push),
9444         (gst_ghost_pad_internal_do_activate_pull),
9445         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9446         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9447         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
9448         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
9449         GhostPads now create their internal GstProxyPad at creation (and not
9450         when they're linked, as it was being done previously).
9451         The internal and target pads are linked straight away.
9452         The data will also travel through the other pad in order to make
9453         pad blocking and probes non-hackish (the probe/block now really happens
9454         on the GhostPad and not on the target).
9455         * gst/gstpad.c: (gst_pad_set_blocked_async),
9456         (gst_pad_link_prepare), (gst_pad_push_event):
9457         Remove previous ghostpad cruft.
9458         * gst/gstutils.c: (gst_pad_add_data_probe),
9459         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9460         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9461         (gst_pad_remove_buffer_probe):
9462         Remove previous ghost pad cruft.
9463         Added more detailed debug statements.
9464         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9465         Fix the testsuite for refcounting changes.
9466         The comments about who has references were correct, but the refcount
9467         being checked wasn't the same (!?!).
9468
9469         Fixes #341029
9470
9471 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
9472
9473         * docs/gst/gstreamer-sections.txt:
9474         * gst/gstconfig.h.in:
9475         More docs for configuration options, add docs to gtk-doc.
9476
9477 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
9478
9479         * gst/Makefile.am:
9480         * gst/gstconfig.h.in:
9481         * win32/common/config.h:
9482         Fix build when disabling tracing (fixes #344016). Also start to document
9483         the defines that disable the sub-systems.
9484
9485 2006-07-10  Edward Hervey  <edward@fluendo.com>
9486
9487         * gst/gst.c: (ensure_current_registry_forking):
9488         let's make valgrind happy...
9489
9490 2006-07-09  Wim Taymans  <wim@fluendo.com>
9491
9492         * gst/gstelement.c: (activate_pads),
9493         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9494         Better pad activation code: Reset the collect value too on resync.
9495         Add some comments.
9496
9497 2006-07-09  Wim Taymans  <wim@fluendo.com>
9498
9499         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
9500         (gst_pad_activate_push):
9501         Use some more macros where it makes sense.
9502         Allow pad mode switching instead of asserting. When a pad
9503         is activated in one mode and we activate it in another, 
9504         deactivate it first before activating it in a different mode.
9505         Fixes #329198.
9506
9507 2006-07-08  Andy Wingo  <wingo@pobox.com>
9508
9509         * tools/gst-launch.c (main): Handle err == NULL.
9510
9511         * gst/gst.c (init_post, ensure_current_registry)
9512         (ensure_current_registry_forking)
9513         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
9514         factoring out the registry scanning into separate functions. Don't
9515         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
9516         Better environment var name/interface suggestions accepted.
9517
9518 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9519
9520         * gst/gstobject.c: (gst_object_set_name_default),
9521         (gst_object_set_name):
9522           Random micro-optimisation: don't use a hash table
9523           with strings as keys and the usual strdup/strcmp
9524           involved, but rather just use the GQuark of the
9525           type name as key, since it needs to be looked up
9526           anyway to get the type name string.
9527
9528         * tests/check/gst/gstobject.c: (GST_START_TEST):
9529           Fix various leaks.
9530
9531 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9532
9533         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
9534         (gst_bin_iterate_all_by_interface):
9535           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
9536           GTypes are gulongs and thus the top 4 bytes might be cut
9537           off on some platforms when doing GPOINTER_TO_INT, leading
9538           to invalid GTypes and bad things happening (see RH bug #179654).
9539           Also add a check to make sure the type passed in is really
9540           an interface type.
9541
9542 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9543
9544         * .cvsignore:
9545           Ignore more.
9546
9547 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9548
9549         * Makefile.am:
9550         * configure.ac:
9551         * gst-element-check.m4:
9552         * gst-element-check.m4.in:
9553           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
9554           instead of the unversioned gst-inspect (#324176, #168659).
9555
9556 2006-07-06  Wim Taymans  <wim@fluendo.com>
9557
9558         * gst/gstmessage.h:
9559         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
9560         warnings.
9561
9562 2006-07-06  Wim Taymans  <wim@fluendo.com>
9563
9564         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9565         (gst_base_src_wait), (gst_base_src_update_length),
9566         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
9567         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
9568         (gst_base_src_loop), (gst_base_src_start),
9569         (gst_base_src_activate_pull):
9570         Update docs.
9571         blocksize == 0 now means the default blocksize when working in push
9572         based mode.
9573         Remove some pointless asserts in _wait function.
9574         Fix offset/length calculations and EOS handling. We can now pull 0
9575         bytes as well, which is allowed.
9576         use _check_get_range() to decide if we can operate in _pull based
9577         mode.
9578         Fix refcounting leak when check_get_range function was not 
9579         implemented.
9580         API GstBaseSrc::blocksize range can be 0 too now (default)
9581
9582         * tests/check/elements/filesrc.c: (GST_START_TEST),
9583         (filesrc_suite):
9584         Added check to test _get_range() behaviour.
9585
9586 2006-07-06  Wim Taymans  <wim@fluendo.com>
9587
9588         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9589         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
9590         (gst_pad_pull_range):
9591         * gst/gstpad.h:
9592         Lots of comments and docs added to the pad functions.
9593         Flesh out the expected behaviour of the get_range() functions.
9594
9595 2006-07-06  Wim Taymans  <wim@fluendo.com>
9596
9597         * gst/gstbus.h:
9598         * gst/gstclock.h:
9599         * gst/gstevent.h:
9600         * gst/gstiterator.h:
9601         * gst/gstpad.h:
9602         * gst/gstplugin.h:
9603         * gst/gsttask.h:
9604         Remove comma at end of enumerator list. 
9605
9606 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
9607
9608         * win32/common/libgstbase.def:
9609         * win32/common/libgstdataprotocol.def:
9610         * win32/common/libsgtreamer.def:
9611         Add new exported functions.
9612
9613 2006-07-05  Wim Taymans  <wim@fluendo.com>
9614
9615         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
9616         Add some more docs here and there.
9617
9618 2006-07-05  Wim Taymans  <wim@fluendo.com>
9619
9620         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
9621         (gst_base_sink_loop), (gst_base_sink_get_position):
9622         When operating in pull mode update the offset so that we
9623         read sequentially.
9624
9625 2006-07-05  Wim Taymans  <wim@fluendo.com>
9626
9627         * gst/gstregistryxml.c: (read_string):
9628         Avoid strdup. (will happen in libxml, but hey!)
9629
9630         * gst/gsturi.c:
9631         Add some more docs.
9632
9633 2006-07-05  Wim Taymans  <wim@fluendo.com>
9634
9635         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
9636         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9637         (gst_buffer_suite):
9638         No point in checking if the size of the subbuffer > 0, the
9639         code handles it correclty as demonstrated by unit test.
9640         Also add a unit test for the zero sized _new_and_alloc and
9641         _copy. Fixes #346663.
9642
9643 2006-07-05  Wim Taymans  <wim@fluendo.com>
9644
9645         * libs/gst/base/gstbasetransform.c:
9646         (gst_base_transform_prepare_output_buffer),
9647         (gst_base_transform_buffer_alloc),
9648         (gst_base_transform_handle_buffer):
9649         Make sure the buffer we pass to transform_ip has a refcount of
9650         1 and thus is writable. Fixes #343196
9651
9652 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
9653
9654         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9655         (gst_file_src_init), (gst_file_src_set_property),
9656         (gst_file_src_get_property), (gst_file_src_map_region):
9657         * plugins/elements/gstfilesrc.h:
9658         Add "sequential" property, off by default, to use madvise and hint
9659         to the kernel that sequential access is desired.
9660         Touch all retrieved pages by default to ensure they are pulled
9661         into memory. (Closes #345720)
9662
9663 2006-07-03  Wim Taymans  <wim@fluendo.com>
9664
9665         * docs/design/part-block.txt:
9666         * docs/design/part-dynamic.txt:
9667         Small docs updates.
9668
9669 2006-07-03  Wim Taymans  <wim@fluendo.com>
9670
9671         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
9672         (gst_caps_unref), (gst_static_caps_get),
9673         (gst_caps_append_structure):
9674         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
9675         Use GSlice when the glib we build against is >= 2.10
9676
9677 2006-07-03  Wim Taymans  <wim@fluendo.com>
9678
9679         * gst/gstelement.c: (gst_element_pads_activate):
9680         Small cleanup in pad activation code.
9681
9682 2006-07-03  Wim Taymans  <wim@fluendo.com>
9683
9684         Patch by: Peter Kjellerstedt <pkj at axis dot com>
9685
9686         * gst/gst-i18n-app.h:
9687         * gst/gst-i18n-lib.h:
9688         * tools/gst-inspect.c: (print_signal_info):
9689         The attached patch will make the inclusion of gettext.h unconditional in
9690         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
9691         libintl.h in tools/gst-inspect.c.
9692         This allows use of --disable-nls again and fixes #344642.
9693
9694 2006-07-03  Edward Hervey  <edward@fluendo.com>
9695
9696         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
9697         Implement pad blocking on events according to part-block.txt.
9698         More comments on behaviour.
9699         * tests/check/gst/gstevent.c: (test_event):
9700         Send event to peer pad of blocked pad (else it will block).
9701
9702 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9703
9704         * libs/gst/check/gstcheck.c: (gst_check_message_error),
9705         (gst_check_run_suite):
9706           if we get the wrong message, give us the types as string
9707         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9708           Fix a translatable
9709         * tests/check/elements/filesrc.c: (GST_START_TEST):
9710           add a test for trying to open a non-existing file
9711
9712 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9713
9714         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9715           add a test for adding self
9716
9717 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9718
9719         * libs/gst/check/gstcheck.h:
9720           add some assert_ as alias for fail_unless_*
9721         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
9722           increase test coverage
9723
9724 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9725
9726         * Makefile.am:
9727           include lcov.mak for lcov coverage generation
9728         * tools/Makefile.am:
9729           add to CLEANFILES
9730
9731 2006-07-02  Edward Hervey  <edward@fluendo.com>
9732
9733         * tests/check/elements/.cvsignore:
9734         moaping
9735
9736 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9737
9738         * configure.ac:
9739           don't set CFLAGS and friends for gcov, done from GST_GCOV now
9740         * tests/check/Makefile.am:
9741           clean up gcov files
9742
9743 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9744
9745         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
9746           remove gst_caps_simplify; it was not declared and not used
9747           and deprecated in 0.8
9748
9749 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9750
9751         * docs/faq/gst-uninstalled:
9752           don't put empty paths on PYTHONPATH
9753         * docs/gst/gstreamer-sections.txt:
9754           remove some symbols that are not there
9755
9756 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9757
9758         * gst/gstcaps.c: (gst_caps_compare_structures):
9759           whitespace fixes
9760         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9761         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9762           add more tests
9763
9764 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9765
9766         * libs/gst/dataprotocol/Makefile.am:
9767           build dataprotocol test by linking to the lib, instead of
9768           compiling the source, so we get coverage
9769         * tests/check/Makefile.am:
9770         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
9771         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
9772           add a test for filesrc
9773
9774 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9775
9776         * tests/check/gst/gststructure.c: (GST_START_TEST),
9777         (gst_structure_suite):
9778           Push coverage from 59.04% to 70.00%
9779
9780 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9781
9782         * tests/check/Makefile.am:
9783           gst-inspect every element; this makes sure that we also get
9784           coverage on element's get/set functions
9785
9786 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9787
9788         * configure.ac:
9789           set CFLAGS and friends to -O0 if gcov is being used
9790           add GCOV LIBS
9791         * gst/Makefile.am:
9792         * libs/gst/base/Makefile.am:
9793         * libs/gst/check/Makefile.am:
9794         * libs/gst/controller/Makefile.am:
9795         * libs/gst/dataprotocol/Makefile.am:
9796         * libs/gst/net/Makefile.am:
9797         * plugins/elements/Makefile.am:
9798         * plugins/indexers/Makefile.am:
9799           add makefile rules to generate gcov data and clean up
9800         * tests/check/Makefile.am:
9801           add a coverage target that generates an html overview
9802           of coverage data
9803
9804 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9805
9806         * tests/check/elements/fakesink.c:
9807         * tests/check/elements/fakesrc.c:
9808         * tests/check/elements/fdsrc.c:
9809         * tests/check/elements/identity.c:
9810         * tests/check/generic/sinks.c: (gst_sinks_suite):
9811         * tests/check/generic/states.c:
9812         * tests/check/gst/gst.c:
9813         * tests/check/gst/gstabi.c:
9814         * tests/check/gst/gstbin.c:
9815         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
9816         * tests/check/gst/gstbus.c: (gst_bus_suite):
9817         * tests/check/gst/gstcaps.c: (GST_START_TEST):
9818         * tests/check/gst/gstelement.c:
9819         * tests/check/gst/gstevent.c: (gst_event_suite):
9820         * tests/check/gst/gstghostpad.c:
9821         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
9822         * tests/check/gst/gstmessage.c: (gst_message_suite):
9823         * tests/check/gst/gstminiobject.c:
9824         * tests/check/gst/gstobject.c:
9825         * tests/check/gst/gstpad.c:
9826         * tests/check/gst/gstpipeline.c:
9827         * tests/check/gst/gstplugin.c:
9828         * tests/check/gst/gstquery.c: (gst_query_suite):
9829         * tests/check/gst/gstsegment.c: (gst_segment_suite):
9830         * tests/check/gst/gststructure.c:
9831         * tests/check/gst/gstsystemclock.c:
9832         * tests/check/gst/gsttag.c:
9833         * tests/check/gst/gsttask.c: (gst_task_suite):
9834         * tests/check/gst/gstutils.c:
9835         * tests/check/gst/gstvalue.c:
9836         * tests/check/libs/adapter.c:
9837         * tests/check/libs/basesrc.c:
9838         * tests/check/libs/collectpads.c:
9839         * tests/check/libs/controller.c:
9840         * tests/check/libs/gdp.c: (gst_dp_suite):
9841         * tests/check/libs/gstnetclientclock.c:
9842         * tests/check/libs/gstnettimeprovider.c:
9843         * tests/check/libs/libsabi.c: (libsabi_suite):
9844         * tests/check/libs/typefindhelper.c:
9845         * tests/check/pipelines/cleanup.c:
9846         * tests/check/pipelines/parse-launch.c:
9847         * tests/check/pipelines/simple-launch-lines.c:
9848         * tests/check/pipelines/stress.c: (stress_suite):
9849           use the new macro
9850
9851 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9852
9853         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
9854         * libs/gst/check/gstcheck.h:
9855           create a macro and function so that the simple unit test
9856           case can be just one macro to create main()
9857
9858 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
9859
9860         * gst/gstbin.c: (gst_bin_restore_thyself):
9861         * gst/gstxml.c: (gst_xml_make_element):
9862           Fix deserialisation from XML. Set parent manually
9863           instead of using gst_bin_add(), since gst_bin_add()
9864           will unlink all pads of the element being added.
9865           Fixes #341667.
9866
9867 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
9868
9869         Patch by: Peter Kjellerstedt <pkj at axis com>
9870
9871         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
9872           Fix missing g_strdup() and double free when using the
9873           --gst-plugin-load command line option (#346097).
9874
9875 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
9876
9877         * gst/gstinfo.c:
9878           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
9879
9880         * libs/gst/net/gstnetclientclock.c:
9881         * libs/gst/net/gstnettimeprovider.c:
9882           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
9883
9884 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
9885
9886         * docs/manual/advanced-dataaccess.xml:
9887           Fix buffer probe example compilation in
9888           ADM (#345708).
9889         
9890 2006-06-22  Edward Hervey  <edward@fluendo.com>
9891
9892         * gst/gstelement.c: (gst_element_pads_activate):
9893         We need to deactivate src pads first and then sink pads.
9894         The reason is the src pads might be blocking while holding the streaming
9895         lock, so we need to deactivate them first so that deactivating the sink
9896         pads doesn't block (since it will require the streaming lock).
9897
9898 2006-06-22  Wim Taymans  <wim@fluendo.com>
9899
9900         * libs/gst/base/gstbasetransform.c:
9901         (gst_base_transform_buffer_alloc):
9902         Forgot to remove two unneeded unrefs.
9903         Simplify a check _is_equal allready checks the obvious case.
9904
9905 2006-06-22  Wim Taymans  <wim@fluendo.com>
9906
9907         * docs/design/part-block.txt:
9908         Some docs about what pad_block should do.
9909
9910 2006-06-22  Wim Taymans  <wim@fluendo.com>
9911
9912         * gst/gstcaps.c: (gst_caps_replace):
9913         Fix crasher when passed NULL. Doc clarification.
9914         Optimize for the trivial case.
9915
9916         * gst/gstpipeline.c: (gst_pipeline_change_state):
9917         Small cleanups.
9918
9919         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9920         Small documentation cleanup.
9921
9922         * libs/gst/base/gstbasetransform.c:
9923         (gst_base_transform_buffer_alloc):
9924         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
9925         is what we need and it avoids a whole lot of redundant 
9926         refcount operations.
9927
9928 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
9929
9930         Patch by: Philip Jägenstedt  <philip at lysator liu se>
9931
9932         * docs/manual/advanced-dataaccess.xml:
9933           Fix 'Embedding static elements' section to use
9934           GST_PLUGIN_DEFINE_STATIC (#345607).
9935
9936 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9937
9938         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
9939           Attempt to 'fix' spuriously failing test case: it seems like the
9940           timeout of half a second is simply too small when the system is under
9941           load otherwise, and the timeout doesn't really seem to serve any
9942           particular purpose here. Give the pipeline a few seconds to preroll
9943           first, and then give it another half a second to go from PAUSED to
9944           PLAYING and marshal the message into the main thread.
9945
9946 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9947
9948         * tools/gst-feedback-m.m:
9949           Don't only use unversioned tools, try versioned tools as well
9950           (#345086).
9951
9952 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9953
9954         * gst/gstbus.c: (gst_bus_class_init):
9955           Fix some typos, make docs more explicit.
9956
9957 2006-06-20  Wim Taymans  <wim@fluendo.com>
9958
9959         * tests/check/gst/gstghostpad.c: (block_callback),
9960         (GST_START_TEST), (gst_ghost_pad_suite):
9961         Added some more ghostpad tests, mainly blocking
9962         and probes.
9963
9964 2006-06-16  Wim Taymans  <wim@fluendo.com>
9965
9966         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9967         (gst_file_sink_close_file), (gst_file_sink_do_seek),
9968         (gst_file_sink_event), (gst_file_sink_render):
9969         * plugins/elements/gstfilesink.h:
9970         Check if we can seek in the file instead of assuming
9971         we always can. Post an error when we are asked to seek in a
9972         non-seekable file (like a fifo). Fixes #343312.
9973         Some cleanups.
9974
9975 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
9976
9977         * tools/gst-launch.1.in:
9978           Un-garble (fourcc) bit in filtered caps section.
9979
9980 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
9981
9982         * docs/manual/advanced-autoplugging.xml:
9983         * docs/manual/basics-helloworld.xml:
9984         * docs/manual/highlevel-components.xml:
9985           Don't leak bus reference in sample code.
9986
9987 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
9988
9989         * autogen.sh:
9990           Add default for new --enable-plugin-docs switch.
9991
9992         * configure.ac:
9993           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
9994           Fixes #344039.
9995
9996         * docs/Makefile.am:
9997           Use new ENABLE_PLUGIN_DOCS conditional.
9998
9999 2006-06-14  Wim Taymans  <wim@fluendo.com>
10000
10001         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
10002         Make it clear with a FIXME and a real define what the #if 0
10003         previously disabled.
10004
10005 2006-06-14  Wim Taymans  <wim@fluendo.com>
10006
10007         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10008         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10009         * libs/gst/base/gstbasetransform.c:
10010         (gst_base_transform_sink_eventfunc):
10011         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10012         Don't randomly and silently reset a segment when the format 
10013         changes as this is a bug somewhere upstream. Fixes #330379.
10014
10015 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
10016
10017         Patch by: Wouter Paesen  <wouter at kangaroot net>
10018
10019         * libs/gst/controller/gstcontroller.c:
10020         (gst_controlled_property_new):
10021           Fix controlling of float properties (#344849).
10022
10023         * tests/check/libs/controller.c:
10024         (gst_test_mono_source_get_property),
10025         (gst_test_mono_source_set_property),
10026         (gst_test_mono_source_class_init), (GST_START_TEST):
10027           While we're at it, add some float stuff to unit test.
10028
10029 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10030
10031         * docs/README:
10032         * docs/images/gdp-header.svg:
10033           add a gdp image
10034         * docs/libs/Makefile.am:
10035         * docs/libs/gdp-header.png:
10036         * libs/gst/dataprotocol/dataprotocol.c:
10037           add it to the API docs
10038         * docs/manual/intro-motivation.xml:
10039           fix typo
10040
10041 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
10042
10043         * gst/gst.c: (scan_and_update_registry), (init_post):
10044           If the fork()'ed child process can't write the updated registry cache
10045           file to disk for some reason, make it exit with a failure exit code,
10046           so that the parent can then re-scan the plugins itself and update the
10047           registry structures in memory and work with that (rather than failing
10048           when creating elements because seemingly no plugins are available).
10049           Refactor registry scanning code into separate function for this and
10050           also separate fork() and non-fork() code paths. Fixes #344748.
10051
10052 2006-06-13  Wim Taymans  <wim@fluendo.com>
10053
10054         * docs/manual/advanced-dataaccess.xml:
10055         Fix wrong PluginDesc. Fixes #344755.
10056
10057 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
10058
10059         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10060           Fix silly bug that prevented us from creating
10061           ~/.gstreamer-0.10 and writing the registry in one
10062           go (the first call to g_mkstemp() would overwrite the
10063           placeholder in the template string, so the second call
10064           to g_mkstemp() after creating the missing directory
10065           would then error out with 'invalid argument').
10066
10067 2006-06-13  Edward Hervey  <edward@fluendo.com>
10068
10069         * gst/gst.c: (init_post):
10070         Free string.
10071
10072 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10073
10074         * gst/glib-compat-private.h:
10075         * gst/glib-compat.c:
10076         * gst/glib-compat.h:
10077         * gst/gstvalue.c: (gst_value_serialize_flags):
10078           remove GLib 2.6 compatibility code
10079
10080 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
10081
10082         * gst/parse/Makefile.am:
10083           Fix build with 'make -j N' even more (#340016).
10084
10085 2006-06-12  Wim Taymans  <wim@fluendo.com>
10086
10087         * docs/gst/gstreamer-sections.txt:
10088         Fix docs.
10089
10090 2006-06-12  Wim Taymans  <wim@fluendo.com>
10091
10092         * gst/gstsegment.c: (gst_segment_set_duration),
10093         (gst_segment_set_last_stop), (gst_segment_set_seek),
10094         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10095         (gst_segment_to_running_time), (gst_segment_clip):
10096         Use G_UNLIKELY to help the compiler a bit.
10097
10098 2006-06-12  Wim Taymans  <wim@fluendo.com>
10099
10100         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10101
10102         * gst/gstevent.c: (gst_event_get_type):
10103         * gst/gstmessage.c:
10104         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10105         (gst_pad_push):
10106         constify quark registration strings. Fixes #344115
10107         Avoid unneeded type checking is _pad_push() by internally
10108         calling gst_pad_chain_unchecked().
10109
10110 2006-06-12  Wim Taymans  <wim@fluendo.com>
10111
10112         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
10113         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
10114         (gst_subbuffer_finalize), (gst_buffer_create_sub),
10115         (gst_buffer_is_span_fast), (gst_buffer_span):
10116         Init _type for consistency.
10117         Use _FLAGS macro to avoid type check.
10118         Avoid unneeded type checks in subbufer code.
10119
10120 2006-06-12  Wim Taymans  <wim@fluendo.com>
10121
10122         * gst/gst.c: (gst_debug_help):
10123         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
10124         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
10125         (gst_plugin_feature_list_free):
10126         * gst/gstregistry.c: (gst_registry_add_plugin),
10127         (gst_registry_add_feature), (gst_registry_plugin_filter),
10128         (gst_registry_feature_filter), (gst_registry_find_plugin),
10129         (gst_registry_find_feature), (gst_registry_get_plugin_list),
10130         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
10131         * gst/gstregistryxml.c: (load_feature),
10132         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
10133         * gst/gstminiobject.c: (gst_mini_object_unref),
10134         (gst_mini_object_replace), (gst_value_mini_object_free),
10135         (gst_value_mini_object_copy):
10136         Use _CAST macros to avoid unneeded type checking.
10137         Added some more G_UNLIKELY.
10138
10139 2006-06-12  Wim Taymans  <wim@fluendo.com>
10140
10141         * gst/gstbuffer.h:
10142         Avoid unneeded type checking.
10143         API: GST_BUFFER_IS_DISCONT
10144
10145         * gst/gstminiobject.h:
10146         Avoid type check in flag accessor.
10147
10148         * gst/gstelementfactory.h:
10149         * gst/gstplugin.h:
10150         * gst/gstpluginfeature.h:
10151         Add _CAST macros.
10152         API: GST_ELEMENT_FACTORY_CAST
10153         API: GST_PLUGIN_CAST
10154         API: GST_PLUGIN_FEATURE_CAST
10155
10156 2006-06-12  Wim Taymans  <wim@fluendo.com>
10157
10158         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
10159         (gst_object_unref):
10160         Add G_UNLIKELY in type registration.
10161         Avoid type check in _ref/_unref since that is also
10162         done in glib.
10163
10164 2006-06-12  Wim Taymans  <wim@fluendo.com>
10165
10166         * gst/gsterror.c: (gst_g_error_get_type):
10167         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10168         (gst_static_pad_template_get_type):
10169         * gst/gsttaglist.c: (gst_tag_list_get_type):
10170         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
10171         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
10172         * gst/gsturi.c: (gst_uri_handler_get_type):
10173         * gst/gstvalue.c: (gst_date_get_type):
10174         * gst/gstxml.c: (gst_xml_get_type):
10175         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
10176         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10177         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
10178         Add G_UNLIKELY in type registration.
10179
10180 2006-06-12  Wim Taymans  <wim@fluendo.com>
10181
10182         * tools/gst-inspect.c: (print_signal_info):
10183         Properly print enum values.
10184
10185 2006-06-12  Wim Taymans  <wim@fluendo.com>
10186
10187         * gst/gstinfo.c: (gst_debug_set_active),
10188         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
10189         * gst/gstinfo.h:
10190         Add some G_[UN]LIKELY.
10191         Maintain __gst_debug_min to avoid formatting the arguments of
10192         debug messages that will be dropped anyway to avoid a lot of 
10193         overhead from the debugging system.
10194
10195 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10196
10197         * po/POTFILES.in:
10198         * po/POTFILES.skip:
10199           add missing files containing translatable strings, tell intltool about
10200           one exception
10201
10202 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10203
10204         * tests/check/libs/.cvsignore:
10205         add test-binary to ignore list
10206
10207 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10208
10209         * docs/libs/gstreamer-libs-docs.sgml:
10210         reorder (put dp into a chapter) and indent
10211
10212 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10213
10214         * configure.ac:
10215           back to HEAD
10216
10217 === release 0.10.8 ===
10218
10219 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
10220
10221         * configure.ac:
10222           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
10223
10224 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10225
10226         * gst/gst.c: (init_post):
10227           move pid declaration to declaration block
10228
10229 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10230
10231         * gst/gst.c: (init_post):
10232           use _exit() instead of exit() in our forked child; this ensures
10233           that none of the registered exit handlers from whatever is using
10234           GStreamer get executed.  This fixes gnome-mixer-applet failing
10235           to load, because ORBit would shut down.
10236           Spotted by: Edward Hervey  <edward@fluendo.com>
10237           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
10238           Fixes #344474
10239
10240 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10241
10242         * configure.ac:
10243           back to TRUNK
10244
10245 === release 0.10.7 ===
10246
10247 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
10248
10249         * configure.ac:
10250           releasing 0.10.7, "Soepeke, ik zie ou"
10251
10252 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10253
10254         * configure.ac:
10255         * po/af.po:
10256         * po/az.po:
10257         * po/bg.po:
10258         * po/ca.po:
10259         * po/cs.po:
10260         * po/de.po:
10261         * po/en_GB.po:
10262         * po/fr.po:
10263         * po/it.po:
10264         * po/nb.po:
10265         * po/nl.po:
10266         * po/ru.po:
10267         * po/sq.po:
10268         * po/sr.po:
10269         * po/sv.po:
10270         * po/tr.po:
10271         * po/uk.po:
10272         * po/vi.po:
10273         * po/zh_CN.po:
10274         * po/zh_TW.po:
10275         * win32/common/config.h:
10276           0.10.6.2 prerelease
10277
10278 2006-06-07  Wim Taymans  <wim@fluendo.com>
10279
10280         * gst/gstindex.c: (gst_index_gtype_resolver):
10281         * tools/gst-xmlinspect.c: (print_plugin_info):
10282         Fix leak spotted by coverity checker. Fixes #343827
10283         Fix another other leak found by paolo borelli.
10284
10285 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10286
10287         * libs/gst/dataprotocol/dataprotocol.c:
10288         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10289         (gst_dp_version_get_type), (gst_dp_init),
10290         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
10291         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
10292         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
10293         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
10294         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
10295         (gst_dp_packetizer_free):
10296         * libs/gst/dataprotocol/dataprotocol.h:
10297           API: add a GstDPPacketizer object, and create/free functions
10298           API: add GstDPVersion enum
10299           Add 1.0 event function that uses the string serialization
10300           Serialize more useful buffer flags
10301           Fixes #343988
10302
10303 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10304
10305         * tests/check/Makefile.am:
10306         * tests/check/gst/gstabi.c:
10307         * tests/check/gst/struct_ppc64.h:
10308         * tests/check/libs/libsabi.c:
10309         * tests/check/libs/struct_ppc64.h:
10310           add ppc64 structure sizes
10311
10312 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10313
10314         * tests/check/Makefile.am:
10315         * tests/check/gst/gstabi.c:
10316         * tests/check/gst/struct_x86_64.h:
10317         * tests/check/libs/libsabi.c:
10318         * tests/check/libs/struct_x86_64.h:
10319           generate and add structure size lists for x86_64
10320
10321 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10322
10323         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10324         * libs/gst/check/gstcheck.h:
10325           factor out the method from tests that checks size of structures,
10326           and add code to generate the header containing these sizes
10327         * tests/check/gst/gstabi.c: (GST_START_TEST):
10328         * tests/check/gst/struct_i386.h:
10329         * tests/check/libs/libsabi.c: (GST_START_TEST):
10330         * tests/check/libs/struct_i386.h:
10331           use it
10332
10333 2006-06-06  Michael Smith  <msmith@fluendo.com>
10334
10335         * gst/gstsegment.h:
10336           Don't use c++-style comments, fixes #343929
10337
10338 2006-06-05  Edward Hervey  <edward@fluendo.com>
10339
10340         * gst/gst.c:
10341         plugin_paths is not used if we build without registry support.
10342
10343         * gst/gstsegment.c: (gst_segment_copy): 
10344         _copy() was always returning NULL...
10345
10346 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10347
10348         * libs/gst/dataprotocol/dataprotocol.c:
10349         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10350         (gst_dp_packet_from_event):
10351           factor out CRC code
10352
10353 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10354
10355         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
10356           make sure we unset caps
10357
10358 2006-06-02  Michael Smith  <msmith@fluendo.com>
10359
10360         * libs/gst/check/gstcheck.c: (gst_check_init),
10361         (gst_check_chain_func):
10362         * libs/gst/check/gstcheck.h:
10363           Add a cond/mutex to the check support lib, signal this whenever we
10364           add to the buffers list. This will allow tests to not busy-wait on
10365           the buffer-list.
10366
10367 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10368
10369         * libs/gst/dataprotocol/dataprotocol.c:
10370         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10371         (gst_dp_packet_from_event):
10372           factor out some common header init code
10373
10374 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10375
10376         * docs/libs/gstreamer-libs-sections.txt:
10377         * docs/libs/tmpl/gstdataprotocol.sgml:
10378         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
10379         * libs/gst/dataprotocol/dataprotocol.h:
10380           API: make gst_dp_crc() public
10381
10382 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
10383
10384         * plugins/indexers/gstindexers.c: (plugin_init):
10385         conditionally register fileindexer (fixes #343598)
10386
10387 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
10388
10389         * gst/gsttagsetter.h:
10390         Can't cast ifaces to a class
10391
10392         * libs/gst/net/gstnetclientclock.h:
10393         * libs/gst/net/gstnettimeprovider.h:
10394         * plugins/elements/gstfakesink.h:
10395         * plugins/elements/gstfakesrc.h:
10396         * plugins/elements/gstfdsink.h:
10397         * plugins/elements/gstfdsrc.h:
10398         * plugins/elements/gstfilesink.h:
10399         * plugins/elements/gstfilesrc.h:
10400         * plugins/elements/gstidentity.h:
10401         * plugins/elements/gstqueue.h:
10402         * plugins/elements/gsttee.h:
10403         * plugins/indexers/gstfileindex.c:
10404         * plugins/indexers/gstmemindex.c:
10405         * tests/old/examples/plugins/example.h:
10406         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
10407
10408 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10409
10410         * libs/gst/dataprotocol/dataprotocol.c:
10411         (gst_dp_header_from_buffer):
10412           make sure we zero the whole ABI-compatible area
10413
10414 2006-06-01  Wim Taymans  <wim@fluendo.com>
10415
10416         Patch by: Alessandro Decina <alessandro at nnva dot org>
10417
10418         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
10419         Make sure the EOS flag is cleared from pads after a flush
10420         or stop. Fixes #343538.
10421
10422         * tests/check/libs/collectpads.c: (GST_START_TEST),
10423         (gst_collect_pads_suite):
10424         Added test for collectpads reusage after EOS.
10425
10426 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
10427
10428         * gst/gst.c:
10429          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
10430         * win32/common/libgstbase.def:
10431          export gst_collect_pads_set_flushing
10432         * win32/common/libgstreamer.def:
10433          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
10434          gst_value_fraction_multiply
10435         * win32/vs6/gst_inspect.dsp:
10436          add a link to intl.lib
10437
10438 2006-05-30  Wim Taymans  <wim@fluendo.com>
10439
10440         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10441         (gst_collect_pads_chain):
10442         Handle the case where a pad is removed from the collection
10443         that could cause the other pads to become collectable.
10444
10445 2006-05-30  Wim Taymans  <wim@fluendo.com>
10446
10447         * gst/gstelement.c:
10448         Clarify the use of _release_request_pad() and
10449         _get_request_pad() a bit better.
10450
10451         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
10452         (gst_adapter_take_buffer):
10453         Fix some doc and comment typos.
10454
10455 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10456
10457         * docs/gst/gstreamer-sections.txt:
10458         * docs/libs/gstreamer-libs-sections.txt:
10459           add declared symbols
10460
10461 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
10462
10463         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10464         Add debug that can be enabled using a #define at the top of the file,
10465         for dumping stats about how late/early we were when waking up from
10466         waiting on the clock.
10467
10468 2006-05-30  Wim Taymans  <wim@fluendo.com>
10469
10470         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
10471         When rebuilding the pad list, don't leak the previous list.
10472
10473 2006-05-30  Wim Taymans  <wim@fluendo.com>
10474
10475         Patch by: Lutz Mueller <lutz at topfrose dot de>
10476
10477         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10478         (gst_base_src_get_query_types), (gst_base_src_update_length):
10479         Publish supported query types.
10480         Update last_stop field in get_range mode so the position
10481         query works. Fixes #342321.
10482
10483 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
10484
10485         * docs/gst/gstreamer-sections.txt:
10486         * gst/gsttaglist.c: (_gst_tag_initialize):
10487         * gst/gsttaglist.h:
10488           API: add GST_TAG_PREVIEW_IMAGE (#343341).
10489
10490 2006-05-30  Wim Taymans  <wim@fluendo.com>
10491
10492         Patch by: Alessandro Decina <alessandro at nnva dot org>
10493
10494         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10495         Unlock mutex when removing an unknown pad.
10496         Fixes #343334.
10497
10498         * tests/check/Makefile.am:
10499         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
10500         (push_event), (setup), (teardown), (GST_START_TEST),
10501         (gst_collect_pads_suite), (main):
10502         Added collecpads check, disabled for now as check crashes for
10503         some reason.
10504
10505 2006-05-29  Wim Taymans  <wim@fluendo.com>
10506
10507         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
10508         Don't leak pads lists.
10509
10510 2006-05-29  Wim Taymans  <wim@fluendo.com>
10511
10512         * docs/libs/gstreamer-libs-sections.txt:
10513         * libs/gst/base/gstcollectpads.c:
10514         (gst_collect_pads_set_flushing_unlocked),
10515         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10516         (gst_collect_pads_stop):
10517         * libs/gst/base/gstcollectpads.h:
10518         API: gst_collect_pads_set_flushing()
10519         Added api to set the pads to flushing, useful for seeking
10520         code in elements using collectpads.
10521         Clear segment when receiving a flush.
10522
10523 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
10524
10525         * gst/gst.c: (add_path_func), (init_post):
10526           Don't scan registry paths passed via --gst-plugin-path immediately
10527           (will crash, because absolutely nothing is set up and no types are
10528           registered etc.); do this later in init_post(). Fixes #343057.
10529
10530 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10531
10532         * gst/gst.c: (init_post):
10533           if we have fork, fork while reading/rebuilding the registry
10534           so the parent doesn't take the hit of having all plugins loaded
10535           in memory.  Fixes #342777.
10536         * configure.ac:
10537           Check if we have fork()
10538         * win32/common/config.h.in:
10539           no fork() on win32
10540
10541 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
10542
10543         * plugins/elements/gstelements.c:
10544         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10545         (gst_file_src_init), (gst_file_src_set_property),
10546         (gst_file_src_get_property), (gst_file_src_start):
10547         * plugins/elements/gstfilesrc.h:
10548           API: GstFileSrc::use-mmap
10549
10550         Add a use-mmap property to enable easier testing of all code paths.
10551         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
10552         in the absence of gnomevfssrc. (Closes #340501)
10553
10554 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10555
10556         * tools/gst-inspect.c:
10557         Add missing include, removes warning of ngettext not being defined on
10558         some arches.
10559
10560 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
10561
10562         * gst/gstvalue.c: (gst_value_deserialize_fraction):
10563         Handle NULL input and output pointers silently as a failed conversion,
10564         rather than g_warnings.
10565
10566 2006-05-25  Wim Taymans  <wim@fluendo.com>
10567
10568         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
10569         Initialize variable before using. Fixes #342820.
10570
10571 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
10572
10573         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
10574           Fix off-by-one bug that would only allow peeks of N-1 bytes
10575           from the start even if the buffer to typefind on contains
10576           in fact N bytes of data (makes vorbis typefinding from a
10577           vorbis identification header buffer work).
10578
10579         * tests/check/Makefile.am:
10580         * tests/check/libs/.cvsignore:
10581         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
10582         (gst_typefindhelper_suite), (main), (foobar_typefind),
10583         (plugin_init):
10584           Add very basic unit test for gst_type_find_helper_for_buffer()
10585           that checks for the problem fixed above.
10586
10587 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10588
10589         * tools/gst-inspect.c: (print_interfaces),
10590         (print_element_properties_info), (print_element_list), (main):
10591           add more translatable strings
10592
10593 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
10594
10595         Patch by: Julien Moutte  <julien at moutte net>
10596
10597         * docs/gst/gstreamer-sections.txt:
10598           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
10599           
10600         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
10601         (gst_fake_sink_preroll):
10602         * plugins/elements/gstfakesink.h:
10603           API: Add new GstFakeSink::preroll-handoff signal (#337100).
10604
10605 2006-05-23  Wim Taymans  <wim@fluendo.com>
10606
10607         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
10608         * gst/gstpad.h:
10609         Added _CUSTOM error and success GstFlowReturn that can be
10610         used be elements internally. 
10611         Added macro to check for SUCCESS flowreturns.
10612         API: GST_FLOW_CUSTOM_SUCCESS
10613         API: GST_FLOW_CUSTOM_ERROR
10614         API: GST_FLOW_IS_SUCCESS
10615
10616         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
10617         Added check for GstFlowReturn sanity.
10618
10619 2006-05-23  Wim Taymans  <wim@fluendo.com>
10620
10621         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10622
10623         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10624         (gst_collect_pads_event):
10625         clear/reset segment info in FLUSH_STOP.
10626         Fixes #336929.
10627
10628 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
10629
10630         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
10631         (gst_collect_pads_check_collected):
10632         Flush queued buffer on _stop(), fixes playing again (#342454)
10633
10634 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10635
10636         * tests/check/gst/gststructure.c: (GST_START_TEST),
10637         (gst_structure_suite):
10638           add a test for a complete structure
10639
10640 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
10641
10642         * docs/faq/developing.xml:
10643         * docs/faq/faq.xml:
10644         * docs/faq/troubleshooting.xml:
10645         * docs/faq/using.xml:
10646           Some minor FAQ updates that won't change the fact that
10647           our FAQ is badly structured, full of information hardly
10648           anyone new to GStreamer needs to know and lacking lots
10649           of information people constantly ask for.
10650           
10651 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
10652
10653         * gst/gstpad.c: (gst_pad_set_caps):
10654           Short-circuit gst_pad_set_caps if setting the existing
10655           caps pointer again, and avoid printing debug and 
10656           reffing/unreffing the caps.
10657
10658         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10659           There's actually no need to set the caps before pushing -
10660           the acceptcaps method will handle it anyway.
10661
10662 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
10663
10664         * docs/gst/gstreamer-sections.txt:
10665         * win32/common/libgstreamer.def:
10666         * gst/gstutils.c: (gst_element_seek_simple):
10667         * gst/gstutils.h:
10668           API: add gst_element_seek_simple() (#342238).
10669
10670 2006-05-18  Edward Hervey  <edward@fluendo.com>
10671
10672         * gst/gsttypefind.c: (gst_type_find_get_type):
10673         * gst/gsttypefind.h:
10674         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
10675         registered for GstTypeFind pointers. This allows wrapping the structure
10676         in bindings (i.e. gst-python).
10677
10678 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
10679
10680         * gst/gsttagsetter.c:
10681           Docs additions and fixes (see #339918).
10682
10683 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10684
10685         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10686         The caps intersection algorithm can produce multiple copies of the
10687         caps. Until that is fixed, we need to simplify the result to be
10688         sure whether the allowed caps are fixed or not.
10689
10690         * plugins/elements/gstqueue.c: (gst_queue_init),
10691         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
10692         (gst_queue_push_one):
10693         Proxied buffer alloc should not set the caps on the source pad.
10694         When pushing buffers, we always accept the caps change that triggers.
10695         This prevents negotiation errors caused by caps changing mid-stream 
10696         and then being refused on our source pad (because upstream is now
10697         refusing those caps).
10698
10699 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
10700
10701         * tests/examples/helloworld/helloworld.c: (main):
10702           Must plug audioconvert and audioresample between decoder
10703           and audio sink.
10704
10705 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
10706
10707         * gst/gstregistryxml.c: (read_string), (load_pad_template),
10708         (load_feature), (load_plugin):
10709         Allow empty strings for some of the plugin fields so we don't 
10710         drop valid plugin entries that were written out correctly
10711         (Fixes #341479)
10712
10713 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
10714         
10715         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10716           Use g_remove and g_rename instead of remove and rename that don't 
10717           handle utf8 characters. rename was failing for users who had specific
10718           characters in their name then the registry was built at each 
10719           gstreamer init.
10720         * win32/vs6/gst_inspect.dsp:
10721         * win32/vs6/gst_launch.dsp:
10722         * win32/vs6/libgstbase.dsp:
10723         * win32/vs6/libgstcoreelements.dsp:
10724         * win32/vs6/libgstreamer.dsp:
10725           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
10726           build of libgstreamer and clean unused libraries in projects link 
10727           settings.
10728
10729 2006-05-17  Edward Hervey  <edward@fluendo.com>
10730
10731         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10732         The queue is not responsible for pushing an EOS when receiving a fatal
10733         flow error. It's up to the real element driving the pipeline to do that.
10734
10735 2006-05-16  Edward Hervey  <edward@fluendo.com>
10736
10737         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10738         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
10739         buffer returned a fatal error. It should just send an EOS and stop
10740         its task.
10741         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
10742         when pushing buffers on the queue and will be able to handle the event.
10743
10744 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
10745
10746         * docs/manual/basics-bins.xml:
10747         * docs/manual/basics-init.xml:
10748           Fix typos and minor errors in sample code (#341856).
10749
10750 2006-05-16  Wim Taymans  <wim@fluendo.com>
10751
10752         * docs/design/part-qos.txt:
10753         Fix indexes in formulas to make more sense.
10754
10755 2006-05-15  Wim Taymans  <wim@fluendo.com>
10756
10757         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10758         Don't report POSITION based on clock time if sync is
10759         disabled in a sink.
10760
10761 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
10762
10763         * gst/gstobject.h:
10764           Add cast to make compiler happy - refcount variable was a gint
10765           in GstObject but is a guint in GObject and g_atomic_int_get()
10766           wants a gint *.
10767
10768 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10769
10770         * gst/parse/Makefile.am:
10771           chain commands using &&, which also makes parallel make work
10772
10773 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
10774
10775         * docs/gst/gstreamer-sections.txt:
10776         * gst/gstevent.c:
10777         * gst/gstevent.h:
10778         * gst/gstmessage.h:
10779           Minor docs fixes.
10780
10781 === release 0.10.6 ===
10782
10783 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
10784
10785         * configure.ac:
10786           releasing 0.10.6, "Take the cannoli"
10787
10788 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10789
10790         * tools/gst-launch.c: (print_tag):
10791           Fix use of uninitialized variable in the hypothetical
10792           case that some broken plugin creates a GST_TAG_IMAGE
10793           tag containing a NULL buffer (#341667).
10794
10795 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10796
10797         * tools/gst-launch.c: (print_tag):
10798           Print something more intelligible for image tags when
10799           using the -t switch (#341556).
10800
10801 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10802
10803         * Makefile.am:
10804           updates for win32
10805         * configure.ac:
10806           define GST_MAJORMINOR so we have it available in win32/common/config.h
10807           Possibly remove it from our Makefile.am files later
10808         * win32/common/config.h:
10809         * win32/common/config.h.in:
10810           added GST_MAJORMINOR
10811         * win32/common/gstenumtypes.c: (register_gst_resource_error):
10812         * win32/common/gstversion.h:
10813           updated
10814
10815 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
10816
10817         * win32/MANIFEST:
10818           Update win32 files listing.
10819         * win32/common/gstversion.h:
10820           Add GST_MAJORMINOR definition.
10821         * win32/common/libgstreamer.def:
10822           Add new exported functions.
10823           
10824 2006-05-12  Michael Smith  <msmith@fluendo.com>
10825
10826         * gst/gstplugin.c: (gst_plugin_load_file):
10827           If an so file has no plugin entry point, unload the module.
10828
10829 2006-05-11  Wim Taymans  <wim@fluendo.com>
10830
10831         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
10832         (gst_queue_set_property):
10833         Don't forget to signal the _chain or _loop function 
10834         when the queue size or thresholds change since that might
10835         cause them to make progres again.
10836
10837 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
10838
10839         * gst/gstclock.c: (gst_clock_class_init):
10840         * gst/gstindex.c: (gst_index_class_init):
10841         * gst/gstobject.c: (gst_object_class_init):
10842         * gst/gstpad.c: (gst_pad_class_init):
10843         * gst/gstpipeline.c: (gst_pipeline_class_init):
10844         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10845         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
10846         * libs/gst/base/gstbasetransform.c:
10847         (gst_base_transform_class_init):
10848         * libs/gst/net/gstnetclientclock.c:
10849         (gst_net_client_clock_class_init):
10850         * libs/gst/net/gstnettimeprovider.c:
10851         (gst_net_time_provider_class_init):
10852         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
10853         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10854         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10855         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
10856         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10857         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
10858         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
10859         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10860         * plugins/elements/gsttee.c: (gst_tee_class_init):
10861         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10862         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10863           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
10864
10865 2006-05-11  Wim Taymans  <wim@fluendo.com>
10866
10867         * gst/gstbuffer.c: (_gst_buffer_initialize):
10868         Register subbufer along with the buffer type so that
10869         it does not accidentally gets registered from N
10870         different streaming threads in a non threadsafe way.
10871
10872 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
10873
10874         * gst/gstbuffer.h:
10875         * gst/gstevent.h:
10876         * gst/gstmessage.h:
10877           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
10878           gst_event_ref() and gst_message_ref() functions again
10879           (ugly hack, please do fix if there's a better way besides
10880           overrides.txt, which doesn't seem to work).
10881
10882 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10883
10884         * libs/gst/check/gstcheck.h:
10885           add an assert for setting state to avoid lots of repetitive code
10886           in the future
10887
10888 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10889
10890         * gst/gstvalue.c: (gst_value_serialize_flags):
10891           fix a leak if no flags are set
10892         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10893           fix leak in tests
10894
10895 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
10896
10897         * docs/manual/basics-pads.xml:
10898           Expand a bit on caps and filtered links and update
10899           examples that were still using the no longer existing
10900           gst_pad_link_filtered() (#338206).
10901
10902 2006-05-10  Wim Taymans  <wim@fluendo.com>
10903
10904         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10905         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10906         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10907         (gst_collect_pads_stop):
10908         * libs/gst/base/gstcollectpads.h:
10909         No need to call _stop in _finalize.
10910         Iterate the main pad list in _finalize.
10911         Added some more debug.
10912         Free lists and data in the right order.
10913         Also free data whem doing _remove_pad when stopped for
10914         backward compatibility protect ::started with PAD_LOCK as
10915         well.
10916
10917 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10918
10919         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
10920         (gst_structure_parse_value):
10921           add some comments
10922           rename a method so that it actually says what it does better
10923
10924 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10925
10926         * gst/gstevent.c: (_gst_event_initialize):
10927         * gst/gstformat.c: (_gst_format_initialize):
10928           make sure some essential types used by events are registered
10929           as part of gst_init()
10930         * gst/gstvalue.c: (gst_value_serialize_flags):
10931           if no flags are set, serialize them to a value that represents NONE
10932           so that deserializing them works
10933         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10934           add tests for serialization and deserialization of flags
10935
10936 2006-05-10  Wim Taymans  <wim@fluendo.com>
10937
10938         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
10939         (gst_collect_pads_collect_range), (gst_collect_pads_available),
10940         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
10941         (gst_collect_pads_event), (gst_collect_pads_chain):
10942         Update docs.
10943         Better debug info.
10944         Catch and return errors from the collect function
10945         Refuse data on eos pads.
10946
10947 2006-05-10  Edward Hervey  <edward@fluendo.com>
10948
10949         * gst/gstinterface.h:
10950         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
10951         GInterface type checking.
10952         They were previously using non-defined macros.
10953
10954 2006-05-09  Wim Taymans  <wim@fluendo.com>
10955
10956         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
10957         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
10958         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
10959         (gst_collect_pads_start), (gst_collect_pads_stop),
10960         (gst_collect_pads_peek), (gst_collect_pads_pop),
10961         (gst_collect_pads_available), (gst_collect_pads_read),
10962         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
10963         (gst_collect_pads_is_collected), (gst_collect_pads_event),
10964         (gst_collect_pads_chain):
10965         * libs/gst/base/gstcollectpads.h:
10966         Clean up the mess that is collectpads, add comments and
10967         FIXMEs where needed.
10968         Maintain a separate pad list so we can add pads while
10969         collecting the other ones. For this we need a new separate 
10970         lock (see comics).
10971         Fix memory leak in finalize.
10972         Refactor some weird code to set/unset pad flushing flags, mark
10973         with comments.
10974         Don't crash in _available, _read, _flush when we're EOS.
10975
10976         * tests/check/libs/.cvsignore:
10977         Ignore adapter check binary.
10978
10979 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10980
10981         * gst/gstindex.c: (gst_index_resolver_get_type):
10982         * plugins/elements/gstfakesink.c:
10983         (gst_fake_sink_state_error_get_type):
10984         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
10985         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
10986         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10987           Const-ify GEnumValue arrays.
10988
10989 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10990
10991         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10992           Add test case for flags + gst_buffer_make_metadata_writable().
10993
10994 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10995
10996         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
10997           gst_buffer_make_metadata_writable() should maintain the
10998           buffer flags (those that make sense at least) (see #340859).
10999
11000 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11001
11002         * tools/gst-inspect.c:
11003         * tools/gst-launch.c:
11004         * tools/gst-typefind.c:
11005         * tools/gst-xmlinspect.c:
11006         * tools/tools.h:
11007           Fix up includes: need to include stdlib.h in tools.h for exit().
11008
11009 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11010
11011         * gst/gsttaglist.c: (_gst_tag_initialize):
11012         * gst/gsttaglist.h:
11013           API: add GST_TAG_IMAGE tag (#340721).
11014
11015 2006-05-08  Wim Taymans  <wim@fluendo.com>
11016
11017         * gst/gstquery.c:
11018         Added some docs for the segment query.
11019
11020 2006-05-08  Wim Taymans  <wim@fluendo.com>
11021
11022         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11023         (gst_base_src_loop), (gst_base_src_change_state):
11024         Always push non-flushing serialized events in the streaming 
11025         thread.
11026
11027 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11028
11029         * gst/gsterror.c: (_gst_stream_errors_init):
11030           Add a missing error string.
11031
11032 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
11033
11034         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
11035         Add applied_rate to the debug
11036
11037         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11038         Copy applied_rate into the outgoing NEWSEGMENT event
11039
11040 2006-05-08  Wim Taymans  <wim@fluendo.com>
11041
11042         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
11043
11044         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
11045         (gst_base_sink_change_state):
11046         call ::unlock before taking the PREROLL_LOCK so we can safely
11047         handle elements that lock in ::render.
11048         Fixes #340174.
11049
11050 2006-05-08  Edward Hervey  <edward@fluendo.com>
11051
11052         * autogen.sh: (CONFIGURE_DEF_OPT): 
11053         Darwin's libtoolize is in fact called glibtoolize.
11054         Adding glibtoolize to the list of accepted names for libtoolize.
11055
11056 2006-05-08  Wim Taymans  <wim@fluendo.com>
11057
11058         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11059         Unify error handling, don't post an error message
11060         when a push() returns EOS but perform our normal EOS
11061         handling code. Fixes #340772.
11062
11063 2006-05-08  Wim Taymans  <wim@fluendo.com>
11064
11065         * docs/design/part-overview.txt:
11066         Make upsteam/downstream concepts more clear.
11067         Give an example of serialized/non-serialized events.
11068
11069         * docs/design/part-events.txt:
11070         * docs/design/part-streams.txt:
11071         Mention applied_rate.
11072
11073         * docs/design/part-trickmodes.txt:
11074         Mention applied rate, flesh out some more use cases.
11075
11076         * gst/gstevent.c: (gst_event_new_new_segment),
11077         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
11078         (gst_event_parse_new_segment_full), (gst_event_new_tag),
11079         (gst_event_parse_tag), (gst_event_new_buffer_size),
11080         (gst_event_parse_buffer_size), (gst_event_new_qos),
11081         (gst_event_parse_qos), (gst_event_parse_seek),
11082         (gst_event_new_navigation):
11083         * gst/gstevent.h:
11084         Add applied_rate field to NEWSEGMENT event.
11085         API: gst_event_new_new_segment_full()
11086         API: gst_event_parse_new_segment_full()
11087
11088         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
11089         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
11090         (gst_segment_to_stream_time), (gst_segment_to_running_time):
11091         * gst/gstsegment.h:
11092         Add applied_rate to GstSegment structure.
11093         Make calculation of stream_time and running_time more correct
11094         wrt rate/applied_rate.
11095         Add some more docs.
11096         API: GstSegment::applied_rate field
11097         API: gst_segment_set_newsegment_full();
11098
11099         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11100         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
11101         * libs/gst/base/gstbasetransform.c:
11102         (gst_base_transform_sink_eventfunc),
11103         (gst_base_transform_handle_buffer):
11104         Parse and use applied_rate in the GstSegment field.
11105
11106         * tests/check/gst/gstevent.c: (GST_START_TEST):
11107         Add check for applied_rate field.
11108
11109         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11110         (gstsegments_suite):
11111         Add more checks for various GstSegment operations.
11112
11113 2006-05-08  Wim Taymans  <wim@fluendo.com>
11114
11115         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11116         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
11117         (gst_base_sink_get_position), (gst_base_sink_change_state):
11118         Store the sync time of the buffer end position separatly in a
11119         new variable eos_rtime so we can properly sync the EOS event.
11120         Fixes #340697.
11121         Fix the docs for gst_base_sink_set_qos_enabled().
11122         Don't set segment start to invalid value when we receive a 
11123         non TIME newsegment.
11124         get closer to handling position reporting for negative rates 
11125         correctly.
11126
11127 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
11128
11129         * gst/gstcaps.c:
11130         Docs about how to print caps for debug purposes.
11131
11132         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
11133         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
11134
11135 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
11136
11137         * gst/gstelement.c:
11138           use full enum names and preprend a '%' in docs strings to make recent 
11139           gtk-doc turn that into a link
11140
11141 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11142
11143         * docs/manual/basics-bins.xml:
11144         * docs/manual/basics-bus.xml:
11145         * docs/manual/basics-pads.xml:
11146           Some typo fixes, some additions, some clarifications. 
11147
11148 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11149
11150         * tools/gst-inspect.c: (main):
11151         * tools/gst-launch.c: (main):
11152         * tools/gst-run.c: (main):
11153         * tools/gst-typefind.c: (main):
11154         * tools/gst-xmlinspect.c: (main):
11155           Use the string passed to g_option_context_new() for
11156           what it's intended for - the program name is already
11157           printed elsewhere.
11158
11159 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11160
11161         * tools/Makefile.am:
11162         * tools/gst-inspect.c: (main):
11163         * tools/gst-launch.c: (main):
11164         * tools/gst-xmlinspect.c: (main):
11165         * tools/tools.h:
11166           Add back --version command line option (#340460).
11167
11168         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
11169           Add --version option and use GOption for argument parsing; refactor a
11170           bit; accept directories as arguments and recurse into them; lastly,
11171           print a decent error message when things go wrong.
11172
11173 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11174
11175         * docs/manual/basics-bins.xml:
11176         Don't mention GstThread (#340611)
11177         * docs/manual/basics-elements.xml:
11178         Update link to GObject tutorial (#340607)
11179         
11180 2006-05-05  Wim Taymans  <wim@fluendo.com>
11181
11182         * gst/gstbuffer.h:
11183         * gst/gstminiobject.c:
11184         Add note about refcounting and miniobject/buffer writeability
11185         to docs. Fixes #340604
11186
11187         * gst/gstelementfactory.h:
11188         Added some explanation about @klass.
11189
11190 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11191
11192         * docs/manual/intro-motivation.xml:
11193         * docs/manual/manual.xml:
11194         Avoid CORBA & Bonobo references (#340598)
11195
11196 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11197
11198         * docs/manual/basics-bus.xml:
11199         * docs/manual/basics-pads.xml:
11200         Fix up some inaccuracies and omissions (#340609)
11201         
11202 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11203
11204         * gst/gstghostpad.c:
11205           Small typo in docs (#340625)
11206
11207 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11208
11209         * gst/parse/Makefile.am:
11210           Make 'make -j' proof (see #340698).
11211
11212 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11213
11214         * configure.ac:
11215           Require GLib-2.8 here as well.
11216
11217 2006-05-05  Wim Taymans  <wim@fluendo.com>
11218
11219         * gst/glib-compat.c:
11220         * gst/gst.c: (init_pre):
11221         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11222         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
11223         (gst_object_dispatch_properties_changed):
11224         * gst/gstobject.h:
11225         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11226         * gst/gststructure.c: (gst_structure_set_valist):
11227         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11228         Remove pre glib2.8 compatibility, fixes #340508
11229
11230 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
11231
11232         * gst/gsttaglist.h:
11233           Mention type of tags in doc blurbs.
11234
11235 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
11236
11237         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11238         (gst_pad_configure_src), (gst_pad_push):
11239         Restore acceptcaps checking behaviour now that good plugins have
11240         been released.
11241
11242 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
11243
11244         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
11245
11246         * gst/gst.c:
11247         * gst/gstbus.c:
11248         * gst/gstclock.c:
11249         * gst/gstevent.c:
11250         * gst/gstformat.c:
11251         * gst/gstmessage.c:
11252         * gst/gstparse.c:
11253         * gst/gstquery.c:
11254         * gst/gstutils.c:
11255         * gst/parse/Makefile.am:
11256         * libs/gst/base/gstadapter.c:
11257         * libs/gst/base/gstbasesrc.c:
11258         * libs/gst/base/gstpushsrc.c:
11259         * libs/gst/base/gsttypefindhelper.c:
11260         * plugins/elements/gstfakesrc.c:
11261         * plugins/elements/gstidentity.c:
11262           Make sure gstprivate.h and/or config.h are
11263           always included first, otherwise some of our
11264           defines (like _FILE_OFFSET_BITS) might be
11265           redefined in the system headers. Fixes build
11266           on opensolaris (#340016).
11267
11268 2006-05-04  Wim Taymans  <wim@fluendo.com>
11269
11270         * docs/libs/gstreamer-libs-sections.txt:
11271         API: addition: gst_adapter_take_buffer()
11272         
11273         * libs/gst/base/gstadapter.c: (gst_adapter_push),
11274         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
11275         (gst_adapter_available_fast):
11276         * libs/gst/base/gstadapter.h:
11277         Prepare for optimizing the hell out of this hugely inefficient
11278         piece of code. 
11279         Added gst_adapter_take_buffer() so we can at least start thinking
11280         about subbuffering and merging.
11281         Added some comments.
11282
11283         * tests/check/Makefile.am:
11284         * tests/check/libs/adapter.c: (GST_START_TEST),
11285         (gst_adapter_suite), (main):
11286         Added GstAdapter check.
11287
11288 2006-05-04  Wim Taymans  <wim@fluendo.com>
11289
11290         * docs/design/part-overview.txt:
11291         Fix some typos, add blurb about buffer flags.
11292
11293 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11294
11295         * docs/libs/gstreamer-libs-sections.txt:
11296           make sure GstBaseTransformClass shows up in the docs
11297         * libs/gst/base/gstbasetransform.c:
11298         * libs/gst/base/gstbasetransform.h:
11299           move docs so gtk-doc picks it up now
11300
11301 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
11302
11303         * docs/libs/gstreamer-libs-sections.txt:
11304           add missing symbols to docs
11305
11306 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
11307
11308         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11309           back out the newsegment handling change, see #340060 for ongoing
11310           discussion
11311
11312 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
11313
11314         * tools/gst-run.c: (get_candidates), (main):
11315           Fix wrong g_file_test() usage (see glib docs for why it doesn't
11316           work); fix typo in error message. Fixes #340079.
11317
11318 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11319
11320         * common/Makefile.am:
11321         * docs/Makefile.am:
11322         * docs/faq/Makefile.am:
11323         * docs/gst/Makefile.am:
11324         * docs/libs/Makefile.am:
11325         * docs/manual/Makefile.am:
11326         * docs/plugins/Makefile.am:
11327         * docs/pwg/Makefile.am:
11328         * docs/slides/Makefile.am:
11329         * docs/upload.mak:
11330         * common/upload.mak:
11331           move upload.mak to common
11332
11333 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11334
11335         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11336           add more asserts on refcounts
11337           do more cleanup at end of tests
11338           fix test leaks showing in FC5
11339
11340 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
11341
11342         * plugins/elements/gsttypefindelement.c:
11343         (gst_type_find_element_handle_event):
11344         reverted wrong change and reflowed code to avoid others falling into
11345         this trap
11346
11347 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11348
11349         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11350           fix changelog entry about last collectpads change,
11351           add notes about proper fix
11352
11353 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11354
11355         * gst/gst.c:
11356         * gst/gstregistry.c: (gst_registry_scan_path_level),
11357         (gst_registry_scan_path):
11358         * gst/gstregistry.h:
11359           only write out registry if it has changed, fixes #338339
11360
11361 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11362
11363         * gst/gstbin.c:
11364         * gst/gstpipeline.c:
11365         * plugins/elements/gstcapsfilter.c:
11366         * plugins/elements/gstfakesink.c:
11367         * plugins/elements/gstfakesrc.c:
11368         * plugins/elements/gstfdsink.c:
11369         * plugins/elements/gstfdsrc.c:
11370         * plugins/elements/gstfilesink.c:
11371         * plugins/elements/gstfilesrc.c:
11372         * plugins/elements/gstidentity.c:
11373         * plugins/elements/gstqueue.c:
11374         * plugins/elements/gsttee.c:
11375         * plugins/elements/gsttypefindelement.c:
11376         (gst_type_find_element_handle_event):
11377           make GstElementDetails const
11378
11379 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11380
11381         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
11382         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11383         (gst_collect_pads_is_collected), (gst_collect_pads_event):
11384           more detailed debug and formatting cleanup,
11385           forward newsegments to src-pad (so that e.g. adder not eats them)
11386
11387 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11388
11389         * gst/gstutils.c: (gst_element_link_pads):
11390           cleanup double code
11391
11392 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11393
11394         * libs/gst/controller/gstcontroller.c:
11395         (gst_controller_sync_values):
11396           some little tuning
11397         * tests/check/libs/controller.c: (GST_START_TEST),
11398         (gst_controller_suite):
11399           a new test for live value handling
11400
11401 2006-04-28  Wim Taymans  <wim@fluendo.com>
11402
11403         * gst/gstutils.c: (push_and_ref):
11404         Added some more docs.
11405         Fix refcount issue whith gst_element_found_tags() helper 
11406         function. Fixes #338335
11407
11408         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11409         Added testsuite for gst_element_found_tags().
11410
11411 2006-04-28  Michael Smith  <msmith@fluendo.com>
11412
11413         * gst/gstvalue.c: (gst_value_serialize_flags):
11414           Avoid NULL dereference when trying to serialize flags containing
11415           invalid values.
11416
11417 2006-04-28  Michael Smith  <msmith@fluendo.com>
11418
11419         * plugins/elements/gsttypefindelement.c:
11420         (gst_type_find_element_handle_event):
11421           If we get EOS before any data is accumulated, don't use
11422           uninitialised local variables.
11423
11424 2006-04-28  Michael Smith  <msmith@fluendo.com>
11425
11426         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11427         (gst_dp_event_from_packet):
11428           Fixes in reading/writing events over GDP (not currently used?) - 
11429           dereferencing NULL events for unknown/invalid event types, memory
11430           leak, and change g_warning to GST_WARNING.
11431
11432 2006-04-28  Wim Taymans  <wim@fluendo.com>
11433
11434         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
11435         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11436         (gst_base_sink_get_position), (gst_base_sink_change_state):
11437         When frame dropping is enabled, we should not ignore frames
11438         without a duration.
11439         Update some documentation.
11440
11441 2006-04-28  Wim Taymans  <wim@fluendo.com>
11442
11443         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11444         (gst_base_src_send_event), (gst_base_src_change_state):
11445         Documentation updates.
11446
11447 2006-04-28  Wim Taymans  <wim@fluendo.com>
11448
11449         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
11450         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
11451         handle EAGAIN, EINTR and short writes correctly. Also clean
11452         up some error cases, avoid a deadlock on bad file descriptors and
11453         use GST_DEBUG_OBJECT.
11454         Fixes #339843
11455
11456 2006-04-28  Wim Taymans  <wim@fluendo.com>
11457
11458         * gst/gstvalue.c: (gst_value_serialize_buffer),
11459         (gst_value_deserialize_buffer):
11460         Don't try to serialize a GValue with a NULL buffer. 
11461         Fixes #339821.
11462
11463         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11464         Added check for serialisation of NULL buffers.
11465
11466 2006-04-28  Wim Taymans  <wim@fluendo.com>
11467
11468         * gst/gstminiobject.c: (gst_value_take_mini_object):
11469         Taking a NULL miniobject is valid, fix the case where
11470         we try to unref the NULL miniobject.
11471
11472 2006-04-28  Wim Taymans  <wim@fluendo.com>
11473
11474         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
11475
11476         * gst/gstbin.c: (gst_bin_handle_message_func):
11477         Update docs.
11478         Don't leak bin refcount when a state recalc is
11479         in progress and we delay another one #339808.
11480
11481 2006-04-28  Wim Taymans  <wim@fluendo.com>
11482
11483         * docs/design/part-TODO.txt:
11484         Mention QoS as an ongoing work item.
11485
11486         * docs/design/part-buffering.txt:
11487         New doc about buffering that needs to be fleshed out
11488         at some point.
11489
11490         * docs/design/part-qos.txt:
11491         More QoS policy for decoders/demuxers/transforms
11492
11493         * docs/design/part-trickmodes.txt:
11494         Small update.
11495
11496 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11497
11498         * configure.ac:
11499           back to HEAD
11500
11501 === release 0.10.5 ===
11502
11503 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
11504
11505         * configure.ac:
11506           releasing 0.10.5, "Fogo"
11507
11508 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11509
11510         patch by: Wim Taymans
11511
11512         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11513         (gst_pad_configure_src), (gst_pad_push):
11514         * gst/gstpipeline.c: (gst_pipeline_init):
11515           Fix internal data flow errors.  Fixes #338711.
11516
11517 2006-04-12  Wim Taymans  <wim@fluendo.com>
11518
11519         * tests/check/gst/gstelement.c: (GST_START_TEST):
11520         Don't leak the factory.
11521
11522 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11523
11524         * configure.ac:
11525         * win32/common/config.h:
11526           prerelease
11527
11528 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
11529
11530         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11531         (gst_controller_unset_all):
11532           Free allocated GstTimedValues when freeing list nodes.
11533           Should fix leaks 'make check-valgrind' complains about.
11534
11535         * win32/common/libgstcontroller.def:
11536           Add gst_controller_unset_all.
11537
11538 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
11539
11540         * docs/libs/gstreamer-libs-sections.txt:
11541         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11542         (gst_controller_unset_all):
11543         * libs/gst/controller/gstcontroller.h:
11544         API: Added new method gst_controller_unset_all()
11545         fixed gst_controller_unset()
11546         * tests/check/libs/controller.c: (GST_START_TEST),
11547         (gst_controller_suite):
11548         Added two testcases for new and fixed method
11549
11550 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
11551
11552         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11553           MSG_DONTWAIT is not defined on Cygwin, so work
11554           around that (fixes #317048).
11555           
11556 2006-04-11  Wim Taymans  <wim@fluendo.com>
11557
11558         * gst/gstelementfactory.c: (gst_element_register),
11559         (gst_element_factory_create), (gst_element_factory_make):
11560         Some cleanups.
11561         Fixed a FIXME.
11562         Updated docs (Fixes #131079)
11563
11564         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11565         Small cleanups.
11566
11567         * tests/check/gst/gstelement.c: (GST_START_TEST),
11568         (gst_element_suite):
11569         Added testcase for elementfactory class field.
11570
11571 2006-04-10  Wim Taymans  <wim@fluendo.com>
11572
11573         * gst/gstsegment.c:
11574         Added some more docs.
11575
11576         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
11577         (gst_base_sink_reset_qos):
11578         Calculate more accurate rate values.
11579
11580 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
11581
11582         * gst/gst_private.h:
11583           add a new #ifdef to use __declspec(dllimport) only for
11584           other modules and not for gstreamer core
11585         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
11586           use gst_guint64_to_gdouble for conversion
11587         * win32/common/libgstreamer.def:
11588           add new exported functions
11589         * win32/vs6/gst_inspect.dsp:
11590         * win32/vs6/gst_launch.dsp:
11591         * win32/vs6/libgstbase.dsp:
11592         * win32/vs6/libgstcontroller.dsp:
11593         * win32/vs6/libgstcoreelements.dsp:
11594         * win32/vs6/libgstdataprotocol.dsp:
11595         * win32/vs6/libgstnet.dsp:
11596           update project files
11597
11598 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
11599
11600         * gst/gstbuffer.c: (gst_subbuffer_class_init):
11601         * gst/gstclock.c: (gst_clock_class_init):
11602         * gst/gstelement.c: (gst_element_class_init):
11603         * gst/gstindex.c: (gst_index_class_init):
11604         * gst/gstindexfactory.c: (gst_index_factory_class_init):
11605         * gst/gstobject.c: (gst_object_class_init),
11606         (gst_signal_object_class_init):
11607         * gst/gstpad.c: (gst_pad_class_init):
11608         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
11609         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
11610         * gst/gstregistry.c: (gst_registry_class_init):
11611         * gst/gstsystemclock.c: (gst_system_clock_class_init):
11612         * gst/gsttask.c: (gst_task_class_init):
11613         * gst/gstxml.c: (gst_xml_class_init):
11614         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11615         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11616         (gst_base_src_loop):
11617         * libs/gst/controller/gstcontroller.c:/
11618         (_gst_controller_class_init):
11619         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11620         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
11621         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
11622         * tests/old/examples/plugins/example.c: (gst_example_class_init):
11623         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11624         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
11625
11626 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
11627
11628         * gst/gstpad.c: (gst_pad_link):
11629           Must set peer pads before calling the link function, otherwise
11630           a task started from a link function might get a flow-not-linked
11631           result when trying to push because the other thread where the
11632           linking happens hasn't had a chance to set the peers yet. This
11633           might happen for example when a queue gets linked to a downstream
11634           element, as queue starts a streaming task when its source pad
11635           gets linked. Happens in real life when playing back flac/musepack
11636           files in playbin (#332390).
11637           
11638 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
11639
11640         * gst/gstindex.h:
11641         * gst/gstxml.h:
11642         * libs/gst/base/gstadapter.h:
11643         * libs/gst/base/gstbasesink.h:
11644         * libs/gst/base/gstbasesrc.h:
11645         * libs/gst/base/gstbasetransform.h:
11646         * libs/gst/base/gstcollectpads.h:
11647         * libs/gst/base/gstpushsrc.h:
11648         Fix broken GObject macros
11649
11650 2006-04-07  Wim Taymans  <wim@fluendo.com>
11651
11652         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11653         Initialize start and stop times, thanks valgrind.
11654
11655 2006-04-07  Wim Taymans  <wim@fluendo.com>
11656
11657         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11658         Be a bit nicer to badly behaving upstream elements that expect
11659         us to deal with non TIME segments and timestamps (such as fakesrc
11660         in the testsuite).
11661
11662 2006-04-07  Wim Taymans  <wim@fluendo.com>
11663
11664         * gst/gstbus.c:
11665         Small documentation clarification about the signal watch.
11666
11667         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11668         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11669         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11670         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11671         (gst_base_sink_get_position_last),
11672         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
11673         Convert and store timestamps in stream time and running time, the
11674         raw timestamps are not useful, also document this better.
11675         Use different window sizes for good and bad QoS observations so
11676         we react to badness a little quicker.
11677         Keep track of the amount of rendered and dropped buffers.
11678         Send QoS timestamps in running time.
11679
11680         * libs/gst/base/gstbasetransform.c:
11681         (gst_base_transform_sink_eventfunc),
11682         (gst_base_transform_handle_buffer):
11683         Compare QoS timestamps against running time.
11684
11685 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
11686
11687         * gst/gstpad.c:
11688           Typo fixes in docs.
11689
11690 2006-04-06  Michael Smith  <msmith@fluendo.com>
11691
11692         * gst/gstpad.c: (gst_pad_set_property):
11693           Use g_value_get_object() instead of g_value_dup_gst_object(),
11694           to avoid double-reffing the pad template (which we then sink,
11695           so this worked previously if (and only if) the pad template
11696           was floating.
11697
11698         * gst/gstpadtemplate.c: (gst_pad_template_init),
11699         (gst_pad_template_pad_created):
11700           Never return floating references to pad templates, create
11701           them as initially-sunken.
11702
11703           Document an extra function (and make this stop sinking our
11704           pad template, since that is now guaranteed to do nothing,
11705           since we created it sunken).
11706
11707         * gst/gstghostpad.c:
11708           Fix docs typo.
11709
11710 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
11711
11712         * gst/gstinfo.c: (__gst_in_valgrind):
11713           Add some newlines.
11714
11715         * plugins/elements/gsttypefindelement.c:
11716         (gst_type_find_element_chain):
11717           Don't leak buffer caps.
11718
11719 2006-04-06  Michael Smith  <msmith@fluendo.com>
11720
11721         * gst/parse/grammar.y:
11722           Fix a leak in parse-launch for any source-or-sink named element 
11723           references used.
11724
11725         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11726           Unref the pipeline if it exists after we've failed parsing.
11727
11728 2006-04-05  Michael Smith  <msmith@fluendo.com>
11729
11730         * gst/gstpipeline.c: (gst_pipeline_init):
11731           When we create a pipeline bus, initially create it in flushing mode.
11732           Fixes leaks in at least one test, and makes a new pipeline work the
11733           same as one that has gone to READY and then back to NULL.
11734
11735         * gst/gstelement.c:
11736           Typo fix in docs.
11737
11738 2006-04-05  Michael Smith  <msmith@fluendo.com>
11739
11740         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11741           Unref a pad we reffed.
11742         * tests/check/gst/gstutils.c: (GST_START_TEST):
11743           Unref bins
11744
11745 2006-04-05  Michael Smith  <msmith@fluendo.com>
11746
11747         * gst/gstquery.c: (gst_query_set_formats),
11748         (gst_query_set_formatsv):
11749           Fix leaking GValues in queries, as shown by valgrind/testsuite.
11750
11751 2006-04-05  Michael Smith  <msmith@fluendo.com>
11752
11753         * tests/check/generic/sinks.c: (GST_START_TEST):
11754           Fix a variety of memleaks in sinks check, which are only sometimes 
11755           shown by running the tests under valgrind (weird?).
11756
11757 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
11758
11759         * docs/version.entities.in:
11760           Fix the substituted entity name after thomas' changes on the
11761           weekend.
11762
11763 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11764
11765         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
11766         VALGRIND_PRINTF
11767         
11768 2006-04-05  Andy Wingo  <wingo@pobox.com>
11769
11770         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
11771
11772         * libs/gst/base/gstbasetransform.c
11773         (gst_base_transform_sink_eventfunc): When resetting our segment on
11774         FLUSH_STOP, also update the flag saying we haven't seen a
11775         newsegment.
11776
11777 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11778
11779         Patch by: Paolo Borelli  <pborelli at katamail dot com>
11780
11781         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11782         (gst_plugin_check_license):
11783           minor clean-ups: G_DEFINE_TYPE already takes care of the
11784           parent_class stuff, no need to do it twice. Mark array of
11785           license strings as constant. (#337103)
11786           
11787 2006-04-04  Michael Smith  <msmith@fluendo.com>
11788
11789         * tools/gst-inspect.c: (print_element_list):
11790           Free the right plugin list; fixes a memory leak.
11791
11792 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11793
11794         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
11795
11796         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11797           Don't error out on empty buffers (#336945).
11798           
11799 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
11800
11801         * docs/libs/gstreamer-libs-sections.txt:
11802         * gst/gsttaglist.c:
11803         * libs/gst/base/gstbasesink.c:
11804         * libs/gst/base/gstbasesink.h:
11805         * libs/gst/base/gstbasesrc.c:
11806         * libs/gst/base/gstbasesrc.h:
11807           Documentation updates. Make BaseSink and BaseSrc docs contain the
11808           class structure so that people can actually see the prototypes for
11809           virtual functions they're supposed to be overriding.
11810
11811 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11812
11813         * plugins/elements/gsttypefindelement.c:
11814         (gst_type_find_element_chain):
11815           More debug info; when skipping typefinding, send cached
11816           events in all cases.
11817
11818 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11819
11820         * configure.ac:
11821           use new AS_VERSION and AS_NANO macros
11822         * gst/gst-i18n-lib.h:
11823         * gst/gst.c:
11824         * gst/gsterror.c:
11825         * gst/gstversion.h.in:
11826         * win32/common/config.h:
11827         * win32/common/config.h.in:
11828           update accordingly
11829
11830 2006-03-31  Michael Smith  <msmith@fluendo.com>
11831
11832         * plugins/elements/gsttypefindelement.c:
11833         (gst_type_find_element_chain):
11834           Do not typefind content if the buffers already have caps.
11835           Neccesary for icydemux (#333657), and the right thing to do anyway.
11836
11837 2006-03-30  Wim Taymans  <wim@fluendo.com>
11838
11839         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11840         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
11841         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
11842         (gst_base_sink_record_qos_observation),
11843         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11844         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11845         (gst_base_sink_change_state):
11846         More QoS measurements as described in the design doc.
11847         Get rid of ringbuffer with observations, running average is
11848         more simple and equally good.
11849         Calculates valid proportion now.
11850         Added beginning of flood measurement.
11851
11852 2006-03-29  Wim Taymans  <wim@fluendo.com>
11853
11854         * docs/design/part-qos.txt:
11855         * gst/gstclock.c:
11856         Small documentation updates and additions.
11857
11858 2006-03-29  Wim Taymans  <wim@fluendo.com>
11859
11860         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11861         (gst_base_src_send_event), (gst_base_src_loop),
11862         (gst_base_src_change_state):
11863         Perform the EOS logic when we reach the segment stop position.
11864         Fix compilation on gcc4.1
11865
11866 2006-03-29  Wim Taymans  <wim@fluendo.com>
11867
11868         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
11869
11870         * plugins/elements/gstqueue.c: (gst_queue_init),
11871         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11872         (gst_queue_set_property):
11873         * plugins/elements/gstqueue.h:
11874         In queue, when EOS is received, if minimum threshold > max_size -
11875         current_level, there is chance that queue blocks forever in conditional
11876         item del wait. This is because the queue is not emptied completely due
11877         to minimum threshold.  Here is another approach. Instead of setting
11878         cur_levels to max in EOS, just zero all minimum threshold levels. This
11879         should make sure that queue gives out all data. When going to READY
11880         (stop) state, just reset the original minimum threshold levels.
11881         Fixes #336336.
11882
11883 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
11884
11885         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
11886         (gst_type_find_element_handle_event),
11887         (gst_type_find_element_send_cached_events),
11888         (gst_type_find_element_change_state):
11889         * plugins/elements/gsttypefindelement.h:
11890           When typefinding is done in push mode, we should cache
11891           events we receive during typefinding instead of just
11892           dropping them (e.g. newsegment, custom events from
11893           dvdreadsrc etc.) and then send them out once we've
11894           determined the type of the stream (and decodebin
11895           has had a chance to plug in a decoder/demuxer).
11896           
11897 2006-03-27  Wim Taymans  <wim@fluendo.com>
11898
11899         * docs/design/part-qos.txt:
11900         First QoS ideas.
11901
11902 2006-03-27  Wim Taymans  <wim@fluendo.com>
11903
11904         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
11905
11906         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11907         (gst_base_src_send_event), (gst_base_src_change_state):
11908         Handle element seek correctly when we are streaming.
11909         Fixes #326998.
11910
11911 2006-03-24  Michael Smith  <msmith@fluendo.com>
11912
11913         * docs/faq/gst-uninstalled:
11914           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
11915           allow you to correctly run intalled applications built against old 
11916           core, using plugins that require updated core (e.g. running
11917           installed totem against a full uninstalled gstreamer stack)
11918
11919 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11920
11921         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11922         more debug details
11923
11924 2006-03-24  Wim Taymans  <wim@fluendo.com>
11925
11926         * docs/gst/gstreamer-sections.txt:
11927         Rearrange the order of the methods so that related methods
11928         are grouped together in sections.
11929
11930 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11931
11932         * gst/gstelement.c:
11933           Little clarification in the docs
11934
11935 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11936
11937         * docs/README:
11938         formatting fix
11939         * plugins/elements/gstidentity.c:
11940         * plugins/elements/gstqueue.c:
11941         * plugins/elements/gsttee.c:
11942         * plugins/elements/gsttypefindelement.c:
11943         GST_ELEMENT_DETAILS formatting
11944
11945 2006-03-24  Wim Taymans  <wim@fluendo.com>
11946
11947         * libs/gst/base/gstbasesink.h:
11948         Only add fields, not insert or we break ABI.
11949
11950 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11951
11952         * win32/common/libgstbase.def:
11953         * win32/common/libgstreamer.def:
11954           Update, add recently added functions.
11955
11956 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11957
11958         * docs/gst/gstreamer-sections.txt:
11959         * gst/gstutils.c: (gst_pad_query_peer_position),
11960         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
11961         * gst/gstutils.h:
11962           API: add some new utility functions:
11963            - gst_pad_query_peer_position()
11964            - gst_pad_query_peer_duration()
11965            - gst_pad_query_peer_convert()
11966           
11967 2006-03-23  Wim Taymans  <wim@fluendo.com>
11968
11969         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11970         (gst_base_sink_init), (gst_base_sink_finalize),
11971         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
11972         (gst_base_sink_set_property), (gst_base_sink_get_property),
11973         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
11974         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11975         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
11976         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11977         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11978         (gst_base_sink_preroll_object), (gst_base_sink_event),
11979         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
11980         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
11981         (gst_base_sink_query), (gst_base_sink_change_state):
11982         Decouple max-lateness and the fact that QoS messages are generated
11983         with a new property (qos).
11984         added API: GstBaseSink::async_play()
11985         Add vmethod so subclasses can be notified of ASYNC playing
11986         state changes.
11987         Collect timestamp start and stop to report better current
11988         position in EOS/PLAYING/PAUSED/READY/NULL.
11989         Refactor QoS/frame dropping and other measurements.
11990         API: GstBaseSrc::qos
11991         Fixes #326311
11992
11993         * libs/gst/base/gstbasesink.h:
11994         Added Private struct.
11995         API: gst_base_sink_set_qos_enabled()
11996         API: gst_base_sink_is_qos_enabled()
11997
11998 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11999
12000         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12001           If compiling against GLib-2.8 or newer, try to read the
12002           registry file using GMappedFile first before falling back
12003           to fopen() + fread() (#332151).
12004
12005 2006-03-22  Wim Taymans  <wim@fluendo.com>
12006
12007         * gst/gstinfo.c: (gst_debug_set_active),
12008         (gst_debug_category_set_threshold):
12009         Disable debugging unless explicitly activated.
12010         Fixes #335480.
12011
12012 2006-03-22  Wim Taymans  <wim@fluendo.com>
12013
12014         * gst/gstelement.c: (gst_element_set_locked_state),
12015         (gst_element_dispose):
12016         Cleanup the error case.
12017
12018         * gst/gstobject.c: (gst_object_dispose):
12019         print a critical when some object was disposed with
12020         a parent, also revive the object since it might
12021         crash the parent.
12022
12023 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
12024
12025         * tools/gst-launch.1.in:
12026           Fix another typo.
12027
12028 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12029
12030         * configure.ac:
12031         * tests/check/Makefile.am:
12032           disable some tests when we don't have a registry
12033         * tests/check/gst/gstutils.c: (gst_utils_suite):
12034           don't build the part that needs parsing
12035
12036 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12037
12038         * gst/Makefile.am
12039         * tests/examples/Makefile.am:
12040           fix --disable-parse build
12041
12042 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12043
12044         * tools/gst-feedback.1.in:
12045           Fix typo: s/feeback/feedback/ (#133494).
12046
12047 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12048
12049         * tools/Makefile.am:
12050         * tools/gst-launch.1.in:
12051           Add FILES section and correct entry about GST_REGISTRY_PATH
12052           environment variable (#133495; #133494).
12053
12054 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12055
12056         * tools/Makefile.am:
12057         * tools/gst-md5sum.1.in:
12058         * tools/gst-md5sum.c:
12059           Remove gst-md5sum and man page (the md5sink element
12060           required was removed ages ago)
12061
12062 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12063
12064         * gst/gststructure.c: (gst_structure_id_set_value):
12065           Make sure that string fields in structures/taglists
12066           contain valid UTF-8 - we don't want to pass rubbish to
12067           applications because of a buggy plugin (cp. #334167).
12068
12069 2006-03-21  Edward Hervey  <edward@fluendo.com>
12070
12071         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12072         (gst_bin_handle_message_func):
12073         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
12074         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
12075         (gst_element_set_bus_func):
12076         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
12077         * gst/gstminiobject.c: (gst_value_set_mini_object),
12078         (gst_value_take_mini_object):
12079         * gst/gstpad.c: (gst_pad_set_pad_template):
12080         * gst/gstpipeline.c: (gst_pipeline_dispose),
12081         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
12082         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
12083         (gst_collect_pads_chain):
12084         * libs/gst/net/gstnettimeprovider.c:
12085         (gst_net_time_provider_set_property):
12086         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
12087         It's in fact all issues with gst_*object_replace().
12088
12089 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12090
12091         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
12092         
12093         * pkgconfig/gstreamer-check-uninstalled.pc.in:
12094         * pkgconfig/gstreamer-check.pc.in:
12095           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
12096
12097 2006-03-21  Edward Hervey  <edward@fluendo.com>
12098
12099         * gst/gstbuffer.h:
12100         * gst/gstevent.h:
12101         * gst/gstmessage.h:
12102         gst_[buffer|event|message]_ref() macros are replaced by a static
12103         inline functions because gcc-4.1 will about if the return value
12104         isn't used.
12105         * tests/check/gst/gstevent.c: (event_probe):
12106         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
12107
12108 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
12109
12110         * gst/gstutils.h:
12111         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
12112         the type' case. (Closes: #335195 for now). In the future, when we
12113         depend on GLib 2.10, we could also intern the type name using
12114         g_intern_static_string()
12115
12116 2006-03-20  Wim Taymans  <wim@fluendo.com>
12117
12118         * gst/gstbin.c: (gst_bin_handle_message_func),
12119         (bin_query_max_init), (bin_query_position_fold),
12120         (bin_query_position_done), (gst_bin_query):
12121         Position query should also take max of all streams.
12122
12123 2006-03-20  Wim Taymans  <wim@fluendo.com>
12124
12125         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12126         (gst_fake_src_finalize):
12127         Fix leaks in fakesrc.
12128
12129         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12130         Fix leaks in the testcase.
12131
12132 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
12133
12134         * gst/gst_private.h:
12135           add win32 specific import decoration(__declspec(dllimport)) 
12136           for all extern GstDebugCategory * variables
12137         * win32/common/libgstbase.def:
12138         * win32/common/libgstcontroller.def:
12139         * win32/common/libgstreamer.def:
12140           Add some exports, remove empty lines
12141         * win32/common/libgstdataprotocol.def:
12142         * win32/common/libgstdataprotocol.dsp:
12143         * win32/common/libgstnet.def:
12144         * win32/common/libgstnet.dsp:
12145           new project files and exportation files added
12146         
12147 2006-03-19  Wim Taymans  <wim@fluendo.com>
12148
12149         * tests/check/libs/basesrc.c: (eos_event_counter):
12150         Use proper return value for probe.
12151
12152 2006-03-17  Wim Taymans  <wim@fluendo.com>
12153
12154         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12155         (gst_pad_push):
12156         Don't leak buffers, caps and pads on negotiation errors.
12157
12158 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
12159
12160         * docs/faq/cvs.xml:
12161         * docs/faq/dependencies.xml:
12162         * docs/faq/developing.xml:
12163         * docs/faq/faq.xml:
12164         * docs/faq/general.xml:
12165         * docs/faq/getting.xml:
12166         * docs/faq/legal.xml:
12167         * docs/faq/troubleshooting.xml:
12168         * docs/faq/using.xml:
12169         Faq review and update.
12170
12171 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
12172
12173         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12174         (gst_pad_push):
12175         Don't pound the cpu to pieces by checking get_caps when accept_caps
12176         is called with the same caps as the pad already has.
12177         Use GST_DEBUG_OBJECT when outputting caps change information.
12178
12179 2006-03-15  Wim Taymans  <wim@fluendo.com>
12180
12181         * gst/gstclock.c: (gst_clock_class_init):
12182         Fix docs.
12183
12184 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
12185
12186         * gst/gstbuffer.h:
12187         Documentation fix.
12188
12189         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
12190         (gst_pad_accept_caps), (gst_pad_configure_sink),
12191         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
12192         Make the default acceptcaps behaviour be to check the requested 
12193         caps against the gst_pad_get_caps output. 
12194
12195         Ensure that gst_pad_accept_caps is used to check caps when a pad
12196         doesn't have a setcaps function, so that pads automatically refuse 
12197         caps that they don't allow in their pad template. (Fixes #332986)
12198
12199         When a buffer with attached caps is pushed, ensure that the source 
12200         pad receives those caps even if the element didn't call
12201         gst_pad_set_caps first.
12202
12203 2006-03-15  Wim Taymans  <wim@fluendo.com>
12204
12205         * libs/gst/base/gstadapter.c:
12206         Add some docs.
12207
12208 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
12209
12210         * win32/common/libgstbase.def:
12211         * win32/common/libgstcontroller.def:
12212         * win32/common/libgstreamer.def:
12213           Add a whole bunch of missing functions (#334434).
12214
12215 2006-03-14  Wim Taymans  <wim@fluendo.com>
12216
12217         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12218         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12219         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
12220         Better debug info when we receive a segment event.
12221         Reorganize a bit so we can pass the get_times() results around.
12222         Use the segment format when calculating the running time.
12223         Don't do QoS is sync is disabled or we have no clock or the
12224         element does not want us to sync to the clock.
12225         Don't drop buffers if QoS is disabled for now.
12226
12227 2006-03-14  Wim Taymans  <wim@fluendo.com>
12228
12229         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
12230         Marked the stats property as unimplemented so people don't get
12231         wild ideas.
12232         Add debug message when regression goes wrong.
12233         Added some more docs.
12234
12235 2006-03-14  Wim Taymans  <wim@fluendo.com>
12236
12237         * gst/gstsegment.c: (gst_segment_to_stream_time):
12238         Return correct return type in case of errors.
12239
12240 2006-03-14  Wim Taymans  <wim@fluendo.com>
12241
12242         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
12243           Don't segfault on invalid formats.
12244
12245 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
12246
12247         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12248           Can't use gst_segment_to_running_time() when the segment
12249           is not in GST_TIME_FORMAT (like with filesink, for example).
12250           Stops flac encoding pipelines from spewing critical warnings
12251           at EOS (#331248).
12252           
12253 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
12254
12255         * gst/gstpipeline.c: (gst_pipeline_class_init):
12256           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
12257
12258         * plugins/elements/gsttypefindelement.c:
12259         (gst_type_find_element_handle_event):
12260           Don't try to typefind empty streams.
12261
12262 2006-03-14  Wim Taymans  <wim@fluendo.com>
12263
12264         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12265         (gst_base_sink_do_qos):
12266         Separate QoS calculation.
12267         Only drop buffers when lateness is bigger than the 
12268         duration of the buffer.
12269
12270 2006-03-13  Wim Taymans  <wim@fluendo.com>
12271
12272         * gst/gstpipeline.c: (gst_pipeline_set_property),
12273         (gst_pipeline_get_property), (do_pipeline_seek),
12274         (gst_pipeline_change_state), (gst_pipeline_set_delay),
12275         (gst_pipeline_get_delay):
12276         Don't deadlock when reading properties.
12277
12278 2006-03-13  Wim Taymans  <wim@fluendo.com>
12279
12280         * libs/gst/base/gstbasetransform.c:
12281         (gst_base_transform_class_init), (gst_base_transform_init),
12282         (gst_base_transform_sink_event),
12283         (gst_base_transform_sink_eventfunc),
12284         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
12285         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12286         (gst_base_transform_set_property),
12287         (gst_base_transform_get_property),
12288         (gst_base_transform_change_state), (gst_base_transform_update_qos),
12289         (gst_base_transform_set_qos_enabled),
12290         (gst_base_transform_is_qos_enabled):
12291         * libs/gst/base/gstbasetransform.h:
12292         Make basetransform virtual method for src events too.
12293         Handle QOS in basetransform.
12294         API: gst_base_transform_update_qos()
12295         API: gst_base_transform_set_qos_enabled()
12296         API: gst_base_transform_is_qos_enabled()
12297
12298 2006-03-13  Wim Taymans  <wim@fluendo.com>
12299
12300         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12301         (gst_base_sink_do_sync):
12302         Small cleanups.
12303         Use QOS debug category.
12304
12305 2006-03-13  Wim Taymans  <wim@fluendo.com>
12306
12307         * plugins/elements/gstqueue.c:
12308         Very small doc update.
12309
12310 2006-03-13  Wim Taymans  <wim@fluendo.com>
12311
12312         * gst/gst_private.h:
12313         * gst/gstinfo.c: (_gst_debug_init):
12314         Added QOS debug category
12315
12316 2006-03-13  Wim Taymans  <wim@fluendo.com>
12317
12318         * docs/gst/gstreamer-sections.txt:
12319         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
12320         * gst/gstbin.h:
12321         * gst/gstbus.c: (gst_bus_class_init):
12322         * gst/gstbus.h:
12323         * gst/gstclock.c:
12324         * gst/gstelement.c: (gst_element_set_locked_state):
12325         * gst/gstsegment.c:
12326         Documentation updates.
12327
12328         * gst/gstpipeline.c: (gst_pipeline_get_type),
12329         (gst_pipeline_class_init), (gst_pipeline_init),
12330         (gst_pipeline_dispose), (gst_pipeline_set_property),
12331         (gst_pipeline_get_property), (do_pipeline_seek),
12332         (gst_pipeline_send_event), (gst_pipeline_change_state),
12333         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
12334         (gst_pipeline_get_delay):
12335         * gst/gstpipeline.h:
12336         Added methods for setting the delay.
12337         API: gst_pipeline_set_delay()
12338         API: gst_pipeline_get_delay()
12339         Add pipeline debug category
12340         Various cleanups.
12341         Updated docs.
12342         Don't reset stream time when seek failed.
12343
12344 2006-03-13  Wim Taymans  <wim@fluendo.com>
12345
12346         * docs/design/draft-klass.txt:
12347         * docs/design/part-clocks.txt:
12348         * docs/design/part-events.txt:
12349         * docs/design/part-gstbin.txt:
12350         * docs/design/part-gstpipeline.txt:
12351         * docs/design/part-messages.txt:
12352         * docs/design/part-negotiation.txt:
12353         * docs/design/part-overview.txt:
12354         * docs/design/part-preroll.txt:
12355         * docs/design/part-seeking.txt:
12356         * docs/design/part-states.txt:
12357         * docs/design/part-streams.txt:
12358         Documentation updates.
12359
12360 2006-03-12  Julien MOUTTE  <julien@moutte.net>
12361
12362         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
12363         us to leak strings...
12364
12365 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12366
12367         * libs/gst/net/gstnettimeprovider.c:
12368           fix docs
12369         * win32/common/config.h:
12370           update
12371
12372 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
12373
12374         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
12375
12376         * configure.ac:
12377           Don't check for libgnomeui (leftover from old examples
12378           that aren't built or disted any longer) (#334303).
12379           
12380 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
12381
12382         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
12383         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12384           Emit RESOURCE_NO_SPACE_LEFT error here as well when
12385           there's no space left on the device.
12386
12387 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
12388
12389         * gst/gstclock.h:
12390           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
12391           to cast the input to GstClockTime before comparing with
12392           another GstClockTime value.
12393
12394 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12395
12396         * configure.ac:
12397           back to trunk
12398
12399 === release 0.10.4 ===
12400
12401 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
12402
12403         * configure.ac:
12404           releasing 0.10.4, "Light"
12405
12406 2006-03-10  Michael Smith  <msmith@fluendo.com>
12407
12408         * libs/gst/dataprotocol/dataprotocol.c:
12409           Fix docs for dataprocotol to not get the return types completely
12410           wrong for a few functions.
12411
12412 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
12413
12414         * docs/gst/gstreamer-sections.txt:
12415         * gst/gstpipeline.c: (gst_pipeline_class_init),
12416         (gst_pipeline_init), (gst_pipeline_set_property),
12417         (gst_pipeline_get_property), (gst_pipeline_change_state),
12418         (gst_pipeline_set_auto_flush_bus),
12419         (gst_pipeline_get_auto_flush_bus):
12420         * gst/gstpipeline.h:
12421           Add new API: gst_pipeline_set_auto_flush_bus() and
12422           gst_pipeline_get_auto_flush_bus() to disable automatic
12423           flushing of the pipeline's GstBus when going from READY
12424           to NULL state (#332045).
12425
12426 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
12427
12428         * docs/gst/gstreamer-sections.txt:
12429         * gst/gsturi.c: (gst_uri_has_protocol):
12430         * gst/gsturi.h:
12431            Add new API: gst_uri_has_protocol() (#333779).
12432
12433 2006-03-09  Wim Taymans  <wim@fluendo.com>
12434
12435         * gst/gstclock.c: (gst_clock_entry_new),
12436         (gst_clock_id_compare_func), (gst_clock_id_wait),
12437         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
12438         (gst_clock_init), (gst_clock_get_internal_time),
12439         (gst_clock_set_master), (do_linear_regression),
12440         (gst_clock_add_observation), (gst_clock_set_property):
12441         * gst/gstclock.h:
12442         Review docs.
12443         Small cleanups.
12444         Fix a possible segfault when the window-size is made smaller.
12445         Calculate jitter before performing the clock wait. Ideally
12446         the clock implementation should calculate jitter but we need
12447         API breakage for that.
12448
12449         * gst/gstsystemclock.c: (gst_system_clock_init):
12450         Docs review.
12451         
12452         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12453         Remove leftover else
12454
12455         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
12456         (gst_systemclock_suite):
12457         Added check to test GST_CLOCK_DIFF.
12458
12459 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
12460
12461         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
12462         (gst_type_find_helper_get_range):
12463           If we are provided with the size, we should implement
12464           GstTypeFind::get_length, so that typefind functions who
12465           want to can actually peek at the middle of a file.
12466
12467 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
12468
12469         * docs/manual/advanced-dataaccess.xml:
12470           Add some very very basic error checking.
12471
12472         * docs/pwg/appendix-checklist.xml:
12473           Some updates to the list of things to check when writing an element.
12474
12475 2006-03-08  Wim Taymans  <wim@fluendo.com>
12476
12477         * docs/design/part-element-transform.txt:
12478         Added some docs about the design of tranform elements.
12479
12480         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12481         (gst_base_src_loop), (gst_base_src_change_state):
12482         Mark buffers with the DISCONT flag.
12483
12484 2006-03-08  Michael Smith  <msmith@fluendo.com>
12485
12486         * gst/gstregistry.h:
12487         * gst/gstregistryxml.c: (gst_registry_save),
12488         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
12489         (gst_registry_xml_save_pad_template),
12490         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
12491         (gst_registry_xml_write_cache):
12492           Rewrite registry-saving to avoid race conditions and check for
12493           failed writes.
12494
12495 2006-03-08  Wim Taymans  <wim@fluendo.com>
12496
12497         * libs/gst/base/gstbasetransform.c:
12498         (gst_base_transform_transform_caps),
12499         (gst_base_transform_transform_size),
12500         (gst_base_transform_prepare_output_buffer),
12501         (gst_base_transform_get_unit_size),
12502         (gst_base_transform_buffer_alloc),
12503         (gst_base_transform_handle_buffer),
12504         (gst_base_transform_change_state):
12505         Cleanups, separate normal flow from errors, add sensible
12506         DEBUG lines.
12507         Don't try to renegotiate when allocating an output buffer.
12508         Also copy DISCONT buffer flag when copying a buffer.
12509         Reset the transform after we finish streaming, not during.
12510
12511 2006-03-08  Wim Taymans  <wim@fluendo.com>
12512
12513         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12514         Use last buffer timestamp in qos message.
12515
12516 2006-03-07  Wim Taymans  <wim@fluendo.com>
12517
12518         Patch by: Christophe Fergeau
12519
12520         * docs/pwg/advanced-tagging.xml:
12521         * docs/pwg/building-pads.xml:
12522           fixes #333416
12523
12524 2006-03-07  Wim Taymans  <wim@fluendo.com>
12525
12526         * docs/libs/gstreamer-libs-sections.txt:
12527         Added basesink new methods.
12528
12529         * gst/gstevent.c:
12530         * gst/gstevent.h:
12531         Docs updates. Flesh out the QoS docs.
12532
12533         * libs/gst/base/gstadapter.c:
12534         Small doc clarification about ownership and flushing.
12535
12536         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
12537         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
12538         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
12539         (gst_base_sink_get_property), (gst_base_sink_do_sync):
12540         * libs/gst/base/gstbasesink.h:
12541         API additions: 
12542         Added new methods to allow subclass to control max-lateness 
12543         and sync.
12544         Generate very basic QoS events based on last sync observation.
12545         Updated docs, fix typo, added some QoS blurb.
12546
12547         * libs/gst/base/gstbasesrc.c:
12548         Remove obsolete _get_state() calls from docs.
12549
12550 2006-03-07  Wim Taymans  <wim@fluendo.com>
12551
12552         * docs/libs/gstreamer-libs-sections.txt:
12553         * libs/gst/base/gstbasetransform.h:
12554         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
12555         Fix docs for GstBaseSrc.
12556
12557 2006-03-07  Wim Taymans  <wim@fluendo.com>
12558
12559         * docs/gst/gstreamer-sections.txt:
12560         * gst/gstbuffer.h:
12561         * gst/gstvalue.c:
12562         * libs/gst/base/gstbasetransform.h:
12563         Small documentation fixes.
12564
12565 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
12566
12567         * gst/gstvalue.c:
12568           Document thread-unsafety of gst_value_register_foo_func()
12569           when used at the same time as gst_value_foo() (#322628).
12570
12571 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
12572
12573         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
12574         (gst_push_src_check_get_range):
12575           Push sources don't support pull mode by default.
12576
12577 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
12578
12579         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12580         (gst_base_src_init), (gst_base_src_pad_check_get_range),
12581         (gst_base_src_default_check_get_range):
12582         * libs/gst/base/gstbasesrc.h:
12583           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
12584           provide default implementation, and rename
12585           gst_base_src_check_get_range() to
12586           gst_base_src_pad_check_get_range() for clarity.
12587
12588 2006-03-06  Wim Taymans  <wim@fluendo.com>
12589
12590         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12591         Make property overridable.
12592
12593 2006-03-06  Wim Taymans  <wim@fluendo.com>
12594
12595         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12596         (gst_base_sink_init), (gst_base_sink_set_property),
12597         (gst_base_sink_get_property), (gst_base_sink_do_sync):
12598         * libs/gst/base/gstbasesink.h:
12599         API addition: Make max-lateness a property.
12600
12601 2006-03-06  Wim Taymans  <wim@fluendo.com>
12602
12603         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
12604         (gst_base_sink_do_sync), (gst_base_sink_render_object):
12605         Don't ever draw a frame that is >10ms late.
12606
12607 2006-03-06  Michael Smith  <msmith@fluendo.com>
12608
12609         * gst/gstmessage.c: (_gst_message_copy):
12610           When copying a message, set the parent_refcount of the enclosed
12611           structure to point at the copy, not the original message.
12612
12613 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
12614
12615         Patch by: Christophe Fergeau
12616
12617         * gst/gstutils.h:
12618           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
12619           usable in c++ code (#333417)
12620
12621 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12622
12623         * gst/gstclock.h:
12624           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
12625
12626 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
12627
12628         * libs/gst/base/gstbasetransform.c:
12629         (gst_base_transform_transform_caps):
12630           Make sure caps are writable before passing them to
12631           gst_caps_append().
12632
12633 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
12634
12635         * gst/gsterror.h:
12636           Fix some minor docs errors.
12637
12638 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
12639
12640           Patch by: Ross Burton <ross at burtonini dot com>
12641
12642         * gst/gsterror.c: (_gst_resource_errors_init):
12643         * gst/gsterror.h:
12644           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
12645
12646 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
12647
12648         * gst/gst.c:
12649         Add a check and output a g_warning when GStreamer is built
12650         against GLib 2.6 but running against 2.8 or higher, and vice 
12651         versa. (Closes: #323542)
12652
12653 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
12654
12655         * gst/parse/parse.l:
12656           Commit patch for parse_launch syntax from #331255. Removes 
12657           support for quoted strings and mimetypes when writing filtered 
12658           caps. See the bug report for more details - I'm pretty sure this
12659           obscure feature is not in use by _anyone_ anywhere.
12660
12661           With this simple change, the size of the gstreamer.so here 
12662           drops from 2193KB to 1565KB.
12663
12664 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
12665
12666         * plugins/elements/gsttypefindelement.h:
12667         * plugins/elements/gsttypefindelement.c:
12668         (gst_type_find_element_src_event), (start_typefinding),
12669         (stop_typefinding), (gst_type_find_element_handle_event),
12670         (gst_type_find_element_chain),
12671         (gst_type_find_element_chain_do_typefinding):
12672           Use gst_type_find_helper_for_buffer() for chain-based
12673           typefinding.
12674
12675 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
12676
12677         * plugins/elements/gsttypefindelement.c:
12678         (gst_type_find_element_class_init),
12679         (gst_type_find_element_set_property),
12680         (gst_type_find_element_get_property):
12681           Deprecate "maximum" property (not only was it only taken into
12682           account for typefinding in push-mode anyway, it also was never
12683           actually possible to set it in the first place because the
12684           property was registered with the numeric property ID for the
12685           "minimum" property). Register "maximum" property correctly,
12686           for the sake of future copy'n'pasters. Remove some cruft
12687           from property get/set functions.
12688
12689 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
12690
12691         * plugins/elements/gsttypefindelement.c:
12692         (gst_type_find_element_activate):
12693           Use gst_type_find_helper_get_range() here, so we
12694           can honour the "minimum" property and also emit
12695           the signal with the correct probability of the found caps.
12696
12697 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
12698
12699         * docs/libs/gstreamer-libs-sections.txt:
12700         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
12701         (helper_find_suggest), (gst_type_find_helper_get_range),
12702         (gst_type_find_helper):
12703         * libs/gst/base/gsttypefindhelper.h:
12704           New API: gst_type_find_helper_get_range() (#333042).
12705
12706 2006-03-02  Michael Smith  <msmith@fluendo.com>
12707
12708         * gst/gstregistryxml.c: (load_feature):
12709           Asserting on a failure to read part of the registry is Not Cool.
12710           Just log a warning and return NULL (which is already handled)
12711
12712 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
12713
12714         * win32/common/libgstbase.def:
12715           added export of gst_type_find_helper_for_buffer
12716         * win32/common/libgstbase.def:
12717           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
12718           gst_ghost_pad_get_target
12719
12720 2006-02-28  Wim Taymans  <wim@fluendo.com>
12721
12722         * docs/design/draft-klass.txt:
12723         We use Filter now.
12724         Added Connector to mark elements that are only used to
12725         allow pipeline connections.
12726         Moved Debug to extra feature since most of them are 
12727         functionally something else.
12728
12729 2006-02-28  Wim Taymans  <wim@fluendo.com>
12730
12731         * docs/design/draft-klass.txt:
12732         Some updates and clarifications.
12733
12734 2006-02-28  Wim Taymans  <wim@fluendo.com>
12735
12736         * docs/design/draft-klass.txt:
12737         Proposal for klass field values.
12738
12739         * docs/design/part-streams.txt:
12740         Start of a doc describing stream anatomy.
12741
12742 2006-02-28  Wim Taymans  <wim@fluendo.com>
12743
12744         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
12745         Help the compiler a bit with type registration.
12746         Use existing forward cod path instead of duplicating it when 
12747         handling a message.
12748         
12749         * gst/gstbus.c: (gst_bus_get_type):
12750         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
12751         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
12752         * gst/gstclock.c: (gst_clock_get_type):
12753         * gst/gstelement.c: (gst_element_get_type),
12754         * gst/gstelementfactory.c: (gst_element_factory_get_type):
12755         * gst/gstindexfactory.c: (gst_index_factory_get_type):
12756         * gst/gstminiobject.c: (gst_mini_object_get_type):
12757         * gst/gstpad.c: (gst_pad_get_type):
12758         * gst/gstsegment.c: (gst_segment_get_type):
12759         * gst/gststructure.c: (gst_structure_get_type):
12760         * gst/gstsystemclock.c: (gst_system_clock_get_type):
12761         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
12762         * gst/gstvalue.c:
12763         Help compiler with type registration.
12764
12765         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
12766         Small doc update.
12767
12768 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12769
12770         * plugins/elements/gsttypefindelement.c:
12771         (gst_type_find_element_handle_event):
12772           When we get an EOS event and have not found a type yet
12773           (most likely because we had not yet accumulated
12774           TYPE_FIND_MIN_SIZE of data yet), try to determine the
12775           type given the data we have so far. Fixes typefinding
12776           for very short streams again, most notably quicktime
12777           redirections as used on Apple's trailer site (#331701).
12778
12779 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12780
12781         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
12782         (gst_type_find_helper):
12783           Try typefinding factories with the highest rank first.
12784
12785 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12786
12787         * docs/libs/gstreamer-libs-docs.sgml:
12788         * docs/libs/gstreamer-libs-sections.txt:
12789         * libs/gst/base/gsttypefindhelper.c:
12790           Add section for typefind helper and add documentation
12791           for the old and the new function.
12792
12793 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12794
12795         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
12796         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
12797         (gst_type_find_helper_for_buffer):
12798         * libs/gst/base/gsttypefindhelper.h:
12799           New API: gst_type_find_helper_for_buffer() (#332723).
12800           
12801 2006-02-27  Michael Smith  <msmith@fluendo.com>
12802
12803         Patch by: Loïc Minier
12804
12805         * configure.ac:
12806         * docs/Makefile.am:
12807         * docs/slides/Makefile.am:
12808           prevent CVS directories getting disted.
12809
12810 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12811
12812         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
12813           Use the REFCOUNTING category for caps refcounting.
12814           
12815 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
12816
12817         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12818           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
12819
12820 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
12821
12822         * plugins/elements/gsttypefindelement.c:
12823         (gst_type_find_element_activate):
12824           Use gst_pad_check_pull_range() before _activate_pull()
12825           to avoid unnecessary open/close (see #331690).
12826
12827 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
12828
12829         * gst/gstutils.c:
12830           Docs enhancement: make it crystal clear what the
12831           gst_pad_add_*_probe() callbacks should look like.
12832
12833 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
12834
12835         * libs/gst/base/gstbasesrc.c:
12836           Document how applications can stop recording from
12837           live sources (see #330996).
12838
12839 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12840
12841         * tests/check/Makefile.am:
12842         * tests/check/libs/basesrc.c: (eos_event_counter),
12843         (basesrc_eos_events_pull), (basesrc_eos_events_push),
12844         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
12845         (gst_basesrc_suite), (main):
12846           ... and add some tests for the base source EOS stuff.
12847
12848 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12849
12850         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
12851           Test case originally showed the problem fixed below,
12852           but was then amended. Add checks back at the place
12853           where they used to be.
12854
12855 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12856
12857         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12858         (gst_base_src_init), (gst_base_src_loop),
12859         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12860         (gst_base_src_change_state):
12861         * libs/gst/base/gstbasesrc.h:
12862           Don't unconditionally send EOS when going from PAUSED to
12863           READY state, esp. make sure we don't send two EOS events
12864           in some cases (e.g. one when reaching EOS and one when
12865           going from PAUSED to READY). Also, we don't want to send
12866           EOS events when operating in pull mode. However, we do
12867           want to send an EOS event when shutting down a live
12868           source explicitly, for example (fixes #330996).
12869           
12870 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12871
12872         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12873           Update src->read_position after a seek when not using mmap.
12874           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
12875
12876 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
12877
12878         * gst/Makefile.am:
12879         * gst/gstparse.h:
12880         * gst/gstutils.c:
12881         * gst/gstutils.h:
12882         Make things work with --disable-parse as they do with 
12883         --disable-load-save - the symbols involved disappear, but the
12884         header is still installed and GST_DISABLE_PARSE is included via
12885         gstconfig.h
12886
12887 2006-02-20  Julien MOUTTE  <julien@moutte.net>
12888
12889         * libs/gst/base/gstbasetransform.c:
12890         (gst_base_transform_change_state): Fix a stupid bug. I was 
12891         sure I compiled that.
12892
12893 2006-02-20  Julien MOUTTE  <julien@moutte.net>
12894
12895         * gst/gstpad.c: (gst_pad_set_blocked_async):
12896         * gst/gstutils.c: (gst_pad_add_data_probe),
12897         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12898         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12899         (gst_pad_remove_buffer_probe): Make those function act on the
12900         ghostpad target when it's a ghostpad. (Closes #331727)
12901
12902 2006-02-20  Julien MOUTTE  <julien@moutte.net>
12903
12904         * libs/gst/base/gstbasetransform.c:
12905         (gst_base_transform_change_state): Make basetransform reusable.
12906         (Closes #331898)
12907
12908 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
12909
12910         * docs/random/release:
12911         Move the current documentation of how to do a release to the top
12912         of the file.
12913
12914         * gst/gstbin.c: (gst_bin_class_init),
12915         (gst_bin_handle_message_func):
12916         Allow multiple state-recalculation threads. (Closes #328873)
12917
12918 2006-02-19  Julien MOUTTE  <julien@moutte.net>
12919
12920         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
12921         * gst/gstpad.c: (gst_pad_set_event_function),
12922         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12923         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
12924         2 strings. You can't use the STR_NULL macro on that.
12925
12926 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
12927
12928         * gst/gstpad.c: (gst_pad_set_event_function),
12929         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12930         (gst_pad_set_getcaps_function)
12931         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
12932           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
12933           So now, we can use --gst-debug-level=5 on Windows
12934         * win32/common/libgstcontroller.def:
12935           Added export of gst_controller_init
12936         * win32/vs6/libgstcontroller.dsp:
12937           Fixed Release post build configuration
12938
12939 2006-02-17  Wim Taymans  <wim@fluendo.com>
12940
12941         * tests/check/gst/gstquery.c: (GST_START_TEST):
12942         Added another check.
12943
12944 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
12945
12946         * plugins/elements/gsttypefindelement.c: (find_peek):
12947           We can do peeks at non-zero offsets, as long as they
12948           fall within the buffer we have.
12949
12950 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
12951
12952         * tests/check/Makefile.am:
12953         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
12954         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
12955         (parse_suite), (main):
12956           Add testsuite for parse launch syntax
12957
12958 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
12959
12960         * plugins/elements/gsttypefindelement.c:
12961         (gst_type_find_element_chain):
12962           When typefinding is unsuccessful in the chain function, don't
12963           error out immediately. Only error out with NO_CAPS_FOUND if
12964           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
12965           otherwise simply wait for more data so we can try typefinding
12966           again with more data later. Also, don't attempt to typefind
12967           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
12968           this should improve typefinding from network sources where the
12969           size of the first buffer can be somewhat random.
12970
12971 2006-02-14  Wim Taymans  <wim@fluendo.com>
12972
12973         * docs/gst/gstreamer-sections.txt:
12974         * gst/gstpadtemplate.c:
12975         * gst/gstpadtemplate.h:
12976         Fix padtemplate docs, fixes #328805.
12977
12978 2006-02-14  Wim Taymans  <wim@fluendo.com>
12979
12980         * tools/gst-launch.c: (main):
12981         NO_PREROLL is not an ERROR so don't send confusing messages
12982         to the user.
12983
12984 2006-02-14  Wim Taymans  <wim@fluendo.com>
12985
12986         Patch by: Torsten Schoenfeld
12987
12988         * gst/gstregistry.c: (gst_registry_get_default),
12989         (_gst_registry_cleanup):
12990         Protect default registry with lock and ref/sink it.
12991         Fixes #324818
12992
12993 2006-02-14  Wim Taymans  <wim@fluendo.com>
12994
12995         * gst/gstbuffer.c:
12996         * gst/gstquery.c: (gst_query_list_add_format),
12997         (gst_query_set_formatsv), (gst_query_parse_formats_length),
12998         (gst_query_parse_formats_nth):
12999         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13000         Docs fixes.
13001
13002 2006-02-14  Wim Taymans  <wim@fluendo.com>
13003
13004         * docs/gst/gstreamer-sections.txt:
13005         Reworked query docs.
13006
13007         * gst/gstquery.c: (gst_query_new_formats),
13008         (gst_query_list_add_format), (gst_query_set_formats),
13009         (gst_query_set_formatsv), (gst_query_parse_formats_length),
13010         (gst_query_parse_formats_nth):
13011         * gst/gstquery.h:
13012         Flesh out formats query, added some new methods.
13013         Fix part of #324398.
13014
13015         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
13016         Added query creation tests.
13017
13018 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
13019
13020         * gst/gstpad.c: (fixate_value):
13021         Add a default fixation for fraction lists.
13022
13023 2006-02-13  Wim Taymans  <wim@fluendo.com>
13024
13025         * gst/gsttask.c: (gst_task_init), (gst_task_func),
13026         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
13027         (gst_task_join):
13028         * gst/gsttask.h:
13029         Detect and warn for obvious deadlocks. fixes #320340
13030         Fix error case where lock was not released.
13031
13032         * tests/check/Makefile.am:
13033         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
13034         (task_func), (gst_element_suite), (main):
13035         Add task check.
13036
13037 2006-02-13  Wim Taymans  <wim@fluendo.com>
13038
13039         * docs/gst/gstreamer-sections.txt:
13040         * gst/gstbus.c:
13041         Add new functions to docs.
13042
13043 2006-02-13  Wim Taymans  <wim@fluendo.com>
13044
13045         * docs/design/part-TODO.txt:
13046         Updated TODO list, basesrc supports seeking to non-bytes
13047         formats.
13048
13049         * docs/design/part-element-sink.txt:
13050         Update docs.
13051
13052         * gst/gstbin.c: (bin_replace_message),
13053         (gst_bin_handle_message_func):
13054         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
13055         * gst/gstevent.c: (gst_event_finalize):
13056         * gst/gstpad.c: (gst_pad_event_default_dispatch),
13057         (gst_pad_send_event):
13058         Use shiny new _TYPE_NAME macros.
13059
13060         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13061         Move debug statement up.
13062
13063         * gst/gstelement.c: (gst_element_set_locked_state):
13064         Add some debugging.
13065
13066 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
13067
13068         * docs/gst/gstreamer-sections.txt:
13069         * gst/gstmessage.h:
13070         * gst/gstquery.h:
13071           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
13072           macros (#330906). Also, document the already existing
13073           GST_QUERY_TYPE macro.
13074
13075 2006-02-13  Wim Taymans  <wim@fluendo.com>
13076
13077         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
13078         (event_probe), (GST_START_TEST):
13079         Only events up to the pipeline EOS are counted, there are
13080         some more when going to NULL currently which we don't care
13081         about for now.
13082
13083 2006-02-13  Wim Taymans  <wim@fluendo.com>
13084
13085         * gst/gstpad.c: (gst_pad_send_event):
13086         Correctly check flushing and emit probes. fixes #330125
13087
13088 2006-02-10  Andy Wingo  <wingo@pobox.com>
13089
13090         * gst/gstbus.c (gst_bus_class_init): Declare our private data
13091         structure.
13092         (gst_bus_init): Cache the location of the private data in the
13093         instance structure.
13094         (gst_bus_enable_sync_message_emission) 
13095         (gst_bus_disable_sync_message_emission): Implement new public
13096         functions.
13097         (gst_bus_post): Emit the sync-message signal if the user asked for
13098         it. Fixes #330684.
13099
13100         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
13101         location of the bus-private structure.
13102         (gst_bus_enable_sync_message_emission)
13103         (gst_bus_disable_sync_message_emission): API addition
13104
13105 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
13106
13107         Patch by: Vincent Torri
13108
13109         * docs/pwg/building-boiler.xml:
13110         PWG patch from #326800
13111
13112 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
13113
13114         * configure.ac:
13115         * docs/Makefile.am:
13116         * docs/design/Makefile.am:
13117           Dist design docs.
13118
13119 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
13120
13121         * configure.ac:
13122           back to CVS
13123
13124 === release 0.10.3 ===
13125
13126 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
13127
13128         * configure.ac:
13129           releasing 0.10.3, "Like a virgin"
13130
13131 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
13132
13133         * configure.ac:
13134           2nd prerelease of 0.10.3
13135           Bump libtool versioning.
13136
13137 2006-02-07  Andy Wingo  <wingo@pobox.com>
13138
13139         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
13140         update last_stop if we're in TIME format and the timestamp is
13141         valid.
13142
13143         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
13144         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
13145         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
13146         If we get a new newsegment with a different format, adapt
13147         accordingly.
13148
13149         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
13150         of 0. Not a problem, really.
13151
13152         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
13153         warn if sync=true.
13154
13155 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
13156
13157         * configure.ac:
13158           Prelease of 0.10.3
13159
13160 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
13161
13162         * win32/vs7:
13163           project files updated to the default vs7 configuration
13164         * win32/common/libgstbase.def:
13165         * win32/common/libgstreamer.def:
13166           added new symbols,
13167           removed empty lines,
13168           sorted all exported symbols alphabetically
13169         * win32/common/dirent.c:
13170         * win32/common/dirent.h:
13171         * win32/common/gchar.h:
13172           use windows line end.
13173           
13174 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
13175
13176         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13177           Send EOS event when stopping.
13178
13179 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
13180
13181         * docs/README:
13182           Tell folks what to do if the plugin-foobar.xml file
13183           hasn't been generated for a newly-added plugin.
13184
13185 2006-02-05  Julien MOUTTE  <julien@moutte.net>
13186
13187         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13188         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13189         (gst_collect_pads_start), (gst_collect_pads_stop),
13190         (gst_collect_pads_event): Collectpads now holds a reference
13191         to the GstPad that was added. Indeed we don't want to look
13192         at pads that might just go away with no warning...
13193
13194 2006-02-05  Julien MOUTTE  <julien@moutte.net>
13195
13196         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13197         (gst_collect_pads_start), (gst_collect_pads_stop),
13198         (gst_collect_pads_event), (gst_collect_pads_chain):
13199         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
13200         Mark Nauwelaerts's patch on bug #328491.
13201
13202 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
13203
13204         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
13205         (gst_utils_suite):
13206           Add some simple tests for gst_parse_bin_from_description() and
13207           gst_bin_find_unconnected_pad() (#329069).
13208
13209 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
13210
13211         * tools/gst-launch.c: (event_loop), (main):
13212           Catch errors during preroll (#320084).
13213
13214 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
13215
13216         * plugins/elements/gsttypefindelement.c:
13217         (gst_type_find_element_activate):
13218           Post TYPE_NOT_FOUND error message when typefinding
13219           is unsuccessful in the activate function as well.
13220
13221 2006-02-02  Wim Taymans  <wim@fluendo.com>
13222
13223         * docs/design/part-element-sink.txt:
13224         Updated doc.
13225
13226 2006-02-02  Wim Taymans  <wim@fluendo.com>
13227
13228         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13229         (gst_base_sink_render_object),
13230         (gst_base_sink_queue_object_unlocked):
13231         Only keep track of prerollable items when we are 
13232         prerolling.
13233         Before rendering after preroll, always check if we
13234         have queued items.
13235         Added some more debugging.
13236
13237 2006-02-02  Wim Taymans  <wim@fluendo.com>
13238
13239         * gst/gstelement.c: (gst_element_continue_state),
13240         (gst_element_set_state_func), (gst_element_change_state):
13241         Fixed #326576, been running this for quite some time with
13242         no regressions at all.
13243
13244 2006-02-02  Wim Taymans  <wim@fluendo.com>
13245
13246         * common/gst.supp:
13247         Added more suppressions
13248
13249 2006-02-02  Wim Taymans  <wim@fluendo.com>
13250
13251         * docs/design/part-element-sink.txt:
13252         Updated document.
13253
13254         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13255         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
13256         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
13257         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13258         (gst_base_sink_do_sync), (gst_base_sink_render_object),
13259         (gst_base_sink_preroll_object),
13260         (gst_base_sink_queue_object_unlocked),
13261         (gst_base_sink_queue_object), (gst_base_sink_event),
13262         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
13263         (gst_base_sink_loop), (gst_base_sink_activate_pull),
13264         (gst_base_sink_get_position), (gst_base_sink_change_state):
13265         * libs/gst/base/gstbasesink.h:
13266         Totally refactored matching the design doc.
13267         Use two segments, one to clip incomming buffers and another to
13268         perform sync.
13269         Handle queueing correctly, bypass the queue when playing.
13270         Make EOS cancelable.
13271         Handle errors correctly when operating in pull based mode.
13272
13273         * tests/check/elements/fakesink.c: (GST_START_TEST),
13274         (fakesink_suite):
13275         Added new check for sinks.
13276
13277 2006-02-02  Wim Taymans  <wim@fluendo.com>
13278
13279         * gst/gstsegment.c: (gst_segment_clip):
13280         No reason to refuse to clip when start == -1
13281
13282 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
13283
13284         * docs/README:
13285         * docs/manual/intro-basics.xml:
13286         * docs/manual/intro-preface.xml:
13287         * docs/manual/manual.xml:
13288         * docs/pwg/advanced-dparams.xml:
13289         * docs/pwg/intro-basics.xml:
13290         * docs/pwg/intro-preface.xml:
13291         * docs/pwg/pwg.xml:
13292           describe dparams (controller) for plugins
13293           unify docs a little more
13294
13295 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
13296
13297         * docs/gst/gstreamer-sections.txt:
13298         * gst/gstutils.c: (element_find_unconnected_pad),
13299         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
13300         * gst/gstutils.h:
13301           Add new API: gst_parse_bin_from_description() and
13302           gst_bin_find_unconnected_pad() (#329069).
13303
13304 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
13305
13306         * docs/manual/README:
13307           uncover a nasty detail of the docs build
13308
13309 2006-01-31  Wim Taymans  <wim@fluendo.com>
13310
13311         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
13312         Don't cache duration messages if we're not going to use or
13313         free them.
13314
13315 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
13316
13317         * docs/manual/advanced-dparams.xml:
13318         * docs/pwg/advanced-dparams.xml:
13319           more dparam docs
13320         * gst/gstindex.c:
13321           fix docs
13322         * libs/gst/controller/lib.c: (gst_controller_init):
13323           init just once
13324
13325 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13326
13327         * gst/gstelement.c: (gst_element_message_full):
13328           also show file/line/func if no additional debug was given
13329
13330 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
13331         
13332         * win32/vs7/grammar.vcproj:
13333           activate copy of autogenerated files for Release mode
13334
13335 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
13336         
13337         * win32/common/libgstreamer.def:
13338           export gst_value_compare
13339
13340 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
13341
13342         * plugins/elements/Makefile.am:
13343         * plugins/elements/gstelements.c:
13344         * plugins/elements/gstfdsink.c: (_do_init),
13345         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
13346         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
13347         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
13348         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
13349         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
13350         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
13351         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
13352         * plugins/elements/gstfdsink.h:
13353         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
13354
13355 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
13356
13357         * docs/manual/advanced-dparams.xml:
13358           describe controller
13359         * docs/manual/advanced-position.xml:
13360         * docs/manual/basics-init.xml:
13361         * docs/manual/manual.xml:
13362         * docs/manual/titlepage.xml:
13363         * docs/pwg/pwg.xml:
13364         * docs/pwg/titlepage.xml:
13365           cleanup xml (more to come)
13366         * libs/gst/controller/gstcontroller.c:
13367           fix typo
13368
13369 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
13370         
13371         * win32/vs6/grammar.dsp:
13372           add autogen of gstmarshal.c,h for Release mode
13373                 
13374 2006-01-30  Wim Taymans  <wim@fluendo.com>
13375
13376         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13377         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
13378         (gst_base_sink_handle_object), (gst_base_sink_event),
13379         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
13380         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13381         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
13382         (gst_base_sink_deactivate), (gst_base_sink_activate),
13383         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13384         (gst_base_sink_query), (gst_base_sink_change_state):
13385         Basesink cleanups, remove some old code.
13386         Handle the case where a subclass can preroll in the render
13387         method (mostly audiosinks).
13388         Handle more events.
13389         Remove some locks around variables that are now protected
13390         with the PREROLL_LOCK (clock_id, flushing, ..).
13391         Optimize position query some more, do correct locking.
13392         Remove old code to push queue in state change, this is not
13393         needed anymore since preroll blocks on all prerollable items 
13394         now.
13395         Almost implemented as described in design doc.
13396
13397 2006-01-30  Wim Taymans  <wim@fluendo.com>
13398
13399         * tests/check/gst/gstbin.c: (GST_START_TEST):
13400         Wait for refcount to settle down before checking.
13401
13402 2006-01-30  Wim Taymans  <wim@fluendo.com>
13403
13404         * docs/design/part-element-sink.txt:
13405         Pseudo code overview of desired sink behaviour regarding
13406         preroll.
13407
13408 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
13409         * win32/vs6/grammar.dsp:
13410           fix some bugs in Release mode for autogenerated files
13411                 
13412 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
13413         * win32/common/libgstbase.def:
13414         * win32/common/libgstreamer.def:
13415           export some new symbols: gst_base_src_set_format,
13416           gst_iterator_next, gst_structure_set_valist
13417
13418 2006-01-29  Julien MOUTTE  <julien@moutte.net>
13419
13420         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13421         Set pad functions unconditionally. Fixes #329105.
13422
13423 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
13424         * win32/vs8:
13425           add vs8 project files created by Sergey Scobich
13426
13427 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
13428
13429         * gst/gstutils.c: (gst_element_unlink_pads):
13430         Don't leak pad references.
13431
13432         * tests/check/elements/fakesink.c: (GST_START_TEST):
13433         * tests/check/generic/sinks.c: (GST_START_TEST):
13434         * tests/check/generic/states.c: (GST_START_TEST):
13435         * tests/check/gst/gstbin.c: (GST_START_TEST):
13436         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13437         * tests/check/gst/gstelement.c: (GST_START_TEST):
13438         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13439         * tests/check/gst/gstiterator.c: (GST_START_TEST):
13440         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13441         Fix a bunch of leaks. Make generic/sinks.c
13442         use a bit less cpu by slowing the buffer rate
13443         between fakesrc and fakesink.
13444         
13445 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
13446         * gst/gstcaps.c:
13447         * gst/gstelement.c: (gst_element_send_event):
13448         * gst/gstevent.c:
13449         * gst/gstinfo.c:
13450         * gst/gstiterator.c:
13451         * gst/gstiterator.h:
13452         * gst/gstpad.c: (gst_pad_send_event):
13453         * gst/gststructure.c:
13454         * gst/gsturi.c:
13455         * gst/gstutils.c:
13456         * gst/gstvalue.c:
13457         * libs/gst/base/gstadapter.c:
13458           doc fixes, to link to function, just write gst_cool_function(), don't
13459           prefix with '#'
13460
13461 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
13462
13463         * plugins/elements/gsttee.c: (gst_tee_do_push),
13464         (gst_tee_handle_buffer):
13465         Always prefer an actual return value from a src
13466         pad in place of NOT_LINKED. This means we return
13467         WRONG_STATE when all src pads are WRONG_STATE
13468         instead of NOT_LINKED.
13469
13470         Lock when replacing the last message to prevent
13471         racing with the get_property method.
13472
13473         Add debug output
13474
13475 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
13476
13477         * tests/check/Makefile.am:
13478         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
13479         (main):
13480         Add a very simple check that should have caught the memleak I fixed
13481         last night (if not for the slice allocator hiding it)
13482
13483 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
13484
13485         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13486         (gst_bin_remove_func), (gst_bin_handle_message_func),
13487         (bin_query_duration_fold), (bin_query_generic_fold):
13488         Clean up references to the clock provider when disposed or when
13489         handling a clock-lost message from it.
13490
13491         Unref sinks when performing a query via gst_iterator_fold, as the
13492         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
13493
13494         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
13495         (gst_clock_set_master):
13496         Drop our reference to the master clock, if any, when we are disposed.
13497
13498         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
13499         Chain up in dispose. 
13500
13501 2006-01-26  Wim Taymans  <wim@fluendo.com>
13502
13503         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13504         Add some debugging.
13505
13506 2006-01-26  Julien MOUTTE  <julien@moutte.net>
13507
13508         * plugins/elements/gsttee.c: (gst_tee_do_push),
13509         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
13510         handles pad being NOT_LINKED or in WRONG_STATE.
13511
13512 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
13513
13514         * win32/MANIFEST:
13515           more updating
13516
13517 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
13518
13519         * win32/MANIFEST:
13520           remove obsolete entry
13521
13522 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
13523
13524         * docs/gst/gstreamer-sections.txt:
13525         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
13526         (gst_bin_iterate_sources), (gst_bin_send_event):
13527         * gst/gstbin.h:
13528         * gst/gstelement.c: (gst_element_send_event):
13529         * gst/gstevent.c:
13530         * gst/gstpad.c: (gst_pad_send_event):
13531           added code for downstream events, reviewed docs in gstevent.c
13532
13533 2006-01-25  Julien MOUTTE  <julien@moutte.net>
13534
13535         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13536         We only query position using the clock in the playing state.
13537         Query peer in the other cases.
13538         * win32/common/config.h: Updates.
13539
13540 2006-01-24  Wim Taymans  <wim@fluendo.com>
13541
13542         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13543         A clock entry that is scheduled for the exact time of the
13544         clock is still in time.
13545
13546         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13547         (gst_base_sink_do_sync):
13548         Add some more debug info.
13549
13550 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
13551
13552         * win32/vs7:
13553           Add new vs7 project files and solution.
13554
13555 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
13556
13557         * win32/vs7:
13558           all files removed as they were out-dated.
13559
13560 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13561
13562         * docs/random/release:
13563           update notes
13564         * gst/gstbin.c: (gst_bin_init):
13565         * gst/gstbus.c: (gst_bus_new):
13566         * gst/gstbus.h:
13567         * gst/gstpipeline.c: (gst_pipeline_init):
13568           use gst_bus_new(), improve logging, fix docs
13569         * win32/common/config.h:
13570           update for cvs build
13571
13572 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13573
13574         * autogen.sh:
13575           up required version of automake to 1.7
13576
13577 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
13578
13579         * win32/common/libgstreamer.def:
13580           export gst_buffer_is_metadata_writable
13581
13582 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
13583
13584         * docs/gst/gstreamer-sections.txt:
13585         * gst/gstevent.h:
13586           Add gst_event_replace() (#327001)
13587
13588 2006-01-20  Wim Taymans  <wim@fluendo.com>
13589
13590         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
13591         Make it actually compile too..
13592
13593 2006-01-20  Wim Taymans  <wim@fluendo.com>
13594
13595         * gst/gstcaps.c:
13596         Clarify behaviour of _is_equal() when passing NULL parameters.
13597
13598         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13599         (gst_pad_set_caps):
13600         Cleanups. Don't unref NULL caps.
13601         When setting the same caps, protect caps of the pad with
13602         proper lock.
13603         Use full functionality of _is_equal() when comparing caps.
13604
13605 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
13606
13607         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13608         Don't loop infinitely if there are no buffers to present. Partially
13609         fixes #327197, but collectpads is just broken for reusing elements
13610         to do multiple encodes atm.
13611
13612 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
13613
13614         * tools/gst-inspect.c: (print_element_features):
13615         * tools/gst-xmlinspect.c: (main):
13616         URL_HANDLER is not a plugin feature we can search for in
13617         the registry.
13618
13619 2006-01-19  Edward Hervey  <edward@fluendo.com>
13620
13621         * gst/gstelement.c: (gst_element_pads_activate): 
13622         When activating, do src pads first, then sink pads.
13623         When de-activating, do sink pads first, then src pads.
13624
13625 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13626
13627         * docs/gst/gstreamer-sections.txt:
13628         Add gst_index_add_associationv to the docs
13629
13630 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13631
13632         * gst/gstevent.c:
13633           Fix docs typo
13634
13635         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
13636         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
13637           Do some refactoring. Doesn't actually change functionality,
13638           but makes landing the DRAIN event easier later.
13639
13640 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
13641
13642         * docs/pwg/advanced-scheduling.xml:
13643           Update from 0.9.x to 0.10 API and make example a bit
13644           clearer.
13645
13646 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13647
13648         * docs/gst/gstreamer-sections.txt:
13649         Add gst_buffer_(is|make)_metadata_writable methods.
13650
13651 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13652
13653         * docs/design/part-sparsestreams.txt:
13654         Update sparse streams doc, hopefully for greater clarity
13655
13656 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
13657
13658         * docs/design/part-events.txt:
13659         Remove mention of FILLER events.
13660         Add DRAIN event.
13661
13662         * docs/design/part-sparsestreams.txt:
13663         Write some things about using NEWSEGMENT to keep sparse streams
13664         flowing.
13665
13666 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
13667
13668         * gst/gstbin.c: (gst_bin_dispose):
13669           Guard gst_object_unref call against a NULL object (dispose
13670           can theoretically be called multiple times).
13671           
13672 2006-01-18  Wim Taymans  <wim@fluendo.com>
13673
13674         * gst/gstbin.c: (gst_bin_element_set_state):
13675         * gst/gstclock.c: (gst_clock_id_wait):
13676         Added some more debug info.
13677
13678         * libs/gst/base/gstadapter.c:
13679         Added more docs.
13680
13681         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13682         (gst_base_sink_do_sync), (gst_base_sink_chain):
13683         Added some comments.
13684
13685 2006-01-18  Wim Taymans  <wim@fluendo.com>
13686
13687         * tests/check/Makefile.am:
13688         * tests/check/elements/fakesink.c: (chain_async_buffer),
13689         (chain_async), (chain_async_return), (GST_START_TEST),
13690         (fakesink_suite), (main):
13691         Added fakesink test that checks prerolling and clipping
13692         behaviour.
13693
13694         * tests/check/gst/gstutils.c: (GST_START_TEST):
13695         Make check run faster so that buildbots don't timeout.
13696
13697 2006-01-18  Wim Taymans  <wim@fluendo.com>
13698
13699         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13700         (gst_base_sink_do_sync):
13701         Some cleanups.
13702         When the sink finishes blocking on the preroll buffer, it can
13703         immediatly render it instead of rendering when the next buffer
13704         arrives.
13705
13706 2006-01-18  Wim Taymans  <wim@fluendo.com>
13707
13708         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
13709         (gst_base_sink_get_property), (gst_base_sink_do_sync),
13710         (gst_base_sink_chain):
13711         Small cleanups.
13712         GST_ELEMENT_CLOCK and sync are protected with LOCK.
13713         Don't store _last_stop if the buffer is dropped.
13714
13715 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
13716
13717         * plugins/elements/gsttypefindelement.c:
13718         (gst_type_find_element_class_init):
13719           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
13720           object method handler that sets the caps on the pad and we want
13721           that to happen before we emit the signal (fixes e.g. feeding a
13722           plain text file to decodebin).
13723
13724 2006-01-18  Christian Schaller  <Christian@fluendo.com>
13725
13726         * gst/gstplugin.c: Add MPL and Proprietary as license options
13727
13728 2006-01-18  Andy Wingo  <wingo@pobox.com>
13729
13730         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
13731         symbol was exported before, it appears this was just an oversight.
13732         Fixes #168703.
13733         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
13734
13735         * gst/gstindex.c (gst_index_add_associationv): Changed int in
13736         prototype to gint. OK since this prototype was not in the header.
13737
13738 2006-01-17  Andy Wingo  <wingo@pobox.com>
13739
13740         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
13741         registry while we remove plugins.
13742
13743         * tools/gst-inspect.c (print_element_info): Don't unref the
13744         factory arg, that should be the responsibility of whatever code
13745         received the ref. Fixes a double-free when called from
13746         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
13747         (main): Unref the factory if we have one.
13748         (print_element_list): No change -- relies on the
13749         plugin_feature_list_free to free the list of features.
13750
13751 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
13752
13753         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13754         (gst_buffer_make_metadata_writable):
13755         * gst/gstbuffer.h:
13756         * libs/gst/base/gstbasetransform.c:
13757         (gst_base_transform_prepare_output_buf):
13758         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13759         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13760           Replace gst_buffer_(make|is)_metadata_writable patch now
13761           that the release is out.
13762
13763 2006-01-17  Andy Wingo  <wingo@pobox.com>
13764
13765         * gst/gstregistry.c: Reflow design comment. Update so as to speak
13766         in the present tense without reference to versions.
13767
13768         * gst/gstregistry.c (gst_registry_add_plugin)
13769         (gst_registry_remove_plugin, gst_registry_remove_feature)
13770         (gst_registry_find_feature, gst_registry_get_feature_list)
13771         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
13772         (gst_registry_lookup, gst_registry_scan_path)
13773         (_gst_registry_remove_cache_plugins)
13774         (gst_registry_get_feature_list_by_plugin): Add argument
13775         validation.
13776
13777 === release 0.10.2 ===
13778
13779 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
13780
13781         * configure.ac:
13782           releasing 0.10.2, "If man is five"
13783
13784 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
13785
13786         * gst/gstbuffer.c:
13787         * gst/gstbuffer.h:
13788         * libs/gst/base/gstbasetransform.c:
13789         (gst_base_transform_prepare_output_buf):
13790         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13791         * tests/check/gst/gstbuffer.c: (gst_test_suite):
13792           Back out patch until after the release.
13793
13794 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
13795
13796         * gst/gstminiobject.c:
13797           Spelling fix in docs.
13798         * ChangeLog - remove conflict indicator
13799
13800 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
13801
13802         Reviewed By: Andy Wingo
13803
13804         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13805         (gst_buffer_make_metadata_writable):
13806         * gst/gstbuffer.h:
13807           Add gst_buffer_(is|make)_metadata_writable as analogues of
13808           gst_buffer_(is|make)_writable.
13809
13810         * libs/gst/base/gstbasetransform.c:
13811         (gst_base_transform_prepare_output_buf):
13812         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13813           Use name gst_buffer_(is|make)_metadata_writable functions.
13814
13815         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13816           Test gst_buffer_(is|make)_metadata_writable
13817         
13818           (Closes: #324162)
13819
13820 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
13821
13822         * docs/manual/Makefile.am:
13823           don't do parallel make
13824         * configure.ac:
13825           AC_SUBST HOST_CPU
13826         * win32/common/config.h.in:
13827           add generations for HOST_CPU and GST_MAJORMINOR
13828         * win32/common/config.h:
13829           commit generated result
13830
13831 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
13832
13833         * docs/manual/appendix-integration.xml:
13834           Update GNOME integration section to use gst_init_get_option_group()
13835           instead of the old popt stuff (#322911). Also, GNOME applications
13836           should  now use gconf*sink and gconf*src instead of the old gconf
13837           helper lib we had.
13838
13839 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
13840
13841
13842         * docs/gst/gstreamer-docs.sgml:
13843         * docs/gst/gstreamer-sections.txt:
13844         * docs/libs/gstreamer-libs-sections.txt:
13845           add new API entries to the docs
13846         * libs/gst/controller/Makefile.am:
13847         * libs/gst/controller/gstcontroller.c:
13848         * libs/gst/controller/gstcontroller.h:
13849         * libs/gst/controller/gstcontrollerprivate.h:
13850         * libs/gst/controller/gsthelper.c:
13851         * libs/gst/controller/gstinterpolation.c:
13852           move private structs to private header
13853         * po/README:
13854           gstreamer-0.7 -> gstreamer-0.10
13855         * tests/check/libs/struct_i386.h:
13856           remove private structs
13857
13858 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13859
13860         * plugins/indexers/Makefile.am:
13861           Fixes as part of #317048
13862
13863 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13864
13865         * plugins/indexers/Makefile.am:
13866           fix #316086 - compilation when mmap is missing
13867
13868 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
13869
13870         * libs/gst/base/gstbasesink.c:
13871           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
13872           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
13873         * win32/common/config.h:
13874           added some defines GST_MAJORMINOR and HOST_CPU
13875         * win32/common/libgstbase.def:
13876         * win32/common/libgstreamer.def:
13877           added some exported functions.
13878
13879 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
13880
13881         * libs/gst/controller/gstcontroller.c:
13882         (gst_controlled_property_set_interpolation_mode),
13883         (gst_controlled_property_new):
13884         * libs/gst/controller/gstcontroller.h:
13885         * libs/gst/controller/gstinterpolation.c:
13886         (interpolate_none_get_string_value_array):
13887           make G_TYPE_STRING controlable
13888
13889 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
13890
13891         * tools/README:
13892         * tools/gst-feedback.1.in:
13893         * tools/gst-inspect.1.in:
13894         * tools/gst-launch.1.in:
13895         * tools/gst-md5sum.1.in:
13896         * tools/gst-typefind.1.in:
13897         * tools/gst-xmlinspect.1.in:
13898         * tools/gst-xmllaunch.1.in:
13899           cleanup man-pages, remove reference to gst-register, document env-vars
13900
13901 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
13902
13903         * gst/gstbuffer.c: (gst_buffer_span):
13904           gst_buffer_span should copy the timestamp of the first buffer
13905           if they were both originally overlapping subbuffers of the 
13906           same parent, using the same logic as the 'slow copy' case.
13907
13908 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
13909
13910         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
13911           Need to awaken ALL the pads when we pop a buffer, otherwise
13912           collectpads only works when there is 2 input streams.
13913
13914 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
13915
13916         * docs/random/ensonic/media-device-daemon.txt:
13917           more ideas (dbus)
13918         * gst/gstbuffer.c:
13919           fix doc example, add clarification
13920         * tools/gst-launch.1.in:
13921           add initial info about GST_PLUGIN_PATH, needs more work
13922
13923 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
13924
13925         * docs/manual/basics-bins.xml:
13926         * docs/manual/basics-elements.xml:
13927         * docs/manual/intro-basics.xml:
13928           Some more minor docs additions and updates.
13929
13930 2006-01-11  Wim Taymans  <wim@fluendo.com>
13931
13932         * docs/manual/basics-bins.xml:
13933         * docs/manual/basics-elements.xml:
13934         Some small fixes as pointed out by Ser-ver on IRC.
13935
13936 2006-01-10  Edward Hervey  <edward@fluendo.com>
13937
13938         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13939         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
13940         the single-segment mode.
13941
13942 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
13943
13944         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13945
13946         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
13947         (gst_base_src_perform_seek), (gst_base_src_send_event),
13948         (gst_base_src_set_property), (gst_base_src_get_property),
13949         (gst_base_src_loop), (gst_base_src_start),
13950         (gst_base_src_activate_push):
13951         * libs/gst/base/gstbasesrc.h:
13952           Name (private) union; makes Sun's Forte compiler happy (#324900).
13953
13954 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
13955
13956         * README:
13957           gst-register is gone.
13958
13959 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
13960
13961         * gst/gstvalue.c: (_gst_value_initialize):
13962           make the G_TYPE_DATE instantiation work if debug is disabled
13963
13964 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
13965
13966         * gst/gstmessage.c: (gst_message_parse_tag),
13967         (gst_message_parse_error), (gst_message_parse_warning):
13968           Don't crash when return location for error/warning debug
13969           string is NULL; add fact that return locations can be
13970           NULL to docs where appropriate.
13971
13972 2006-01-05  Wim Taymans  <wim@fluendo.com>
13973
13974         * gst/gstplugin.c: (gst_plugin_load_file):
13975         Replace strdup by g_strdup.
13976
13977 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13978
13979         * docs/pwg/advanced-types.xml:
13980           fix doc borkage
13981
13982 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13983
13984         submitted by: Abel Cheung
13985
13986         * po/LINGUAS:
13987         * po/zh_TW.po:
13988           Added Chinese (traditional) translation
13989
13990 2006-01-04  Wim Taymans  <wim@fluendo.com>
13991
13992         * docs/manual/basics-pads.xml:
13993         * docs/plugins/Makefile.am:
13994         * docs/plugins/gstreamer-plugins-docs.sgml:
13995         * docs/plugins/gstreamer-plugins-sections.txt:
13996         * docs/pwg/advanced-clock.xml:
13997         * docs/pwg/advanced-scheduling.xml:
13998         * docs/pwg/advanced-types.xml:
13999         * plugins/elements/gstfdsink.c:
14000         * plugins/elements/gstfdsrc.c:
14001         * plugins/elements/gstfdsrc.h:
14002         * plugins/elements/gstidentity.c: (gst_identity_class_init):
14003         * plugins/elements/gstidentity.h:
14004         * plugins/elements/gstqueue.h:
14005         * plugins/elements/gsttee.c:
14006         * plugins/elements/gsttee.h:
14007         * plugins/elements/gsttypefindelement.c:
14008         (gst_type_find_element_class_init):
14009         * plugins/elements/gsttypefindelement.h:
14010         Small updates to various docs.
14011         Added core plugins to docs.
14012
14013 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14014
14015         * common/gst.supp:
14016           add a suppression for liboil's uninitialized variable
14017
14018 2006-01-02  James Livingston  <jrl at ids dot org dot au>
14019
14020         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14021
14022         * gst/gstutils.h:
14023           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
14024           macro, so that gcc doesn't complain if the -Wmissing-prototypes
14025           compiler switch is being used (#325429).
14026
14027 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
14028
14029         * gst/gstbin.c: (gst_bin_query):
14030           Disable duration query caching in bins until it gets
14031           fixed (see #324807).
14032
14033 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
14034
14035         * tools/gst-inspect.c: (print_element_properties_info):
14036           Handle properties of POINTER and BOXED type.
14037
14038 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
14039
14040         * gst/gst.c: (init_post):
14041           Init tags stuff and some other things before loading
14042           any static plugins (there may be other static plugins
14043           than just the GStreamer ones, and they may want to
14044           register their own tags or formats or whatever, and
14045           preferably without segfaulting).
14046
14047         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
14048           Print at least a warning in the debug logs if we drop a
14049           query just because we don't know how to adjust the value
14050           in the particular format.
14051
14052 2005-12-24  David Schleef  <ds@schleef.org>
14053
14054         * tools/gstreamer-completion:
14055           Replacement for gst-complete written in sh and sed.  Only
14056           completes names of features, but that's 90% of what I want
14057           it for.  Properties are not available in registry.xml.  (Maybe
14058           they should be...)
14059
14060 === release 0.10.1 ===
14061
14062 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
14063
14064         * configure.ac:
14065           releasing 0.10.1, "Nollaig chridheil"
14066
14067 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
14068
14069         * docs/faq/cvs.xml:
14070           Add missing quote, should be make ERROR_CFLAGS="".
14071
14072 2005-12-20  Wim Taymans  <wim@fluendo.com>
14073
14074         * docs/design/part-trickmodes.txt:
14075         More documentation on trickmodes.
14076
14077 2005-12-20  Edward Hervey  <edward@fluendo.com>
14078
14079         * gst/gstcaps.c: (gst_static_caps_get_type):
14080         * gst/gstcaps.h:
14081           API addition: GST_TYPE_STATIC_CAPS
14082         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
14083         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
14084         * gst/gstpadtemplate.h:
14085           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
14086         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
14087         bindings.
14088
14089 2005-12-18  Wim Taymans  <wim@fluendo.com>
14090
14091         * libs/gst/base/gstadapter.c:
14092         * libs/gst/base/gstadapter.h:
14093         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14094         (gst_base_sink_get_position):
14095         * libs/gst/base/gstbasesink.h:
14096         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14097         (gst_base_src_default_query), (gst_base_src_default_do_seek),
14098         (gst_base_src_do_seek), (gst_base_src_perform_seek),
14099         (gst_base_src_send_event), (gst_base_src_update_length),
14100         (gst_base_src_get_range), (gst_base_src_loop),
14101         (gst_base_src_start):
14102         * libs/gst/base/gstbasesrc.h:
14103         * libs/gst/base/gstbasetransform.h:
14104         * libs/gst/base/gstcollectpads.h:
14105         * libs/gst/base/gstpushsrc.c:
14106         * libs/gst/base/gstpushsrc.h:
14107         * libs/gst/dataprotocol/dataprotocol.c:
14108         * libs/gst/dataprotocol/dataprotocol.h:
14109         * libs/gst/net/gstnetclientclock.h:
14110         * libs/gst/net/gstnettimeprovider.h:
14111         Documentation updates.
14112
14113 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
14114
14115         * docs/manual/basics-helloworld.xml:
14116           Remove superfluous closing bracket in helloworld example.
14117
14118 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
14119
14120         * tools/gst-launch.1.in:
14121           Update gst-launch man page; add a section with useful
14122           environment variables. Fixes #323882.
14123
14124 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
14125
14126         * gst/gst.c:
14127         * gst/gst_private.h:
14128           change some char* into char[]
14129
14130 2005-12-16  Wim Taymans  <wim@fluendo.com>
14131
14132         * gst/gstregistryxml.c: (load_feature):
14133         Cleanups.
14134         Don't use g_object_unref on GstObjects so that we avoid
14135         leaks on unsafe glibs.
14136
14137 2005-12-16  Wim Taymans  <wim@fluendo.com>
14138
14139         * gst/gstbin.c: (gst_bin_recalc_state):
14140         Small doc updates.
14141
14142 2005-12-16  Wim Taymans  <wim@fluendo.com>
14143
14144         * common/check.mak:
14145         Added make forever target for check.
14146
14147 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14148
14149         * gst/gst.c: (init_post):
14150           make the registry cache file HOST_CPU-dependent
14151
14152 2005-12-16  Andy Wingo  <wingo@pobox.com>
14153
14154         * plugins/elements/gstbufferstore.c
14155         (gst_buffer_store_cleared_func): Pay attention to g_list_append
14156         return value.
14157
14158         * tests/check/gst/gstobject.c
14159         (test_fake_object_name_threaded_unique): Pay attention to
14160         g_list_sort return value.
14161
14162 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
14163
14164         * tools/gst-feedback-m.m:
14165           Update for 0.9/0.10 (fixes #323870).
14166
14167 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
14168
14169         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
14170           Fix lcopy for mini objects, the mini object needs to be ref'ed.
14171           
14172         * tests/check/gst/gstminiobject.c: (my_foo_init),
14173         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
14174         (test_value_collection), (gst_mini_object_suite):
14175           Add test to ensure refcounts end up as expected when passing
14176           GstMiniObjects through g_object_get() and g_object_set().
14177
14178 2005-12-14  Julien MOUTTE  <julien@moutte.net>
14179
14180         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14181         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
14182         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
14183         of collectpads. This version removes a lot of races without
14184         touching API/ABI. Yay !
14185
14186 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
14187
14188         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
14189           Don't allow activation of a srcpad in pull_range if it has no
14190           getrange function.
14191           Change some debug statements to be a little clearer
14192
14193         * plugins/elements/gsttypefindelement.c:
14194         (gst_type_find_handle_src_query):
14195           Check that we have a peer before executing queries thereupon.
14196
14197         * tests/examples/metadata/read-metadata.c: (message_loop):
14198           Use gst_bus_pop instead of gst_bus_poll when we just want it to
14199           immediately return us any available message with 0 timeout.
14200
14201 2005-12-12  Michael Smith  <msmith@fluendo.com>
14202
14203         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
14204           Don't unref factories after calling them.
14205         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
14206         * plugins/elements/gsttypefindelement.c:
14207         (gst_type_find_element_chain):
14208           Free lists of factories after using them. Fixing typefinding memory
14209           leaks.
14210
14211 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14212
14213         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14214         (gst_plugin_feature_load):
14215           more meaningful debug output
14216         * configure.ac:
14217         * tests/Makefile.am:
14218         * tests/old/examples/Makefile.am:
14219           make make distcheck happy again
14220
14221 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
14222
14223         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14224           Catch the special case where we are operating chain-based,
14225           but the downstream peer pad has no chain function. Emit a
14226           custom error message in this case instead of letting the
14227           core generate one implying that this is some sort of core
14228           bug. It's not, it just means that whatever got plugged
14229           into the pipeline downstream when we announced the type
14230           can only operate pull-based, while our source can only
14231           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
14232           Error string has not been marked for translation yet, as
14233           it probably needs some more work first.
14234
14235         (gst_type_find_element_get_best_possibility):
14236           Add helper function to find the best of all available
14237           found possibilities that qualify given the min. threshold.
14238
14239         (gst_type_find_element_handle_event):
14240           Fix the case where we get an EOS while still in TYPEFIND
14241           mode (we want to chose the best of all possible types,
14242           not just the first type that happens to be in our unsorted
14243           list of possible types).
14244
14245         (gst_type_find_element_chain):
14246           Make sure we return GST_FLOW_ERROR when we errored out
14247           in stop_typefinding(); also, don't just find the best of
14248           all found type entries and then use the last examined
14249           type entry, but actually use the best entry.
14250
14251 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
14252
14253         * tests/examples/typefind/typefind.c: (type_found):
14254         * tests/examples/xml/runxml.c: (xml_loaded):
14255           More gcc4 fixes and a mem leak fix.
14256
14257 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14258
14259         * tests/examples/xml/createxml.c: (object_saved):
14260           gcc 4 fixes
14261
14262 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14263
14264         * tests/Makefile.am:
14265           enable the examples even more
14266
14267 2005-12-12  Andy Wingo  <wingo@pobox.com>
14268
14269         * libs/gst/net/gstnettimeprovider.c
14270         (gst_net_time_provider_class_init, gst_net_time_provider_init)
14271         (gst_net_time_provider_set_property)
14272         (gst_net_time_provider_get_property):
14273         API addition: Export "active" as a GObject property.
14274         (gst_net_time_provider_thread): Only respond to time queries if
14275         the time provider is active.
14276
14277         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
14278         NetTimeProvider, preserving binary compat.
14279
14280 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14281
14282         * tests/examples/controller/audio-example.c: (main):
14283         * tests/examples/launch/Makefile.am:
14284           convert comments again
14285
14286 2005-12-12  Wim Taymans  <wim@fluendo.com>
14287
14288         * libs/gst/base/gstpushsrc.c:
14289         Fix typo.
14290
14291 2005-12-12  Wim Taymans  <wim@fluendo.com>
14292
14293         * docs/libs/gstreamer-libs-sections.txt:
14294         Added new symbol to docs.
14295
14296         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14297         (gst_base_src_init), (gst_base_src_set_format),
14298         (gst_base_src_default_query), (gst_base_src_query),
14299         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
14300         (gst_base_src_perform_seek), (gst_base_src_send_event),
14301         (gst_base_src_default_event), (gst_base_src_event_handler),
14302         (gst_base_src_set_property), (gst_base_src_get_property),
14303         (gst_base_src_wait), (gst_base_src_do_sync),
14304         (gst_base_src_update_length), (gst_base_src_get_range),
14305         (gst_base_src_check_get_range), (gst_base_src_loop),
14306         (gst_base_src_default_negotiate), (gst_base_src_start),
14307         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14308         (gst_base_src_change_state):
14309         * libs/gst/base/gstbasesrc.h:
14310         Implement seeking to other formats than _BYTES.
14311         Implement more seeking methods correctly.
14312         Doc updates.
14313         Added query vmethod.
14314         Added do_seek vmethod to make life easier for subclasses
14315         when seeking.
14316         API addition: gst_base_src_set_format()
14317
14318 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14319
14320         * tests/examples/Makefile.am:
14321           added that too
14322
14323 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14324
14325         * configure.ac:
14326         * docs/random/ensonic/media-device-daemon.txt:
14327         * tests/examples/controller/.cvsignore:
14328         * tests/examples/controller/Makefile.am:
14329         * tests/examples/controller/audio-example.c: (main):
14330         * tests/examples/helloworld/.cvsignore:
14331         * tests/examples/helloworld/Makefile.am:
14332         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
14333         * tests/examples/launch/.cvsignore:
14334         * tests/examples/launch/Makefile.am:
14335         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
14336         * tests/examples/metadata/.cvsignore:
14337         * tests/examples/metadata/Makefile.am:
14338         * tests/examples/metadata/read-metadata.c: (message_loop),
14339         (make_pipeline), (print_tag), (main):
14340         * tests/examples/queue/.cvsignore:
14341         * tests/examples/queue/Makefile.am:
14342         * tests/examples/queue/queue.c: (event_loop), (main):
14343         * tests/examples/typefind/.cvsignore:
14344         * tests/examples/typefind/Makefile.am:
14345         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
14346         (main):
14347         * tests/examples/xml/.cvsignore:
14348         * tests/examples/xml/Makefile.am:
14349         * tests/examples/xml/createxml.c: (object_saved), (main):
14350         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
14351         * tests/old/examples/Makefile.am:
14352         * tests/old/examples/TODO:
14353         * tests/old/examples/controller/.cvsignore:
14354         * tests/old/examples/controller/Makefile.am:
14355         * tests/old/examples/controller/audio-example.c:
14356         * tests/old/examples/helloworld/.cvsignore:
14357         * tests/old/examples/helloworld/Makefile.am:
14358         * tests/old/examples/helloworld/helloworld.c:
14359         * tests/old/examples/launch/.cvsignore:
14360         * tests/old/examples/launch/Makefile.am:
14361         * tests/old/examples/launch/mp3parselaunch.c:
14362         * tests/old/examples/launch/mp3play:
14363         * tests/old/examples/manual/Makefile.am:
14364         * tests/old/examples/metadata/Makefile.am:
14365         * tests/old/examples/metadata/read-metadata.c:
14366         * tests/old/examples/queue/.cvsignore:
14367         * tests/old/examples/queue/Makefile.am:
14368         * tests/old/examples/queue/queue.c:
14369         * tests/old/examples/typefind/.cvsignore:
14370         * tests/old/examples/typefind/Makefile.am:
14371         * tests/old/examples/typefind/typefind.c:
14372         * tests/old/examples/xml/.cvsignore:
14373         * tests/old/examples/xml/Makefile.am:
14374         * tests/old/examples/xml/createxml.c:
14375         * tests/old/examples/xml/runxml.c:
14376           applied some simple fixing to some examples
14377           re-enabled the working examples
14378
14379 2005-12-12  Wim Taymans  <wim@fluendo.com>
14380
14381         * gst/gstsegment.c: (gst_segment_init),
14382         (gst_segment_set_last_stop), (gst_segment_set_seek),
14383         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14384         (gst_segment_to_running_time):
14385         Added more documentation.
14386         Make sure the last_pos value is updated properly.
14387         Make sure to_stream_time and to_running_time don't
14388         operate on wrong values.
14389
14390         * tests/check/gst/gstsegment.c: (GST_START_TEST):
14391         Update check.
14392
14393 2005-12-12  Michael Smith  <msmith@fluendo.com>
14394
14395         * plugins/elements/gsttypefindelement.c: (free_entry),
14396         (gst_type_find_element_chain):
14397           Now that we're not leaking factories, make sure we keep references
14398           to them while we need them.
14399
14400 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14401
14402         * tests/check/gst/struct_i386.h:
14403           ifdef out the XML structs
14404
14405 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14406
14407         * gst/gstvalue.c: (gst_value_transform_double_fraction):
14408           floor is not needed, F is always positive; this obviates the
14409           need for adding -lm when building without libxml
14410
14411 2005-12-12  Wim Taymans  <wim@fluendo.com>
14412
14413         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14414         Take current playback rate into account when reporting
14415         the position.
14416
14417 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14418
14419         * docs/manual/mime-world.fig:
14420           Let's try this again, this time with a file that is
14421           actually in XFig format.
14422
14423 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14424
14425         * docs/manual/mime-world.fig:
14426           Add audioconvert element to diagram so that it
14427           matches the text and the code (fixes #319526).
14428
14429 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14430
14431         * docs/pwg/building-chainfn.xml:
14432         * docs/pwg/building-pads.xml:
14433         * docs/pwg/building-state.xml:
14434         * docs/pwg/other-source.xml:
14435           Update state change stuff for 0.10 (fixes #322969).
14436
14437 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14438
14439         * docs/manual/advanced-dataaccess.xml:
14440         * docs/manual/appendix-checklist.xml:
14441         * docs/manual/appendix-programs.xml:
14442         * docs/manual/basics-pads.xml:
14443         * docs/manual/highlevel-components.xml:
14444         * docs/manual/manual.xml:
14445           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
14446           add converters in front of pipelines; remove curly
14447           brackets for threads stuff, they no longer exist; use
14448           GST_TYPE_FRACTION for framerates; update some pieces of
14449           code to 0.10, but there's plenty more to do.
14450
14451         * docs/manual/appendix-porting.xml:
14452           Expand on asynchroneous state changes; s/0.9/0.10/;
14453           mention disappearance of gst_init_get_popt_table()
14454           (fixes #322916).
14455
14456 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14457
14458         * docs/faq/using.xml:
14459           Spider no longer exists, and neither does gst-launch-ext.
14460           Update examples to use decodebin and playbin and put
14461           converters in front of sinks (fixes #323726).
14462
14463 2005-12-09  Michael Smith  <msmith@fluendo.com>
14464
14465         * plugins/elements/gsttypefindelement.c: (find_peek),
14466         (gst_type_find_element_chain):
14467           Fix leaking element factories in typefinding.
14468           Fix problem where we forgot about a probable type on non-seekable
14469           files, and thus later mis-typefound it.
14470
14471 2005-12-09  Michael Smith  <msmith@fluendo.com>
14472
14473         * common/m4/gst-makecontext.m4:
14474         * common/m4/gst-mcsc.m4:
14475         * configure.ac:
14476         * win32/common/config.h:
14477         * win32/common/config.h.in:
14478           Remove makecontext stuff; not used in 0.10 and causes problems on
14479           HPUX according to bug #322441
14480
14481 2005-12-07  Wim Taymans  <wim@fluendo.com>
14482
14483         * tests/check/Makefile.am:
14484         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
14485         (main):
14486         * tests/check/libs/struct_i386.h:
14487         Added ABI check for libs
14488
14489 2005-12-07  Wim Taymans  <wim@fluendo.com>
14490
14491         * tests/check/Makefile.am:
14492         And add the struct_i386.h to dist.
14493
14494 2005-12-07  Wim Taymans  <wim@fluendo.com>
14495
14496         * tests/check/Makefile.am:
14497         * tests/check/gst/.cvsignore:
14498         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
14499         (main):
14500         * tests/check/gst/struct_i386.h:
14501         Added check for ABI compatibility.
14502
14503 2005-12-07  Wim Taymans  <wim@fluendo.com>
14504
14505         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14506         (gst_fake_src_get_times), (gst_fake_src_create):
14507         Fix broken sync option, fixes #323259
14508
14509 2005-12-07  Wim Taymans  <wim@fluendo.com>
14510
14511         * gst/gstbuffer.c:
14512         Small docs update.
14513
14514         * gst/gstcaps.c: (gst_caps_is_equal):
14515         Don't assert on NULL <--> X. Fixes #323260
14516
14517         * gst/gstminiobject.c: (gst_mini_object_replace):
14518         If we're doing atomic operations, we might just as well use
14519         the proper way to get an atomic pointer.
14520
14521         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14522         Clean up debugging.
14523
14524 2005-12-07  Michael Smith  <msmith@fluendo.com>
14525
14526         * gst/parse/grammar.y:
14527           Remove handling of { } for threads.
14528
14529 2005-12-06  David Schleef  <ds@schleef.org>
14530
14531         * libs/gst/base/gstbasetransform.c: speling fix.
14532
14533 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14534
14535         * docs/libs/tmpl/gstdataprotocol.sgml:
14536         * docs/random/omega/testing/gstobject.c:
14537         * gst/gst.c:
14538         * gst/gstclock.c:
14539         * gst/gstelement.c:
14540         * gst/gstelementfactory.c:
14541         * gst/gsterror.c:
14542         * gst/gstevent.c:
14543         * gst/gstghostpad.c:
14544         * gst/gstinfo.c:
14545         * gst/gstpadtemplate.c:
14546         * gst/gstregistryxml.c:
14547         * gst/gsttaglist.c:
14548         * gst/gsttagsetter.c:
14549         * gst/gsttypefind.c:
14550         * gst/gstvalue.c:
14551         * libs/gst/base/gstbasesrc.c:
14552         * libs/gst/net/gstnetclientclock.c:
14553         * libs/gst/net/gstnettimeprovider.c:
14554         * plugins/elements/gstfakesrc.c:
14555         * plugins/elements/gstfdsrc.c:
14556         * plugins/elements/gstfilesrc.c:
14557         * plugins/elements/gstidentity.c:
14558         * plugins/elements/gstqueue.c:
14559         * plugins/elements/gsttypefindelement.c:
14560         * plugins/indexers/gstfileindex.c:
14561         * plugins/indexers/gstmemindex.c:
14562         * tests/check/gst/gsttag.c:
14563         * tests/old/examples/cutter/cutter.c:
14564         * tests/old/examples/mixer/mixer.c:
14565         * tests/old/examples/xml/runxml.c: (main):
14566         * tests/old/testsuite/caps/normalisation.c:
14567         * tests/old/testsuite/debug/global.c:
14568         * tests/old/testsuite/parse/parse1.c:
14569         * tools/gst-xmlinspect.c:
14570         * win32/common/dirent.c:
14571           expand tabs
14572
14573 === release 0.10.0 ===
14574
14575 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14576
14577         * configure.ac:
14578           releasing 0.10.0, "Maroilles"
14579
14580 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14581
14582         submitted by: Funda Wang <fundawang@linux.net.cn>
14583
14584         * po/LINGUAS:
14585         * po/zh_CN.po:
14586           added Chinese (Traditional) translation
14587
14588 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14589
14590         * docs/gst/gstreamer-sections.txt:
14591         * docs/libs/tmpl/gstdataprotocol.sgml:
14592         * docs/random/thomasvs/TODO:
14593         * gst/gstutils.c:
14594         * gst/gstutils.h:
14595           fix docs
14596
14597 2005-12-05  Andy Wingo  <wingo@pobox.com>
14598
14599         patch by: Wim Taymans <wim@fluendo.com>
14600
14601         * libs/gst/base/gstbasetransform.c
14602         (gst_base_transform_prepare_output_buf)
14603         (gst_base_transform_buffer_alloc):
14604         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
14605         alloc_buffer_and_set_caps.
14606
14607         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
14608         set_caps on the source pad.
14609         (gst_pad_alloc_buffer_and_set_caps): New function, does what
14610         alloc_buffer used to do. Fixes #322874.
14611
14612         * docs/gst/gstreamer-sections.txt: 
14613         * docs/design/part-negotiation.txt: 
14614         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
14615         changes.
14616
14617 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14618
14619         patch by: Sebastien Moutte
14620
14621         * win32/MANIFEST:
14622         * win32/common/config.h.in:
14623         * win32/vs6/libgstcontroller.dsp:
14624           win32 build fixes
14625
14626 2005-12-05  Wim Taymans  <wim@fluendo.com>
14627
14628         * gst/gstcaps.c: (gst_caps_is_equal):
14629         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14630         (gst_fake_src_create):
14631         Back out previous code changes, leave doc updates, file bugs 
14632         instead. 
14633
14634 2005-12-05  Wim Taymans  <wim@fluendo.com>
14635
14636         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14637         (gst_fake_src_get_times), (gst_fake_src_create):
14638         * plugins/elements/gstfakesrc.h:
14639         Fix broken sync code.
14640
14641 2005-12-05  Wim Taymans  <wim@fluendo.com>
14642
14643         * gst/gstcaps.c: (gst_caps_is_equal):
14644         Comparing NULL against !NULL yields different caps, not a
14645         failure.
14646
14647 2005-12-05  Wim Taymans  <wim@fluendo.com>
14648
14649         * gst/gstpipeline.c:
14650         Fix small typo in docs.
14651
14652 2005-12-05  Andy Wingo  <wingo@pobox.com>
14653
14654         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
14655
14656         * gst/gst.c (init_post): remove hard-coded 0.9 location for
14657         registries/plugins with a MAJORMINOR one.
14658         (plugin_desc): Rename library from gstcoreleements to
14659         staticelements. Fixes #323222.
14660
14661 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
14662
14663         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
14664           Change debug category to 'collectpads' from 'collect_pads'
14665           (fixes #323250).
14666
14667 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
14668
14669         patch by: Sebastien Moutte
14670
14671         * libs/gst/controller/gstinterpolation.c:
14672           use convert function for uint64/double
14673         * win32/vs6/libgstcontroller.dsp:
14674           link to GLib
14675
14676 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
14677
14678         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
14679         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
14680         * gst/gstutils.h:
14681         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14682           add tests that seem to show that the guint64/gdouble conversions
14683           are correct.
14684
14685 2005-12-02  Wim Taymans  <wim@fluendo.com>
14686
14687         * gst/gstregistry.c: (gst_registry_add_path):
14688         * gst/gstregistry.h:
14689         * gst/gstregistryxml.c:
14690         Fix docs again.
14691
14692 2005-12-02  Wim Taymans  <wim@fluendo.com>
14693
14694         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14695         (gst_util_uint64_scale_int):
14696         Small cleanup.
14697
14698         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14699         Add debug log line.
14700
14701         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
14702         Add FIXME.
14703
14704 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14705
14706         * win32/MANIFEST:
14707         * win32/common/config.h:
14708         * win32/vs6/gstreamer.dsw:
14709         * win32/vs6/libgstcoreelements.dsp:
14710         * win32/vs6/libgstelements.dsp:
14711           renamed core elements plugin
14712
14713 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14714
14715         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
14716         (get_candidates):
14717           do piece-wise major/minor comparison so 0.9 < 0.10
14718           also allow .exe extensions for tools
14719
14720 2005-12-02  Michael Smith  <msmith@fluendo.com>
14721
14722         * gst/gst.c:
14723           Escape a % to make gtkdoc happier; bug 322958.
14724
14725 === release 0.9.7 ===
14726
14727 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14728
14729         * configure.ac:
14730           releasing 0.9.7, "My Dog Has No Nose"
14731
14732 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14733
14734         * common/gst-xmlinspect.py:
14735         * configure.ac:
14736         * docs/libs/tmpl/gstdataprotocol.sgml:
14737         * docs/random/release:
14738         * po/af.po:
14739         * po/az.po:
14740         * po/bg.po:
14741         * po/ca.po:
14742         * po/cs.po:
14743         * po/de.po:
14744         * po/en_GB.po:
14745         * po/fr.po:
14746         * po/it.po:
14747         * po/nb.po:
14748         * po/nl.po:
14749         * po/ru.po:
14750         * po/sq.po:
14751         * po/sr.po:
14752         * po/sv.po:
14753         * po/tr.po:
14754         * po/uk.po:
14755         * po/vi.po:
14756         * win32/common/config.h:
14757         * win32/common/config.h.in:
14758         * win32/vs6/gst_inspect.dsp:
14759         * win32/vs6/gst_launch.dsp:
14760         * win32/vs6/libgstbase.dsp:
14761         * win32/vs6/libgstelements.dsp:
14762         * win32/vs6/libgstreamer.dsp:
14763         * win32/vs7/GStreamer.vcproj:
14764         * win32/vs7/gst-inspect.vcproj:
14765         * win32/vs7/gst-launch.vcproj:
14766         * win32/vs7/libgstbase.vcproj:
14767           bump GST_MAJORMINOR to 0.10
14768           reset libtool version
14769
14770 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14771
14772         * po/LINGUAS:
14773         * po/bg.po:
14774           Added Bulgarian translation by (Alexander Shopov)
14775
14776 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14777
14778         * tests/check/gst/gstplugin.c:
14779           fix test
14780
14781 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14782
14783         * common/gst-xmlinspect.py:
14784         * common/gtk-doc-plugins.mak:
14785         * configure.ac:
14786         * docs/Makefile.am:
14787         * docs/gst/Makefile.am:
14788         * docs/gst/gstreamer-docs.sgml:
14789         * docs/gst/gstreamer-sections.txt:
14790         * docs/gst/gstreamer.types:
14791         * docs/gst/gstreamer.types.in:
14792         * docs/plugins/Makefile.am:
14793         * docs/plugins/gstreamer-plugins-docs.sgml:
14794         * docs/plugins/gstreamer-plugins-sections.txt:
14795         * docs/plugins/gstreamer-plugins.types:
14796         * docs/plugins/inspect.stamp:
14797         * docs/plugins/inspect/plugin-coreelements.xml:
14798         * docs/plugins/inspect/plugin-coreindexers.xml:
14799         * docs/plugins/scanobj-build.stamp:
14800         * gstreamer.spec.in:
14801         * plugins/elements/Makefile.am:
14802         * plugins/elements/gstelements.c:
14803         * plugins/elements/gstfakesink.c:
14804         * plugins/elements/gstfakesrc.c:
14805         * plugins/elements/gstfilesink.c:
14806         * plugins/elements/gstfilesrc.c:
14807         * plugins/elements/gstqueue.c:
14808         * plugins/indexers/Makefile.am:
14809         * plugins/indexers/gstindexers.c:
14810           document core plugins in a separate document just like all the
14811           others
14812           rename these plugins to something starting with core
14813
14814 2005-12-01  Andy Wingo  <wingo@pobox.com>
14815
14816         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
14817         padding here before, but it missed the commit.
14818
14819 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14820
14821         * libs/gst/controller/gstinterpolation.c:
14822           whitespace prices have crashed, we should feel free to use some now
14823           use gst_guint64_to_gdouble
14824
14825 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14826
14827         * libs/gst/controller/gstcontroller.c:
14828         * libs/gst/controller/gsthelper.c:
14829         * libs/gst/controller/gstinterpolation.c:
14830         * libs/gst/controller/lib.c:
14831           wrap config.h include
14832
14833 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14834
14835         * docs/gst/gstreamer-sections.txt:
14836           update docs
14837
14838 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14839
14840         * plugins/elements/gstelements.c:
14841         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
14842         (gst_fd_sink__class_init), (gst_fd_sink__init),
14843         (gst_fd_sink__chain), (gst_fd_sink__set_property),
14844         (gst_fd_sink__get_property):
14845         * plugins/elements/gstfdsink.h:
14846         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
14847         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
14848         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
14849         (gst_fd_src_unlock), (gst_fd_src_set_property),
14850         (gst_fd_src_get_property), (gst_fd_src_create),
14851         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
14852         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
14853         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
14854         (gst_fd_src_uri_handler_init):
14855         * plugins/elements/gstfdsrc.h:
14856         * plugins/elements/gstqueue.c: (gst_queue_get_type):
14857           more anal cleanup
14858
14859 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14860
14861         * docs/gst/Makefile.am:
14862         * docs/gst/gstreamer.types.in:
14863         * gst/Makefile.am:
14864           fix the docs build
14865
14866 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14867
14868         * configure.ac:
14869         * gst/Makefile.am:
14870         * gst/gst.c:
14871         * gst/gstplugin.h:
14872         * gst/gstregistry.h:
14873         * tests/benchmarks/complexity.c:
14874         * tests/benchmarks/mass-elements.c:
14875         * tests/check/Makefile.am:
14876         * tools/Makefile.am:
14877         * tools/gst-inspect.c:
14878         * tools/gst-xmlinspect.c:
14879           various fixes to make
14880           --disable-nls --disable-registry --disable-loadsave
14881           --disable-parse --disable-gst-debug
14882           work and get the core .so down to 360444 bytes after stripping
14883
14884 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14885
14886         * Makefile.am:
14887         * configure.ac:
14888           descend into tests
14889         * docs/random/thomasvs/TODO:
14890         * tests/Makefile.am:
14891         * tests/README:
14892           add a README
14893
14894 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14895
14896         * win32/GStreamer.vcproj:
14897         * win32/MANIFEST:
14898         * win32/Makefile:
14899         * win32/Makefile.inspect:
14900         * win32/Makefile.launch:
14901         * win32/Makefile.register:
14902         * win32/README.txt:
14903         * win32/gst-inspect.vcproj:
14904         * win32/gst-launch.vcproj:
14905         * win32/gst-register.vcproj:
14906         * win32/gstelements.vcproj:
14907         * win32/gstgetbits.def:
14908         * win32/gstgetbits.vcproj:
14909         * win32/gstreamer-dbg.def:
14910         * win32/gstreamer.def:
14911         * win32/libgstbase.def:
14912         * win32/libgstbase.vcproj:
14913         * win32/link_oldruntime.c:
14914         * win32/mman.c:
14915         * win32/mman.h:
14916         * win32/mman.inl:
14917         * win32/msvc71.sln:
14918           move even more stuff, win32/ is nice and clean now
14919
14920 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14921
14922         * libs/gst/control/.cvsignore:
14923         * win32/MANIFEST:
14924         * win32/config.h:
14925         * win32/dirent.c:
14926         * win32/dirent.h:
14927         * win32/gstbytestream.def:
14928         * win32/gstbytestream.vcproj:
14929         * win32/gstconfig.h:
14930         * win32/gstenumtypes.c:
14931         * win32/gstenumtypes.h:
14932         * win32/gstoptimalscheduler.vcproj:
14933         * win32/gstversion.h:
14934         * win32/gtchar.h:
14935         * win32/testsuite/bins.vcproj:
14936         * win32/testsuite/bytestream.vcproj:
14937         * win32/testsuite/caps.vcproj:
14938         * win32/testsuite/cleanup.vcproj:
14939         * win32/testsuite/clock.vcproj:
14940         * win32/testsuite/debug.vcproj:
14941         * win32/testsuite/dlopen.vcproj:
14942         * win32/testsuite/dynparams.vcproj:
14943         * win32/testsuite/elements.vcproj:
14944         * win32/testsuite/ghostpads.vcproj:
14945         * win32/testsuite/indexers.vcproj:
14946         * win32/testsuite/negotiation.vcproj:
14947         * win32/testsuite/parse.vcproj:
14948         * win32/testsuite/plugin.vcproj:
14949         * win32/testsuite/refcounting.vcproj:
14950         * win32/testsuite/schedulers.vcproj:
14951         * win32/testsuite/states.vcproj:
14952         * win32/testsuite/tags.vcproj:
14953         * win32/testsuite/threads.vcproj:
14954           remove old win32 stuff that isn't maintained and should be
14955           reorganized
14956
14957 2005-11-30  Andy Wingo  <wingo@pobox.com>
14958
14959         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
14960         loading the gst.interfaces python module bork.
14961
14962         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
14963         available since GLib 2.2. Fixes #318031.
14964
14965 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14966
14967         * Makefile.am:
14968         * check/.cvsignore:
14969         * check/Makefile.am:
14970         * check/elements/.cvsignore:
14971         * check/elements/fakesrc.c:
14972         * check/elements/fdsrc.c:
14973         * check/elements/identity.c:
14974         * check/generic/.cvsignore:
14975         * check/generic/states.c:
14976         * check/gst-libs/.cvsignore:
14977         * check/gst-libs/controller.c:
14978         * check/gst-libs/gdp.c:
14979         * check/gst/.cvsignore:
14980         * check/gst/capslist.h:
14981         * check/gst/gst.c:
14982         * check/gst/gstbin.c:
14983         * check/gst/gstbuffer.c:
14984         * check/gst/gstbus.c:
14985         * check/gst/gstcaps.c:
14986         * check/gst/gstelement.c:
14987         * check/gst/gstevent.c:
14988         * check/gst/gstghostpad.c:
14989         * check/gst/gstiterator.c:
14990         * check/gst/gstmessage.c:
14991         * check/gst/gstminiobject.c:
14992         * check/gst/gstobject.c:
14993         * check/gst/gstpad.c:
14994         * check/gst/gstpipeline.c:
14995         * check/gst/gstplugin.c:
14996         * check/gst/gstsegment.c:
14997         * check/gst/gststructure.c:
14998         * check/gst/gstsystemclock.c:
14999         * check/gst/gsttag.c:
15000         * check/gst/gstutils.c:
15001         * check/gst/gstvalue.c:
15002         * check/net/.cvsignore:
15003         * check/net/gstnetclientclock.c:
15004         * check/net/gstnettimeprovider.c:
15005         * check/pipelines/.cvsignore:
15006         * check/pipelines/cleanup.c:
15007         * check/pipelines/simple_launch_lines.c:
15008         * check/pipelines/stress.c:
15009         * check/states/.cvsignore:
15010         * check/states/sinks.c:
15011         * configure.ac:
15012         * examples/Makefile.am:
15013         * examples/appreader/.cvsignore:
15014         * examples/appreader/Makefile.am:
15015         * examples/appreader/appreader.c:
15016         * examples/controller/.cvsignore:
15017         * examples/controller/Makefile.am:
15018         * examples/controller/audio-example.c:
15019         * examples/cutter/.cvsignore:
15020         * examples/cutter/Makefile.am:
15021         * examples/cutter/cutter.c:
15022         * examples/cutter/cutter.h:
15023         * examples/events/Makefile.am:
15024         * examples/events/seek.c:
15025         * examples/helloworld/.cvsignore:
15026         * examples/helloworld/Makefile.am:
15027         * examples/helloworld/helloworld.c:
15028         * examples/helloworld2/.cvsignore:
15029         * examples/helloworld2/Makefile.am:
15030         * examples/helloworld2/helloworld2.c:
15031         * examples/launch/.cvsignore:
15032         * examples/launch/Makefile.am:
15033         * examples/launch/mp3parselaunch.c:
15034         * examples/launch/mp3play:
15035         * examples/manual/.cvsignore:
15036         * examples/manual/Makefile.am:
15037         * examples/manual/extract.pl:
15038         * examples/metadata/Makefile.am:
15039         * examples/metadata/read-metadata.c:
15040         * examples/mixer/.cvsignore:
15041         * examples/mixer/Makefile.am:
15042         * examples/mixer/mixer.c:
15043         * examples/mixer/mixer.h:
15044         * examples/pingpong/.cvsignore:
15045         * examples/pingpong/Makefile.am:
15046         * examples/pingpong/pingpong.c:
15047         * examples/plugins/.cvsignore:
15048         * examples/plugins/Makefile.am:
15049         * examples/plugins/example.c:
15050         * examples/plugins/example.h:
15051         * examples/pwg/.cvsignore:
15052         * examples/pwg/Makefile.am:
15053         * examples/pwg/extract.pl:
15054         * examples/queue/.cvsignore:
15055         * examples/queue/Makefile.am:
15056         * examples/queue/queue.c:
15057         * examples/queue2/.cvsignore:
15058         * examples/queue2/Makefile.am:
15059         * examples/queue2/queue2.c:
15060         * examples/queue3/.cvsignore:
15061         * examples/queue3/Makefile.am:
15062         * examples/queue3/queue3.c:
15063         * examples/queue4/.cvsignore:
15064         * examples/queue4/Makefile.am:
15065         * examples/queue4/queue4.c:
15066         * examples/retag/.cvsignore:
15067         * examples/retag/Makefile.am:
15068         * examples/retag/retag.c:
15069         * examples/retag/transcode.c:
15070         * examples/thread/.cvsignore:
15071         * examples/thread/Makefile.am:
15072         * examples/thread/thread.c:
15073         * examples/typefind/.cvsignore:
15074         * examples/typefind/Makefile.am:
15075         * examples/typefind/typefind.c:
15076         * examples/xml/.cvsignore:
15077         * examples/xml/Makefile.am:
15078         * examples/xml/createxml.c:
15079         * examples/xml/runxml.c:
15080         * tests/Makefile.am:
15081         * tests/check/Makefile.am:
15082         * testsuite/.cvsignore:
15083         * testsuite/Makefile.am:
15084         * testsuite/Rules:
15085         * testsuite/caps/.cvsignore:
15086         * testsuite/caps/Makefile.am:
15087         * testsuite/caps/app_fixate.c:
15088         * testsuite/caps/audioscale.c:
15089         * testsuite/caps/caps.c:
15090         * testsuite/caps/caps.h:
15091         * testsuite/caps/caps_strings:
15092         * testsuite/caps/compatibility.c:
15093         * testsuite/caps/deserialize.c:
15094         * testsuite/caps/enumcaps.c:
15095         * testsuite/caps/eratosthenes.c:
15096         * testsuite/caps/filtercaps.c:
15097         * testsuite/caps/fixed.c:
15098         * testsuite/caps/fraction-convert.c:
15099         * testsuite/caps/fraction-multiply-and-zero.c:
15100         * testsuite/caps/intersect2.c:
15101         * testsuite/caps/intersection.c:
15102         * testsuite/caps/normalisation.c:
15103         * testsuite/caps/random.c:
15104         * testsuite/caps/renegotiate.c:
15105         * testsuite/caps/sets.c:
15106         * testsuite/caps/simplify.c:
15107         * testsuite/caps/string-conversions.c:
15108         * testsuite/caps/structure.c:
15109         * testsuite/caps/subtract.c:
15110         * testsuite/caps/union.c:
15111         * testsuite/debug/.cvsignore:
15112         * testsuite/debug/Makefile.am:
15113         * testsuite/debug/category.c:
15114         * testsuite/debug/commandline.c:
15115         * testsuite/debug/global.c:
15116         * testsuite/debug/output.c:
15117         * testsuite/debug/printf_extension.c:
15118         * testsuite/dlopen/.cvsignore:
15119         * testsuite/dlopen/Makefile.am:
15120         * testsuite/dlopen/dlopen_gst.c:
15121         * testsuite/dlopen/loadgst.c:
15122         * testsuite/elements/.cvsignore:
15123         * testsuite/elements/Makefile.am:
15124         * testsuite/elements/gst-inspect-check.in:
15125         * testsuite/elements/struct_i386.h:
15126         * testsuite/elements/struct_size.c:
15127         * testsuite/indexers/.cvsignore:
15128         * testsuite/indexers/Makefile.am:
15129         * testsuite/indexers/cache1.c:
15130         * testsuite/indexers/indexdump.c:
15131         * testsuite/parse/.cvsignore:
15132         * testsuite/parse/Makefile.am:
15133         * testsuite/parse/parse1.c:
15134         * testsuite/parse/parse2.c:
15135         * testsuite/plugin/.cvsignore:
15136         * testsuite/plugin/Makefile.am:
15137         * testsuite/plugin/README:
15138         * testsuite/plugin/dynamic.c:
15139         * testsuite/plugin/linked.c:
15140         * testsuite/plugin/loading.c:
15141         * testsuite/plugin/registry.c:
15142         * testsuite/plugin/static.c:
15143         * testsuite/plugin/static2.c:
15144         * testsuite/plugin/testplugin.c:
15145         * testsuite/plugin/testplugin2.c:
15146         * testsuite/plugin/testplugin2_s.c:
15147         * testsuite/plugin/testplugin_s.c:
15148         * testsuite/refcounting/.cvsignore:
15149         * testsuite/refcounting/Makefile.am:
15150         * testsuite/refcounting/bin.c:
15151         * testsuite/refcounting/element.c:
15152         * testsuite/refcounting/element_pad.c:
15153         * testsuite/refcounting/mainloop.c:
15154         * testsuite/refcounting/mem.c:
15155         * testsuite/refcounting/mem.h:
15156         * testsuite/refcounting/object.c:
15157         * testsuite/refcounting/pad.c:
15158         * testsuite/refcounting/sched.c:
15159         * testsuite/refcounting/thread.c:
15160         * testsuite/states/.cvsignore:
15161         * testsuite/states/Makefile.am:
15162         * testsuite/states/bin.c:
15163         * testsuite/states/locked.c:
15164         * testsuite/states/parent.c:
15165         * testsuite/threads/.cvsignore:
15166         * testsuite/threads/159566.c:
15167         * testsuite/threads/159852.c:
15168         * testsuite/threads/Makefile.am:
15169         * testsuite/threads/queue.c:
15170         * testsuite/threads/signals.c:
15171         * testsuite/threads/staticrec.c:
15172         * testsuite/threads/thread.c:
15173         * testsuite/threads/threadb.c:
15174         * testsuite/threads/threadc.c:
15175         * testsuite/threads/threadd.c:
15176         * testsuite/threads/threade.c:
15177         * testsuite/threads/threadf.c:
15178         * testsuite/threads/threadg.c:
15179         * testsuite/threads/threadh.c:
15180         * testsuite/threads/threadi.c:
15181           move all of these under tests
15182
15183 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15184
15185         * configure.ac:
15186         * tests/Makefile.am:
15187           fix distcheck
15188
15189 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15190
15191         * docs/gst/gstreamer-sections.txt:
15192         * tests/sched/.cvsignore:
15193         * tests/sched/Makefile.am:
15194         * tests/sched/cases/(fs-fs).xml:
15195         * tests/sched/cases/(fs-i-fs).xml:
15196         * tests/sched/cases/(fs-i-i-fs).xml:
15197         * tests/sched/cases/(fs-i-q[i-fs]).xml:
15198         * tests/sched/dynamic-pipeline.c:
15199         * tests/sched/interrupt1.c:
15200         * tests/sched/interrupt2.c:
15201         * tests/sched/interrupt3.c:
15202         * tests/sched/runtestcases:
15203         * tests/sched/runxml.c:
15204         * tests/sched/sched-stress.c:
15205         * tests/sched/sort.c:
15206         * tests/sched/testcases:
15207         * tests/sched/testcases1.tc:
15208         * tests/seeking/.cvsignore:
15209         * tests/seeking/Makefile.am:
15210         * tests/seeking/seeking1.c:
15211         * tests/threadstate/.cvsignore:
15212         * tests/threadstate/Makefile.am:
15213         * tests/threadstate/test1.c:
15214         * tests/threadstate/test2.c:
15215         * tests/threadstate/threadstate1.c:
15216         * tests/threadstate/threadstate2.c:
15217         * tests/threadstate/threadstate3.c:
15218         * tests/threadstate/threadstate4.c:
15219         * tests/threadstate/threadstate5.c:
15220           remove obsolete tests
15221         * configure.ac:
15222         * tests/bench-complexity.scm:
15223         * tests/bench-mass_elements.scm:
15224         * tests/complexity.c:
15225         * tests/complexity.gnuplot:
15226         * tests/instantiate/.cvsignore:
15227         * tests/instantiate/Makefile.am:
15228         * tests/instantiate/caps.c:
15229         * tests/mass_elements.c:
15230         * tests/network-clock-utils.scm:
15231         * tests/network-clock.scm:
15232         * tests/plot-data:
15233         First pass at cleaning up tests/ dir before moving the rest
15234         Combined with CVS surgery
15235
15236 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15237
15238         * po/POTFILES.in:
15239           queue has moved, update
15240
15241 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15242
15243         * docs/gst/gstreamer-sections.txt:
15244           remove double entries from the docs
15245         * gst/gst_private.h:
15246         * gst/gstinfo.c: (_gst_debug_init):
15247           remove the THREAD debug category
15248         * gst/Makefile.am:
15249         * gst/gstqueue.c:
15250         * gst/gstqueue.h:
15251         * docs/gst/gstreamer.types:
15252         * plugins/elements/gstqueue.c: (gst_queue_get_type),
15253         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
15254           completely move queue and fix up debugging categories
15255
15256 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15257
15258         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15259           make initialization portable, using LL is not
15260
15261 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15262
15263         * win32/common/gstconfig.h:
15264           add large padding
15265
15266 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15267
15268         * win32/common/libgstreamer.def:
15269           rename symbols; sort base section
15270
15271 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15272
15273         * gst/gstclock.c: (do_linear_regression):
15274           remove crack non-portable handrolled DEBUG macro
15275
15276 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15277
15278         * docs/random/release:
15279           update notes
15280         * win32/common/gstenumtypes.c: (register_gst_object_flags),
15281         (gst_object_flags_get_type), (register_gst_bin_flags),
15282         (gst_bin_flags_get_type), (register_gst_buffer_flag),
15283         (gst_buffer_flag_get_type), (register_gst_bus_flags),
15284         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15285         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
15286         (gst_caps_flags_get_type), (register_gst_clock_return),
15287         (gst_clock_return_get_type), (register_gst_clock_entry_type),
15288         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15289         (gst_clock_flags_get_type), (register_gst_state),
15290         (gst_state_get_type), (register_gst_state_change_return),
15291         (gst_state_change_return_get_type), (register_gst_state_change),
15292         (gst_state_change_get_type), (register_gst_element_flags),
15293         (gst_element_flags_get_type), (register_gst_core_error),
15294         (gst_core_error_get_type), (register_gst_library_error),
15295         (gst_library_error_get_type), (register_gst_resource_error),
15296         (gst_resource_error_get_type), (register_gst_stream_error),
15297         (gst_stream_error_get_type), (register_gst_event_type_flags),
15298         (gst_event_type_flags_get_type), (register_gst_event_type),
15299         (gst_event_type_get_type), (register_gst_seek_type),
15300         (gst_seek_type_get_type), (register_gst_seek_flags),
15301         (gst_seek_flags_get_type), (register_gst_format),
15302         (gst_format_get_type), (register_gst_index_certainty),
15303         (gst_index_certainty_get_type), (register_gst_index_entry_type),
15304         (gst_index_entry_type_get_type),
15305         (register_gst_index_lookup_method),
15306         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15307         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15308         (gst_index_resolver_method_get_type), (register_gst_index_flags),
15309         (gst_index_flags_get_type), (register_gst_debug_level),
15310         (gst_debug_level_get_type), (register_gst_debug_color_flags),
15311         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15312         (gst_iterator_result_get_type), (register_gst_iterator_item),
15313         (gst_iterator_item_get_type), (register_gst_message_type),
15314         (gst_message_type_get_type), (register_gst_mini_object_flags),
15315         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15316         (gst_pad_link_return_get_type), (register_gst_flow_return),
15317         (gst_flow_return_get_type), (register_gst_activate_mode),
15318         (gst_activate_mode_get_type), (register_gst_pad_direction),
15319         (gst_pad_direction_get_type), (register_gst_pad_flags),
15320         (gst_pad_flags_get_type), (register_gst_pad_presence),
15321         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15322         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15323         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15324         (gst_plugin_error_get_type), (register_gst_plugin_flags),
15325         (gst_plugin_flags_get_type), (register_gst_rank),
15326         (gst_rank_get_type), (register_gst_query_type),
15327         (gst_query_type_get_type), (register_gst_tag_merge_mode),
15328         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15329         (gst_tag_flag_get_type), (register_gst_task_state),
15330         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15331         (gst_alloc_trace_flags_get_type),
15332         (register_gst_type_find_probability),
15333         (gst_type_find_probability_get_type), (register_gst_uri_type),
15334         (gst_uri_type_get_type), (register_gst_parse_error),
15335         (gst_parse_error_get_type):
15336         * win32/common/gstenumtypes.h:
15337         * win32/common/gstversion.h:
15338           update visual studio generated files
15339
15340 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15341
15342         * win32/vs6/libgstbase.dsp:
15343         * win32/vs6/libgstelements.dsp:
15344           update project files for new locations
15345
15346 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15347
15348         * Makefile.am:
15349           remove some files
15350         * README:
15351           reinstate and update
15352         * DEVEL:
15353         * REQUIREMENTS:
15354           removed
15355         * LICENSE:
15356         * docs/random/LICENSE:
15357           moved to random
15358
15359 2005-11-30  Edward Hervey  <edward@fluendo.com>
15360
15361         * gst/gsttypefind.c: (gst_type_find_register):
15362         * gst/gsttypefind.h:
15363         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
15364         (gst_type_find_factory_dispose):
15365         * gst/gsttypefindfactory.h:
15366         Fix memory leak in GstTypeFindFactory.
15367
15368 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15369
15370         * gst/gst.c:
15371         * plugins/elements/Makefile.am:
15372         * plugins/elements/gstelements.c:
15373         * plugins/elements/gstqueue.c:
15374           move queue from core to the elements plugin
15375
15376 2005-11-29  Andy Wingo  <wingo@pobox.com>
15377
15378         * libs/gst/base/gstbasetransform.h: 
15379         * libs/gst/base/gstbasesrc.h: 
15380         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
15381
15382         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
15383         of pointers by which to pad very extensible base classes (like the
15384         ones in libs/gst/base).
15385
15386 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15387
15388         * docs/gst/gstreamer-docs.sgml:
15389         * docs/gst/gstreamer-sections.txt:
15390         * docs/libs/gstreamer-libs-docs.sgml:
15391         * docs/libs/gstreamer-libs-sections.txt:
15392           moving documentation from core to lib
15393
15394 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15395
15396         * check/Makefile.am:
15397         * configure.ac:
15398         * docs/gst/Makefile.am:
15399         * gst/Makefile.am:
15400         * gst/base/.cvsignore:
15401         * gst/base/Makefile.am:
15402         * gst/base/README:
15403         * gst/base/gstadapter.c:
15404         * gst/base/gstadapter.h:
15405         * gst/base/gstbasesink.c:
15406         * gst/base/gstbasesink.h:
15407         * gst/base/gstbasesrc.c:
15408         * gst/base/gstbasesrc.h:
15409         * gst/base/gstbasetransform.c:
15410         * gst/base/gstbasetransform.h:
15411         * gst/base/gstcollectpads.c:
15412         * gst/base/gstcollectpads.h:
15413         * gst/base/gstpushsrc.c:
15414         * gst/base/gstpushsrc.h:
15415         * gst/base/gsttypefindhelper.c:
15416         * gst/base/gsttypefindhelper.h:
15417         * gst/check/Makefile.am:
15418         * gst/check/gstcheck.c:
15419         * gst/check/gstcheck.h:
15420         * gst/net/Makefile.am:
15421         * gst/net/gstnet.h:
15422         * gst/net/gstnetclientclock.c:
15423         * gst/net/gstnetclientclock.h:
15424         * gst/net/gstnettimepacket.c:
15425         * gst/net/gstnettimepacket.h:
15426         * gst/net/gstnettimeprovider.c:
15427         * gst/net/gstnettimeprovider.h:
15428         * libs/gst/Makefile.am:
15429         * libs/gst/base/Makefile.am:
15430         * libs/gst/base/gstbasetransform.c:
15431         * libs/gst/check/Makefile.am:
15432         * plugins/elements/Makefile.am:
15433         * po/POTFILES.in:
15434           CVS surgery + support to move base, check, and net out of gst
15435           and into libs/gst
15436
15437 2005-11-29  Andy Wingo  <wingo@pobox.com>
15438
15439         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
15440
15441         * gst/gststructure.h (struct _GstStructure): Only one pointer of
15442         padding.
15443
15444         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
15445
15446         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
15447
15448         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
15449
15450         * gst/gstobject.h: (struct _GstObject): Only one pointer of
15451         padding; reduces object size by about 30%. We don't expect
15452         anything else to go into gstobject.
15453
15454         * gst/gstminiobject.h (struct _GstMiniObject)
15455         (struct _GstMiniObjectClass): Only one pointer of padding; the
15456         payload is only a pointer and two ints anyway. For the class there
15457         are only two methods as well.
15458         
15459         * gst/gstelement.h (struct _GstElementClass): Removed
15460         the state_changed signal callback, it is not used.
15461
15462 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15463
15464         * docs/gst/gstreamer.types:
15465           fix includes, though they are a little dinky
15466
15467 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15468
15469         * check/Makefile.am:
15470           look in the right place for elements, a lot more chance of
15471           success
15472         * gst/Makefile.am:
15473           remove indexers and elements subdirs
15474         * plugins/Makefile.am:
15475           make indexers conditional
15476
15477 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15478
15479         * Makefile.am:
15480         * configure.ac:
15481         * plugins/elements/Makefile.am:
15482         * plugins/elements/gstcapsfilter.c:
15483         * plugins/elements/gstfilesink.c:
15484         * plugins/elements/gstfilesrc.c:
15485         * plugins/elements/gstidentity.c:
15486         * plugins/indexers/Makefile.am:
15487           do CVS surgery and related build fixery to move elements
15488           and indexers in a new gstreamer/plugins directory, out of the
15489           gst/ directory
15490
15491 2005-11-29  Andy Wingo  <wingo@pobox.com>
15492
15493         * check/Makefile.am:
15494         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15495         * pkgconfig/gstreamer-net.pc.in:
15496         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
15497         #322257.
15498
15499 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15500
15501         * tools/Makefile.am:
15502         * tools/gst-complete.1.in:
15503         * tools/gst-complete.c:
15504         * tools/gst-compprep.1.in:
15505         * tools/gst-compprep.c:
15506           removing -compprep and -complete
15507
15508 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15509
15510         * gst/gstevent.c: (gst_event_new_new_segment),
15511         (gst_event_parse_new_segment):
15512         * gst/gstevent.h:
15513           fix #320529 - clean up new_segment API and structure.
15514           Let's hope everyone was using the methods, and not the structure.
15515
15516 2005-11-29  Edward Hervey  <edward@fluendo.com>
15517
15518         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15519         (gst_base_sink_event), (gst_base_sink_do_sync),
15520         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15521         Properly handle non GST_FORMAT_TIME segment
15522         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15523         Properly handle non GST_FORMAT_TIME segment
15524         * gst/gstsegment.c:
15525         This function is valid if the accumulator is 0 and the format
15526         is different from the requested format.
15527         
15528 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
15529
15530         * docs/gst/gstreamer-sections.txt:
15531         Add gst_query_new_seeking and gst_query_parse_seeking to the
15532         docs.
15533
15534 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
15535
15536         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15537           Treat a pad alloc with new caps the same as if we were not
15538           negotiated, in order to allow a changing upstream output
15539           to produce a new format of data.
15540
15541 2005-11-29  Edward Hervey  <edward@fluendo.com>
15542
15543         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15544         (gst_base_transform_event), (gst_base_transform_eventfunc):
15545         The event virtual method is now properly implemented, with a default
15546         handler
15547         Sub classes should call the parent_class event method. They should
15548         return FALSE if they had a problem handling the given event, or don't
15549         want GstBaseTransform to send that even downstream
15550         * gst/elements/gstidentity.c: (gst_identity_class_init),
15551         (gst_identity_init), (gst_identity_event),
15552         (gst_identity_transform_ip), (gst_identity_set_property),
15553         (gst_identity_get_property):
15554         * gst/elements/gstidentity.h:
15555         Added the single-segment boolean property.
15556         If set to TRUE, it will output a single segment of data, starting from
15557         0, will eat up all incoming newsegment, and modify the timestamp of the
15558         buffers accordingly
15559
15560 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
15561
15562         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
15563           Don't ref NULL target pad (#322751). Improve docs.
15564
15565 2005-11-29  Michael Smith  <msmith@fluendo.com>
15566
15567         * gst/gstregistryxml.c: (load_plugin):
15568           Don't crash if we failed to load a feature from a plugin. 
15569
15570 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15571
15572         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
15573         (GST_START_TEST):
15574           use more check API and less GLib API
15575
15576 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15577
15578         * Makefile.am:
15579           don't run checks if we don't have check
15580         * common/check.mak:
15581           remove the registry when running make torture
15582         * docs/gst/gstreamer-sections.txt:
15583           remove second multiply
15584         * gst/gstqueue.c: (gst_queue_loop):
15585           fix a compile warning when disabling debug
15586
15587 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
15588
15589         * gst/gstinfo.h:
15590         Hey! Let's print the pad name if the pointer != NULL instead
15591         of when it == NULL :-)
15592
15593 2005-11-28  Wim Taymans  <wim@fluendo.com>
15594
15595         * check/gst/gstutils.c: (GST_START_TEST):
15596         Updated check, add some scaling accuracy checking code.
15597
15598         * gst/gstutils.c: (gst_util_div128_64),
15599         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
15600         (gst_util_uint64_scale_int):
15601         Fix 6 times faster division code. Optimize for common 
15602         1/1 and less common X/1 cases.
15603
15604 2005-11-28  Wim Taymans  <wim@fluendo.com>
15605
15606         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15607         More checks.
15608
15609         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
15610         (do_linear_regression), (gst_clock_add_observation):
15611         Cleanups.
15612         Release lock when the clock cannot be slaved.
15613         Catch the case where the regression returned an invalid denominator.
15614
15615         * gst/gstutils.c: (gst_util_div128_64_iterate),
15616         (gst_util_div128_64), (gst_util_uint64_scale_int64),
15617         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15618         Add protentially more performant non-iterative 128/64 divide function
15619         that unfortunatly does not work yet.
15620         Shortcut the trivial 0/X = 0 case.
15621         Remove the warnings on overflow.
15622
15623 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15624
15625         * gst/gstplugin.c: (gst_plugin_register_func):
15626           everything causing a plugin not to load should be at least a WARNING
15627
15628 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
15629
15630         * docs/random/ensonic/dparams.txt:
15631           some TODOs for the next dev cycle
15632         * libs/gst/controller/gstcontroller.c:
15633         (gst_controlled_property_set_interpolation_mode),
15634         (gst_controlled_property_new):
15635         * libs/gst/controller/gstcontroller.h:
15636           use base type to assign acccessor functions
15637
15638 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
15639
15640         * check/Makefile.am:
15641         Oops, that should have been top_srcdir
15642
15643 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
15644
15645         * check/Makefile.am:
15646         * check/elements/fdsrc.c: (GST_START_TEST):
15647         Use a cmdline define to specify the location of a file to use for
15648         testing, to avoid breaking distcheck.
15649
15650 2005-11-28  Andy Wingo  <wingo@pobox.com>
15651
15652         * gst/gstpad.c (fixate_value): Use array functions for arrays.
15653
15654 2005-11-28  Edward Hervey  <edward@fluendo.com>
15655
15656         * tools/gst-launch.c: (main):
15657         Clarify the output strings, makes it easier to translate.
15658         Fixes #322626
15659
15660 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15661
15662         * gst/Makefile.am:
15663           don't try and build net if we don't even have <sys/socket.h>
15664
15665 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
15666
15667         * check/Makefile.am:
15668         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
15669         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
15670           Add tests for fdsrc seekability
15671
15672         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15673         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
15674         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
15675         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
15676         * gst/elements/gstfdsrc.h:
15677           fdsrc should not be a 'live' source.
15678           Implement seeking on seekable fd's.
15679
15680         * gst/gstquery.c: (gst_query_new_seeking),
15681         (gst_query_parse_seeking):
15682         * gst/gstquery.h:
15683           Implement SEEKING query functions: 
15684             *_new_seeking and *_parse_seeking
15685
15686 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
15687
15688         * gst/gstelement.c: (gst_element_dispose):
15689           don't loop forever
15690
15691         * gst/gstiterator.c:
15692         * gst/gststructure.c:
15693           doc fixes
15694
15695         * libs/gst/controller/gstcontroller.c:
15696         (gst_controlled_property_set_interpolation_mode):
15697         * libs/gst/controller/gstcontroller.h:
15698         * libs/gst/controller/gstinterpolation.c:
15699         (interpolate_none_get_enum_value_array):
15700           support controlling enums
15701
15702 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
15703
15704         * gst/gstvalue.c:
15705           Improve documentation for gst_value_union().
15706
15707         * gst/gstvalue.h:
15708           Change return value for union, intersect and subtract functions
15709           from gint to gboolean.
15710
15711 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
15712
15713         * gst/gstvalue.c: (gst_value_serialize_any_list),
15714         (gst_value_transform_any_list_string),
15715         (gst_value_deserialize_list), (gst_value_deserialize_array),
15716         (gst_value_set_int_range), (gst_value_deserialize_int_range),
15717         (gst_value_set_double_range), (gst_value_deserialize_double_range),
15718         (gst_value_set_fraction_range_full),
15719         (gst_value_deserialize_fraction_range),
15720         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
15721         (gst_value_deserialize_boolean),
15722         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
15723         (gst_value_serialize_float), (gst_value_deserialize_float),
15724         (gst_string_wrap), (gst_value_deserialize_string),
15725         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
15726         (gst_value_union_int_range_int_range),
15727         (gst_value_intersect_int_range_int_range),
15728         (gst_value_intersect_double_range_double_range),
15729         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
15730         (gst_value_subtract_int_range_int_range),
15731         (gst_value_subtract_double_double_range),
15732         (gst_value_subtract_double_range_double_range),
15733         (gst_value_deserialize_fraction):
15734         * gst/gstvalue.h:
15735           Use gint, gdouble and gchar in our API instead of int, double and
15736           char (and make usage in gstvalue.c more consistent).
15737
15738 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15739
15740         * check/Makefile.am:
15741         * libs/gst/controller/Makefile.am:
15742         * libs/gst/dataprotocol/Makefile.am:
15743           fix up Makefile.am and remove GST_ENABLE_NEW
15744
15745 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15746
15747         * configure.ac:
15748         * gst/Makefile.am:
15749         * gst/base/Makefile.am:
15750         * gst/check/Makefile.am:
15751         * gst/elements/Makefile.am:
15752         * gst/net/Makefile.am:
15753           update LDFLAGS use some more
15754
15755 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15756
15757         * common/m4/gst-doc.m4:
15758           Fixes #312589
15759
15760 2005-11-26  Edward Hervey  <edward@fluendo.com>
15761
15762         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15763         This shouldn't issue a g_warning since it returns NULL if it
15764         couldn't find the plugin, and all functions using this behave
15765         properly on a NULL return. Switching to a GST_WARNING.
15766
15767 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
15768
15769         * gst/gstbin.c: (gst_bin_handle_message_func):
15770         Don't leak clock messages.
15771
15772 2005-11-25  Wim Taymans  <wim@fluendo.com>
15773
15774         * gst/gstutils.c: (gst_util_uint64_scale_int64),
15775         (gst_util_uint64_scale_int):
15776         Optimisations, remove unneeded vars.
15777
15778 2005-11-25  Wim Taymans  <wim@fluendo.com>
15779
15780         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15781         Added more checks for the high precision uint64 cases.
15782
15783         * gst/gstutils.c: (gst_util_uint64_scale_int64),
15784         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15785         Implement high precision (guint64 * guint64) / guint64.
15786
15787 2005-11-24  Wim Taymans  <wim@fluendo.com>
15788
15789         * gst/base/gstbasesrc.c: (gst_base_src_query):
15790         Fix wrong percentage query.
15791
15792         * gst/gstutils.c: (gst_util_uint64_scale),
15793         (gst_util_uint64_scale_int):
15794         Add some more common cases that can be handled 
15795         efficiently to _scale.
15796
15797 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15798
15799         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
15800         (gst_mini_object_suite):
15801           don't use check calls from threads; check probably isn't
15802           threadsafe and using a lock to make it threadsafe would
15803           defeat the purpose of this check
15804         * gst/check/gstcheck.c:
15805         * gst/check/gstcheck.h:
15806           use GST_DEBUG some more
15807
15808 2005-11-24  Wim Taymans  <wim@fluendo.com>
15809
15810         * gst/gstutils.c: (gst_util_uint64_scale),
15811         (gst_util_uint64_scale_int):
15812         Chain trivial case to _scale_int.
15813
15814 2005-11-24  Wim Taymans  <wim@fluendo.com>
15815
15816         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15817         Added test for scaling.
15818
15819         * gst/gstclock.h:
15820         Small doc fix.
15821
15822         * gst/gstutils.c: (gst_util_uint64_scale_int):
15823         Implemented high precision scaling code.
15824
15825 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
15826
15827         * gst/gstinfo.h:
15828           do not crash on pad==NULL
15829
15830 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15831
15832         Patch by: Stefan Kost
15833
15834         * common/gtk-doc.mak:
15835         * docs/gst/Makefile.am:
15836         * docs/libs/Makefile.am:
15837           Fix distcheck issues for the libraries docs build
15838           Closes #319599.
15839
15840 2005-11-24  Michael Smith <msmith@fluendo.com>
15841
15842         * docs/manual/basics-helloworld.xml:
15843           Fix bug #315027: memory leak in example code in docs.
15844
15845 2005-11-24  Michael Smith <msmith@fluendo.com>
15846
15847         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15848           Unlock the PREROLL_LOCK in a failure case.
15849
15850 2005-11-24  Wim Taymans  <wim@fluendo.com>
15851
15852         * docs/gst/gstreamer-sections.txt:
15853         * gst/base/gstadapter.h:
15854         * gst/base/gstbasesink.h:
15855         * gst/base/gstbasesrc.h:
15856         * gst/base/gstbasetransform.h:
15857         * gst/base/gstpushsrc.h:
15858         * gst/elements/gstfakesink.h:
15859         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
15860         * gst/elements/gstfakesrc.h:
15861         * gst/elements/gstfilesink.h:
15862         * gst/elements/gstfilesrc.h:
15863         * gst/gst.c:
15864         * gst/gstbin.c:
15865         * gst/gstbuffer.c: (_gst_buffer_copy):
15866         * gst/gstbus.h:
15867         * gst/gstcaps.c:
15868         * gst/gstchildproxy.c:
15869         * gst/gstclock.c:
15870         * gst/gstelement.c:
15871         * gst/gstelementfactory.c:
15872         * gst/gstelementfactory.h:
15873         * gst/gstevent.c:
15874         * gst/gstghostpad.h:
15875         * gst/gstindex.h:
15876         * gst/gstinterface.h:
15877         * gst/gstminiobject.c:
15878         * gst/gstminiobject.h:
15879         * gst/gstpad.c:
15880         * gst/gstpad.h:
15881         * gst/gstpadtemplate.h:
15882         * gst/gstpipeline.h:
15883         * gst/gstpluginfeature.h:
15884         * gst/gstquery.h:
15885         * gst/gstqueue.h:
15886         * gst/gsttaglist.c:
15887         * gst/gsttaglist.h:
15888         * gst/gsttagsetter.c:
15889         * gst/gsttagsetter.h:
15890         * gst/gsttrace.c:
15891         * gst/gsttrace.h:
15892         * gst/gsttypefind.h:
15893         * gst/gsturi.h:
15894         * gst/gstvalue.c:
15895         * gst/net/gstnetclientclock.c:
15896         * gst/net/gstnetclientclock.h:
15897         * gst/net/gstnettimepacket.c:
15898         * gst/net/gstnettimeprovider.c:
15899         * gst/net/gstnettimeprovider.h:
15900         Doc fixes.
15901
15902 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15903
15904         * configure.ac: back to HEAD
15905
15906 === release 0.9.6 ===
15907
15908 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
15909
15910         * configure.ac:
15911           releasing 0.9.6, "Always On Time"
15912
15913 2005-11-23  Wim Taymans  <wim@fluendo.com>
15914
15915         * docs/gst/gstreamer-sections.txt:
15916         * gst/glib-compat.c:
15917         * gst/gsttagsetter.c:
15918         * gst/gstvalue.c:
15919         * gst/net/gstnetclientclock.c:
15920         * gst/net/gstnettimepacket.h:
15921         Doc updates.
15922
15923 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15924
15925         * docs/faq/using.xml:
15926         * docs/libs/tmpl/gstcontrol.sgml:
15927         * docs/manual/advanced-dparams.xml:
15928         * docs/manual/appendix-checklist.xml:
15929         * docs/manual/basics-elements.xml:
15930         * docs/pwg/other-source.xml:
15931         * docs/random/moving-plugins:
15932         * gst/gstpad.c:
15933         * tools/gst-launch.1.in:
15934           remove mentions of sinesrc
15935
15936 2005-11-23  Michael Smith <msmith@fluendo.com>
15937
15938         * docs/gst/gstreamer-sections.txt:
15939           Update for new API and API changes.
15940         * gst/gstobject.h:
15941           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
15942         * gst/gstvalue.c:
15943           Documentation typo fix.
15944         * gst/net/gstnettimepacket.c:
15945           Documentation fixes for arguments.
15946
15947 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
15948
15949         * gst/gststructure.c: (gst_structure_get_fraction),
15950         (gst_structure_parse_value),
15951         (gst_structure_fixate_field_nearest_fraction):
15952         * gst/gststructure.h:
15953         * gst/gstutils.c: (gst_util_uint64_scale_int):
15954         * gst/gstutils.h:
15955         * scripts/update-funcnames:
15956         API Changes. 
15957         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
15958         Make gst_structure_fixate_field_nearest_fraction take a numerator
15959         and denominator argument instead of a GValue
15960         add gst_structure_get_fraction helper function.
15961
15962 2005-11-23  Wim Taymans  <wim@fluendo.com>
15963
15964         * docs/design/part-TODO.txt:
15965         Update TODO.
15966
15967         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
15968         * gst/net/gstnetclientclock.h:
15969         Use parent fields for timeout and window_size.
15970
15971 2005-11-23  Andy Wingo  <wingo@pobox.com>
15972
15973         * check/net/gstnetclientclock.c (test_functioning): Adjust to
15974         rate_num/rate_denom change.
15975
15976         * gst/net/gstnetclientclock.c
15977         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
15978         OBJECT_LOCK. Don't call add_observation with the lock.
15979
15980         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
15981         fraction.
15982         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
15983         rate fraction.
15984         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
15985         deal with rate as a fraction whose numerator and denominator are
15986         GstClockTime values.
15987         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
15988         master; the other fields are protected by the SLAVE_LOCK.
15989         (do_linear_regression): Note that this must be called with the
15990         SLAVE_LOCK.
15991         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
15992         OBJECT_LOCK. Call set_calibration instead of touching the
15993         variables directly.
15994         (gst_clock_set_property, gst_clock_get_property): Protect
15995         master/slave parameters with the SLAVE_LOCK.
15996
15997         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
15998         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
15999         note that all of the instance variables that add_observation and
16000         the set_master functions use are protected by that lock and not
16001         the OBJECT_LOCK.
16002         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
16003
16004         * gst/gstclock.c (gst_clock_add_observation): No longer requires
16005         the caller to take the object lock.
16006
16007 2005-11-23  Wim Taymans  <wim@fluendo.com>
16008
16009         * gst/gsterror.c: (_gst_core_errors_init):
16010         * gst/gsterror.h:
16011         Add error for clock stuff.
16012
16013         * gst/gstpipeline.c: (gst_pipeline_change_state),
16014         (gst_pipeline_set_clock):
16015         Post clock error when clock cannot be used in a pipeline.
16016
16017 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
16018
16019         * docs/gst/gstreamer-sections.txt:
16020           make two symbols from gstinfo private for the docs
16021         * gst/base/gstcollectpads.h:
16022         * gst/gstutils.c:
16023           fix doc typos, update docs
16024
16025 2005-11-22  Wim Taymans  <wim@fluendo.com>
16026
16027         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16028         (gst_base_sink_wait), (gst_base_sink_do_sync),
16029         (gst_base_sink_handle_event):
16030         * gst/base/gstbasesink.h:
16031         No need to store the clock, the parent element class already
16032         has it.
16033
16034         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
16035         Updates for clock_set returning a gboolean
16036
16037         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
16038         (gst_clock_id_wait_async), (gst_clock_class_init),
16039         (gst_clock_init), (gst_clock_finalize),
16040         (gst_clock_get_internal_time), (gst_clock_get_time),
16041         (gst_clock_slave_callback), (gst_clock_set_master),
16042         (gst_clock_get_master), (do_linear_regression),
16043         (gst_clock_add_observation), (gst_clock_set_property),
16044         (gst_clock_get_property):
16045         * gst/gstclock.h:
16046         Implement master/slave. When setting a clock as a slave, a
16047         periodic timeout is scheduled to sample master and slave times.
16048         Then the slave clock is recalibrated to match offset and rate
16049         of the master clock.
16050         Update logging a bit.
16051         Add flag so that a clock can state that is cannot be slaved to
16052         another clock.
16053
16054         * gst/gstelement.c: (gst_element_set_clock):
16055         * gst/gstelement.h:
16056         The set clock returns a gboolean for when an element cannot
16057         deal with the selected clock in the pipeline. 
16058
16059         * gst/gstpipeline.c: (gst_pipeline_change_state),
16060         (gst_pipeline_set_clock):
16061         * gst/gstpipeline.h:
16062         Handle the case where the selected clock cannot be set on
16063         the pipeline.
16064
16065         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
16066         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
16067         (gst_net_client_clock_set_property),
16068         (gst_net_client_clock_get_property),
16069         (gst_net_client_clock_observe_times):
16070         * gst/net/gstnetclientclock.h:
16071         Use regression code in GstClock parent, remove duplicated
16072         functionality.
16073
16074 2005-11-22  Michael Smith <msmith@fluendo.com>
16075
16076         * gst/gstutils.c: (gst_util_clock_time_scale):
16077         * gst/gstutils.h:
16078         * docs/gst/gstreamer-sections.txt:
16079           Rename method to have extra underscore.
16080
16081 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16082
16083         * gst/elements/Makefile.am:
16084         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
16085         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16086         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16087         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
16088         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
16089         * gst/elements/gstfakesrc.h:
16090         * gst/gstqueue.c: (queue_leaky_get_type):
16091           correctly fix GEnumValues so that nick is the short lowercase
16092           dashed tag
16093         * tools/gst-inspect.c: (print_element_properties_info):
16094           also show the nick, since it's useful to use from parse_launch
16095           syntax
16096           Fixes #322139
16097
16098 2005-11-22  Michael Smith <msmith@fluendo.com>
16099
16100         * gst/gstutils.c: (gst_util_clocktime_scale):
16101         * gst/gstutils.h:
16102         * docs/gst/gstreamer-sections.txt:
16103           Add util method for scaling a clocktime by a fraction. Useful 
16104           implementation is left as an exercise for the reader.
16105
16106 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16107
16108         * gst/gstvalue.c: (gst_value_collect_fraction_range):
16109         If needed, allocate storage in the destination value during
16110         collection.
16111
16112 2005-11-22  Edward Hervey  <edward@fluendo.com>
16113
16114         * docs/gst/gstreamer-sections.txt:
16115         * gst/Makefile.am:
16116         * gst/gst.h:
16117         * gst/gsturitype.c:
16118         * gst/gsturitype.h:
16119         * gst/gstutils.c: (gst_util_set_object_arg):
16120         * tools/gst-compprep.c: (main):
16121         * tools/gst-inspect.c: (print_element_properties_info):
16122         Removed GstURI, closes bug #321061
16123
16124 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16125
16126         * check/gst/gststructure.c: (GST_START_TEST):
16127         * gst/gststructure.c: (gst_structure_parse_value):
16128           Oops, broke automatic string type parsing.
16129           Add a test to catch it in future.
16130
16131 2005-11-22  Andy Wingo  <wingo@pobox.com>
16132
16133         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
16134         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
16135         Actually rename the function implementations. Grr.
16136
16137 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16138
16139         * check/gst/capslist.h:
16140           Comment test cases
16141         * check/gst/gststructure.c: (GST_START_TEST),
16142         (gst_structure_suite):
16143           Test automatic value type detection in gst_structure_from_string.
16144         * gst/gststructure.c: (gst_structure_parse_value):
16145           Add fraction as a type we try and guess automatically in
16146           caps/structure strings.
16147
16148 2005-11-22  Andy Wingo  <wingo@pobox.com>
16149
16150         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
16151
16152         * gst/gsttagsetter.h:
16153         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
16154         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
16155         (gst_tag_setter_add_tag_valist)
16156         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
16157         _add_values, _add_valist, and _add_valist_values. Since this is an
16158         interface the function suffixes should be more explicit so
16159         language binding don't end up with element.add_valist ->
16160         gst_tag_setter_add_valist, for example. Fixes #322069.
16161
16162 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16163
16164         * check/gst/gstcaps.c: (GST_START_TEST):
16165           Extend caps string tests to check that a caps to string
16166           conversion is reversible and produces the same caps.
16167
16168         * gst/gststructure.c: (gst_structure_value_get_generic_type):
16169           Output "fraction" as the generic type fraction range, so caps
16170           serialisation and deserialisation works.
16171         * check/gst/capslist.h:
16172         * gst/gstvalue.c: (gst_value_deserialize_fraction):
16173           Support 'MIN' and 'MAX' for deserialising fractions.
16174
16175 2005-11-22  Andy Wingo  <wingo@pobox.com>
16176
16177         * gst/gstevent.h (gst_event_new_new_segment)
16178         (gst_event_parse_new_segment, gst_event_new_buffer_size)
16179         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
16180         Renamed from *_newsegment, *_buffersize, *_notarget.
16181
16182         * scripts/update-funcnames: New script, performs the changes
16183         listed above.
16184
16185 2005-11-22  Wim Taymans  <wim@fluendo.com>
16186
16187         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16188         Make sure the GstFlowReturn is returned.
16189
16190         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
16191         (gst_bus_add_signal_watch):
16192         * gst/gstbus.h:
16193         add gst_bus_add_signal_watch_full.
16194
16195         * gst/gstplugin.c: (gst_plugin_load_file):
16196         Small style cleanup.
16197
16198 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16199
16200         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
16201           Block the fakesrc srcpad when we send an event, to avoid
16202           contention on the stream_lock causing random test failures.
16203
16204 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16205
16206         * check/gst/gstvalue.c: (GST_START_TEST):
16207         * gst/gstvalue.c: (gst_value_fraction_subtract):
16208           Fix subtraction.
16209
16210 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
16211
16212         * gst/gst.h:
16213           include "gstchildproxy.h"
16214         * gst/gstchildproxy.h:
16215         * libs/gst/controller/gstcontroller.h:
16216           use G_GNUC_NULL_TERMINATED
16217
16218 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16219
16220         * check/gst/capslist.h:
16221         * check/gst/gstcaps.c: (GST_START_TEST):
16222         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16223         * gst/gststructure.c: (gst_structure_parse_range),
16224         (gst_structure_fixate_field_nearest_fraction):
16225         * gst/gststructure.h:
16226         * gst/gstvalue.c: (gst_value_init_fraction_range),
16227         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
16228         (gst_value_collect_fraction_range),
16229         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
16230         (gst_value_set_fraction_range_full),
16231         (gst_value_get_fraction_range_min),
16232         (gst_value_get_fraction_range_max),
16233         (gst_value_serialize_fraction_range),
16234         (gst_value_transform_fraction_range_string),
16235         (gst_value_compare_fraction_range),
16236         (gst_value_deserialize_fraction_range),
16237         (gst_value_intersect_fraction_fraction_range),
16238         (gst_value_intersect_fraction_range_fraction_range),
16239         (gst_value_subtract_fraction_fraction_range),
16240         (gst_value_subtract_fraction_range_fraction),
16241         (gst_value_subtract_fraction_range_fraction_range),
16242         (gst_value_collect_fraction), (gst_value_fraction_multiply),
16243         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
16244         (gst_value_transform_string_fraction), (_gst_value_initialize):
16245         * gst/gstvalue.h:
16246           Implement fraction ranges and extend GstFraction to support
16247           arithmetic subtraction, as well as deserialization from integer
16248           strings such as "100"
16249           Add a testsuite as for int and double range set operations
16250
16251 2005-11-21  Andy Wingo  <wingo@pobox.com>
16252
16253         * gst/gsttaglist.h: 
16254         * gst/gstcaps.h: 
16255         * gst/gststructure.h: Add glib-compat.h.
16256
16257 2005-11-21  Wim Taymans  <wim@fluendo.com>
16258
16259         * gst/gstbin.c: (gst_bin_change_state_func):
16260         Fix for #321595
16261
16262 2005-11-21  Wim Taymans  <wim@fluendo.com>
16263
16264         * gst/gstsegment.h:
16265         And add a nice define too.
16266
16267 2005-11-21  Wim Taymans  <wim@fluendo.com>
16268
16269         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
16270         (gst_segment_new), (gst_segment_free), (gst_segment_init),
16271         (gst_segment_set_duration), (gst_segment_set_last_stop),
16272         (gst_segment_set_seek), (gst_segment_set_newsegment),
16273         (gst_segment_to_stream_time), (gst_segment_to_running_time),
16274         (gst_segment_clip):
16275         * gst/gstsegment.h:
16276         Make binding friendly.
16277
16278 2005-11-21  Andy Wingo  <wingo@pobox.com>
16279
16280         * gst/gsttagsetter.h: 
16281         * gst/gsttaglist.h: 
16282         * gst/gststructure.h: 
16283         * gst/gstcaps.h: 
16284         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
16285         #319940.
16286
16287         * gst/gsterror.c (_gst_core_errors_init):
16288         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
16289         category.
16290
16291         * gst/Makefile.am (gst_headers): Add glib-compat.h.
16292         (noinst_HEADERS): noinst the -private.
16293
16294 2005-11-21  Michael Smith <msmith@fluendo.com>
16295
16296         * gst/gstplugin.h:
16297         * gst/gstregistry.h:
16298           Remove unimplemented declarations for which we can see no sensible
16299           use.
16300
16301 2005-11-21  Andy Wingo  <wingo@pobox.com>
16302
16303         * gst/gst.h: Include glib-compat.h.
16304
16305         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
16306
16307         * gst/glib-compat.c: Include the public and the private header.
16308
16309         * gst/glib-compat-private.h: Copied here from glib-compat.h.
16310
16311         * gst/gstvalue.c: 
16312         * gst/gstpad.c: 
16313         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
16314
16315         * check/gst/gstevent.c (create_custom_events): Check that
16316         FLUSH_STOP is serialized.
16317
16318         * check/elements/identity.c (event_func): 
16319         * check/elements/fakesrc.c (event_func): No stream lock, the core
16320         takes it.
16321
16322         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
16323         stream lock taking, yay.
16324
16325         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
16326         ensure that core takes the stream lock.
16327
16328         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
16329         lock name change.
16330
16331         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
16332         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
16333         it already. For the flush start we do take it though so we get the
16334         right preroll state change messages.
16335
16336         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
16337         the stream lock here, the core does it for us.
16338
16339         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
16340         GST_STREAM_GET_LOCK.
16341         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
16342         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
16343         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
16344         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
16345         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
16346         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
16347
16348         * gst/gstpad.c: Update for stream lock name change.
16349
16350         * gst/base/gstbasesink.c: Update for preroll lock name change.
16351
16352 2005-11-21  Wim Taymans  <wim@fluendo.com>
16353
16354         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
16355         (gst_clock_get_master):
16356         * gst/gstclock.h:
16357         * gst/gstsystemclock.c: (gst_system_clock_init):
16358         Convert Clock flags to object flags.
16359         Added methods to manage master/slave clocks.
16360
16361 2005-11-21  Wim Taymans  <wim@fluendo.com>
16362
16363         * check/gst/gstsegment.c: (GST_START_TEST):
16364         * docs/design/part-TODO.txt:
16365         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16366         (gst_base_sink_event), (gst_base_sink_do_sync),
16367         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16368         (gst_base_sink_query), (gst_base_sink_change_state):
16369         * gst/base/gstbasesink.h:
16370         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16371         (gst_base_src_default_newsegment),
16372         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16373         (gst_base_src_get_range), (gst_base_src_loop),
16374         (gst_base_src_change_state):
16375         * gst/base/gstbasesrc.h:
16376         * gst/base/gstbasetransform.c:
16377         (gst_base_transform_prepare_output_buf),
16378         (gst_base_transform_event), (gst_base_transform_change_state):
16379         * gst/base/gstbasetransform.h:
16380         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
16381         (gst_collect_pads_event):
16382         * gst/base/gstcollectpads.h:
16383         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
16384         (gst_fake_src_create):
16385         * gst/elements/gstfakesrc.h:
16386         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16387         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16388         (gst_segment_set_last_stop), (gst_segment_set_seek),
16389         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16390         (gst_segment_to_running_time), (gst_segment_clip):
16391         * gst/gstsegment.h:
16392         More segment updates, replace code in plugins with segment
16393         helper functions.
16394
16395 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
16396
16397         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
16398         Don't ignore sscanf results
16399
16400 2005-11-21  Andy Wingo  <wingo@pobox.com>
16401
16402         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
16403
16404         * *.h:
16405         * *.c: Ran scripts/update-macros. Oh yes.
16406
16407         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
16408         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
16409         GST_GET_LOCK, etc.
16410
16411         * scripts/update-macros: New script. Run it on your files to
16412         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
16413         well.
16414
16415 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
16416
16417         * docs/gst/Makefile.am:
16418         * docs/gst/gstreamer-docs.sgml:
16419         * docs/gst/gstreamer-sections.txt:
16420         * docs/gst/gstreamer.types:
16421         * gst/gstinfo.h:
16422           more docs fixes, add new api to the docs
16423
16424 2005-11-21  Andy Wingo  <wingo@pobox.com>
16425
16426         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
16427         state_broadcast call.
16428
16429         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
16430
16431 2005-11-21  Julien MOUTTE  <julien@moutte.net>
16432
16433         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
16434         function calls for arrays.
16435
16436 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
16437
16438         * docs/random/ensonic/media-device-daemon.txt:
16439           wild idea, can this be done?
16440         * docs/gst/gstreamer-sections.txt:
16441         * gst/gsterror.h:
16442         * gst/gstfilter.c:
16443         * gst/gstfilter.h:
16444         * gst/gstplugin.h:
16445         * gst/gstpluginfeature.c:
16446         * gst/gsttrace.c:
16447         * gst/gstvalue.c:
16448         * gst/gstvalue.h:
16449           doc fixes and additions
16450
16451 2005-11-21  Andy Wingo  <wingo@pobox.com>
16452
16453         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
16454         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
16455         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
16456         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
16457         private to the basesrc implementation.
16458
16459         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
16460         behalf of event function if necessary. It should no longer be
16461         necessary to take the stream lock in pad's event functions. Fixes
16462         #320299.
16463
16464 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
16465         * docs/gst/gstreamer-sections.txt:
16466         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
16467         (gst_structure_fixate_field_nearest_double),
16468         (gst_structure_fixate_field_boolean):
16469         * gst/gststructure.h:
16470         * win32/common/libgstreamer.def:
16471         * win32/gstreamer.def:
16472
16473         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
16474         (#322027)
16475
16476 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
16477
16478         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
16479         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
16480         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
16481         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
16482         (gst_fdsrc_uri_handler_init):
16483         * gst/elements/gstfdsrc.h:
16484           Port fd:// URI handler from 0.8 to fdsrc
16485
16486 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16487
16488         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
16489         (gst_value_serialize_fourcc):
16490         * gst/gstvalue.h:
16491           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
16492           consistent with our other format defines (#320324).
16493
16494 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16495
16496         * gst/gstvalue.c: (gst_value_is_fixed):
16497           Revert previous commit. Value lists are by definition
16498           not fixed, as they are a list of possible values.
16499
16500 2005-11-21  Andy Wingo  <wingo@pobox.com>
16501
16502         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
16503         during the stable series if we need it. Fixes #319178.
16504
16505         * gst/gstevent.c (gst_event_new_filler): Removed.
16506
16507         * check/gst/gstevent.c: Update comment about filler events.
16508
16509 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16510
16511         * gst/gstvalue.c: (gst_value_is_fixed):
16512           Should handle both value arrays and value lists.
16513
16514 2005-11-21  Andy Wingo  <wingo@pobox.com>
16515
16516         patch by: Alessandro Dessina <alessandro nnva org>
16517
16518         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
16519         functions to access arrays. Fixes #321962.
16520
16521 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16522
16523         * docs/gst/gstreamer.types:
16524           gst_collectpads_get_type => gst_collect_pads_get_type.
16525           
16526         * gst/base/gstbasetransform.c:
16527           Remove unused SIGNAL_HANDOFF enum.
16528
16529 2005-11-21  Andy Wingo  <wingo@pobox.com>
16530
16531         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
16532         the event type (upstream, downstream, serialized). Renamed
16533         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
16534         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
16535         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
16536
16537         * gst/gstevent.c: Update for new CUSTOM event names.
16538
16539         * check/gst/gstevent.c: Update check for new CUSTOM event names.
16540
16541         * gst/gstevent.h:
16542         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
16543         bug #319392.
16544
16545 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16546
16547         * docs/gst/gstreamer-sections.txt:
16548         * win32/common/libgstbase.def:
16549         * win32/libgstbase.def:
16550         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16551         (gst_collect_pads_class_init), (gst_collect_pads_init),
16552         (gst_collect_pads_finalize), (gst_collect_pads_new),
16553         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
16554         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
16555         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
16556         (gst_collect_pads_start), (gst_collect_pads_stop),
16557         (gst_collect_pads_peek), (gst_collect_pads_pop),
16558         (gst_collect_pads_available), (gst_collect_pads_read),
16559         (gst_collect_pads_flush), (gst_collect_pads_event),
16560         (gst_collect_pads_chain):
16561         * gst/base/gstcollectpads.h:
16562           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
16563           unimplemented functions as unimplemented. Add padding to
16564           GstCollectData. (#320766, #320423)
16565
16566 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16567
16568         * gst/gstmessage.c:
16569           Improve docs for DURATION message (usage of duration parameter)
16570           (#320113)
16571
16572 2005-11-20  Wim Taymans  <wim@fluendo.com>
16573
16574         * check/Makefile.am:
16575         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
16576         (main):
16577         * gst/Makefile.am:
16578         * gst/gst.h:
16579         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16580         (gst_segment_set_seek), (gst_segment_set_newsegment),
16581         (gst_segment_to_stream_time), (gst_segment_to_running_time),
16582         (gst_segment_clip):
16583         * gst/gstsegment.h:
16584         Added segment helper structure and methods. Not fully implemented
16585         yet.
16586         Added segment check.
16587
16588 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
16589
16590         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16591           Add a deserialisation test for fractions
16592         * examples/metadata/read-metadata.c: (message_loop),
16593         (make_pipeline), (main):
16594           Fix up metadata reading sample.
16595         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16596           Debug format fix
16597         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16598           Don't try and fixate empty caps
16599         * gst/gst_private.h:
16600           Wrap in G_BEGIN_DECLS/G_END_DECLS
16601         * gst/gstvalue.c: (gst_value_collect_fraction),
16602         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
16603         (gst_value_transform_string_fraction),
16604         (gst_value_compare_fraction):
16605           Add some extra guards to ensure that we don't end up 
16606           with an invalid denominator of 0 in a gstfraction and
16607           that fractions always get reduced.
16608
16609 2005-11-20  Wim Taymans  <wim@fluendo.com>
16610
16611         * docs/gst/gstreamer-sections.txt:
16612         * gst/gstbuffer.h:
16613         * gst/gstelement.c:
16614         * gst/gstformat.c:
16615         * gst/gstformat.h:
16616         * gst/gstindex.h:
16617         * gst/gstquery.c:
16618         * gst/gstquery.h:
16619         * gst/gstvalue.c:
16620         Doc fixes.
16621
16622 2005-11-20  Wim Taymans  <wim@fluendo.com>
16623
16624         * docs/design/part-TODO.txt:
16625         * gst/gstcaps.h:
16626         Make a proper enum of the flag.
16627
16628 2005-11-19  Wim Taymans  <wim@fluendo.com>
16629
16630         * docs/design/part-TODO.txt:
16631         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
16632         (gst_format_to_quark), (gst_format_register):
16633         * gst/gstformat.h:
16634         * gst/gstquery.c: (_gst_query_initialize),
16635         (gst_query_type_get_name), (gst_query_type_to_quark),
16636         (gst_query_type_register):
16637         * gst/gstquery.h:
16638         Add type to quark and type to string conversions.
16639
16640 2005-11-19  Andy Wingo  <wingo@pobox.com>
16641
16642         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
16643         #320097.
16644
16645 2005-11-19  Wim Taymans  <wim@fluendo.com>
16646
16647         * docs/design/part-TODO.txt:
16648         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16649         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
16650         (gst_bin_handle_message_func):
16651         * gst/gstbin.h:
16652         Make message handling overridable.
16653
16654 2005-11-19  Andy Wingo  <wingo@pobox.com>
16655
16656         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
16657
16658         * gst/gstclock.h:
16659         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
16660         be a GstClockTime.
16661         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
16662         is a GstClockTime. Fixes #321710.
16663
16664         * gst/gstclock.h (GstClock): Remove offset property. Add
16665         internal_calibration and external_calibration. Fix padding. Pad
16666         also by GstClockTime so we don't run into problems.
16667
16668         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
16669         (gst_clock_get_rate_offset): Remove.
16670         (gst_clock_set_time_adjust): Remove. Fixes #321712.
16671
16672         * gst/gstutils.h:
16673         * gst/gstutils.c (g_static_rec_cond_wait)
16674         (g_static_rec_cond_timed_wait): Removed, no longer needed.
16675
16676         * gst/gstbin.c: Remove terrible continue_state prototype.
16677
16678         * gst/gstelement.h (gst_element_continue_state): Make public.
16679
16680         * gst/gstelement.h:
16681         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
16682         by continue_state. Fixes #319389.
16683
16684         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
16685         Really fixes #168438. However I don't see anywhere where the
16686         filter function is called... stupid GStreamer...
16687         
16688         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
16689         don't have a dispose function, so it won't get called when the
16690         object is unreffed, but oh well!
16691
16692         * gst/gstindex.c (gst_index_set_filter_full): New API function,
16693         allows a destroy function to be set so user_data can be freed.
16694         Fixes #168438.
16695         (gst_index_set_filter): Call gst_index_set_filter_full.
16696
16697         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
16698
16699         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
16700         string should produce an error, given the lack of a way to
16701         represent NULL strings. Fixes #165650.
16702         
16703         * gst/gstvalue.h: 
16704         * gst/gstvalue.c (gst_value_array_append_value) 
16705         (gst_value_array_prepend_value, gst_value_array_get_size) 
16706         (gst_value_array_get_value): New API, copied from
16707         gst_value_list_*, only operates on arrays.
16708         (gst_value_list_append_value, gst_value_list_prepend_value) 
16709         (gst_value_list_concat, gst_value_list_get_size) 
16710         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
16711
16712         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
16713         init_list, because it works on both.
16714         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
16715         (gst_value_copy_list_or_array): Renamed from copy_list.
16716         (gst_value_free_list_or_array): Renamed from free_list.
16717         (gst_value_collect_list_or_array): Renamed from collect_list.
16718         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
16719         (gst_value_list_or_array_peek_pointer): Renamed from
16720         list_peek_pointer.
16721         (_gst_value_array_value_table, _gst_value_list_value_table):
16722         Update value table functions.
16723         (gst_value_compare_list_or_array): Renamed from compare_list.
16724
16725         * gsttaglist.h: Whoops, foreach function returns void. Also fix
16726         some constness.
16727
16728         * gst/gsttaglist.c:
16729         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
16730         GstTagList*. Fixes #143472.
16731
16732         * gst/gststructure.h: Clarify what the foreach/map functions can
16733         or can't do to their arguments.
16734
16735 2005-11-18  Wim Taymans  <wim@fluendo.com>
16736
16737         * gst/gstclock.c: (gst_clock_set_calibration),
16738         (gst_clock_get_calibration):
16739         Doc and API fixes.
16740         Calibration can be set with internal time equal to current
16741         internal time too.
16742
16743 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16744
16745         * gst/gsterror.c:
16746         * gst/gsterror.h:
16747           document
16748
16749 2005-11-18  Andy Wingo  <wingo@pobox.com>
16750
16751         * configure.ac: 
16752         * pkgconfig/gstreamer-net.pc.in:
16753         * pkgconfig/gstreamer-net-uninstalled.pc.in:
16754         * pkgconfig/Makefile.am: Add net pkgconfig files.
16755
16756 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
16757
16758         * gst/gstcaps.c:
16759         * gst/gstghostpad.c:
16760         * gst/gsttrace.c:
16761         * gst/gstvalue.c:
16762         * gst/gstvalue.h:
16763           docs fixes
16764
16765 2005-11-18  Andy Wingo  <wingo@pobox.com>
16766
16767         * gst/net/gstnetclientclock.c: Turn off debugging.
16768
16769         * check/net/gstnetclientclock.c (test_functioning): Assert that the
16770         times connverge somewhat. Can't make a real test.
16771
16772         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
16773         integer arithmetic. Return the minimum of the domain, which can be
16774         set as "internal" for gst_clock_set_calibration.
16775         (gst_net_client_clock_observe_times): Call _set_calibration.
16776         (gst_net_client_clock_new): Call _set_calibration instead of
16777         rate_offset.
16778
16779         * check/net/gstnetclientclock.c (test_functioning): Use the right
16780         adjustment api.
16781
16782         * gst/gstclock.h:
16783         * gst/gstclock.c (gst_clock_get_calibration) 
16784         (gst_clock_set_calibration): New functions, obsolete the ones I
16785         added yesterday. Doh. Precision issues mean we have to extrapolate
16786         from a point in the more recent past than 1970.
16787         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
16788         obsolete.
16789         (gst_clock_adjust_unlocked): Use the right calibration data.
16790
16791 2005-11-18  Edward Hervey  <edward@fluendo.com>
16792
16793         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
16794         Also reset the ->current_* values in READY->PAUSED
16795
16796 2005-11-18  Andy Wingo  <wingo@pobox.com>
16797
16798         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
16799         Whoops, check the right fd. Also add some debugging.
16800         (gst_net_client_clock_observe_times): Adjust for int64 offset.
16801         (do_linear_regression): Add a crapload of debugging. Subtract off
16802         the minimum values from the input series to discard unneeded bits.
16803         Use only int arithmetic. There is still double arithmetic when
16804         calculating the intercept that needs fixing. Return boolean to
16805         indicate success; FALSE would mean the domain or range is too
16806         great. Still needs fixes.
16807
16808 2005-11-18  Wim Taymans  <wim@fluendo.com>
16809
16810         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16811         For the current position in stream time, we need to subtract
16812         accumulated time.
16813         
16814         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16815         Release lock before calling the callback function of async
16816         entries.
16817
16818 2005-11-18  Andy Wingo  <wingo@pobox.com>
16819
16820         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
16821         Port goes all the way to MAXUINT16.
16822
16823         * gst/net/gstnettimeprovider.c: Make the port range the same as
16824         for the kernel: 0 assigns, otherwise ports are less than
16825         MAXUINT16.
16826
16827         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
16828         port change.
16829
16830         * check/net/gstnetclientclock.c (test_functioning): Add the start
16831         of another test. 
16832
16833 2005-11-18  Wim Taymans  <wim@fluendo.com>
16834
16835         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16836         (gst_bin_remove_func), (bin_bus_handler):
16837         * gst/gstbin.h:
16838         Removing a clock provider from a bin, triggers a clock lost message
16839         so that a new clock will be selected.
16840         Adding a clock to a bin triggers a clock provider message.
16841         Make sure we reselect a clock when we received a clock lost message.
16842         Keep a reference to the element that provided the clock.
16843
16844 2005-11-18  Andy Wingo  <wingo@pobox.com>
16845
16846         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
16847         the clock initially so it produces values around the base time.
16848         (gst_net_client_clock_class_init): Typo fix.
16849         (gst_net_client_clock_thread): Add note on when the socket gets
16850         closed.
16851
16852 2005-11-17  Wim Taymans  <wim@fluendo.com>
16853
16854         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
16855         Free remote and local time arrays.
16856
16857 2005-11-17  Wim Taymans  <wim@fluendo.com>
16858
16859         * gst/net/gstnetclientclock.c: (do_linear_regression),
16860         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
16861         Fix compilation, uninitialized vars and a forgotten continue.
16862
16863 2005-11-17  Andy Wingo  <wingo@pobox.com>
16864
16865         * check/Makefile.am (check_PROGRAMS): 
16866         * check/net/gstnetclientclock.c: Add a most minimal test for the
16867         net client clock. More to come later.
16868
16869         * gst/net/gstnet.h: 
16870         * gst/net/Makefile.am: Add netclientclock.
16871
16872         * gst/net/gstnetclientclock.h:
16873         * gst/net/gstnetclientclock.c: New files, implement an untested
16874         GstClock that takes its time from a network time provider.
16875         Implements the algorithm in network-clock.scm.
16876
16877         * tests/network-clock.scm (*window-size*): Rename from
16878         *queue-length*.
16879         * tests/network-clock.scm (network-time): 
16880         * tests/network-clock-utils.scm (q-push): Update callers.
16881
16882 2005-11-17  Wim Taymans  <wim@fluendo.com>
16883
16884         * gst/gstbin.c: (gst_bin_provide_clock_func),
16885         (gst_bin_sort_iterator_new):
16886         And unref the child too..
16887
16888 2005-11-17  Wim Taymans  <wim@fluendo.com>
16889
16890         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16891         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
16892         Refactor the sort iterator so it can be used while holding the
16893         LOCK too.
16894         Make clock selection select a clock closest to the source.
16895
16896 2005-11-17  Michael Smith <msmith@fluendo.com>
16897
16898         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
16899         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
16900         * gst/gstclock.h:
16901           Anonymous structs are a gcc (and some other compilers) extension, so
16902           don't use them. Since this is only for ABI-compatibility, and our
16903           API/ABI freeze is over in a few days, this whole thing will only
16904           last a few days, so don't bother trying to think up a meaningful
16905           name for the struct.
16906
16907 2005-11-17  Andy Wingo  <wingo@pobox.com>
16908
16909         * gst/gstclock.h (GstClock): Add rate and offset properties,
16910         preserving ABI stability. Add rate/offset accessors. Will file bug
16911         for the freeze break.
16912
16913         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
16914         and offset, trying to keep precision and avoiding
16915         underflow/overflow.
16916         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
16917         functions. Make gst_clock_set_time_adjust obsolete.
16918         (gst_clock_set_time_adjust): Note that this function is obsolete.
16919         Will file bug soon.
16920
16921         * gst/base/gstbasetransform.h: Make the ABI-stability hack
16922         greppable by using GST_PADDING-1+1.
16923
16924 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
16925
16926         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16927
16928         * gst/gstmessage.c: (gst_message_parse_clock_lost):
16929           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
16930
16931         * gst/gstpadtemplate.h:
16932         * gst/gstpluginfeature.h:
16933           Don't use c++ style comments in headers (#321638).
16934
16935 2005-11-16  Andy Wingo  <wingo@pobox.com>
16936
16937         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
16938         buffer.
16939
16940         * check/net/gstnettimeprovider.c: Check to see that the time
16941         provider actually provides times. Works, yo!
16942
16943 2005-11-16  Wim Taymans  <wim@fluendo.com>
16944
16945         * check/Makefile.am:
16946         Enable more tests.
16947
16948         * check/elements/fakesrc.c: (GST_START_TEST):
16949         Set element to NULL before disposing it.
16950
16951 2005-11-16  Andy Wingo  <wingo@pobox.com>
16952
16953         * gst/net/Makefile.am:
16954         * gst/net/gstnet.h:
16955         * gst/net/gstnettimeprovider.c: 
16956         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
16957         provider, include it from gstnet.h, and add it to the build.
16958
16959         * gst/net/gstnettimepacket.h: 
16960         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
16961         sending and receiving.
16962
16963 2005-11-16  Wim Taymans  <wim@fluendo.com>
16964
16965         * check/Makefile.am:
16966         Enable valgrind check.
16967
16968         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
16969         (gst_fake_src_alloc_buffer):
16970         Fix memleak.
16971
16972 2005-11-16  Wim Taymans  <wim@fluendo.com>
16973
16974         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
16975         Call parent finalize too.
16976
16977 2005-11-16  Wim Taymans  <wim@fluendo.com>
16978
16979         * check/Makefile.am:
16980         Enable valgrind check that should work fine now.
16981
16982         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16983         * gst/gstqueue.c: (gst_queue_init):
16984         Fix memleaks in pad allocation.
16985
16986 2005-11-16  Andy Wingo  <wingo@pobox.com>
16987
16988         * gst/net/Makefile.am:
16989         * gst/net/gstnet.h: New part of core to hold network elements and
16990         objects. Put in core because it exposes API that applications want
16991         to use. The library is named libgstnet-tempname right now because
16992         of the existing libgstnet in gst-plugins-base. Solution is
16993         probably to rename the one in plugins-base; will file a bug for
16994         the freeze break.
16995
16996         * gst/net/gstnettimeprovider.c: 
16997         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
16998         get_time call over the network.
16999
17000         * configure.ac: 
17001         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
17002
17003         * check/Makefile.am:
17004         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
17005         get additions shortly.
17006
17007 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17008
17009         * gst/gstpad.c: (gst_pad_new_from_static_template):
17010         * gst/gstpad.h:
17011           add gst_pad_new_from_static_template functions
17012         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
17013         (gst_check_setup_sink_pad):
17014         * gst/elements/gsttee.c: (gst_tee_init):
17015           and use them
17016
17017 2005-11-16  Wim Taymans  <wim@fluendo.com>
17018
17019         * gst/gstpad.c: (gst_pad_pause_task):
17020         Removed warning, it's not really an error either.
17021
17022 2005-11-16  Wim Taymans  <wim@fluendo.com>
17023
17024         * gst/base/gstbasetransform.c:
17025         (gst_base_transform_prepare_output_buf),
17026         (gst_base_transform_event):
17027         Check if the caps are NULL, this can happen if the element
17028         is shutting down and the pad caps are set to NULL.
17029
17030 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17031
17032         * gst/elements/gsttee.c: (gst_tee_init):
17033           fix pad template leak in tee
17034
17035 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17036
17037         * gst/glib-compat.c: (g_value_dup_gst_object):
17038         * gst/glib-compat.h:
17039         * gst/gstpad.c: (gst_pad_set_property):
17040           use gst_object_ref when setting the pad template; this will
17041           trigger the pad template leaks on GLib 2.6 and the slaves
17042
17043 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17044
17045         * gst/glib-compat.c: (gst_flags_get_first_value):
17046         * gst/glib-compat.h:
17047         * gst/gstregistryxml.c:
17048           remove functions copied from GLib 2.6
17049
17050 2005-11-16  Michael Smith <msmith@fluendo.com>
17051
17052         * gst/Makefile.am:
17053           Don't link against VALGRIND_LIBS. That was always the wrong thing to
17054           do, but only breaks with newer valgrind versions. We're not a
17055           valgrind tool, we have no link-time dependencies on libcoregrind.
17056
17057 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17058
17059         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17060           some debug changes
17061         * gst/gstmessage.h:
17062           typo fixes
17063
17064 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17065
17066         * gst/base/gstbasesrc.c: (gst_base_src_init):
17067         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17068         * gst/gstqueue.c: (gst_queue_init):
17069         * gst/gstregistryxml.c: (load_feature):
17070           Revert all these unrefs, they don't even pass make check !
17071
17072 2005-11-15  Johan Dahlin  <johan@gnome.org>
17073
17074         * gst/base/gstbasesrc.c: (gst_base_src_init):
17075         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17076         * gst/gstqueue.c: (gst_queue_init): 
17077         Free pad templates, fixes a couple of leaks.
17078
17079 2005-11-15  Daniel Fischer  <dan at f3c dot com>
17080
17081         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17082
17083         * gst/gstpad.c: (gst_pad_get_property):
17084           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
17085           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
17086           (#321452)
17087
17088 2005-11-15  Wim Taymans  <wim@fluendo.com>
17089
17090         * gst/gstevent.c:
17091         Small doc update.
17092
17093 2005-11-15  Andy Wingo  <wingo@pobox.com>
17094
17095         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
17096
17097         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
17098         using GST_CLOCK_TIME_NONE to disable base time management.
17099         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
17100         time if it was NONE before.
17101         (gst_pipeline_change_state): Only munge the base time if
17102         stream_time != GST_CLOCK_TIME_NONE.
17103
17104         * check/gst/gstpipeline.c (test_base_time): Punt around the
17105         problem of the probe not being called, because that's not the
17106         issue I'm looking at. Add a check that setting stream_time to NONE
17107         disables base time management.
17108         
17109 2005-11-15  Wim Taymans  <wim@fluendo.com>
17110
17111         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17112         segment_stop == -1 at startup.
17113
17114         * gst/base/gstbasetransform.c: (gst_base_transform_event),
17115         (gst_base_transform_change_state):
17116         Init segment values at start.
17117
17118 2005-11-15  Wim Taymans  <wim@fluendo.com>
17119
17120         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17121         0 segment values are 0 in any format.
17122
17123         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17124         * gst/base/gstbasetransform.h:
17125         Parse newsegment correctly in basetransform
17126
17127         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17128         Sync to clock using updated segment values.
17129
17130 2005-11-15  Andy Wingo  <wingo@pobox.com>
17131
17132         * check/gst/gstpipeline.c (test_base_time): Add check that the
17133         base time and stream time are reset correctly.
17134
17135 2005-11-15  Wim Taymans  <wim@fluendo.com>
17136
17137         * docs/design/part-TODO.txt:
17138         Some more TODO items.
17139
17140 2005-11-15  Andy Wingo  <wingo@pobox.com>
17141
17142         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
17143         error if the user selected "no clock" as the clocking method.
17144
17145         * check/gst/gstpipeline.c (test_base_time): New test for buffer
17146         timestamps with live capture.
17147
17148         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
17149         is 0 but we are a live source, timestamp the buffers using the
17150         element's clock.
17151
17152 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
17153
17154         * docs/gst/gstreamer-sections.txt:
17155         * gst/gsterror.c:
17156         * gst/gstghostpad.c:
17157         * gst/gstobject.h:
17158         * gst/gstxml.c:
17159           more section docs
17160
17161 2005-11-14  Wim Taymans  <wim@fluendo.com>
17162
17163         * common/gst.supp:
17164           add suppressions from Wim's Debian machine
17165
17166 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17167
17168         * common/gst.supp:
17169           add suppressions from Andy's AMD64 Ubuntu machine
17170
17171 2005-11-14  Andy Wingo  <wingo@pobox.com>
17172
17173         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
17174         STATE_LOCK not necessary. Fixes #311489.
17175
17176         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
17177         #305291.
17178
17179         * gst/gstindex.c (gst_index_add_object): Note in the docs that
17180         this function is not implemented.
17181
17182 2005-11-14  Julien MOUTTE  <julien@moutte.net>
17183
17184         * gst/base/gstbasetransform.c:
17185         (gst_base_transform_prepare_output_buf):
17186         Ref the source pad caps while we need them.
17187         Fixes (#321386)
17188
17189 2005-11-11  Wim Taymans  <wim@fluendo.com>
17190
17191         * docs/gst/gstreamer-sections.txt:
17192         Added some docs for GstCollectData.
17193
17194         * gst/base/gstadapter.c:
17195         Some small code example fix.
17196
17197         * gst/base/gstcollectpads.c:
17198         * gst/base/gstcollectpads.h:
17199         Document some more.
17200
17201 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17202
17203         * configure.ac: back to HEAD
17204
17205 === release 0.9.5 ===
17206
17207 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
17208
17209         * configure.ac:
17210           releasing 0.9.5, "Bike Lunch Day"
17211
17212 2005-11-11  Wim Taymans  <wim@fluendo.com>
17213
17214         * gst/gstbuffer.c: (_gst_buffer_copy):
17215         Copy more flags.
17216
17217         * gst/gstcaps.c: (gst_caps_is_equal):
17218         Fix some docs.
17219         Make _is_equal fast in the trivial cases.
17220
17221         * gst/gstminiobject.c:
17222         * gst/gstminiobject.h:
17223         More docs. Spifify .h file.
17224
17225         * gst/gstutils.c:
17226         Small doc update.
17227
17228 2005-11-11  Wim Taymans  <wim@fluendo.com>
17229
17230         * gst/base/gstbasetransform.c:
17231         (gst_base_transform_prepare_output_buf),
17232         (gst_base_transform_handle_buffer):
17233         Small cleanups.
17234         If we're processing a buffer and need to allocate an output
17235         buffer, we cannot accept a format change. If we did get a 
17236         format change, we have to alloc a buffer ourselves of the 
17237         right size.
17238
17239 2005-11-11  Wim Taymans  <wim@fluendo.com>
17240
17241         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
17242         While checking the flag for reentrancy in the gstcaps function
17243         is nice to detect recursive invocations, it also makes it 
17244         impossible to call getcaps from multiple threads, which must be
17245         possible. So, checking for recursive calls has to go.
17246
17247 2005-11-11  Michael Smith <msmith@fluendo.com>
17248
17249         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17250           Don't sync on buffers that fall partially outside our current
17251           segment. Prevents an assertion failure/abort playing some files.
17252
17253 2005-11-10  Andy Wingo  <wingo@pobox.com>
17254
17255         * check/gst/gstbin.c (test_message_state_changed_children): Style
17256         fix..
17257
17258         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
17259         gst_bus_poll with the signal watch. Ensures that poll and a signal
17260         watch see the same messages.
17261
17262         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
17263         a poll and a watch at the same time get the same messages.
17264
17265 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17266
17267         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
17268         * gst/gstcaps.c: (gst_caps_intersect):
17269           Don't call gst_caps_do_simplify - it doesn't respect order of caps
17270           and it's not needed.
17271
17272 2005-11-10  Wim Taymans  <wim@fluendo.com>
17273
17274         * docs/design/part-TODO.txt:
17275         Updated todo.
17276
17277 2005-11-10  Wim Taymans  <wim@fluendo.com>
17278
17279         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17280         * gst/base/gstbasesrc.c: (gst_base_src_wait),
17281         (gst_base_src_do_sync), (gst_base_src_get_range):
17282         Implement clock sync in base class.
17283
17284 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17285
17286         patch by: Tim-Philipp Müller <tim at centricular dot net>
17287
17288         * gst/gststructure.c: (gst_structure_parse_field),
17289         (gst_structure_from_string):
17290           Forward-port a 0.8 patch to handle escaped spaces in structure string,
17291           so that gst_parse_launch() can deal with spaces in filtered link
17292           caps (fixes #164479)
17293         * check/gst/capslist.h:
17294         * check/gst/gststructure.c: (GST_START_TEST):
17295           add unit tests for this change
17296
17297 2005-11-10  Wim Taymans  <wim@fluendo.com>
17298
17299         * docs/gst/gstreamer-sections.txt:
17300         * gst/gstelement.c:
17301         * gst/gstelement.h:
17302         Fix docs, move some STATE macros to private.
17303
17304 2005-11-10  Wim Taymans  <wim@fluendo.com>
17305
17306         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17307         Added check for bug #317341
17308
17309         * gst/gstbuffer.c:
17310         * gst/gstbuffer.h:
17311         Some more spiffifying.
17312
17313         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
17314         Call peer linkfunction if we are a source pad. Totally fixes
17315         #317341
17316
17317         * gst/gstpad.c:
17318         Update docs, source pads should call the peer linkfunction
17319         so they can atomically perform the pad link.
17320
17321 2005-11-09  Wim Taymans  <wim@fluendo.com>
17322
17323         * gst/gstbuffer.c:
17324         * gst/gstbuffer.h:
17325         Uber-spiffy-spiffify some more.
17326
17327 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
17328
17329         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
17330         * gst/elements/gstfilesink.c: (gst_file_sink_init):
17331         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17332         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
17333         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
17334         * gst/gstpad.c: (gst_pad_init):
17335           Use GST_DEBUG_FUNCPTR() more extensively.
17336
17337 2005-11-09  Wim Taymans  <wim@fluendo.com>
17338
17339         * gst/gstobject.c: (gst_object_class_init):
17340         * gst/gstobject.h:
17341         Documentation fixes.
17342
17343 2005-11-09  Edward Hervey  <edward@fluendo.com>
17344
17345         * gst/gsttypefindfactory.c:
17346         Fix docs.
17347         
17348 2005-11-09  Edward Hervey  <edward@fluendo.com>
17349
17350         * gst/base/gsttypefindhelper.c:
17351         * gst/gsttypefind.c:
17352         * gst/gsttypefind.h:
17353         Fix docs.
17354
17355 2005-11-09  Wim Taymans  <wim@fluendo.com>
17356
17357         * gst/gstiterator.c:
17358         Fix revision data.
17359
17360         * gst/gsttask.c:
17361         * gst/gsttask.h:
17362         Fix docs.
17363
17364 2005-11-09  Wim Taymans  <wim@fluendo.com>
17365
17366         * gst/gstevent.h:
17367         * gst/gsturi.h:
17368         Fix docs.
17369
17370 2005-11-09  Wim Taymans  <wim@fluendo.com>
17371
17372         * docs/gst/gstreamer-sections.txt:
17373         Moved the message async delivery private lock and cond
17374         to the private section.
17375
17376         * gst/gstmessage.c:
17377         * gst/gstmessage.h:
17378         Fixed docs.
17379
17380 2005-11-09  Edward Hervey  <edward@fluendo.com>
17381
17382         * docs/gst/gstreamer-sections.txt:
17383         * gst/gsturi.c:
17384         * gst/gsturi.h:
17385         Document GstURIHandler
17386
17387 2005-11-09  Wim Taymans  <wim@fluendo.com>
17388
17389         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
17390         (gst_iterator_find_custom):
17391         * gst/gstiterator.h:
17392         Fix iterator docs.
17393
17394 2005-11-09  Wim Taymans  <wim@fluendo.com>
17395
17396         * gst/gstbin.h:
17397         Document another field.
17398
17399         * gst/gststructure.c:
17400         * gst/gststructure.h:
17401         Document.
17402
17403 2005-11-09  Wim Taymans  <wim@fluendo.com>
17404
17405         * gst/gstbin.h:
17406         Documented structs.
17407
17408 2005-11-09  Wim Taymans  <wim@fluendo.com>
17409
17410         * docs/gst/gstreamer-sections.txt:
17411         Added some new macros.
17412
17413         * gst/gstclock.c:
17414         * gst/gstclock.h:
17415         * gst/gstobject.h:
17416         Docs updates.
17417
17418 2005-11-09  Wim Taymans  <wim@fluendo.com>
17419
17420         * docs/design/part-TODO.txt:
17421         Some more items for the TODO
17422
17423         * gst/gstcaps.c:
17424         * gst/gstcaps.h:
17425         Document GstCaps.
17426
17427 2005-11-09  Andy Wingo  <wingo@pobox.com>
17428
17429         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
17430         to work on something else now tho...
17431
17432         * gst/base/gstadapter.c: More adapter docs.
17433
17434         * gst/elements/gstfilesink.c (gst_file_sink_start) 
17435         (gst_file_sink_stop): New functions, replace the state change
17436         handler.
17437         (gst_file_sink_class_init): Hook up the start and stop functions.
17438         (gst_file_sink_base_init): Don't set the state change handler any
17439         more. It was a bit ugly too, being set from here...
17440         (gst_file_sink_get_property, gst_file_sink_set_property):
17441         Cleanups...
17442         (gst_file_sink_set_location): More robust check that doesn't call
17443         GST_STATE. Ugggggg.
17444
17445 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
17446
17447         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17448           Hold STREAM_LOCK while pushing newsegment or tag events as well.
17449
17450 2005-11-08  Wim Taymans  <wim@fluendo.com>
17451
17452         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17453         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17454         (gst_base_sink_chain), (gst_base_sink_change_state):
17455         * gst/base/gstbasesink.h:
17456         * gst/base/gstbasesrc.h:
17457         * gst/gstelement.h:
17458         * gst/gstevent.h:
17459         Avoid excessive typechecking in macros.
17460
17461         * gst/gstminiobject.c: (gst_mini_object_get_type),
17462         (gst_mini_object_init), (gst_mini_object_new),
17463         (gst_mini_object_free):
17464         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17465         (gst_object_finalize):
17466         Remove cruft code, optimize alloc_trace.
17467
17468 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17469
17470         * docs/faq/gst-uninstalled:
17471           fix up PS1 for systems that try to reset it
17472
17473 2005-11-07  Wim Taymans  <wim@fluendo.com>
17474
17475         * gst/base/gstbasesrc.c: (gst_base_src_init),
17476         (gst_base_src_get_range):
17477         Set the segment_end to -1 initially. Fixed typefind.
17478
17479 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
17480
17481         * gst/base/gstadapter.c:
17482           Debug category should be 'adapter', not 'GstAdapter'.
17483           
17484         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
17485         (gst_collectpads_class_init), (gst_collectpads_init),
17486         (gst_collectpads_peek), (gst_collectpads_pop),
17487         (gst_collectpads_event), (gst_collectpads_chain):
17488           Add debug category and some debugging output. Use boilerplate
17489           macros. Remove some extraneous words from docs.
17490
17491 2005-11-05  Andy Wingo  <wingo@pobox.com>
17492
17493         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
17494         macro.
17495
17496 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
17497
17498         * docs/gst/gstreamer-sections.txt:
17499         * gst/gstcaps.h:
17500         * gst/gstinfo.c:
17501         * gst/gstminiobject.h:
17502         * gst/gstobject.h:
17503         * gst/gstutils.h:
17504           more docs added
17505
17506 2005-11-04  Wim Taymans  <wim@fluendo.com>
17507
17508         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17509         Small update to stop at the configured segment_end
17510         position.
17511
17512 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
17513
17514         * gst/gstregistry.c:
17515         * gst/gstregistry.h:
17516           added missing docs
17517
17518 2005-11-04  Edward Hervey  <edward@fluendo.com>
17519
17520         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17521         Check if we are doing a segment seek and have arrived at the
17522         end of that segment.
17523
17524 2005-11-04  Wim Taymans  <wim@fluendo.com>
17525
17526         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
17527         Don't leak a mutex unlock in case of an error.
17528
17529         * gst/gstbus.h:
17530         Doc fixes.
17531
17532 2005-11-04  Wim Taymans  <wim@fluendo.com>
17533
17534         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
17535         (gst_bus_post):
17536         Get the context to wake up only once.
17537
17538 2005-11-03  Wim Taymans  <wim@fluendo.com>
17539
17540         * check/states/sinks.c: (GST_START_TEST):
17541         Uncomment fixed check.
17542
17543         * docs/design/part-TODO.txt:
17544         Updated TODO.
17545
17546         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17547         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17548         (gst_base_sink_get_position):
17549         If we are going to PLAYING, post the right pending state
17550         when we post the intermediate paused message.
17551
17552         * gst/gstelement.c: (gst_element_continue_state),
17553         (gst_element_set_state_func), (gst_element_change_state):
17554         Don't post state changes that were between the same state
17555         and were not ASYNC.
17556
17557 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
17558
17559         * docs/gst/gstreamer-sections.txt:
17560         * gst/gstcaps.h:
17561         * gst/gstinfo.c:
17562         * gst/gstminiobject.h:
17563         * gst/gstobject.h:
17564         * gst/gstutils.h:
17565           more docs and doc style fixes
17566
17567 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
17568
17569         * docs/gst/gstreamer-sections.txt:
17570         * gst/gstelement.c:
17571         * gst/gstminiobject.c:
17572         doc fixes
17573
17574 2005-11-03  Andy Wingo  <wingo@pobox.com>
17575
17576         * check/states/sinks.c (test_livesrc_sink): Add checks that the
17577         state-changed messages actually have the right order and the right
17578         values.
17579
17580 2005-11-03  Wim Taymans  <wim@fluendo.com>
17581
17582         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17583         Added some more checks. Specifically the case where NO_PREROLL
17584         elements are in the pipeline.
17585
17586         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17587         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17588         (gst_base_sink_get_position):
17589         Post READY->PAUSED state change messages too.
17590         Fix bug where VOID was posted as pending state...
17591
17592         * gst/gstbin.c: (gst_bin_recalc_state):
17593         use _element_continue_state() to continue the state change.
17594
17595         * gst/gstelement.c: (gst_element_continue_state),
17596         (gst_element_commit_state), (gst_element_set_state_func),
17597         (gst_element_change_state), (gst_element_change_state_func):
17598         Lots of state change cleanups, assign the STATE_RETURN in
17599         a new continue_state() function that also propagates the
17600         last return value from a state change to the app.
17601         Update some debug statements with proper category.
17602
17603 2005-11-03  Wim Taymans  <wim@fluendo.com>
17604
17605         * docs/design/part-events.txt:
17606         * docs/design/part-gstpipeline.txt:
17607         * docs/design/part-messages.txt:
17608         * docs/design/part-overview.txt:
17609         * docs/design/part-seeking.txt:
17610         * docs/design/part-states.txt:
17611         * docs/design/part-trickmodes.txt:
17612         * docs/manual/advanced-position.xml:
17613         Small docs updates.
17614
17615         * gst/gstobject.h:
17616         People think !! is ugly, this looks better.
17617
17618         * gst/gstpad.c: (gst_pad_set_blocked_async):
17619         Remove !! since it's fixed elsewhere now.
17620
17621 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
17622
17623         * gst/gstminiobject.h:
17624         * gst/gstobject.h:
17625           Add !! to _FLAG_IS_SET macros to make the result boolean.
17626
17627 2005-11-03  Edward Hervey  <edward@fluendo.com>
17628
17629         * gst/gstpad.c: (gst_pad_set_blocked_async):
17630         comparing a flag and a gboolean rarely returns coherent results...
17631         Added two characters (!!) to make that work correctly.
17632         
17633 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
17634
17635         * gst/gstbus.c: (gst_bus_class_init):
17636           Fix some typos.
17637           
17638         * gst/gstqueue.c: (gst_queue_loop):
17639           Don't assume a miniobject that isn't a buffer is an
17640           event (it could be that there is a refcounting
17641           problem somewhere and the pointer is stale and
17642           refers to an already destroyed miniobject).
17643
17644 2005-11-03  Julien MOUTTE  <julien@moutte.net>
17645
17646         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
17647
17648 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
17649
17650         * docs/manual/advanced-position.xml:
17651           Update seek example and explanations to current 0.9 API.
17652
17653         * gst/elements/gsttypefindelement.c:
17654         (gst_type_find_element_activate):
17655           Remove FIXME comment now that the found caps
17656           are unreffed.
17657
17658 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17659
17660         * gst/gstregistryxml.c: (load_feature):
17661           Add another GST_STR_NULL instance
17662
17663 2005-11-02  Edward Hervey  <edward@fluendo.com>
17664
17665         * gst/gstpad.c: (handle_pad_block):
17666         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
17667         
17668 2005-11-02  Wim Taymans  <wim@fluendo.com>
17669
17670         * gst/gstbin.c:
17671         Fix typo in docs.
17672
17673         * gst/gstelement.c: (gst_element_commit_state):
17674         Remove unused value.
17675
17676         * gst/gstiterator.c:
17677         Mention that the returned element is reffed in the docs.
17678
17679 2005-11-02  Wim Taymans  <wim@fluendo.com>
17680
17681         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
17682         (gst_pad_push), (gst_pad_push_event):
17683         Unlock blocked pads when they are flushed.
17684
17685 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17686
17687         * docs/README:
17688         * docs/gst/gstreamer-sections.txt:
17689         * gst/gstbin.c:
17690           doc updates
17691         * gst/gstregistry.c: (gst_registry_scan_path_level):
17692           fix for a nasty little missed situation where an installed plug-in
17693           which was in the cache did not get overridden by an uninstalled one
17694           which was earlier in the plugin path because the newly created plugin
17695           for the uninstalled one (not in the registry) didn't get its
17696           ->registered set to TRUE
17697
17698 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
17699
17700         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
17701         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
17702         (gst_collectpads_is_active), (gst_collectpads_collect),
17703         (gst_collectpads_collect_range), (gst_collectpads_start),
17704         (gst_collectpads_stop), (gst_collectpads_peek),
17705         (gst_collectpads_pop), (gst_collectpads_available),
17706         (gst_collectpads_read), (gst_collectpads_flush):
17707           Guard public API with assertions.
17708         
17709         * gst/gstpad.c:
17710           Fix docs for gst_pad_set_link_function().
17711
17712 2005-11-02  Johan Dahlin  <johan@gnome.org>
17713
17714         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
17715         Unref found_caps after we used it.
17716
17717 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
17718
17719         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
17720           Don't try to ref NULL.
17721
17722 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17723
17724         * win32/common/config.h.in:
17725           provide a GST_FUNCTION that just gives a string for now
17726
17727 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17728
17729         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17730         (gst_object_flags_get_type), (register_gst_bin_flags),
17731         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17732         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17733         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17734         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
17735         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17736         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17737         (gst_clock_flags_get_type), (register_gst_state),
17738         (gst_state_get_type), (register_gst_state_change_return),
17739         (gst_state_change_return_get_type), (register_gst_state_change),
17740         (gst_state_change_get_type), (register_gst_element_flags),
17741         (gst_element_flags_get_type), (register_gst_core_error),
17742         (gst_core_error_get_type), (register_gst_library_error),
17743         (gst_library_error_get_type), (register_gst_resource_error),
17744         (gst_resource_error_get_type), (register_gst_stream_error),
17745         (gst_stream_error_get_type), (register_gst_event_type),
17746         (gst_event_type_get_type), (register_gst_seek_type),
17747         (gst_seek_type_get_type), (register_gst_seek_flags),
17748         (gst_seek_flags_get_type), (register_gst_format),
17749         (gst_format_get_type), (register_gst_index_certainty),
17750         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17751         (gst_index_entry_type_get_type),
17752         (register_gst_index_lookup_method),
17753         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17754         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17755         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17756         (gst_index_flags_get_type), (register_gst_debug_level),
17757         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17758         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17759         (gst_iterator_result_get_type), (register_gst_iterator_item),
17760         (gst_iterator_item_get_type), (register_gst_message_type),
17761         (gst_message_type_get_type), (register_gst_mini_object_flags),
17762         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17763         (gst_pad_link_return_get_type), (register_gst_flow_return),
17764         (gst_flow_return_get_type), (register_gst_activate_mode),
17765         (gst_activate_mode_get_type), (register_gst_pad_direction),
17766         (gst_pad_direction_get_type), (register_gst_pad_flags),
17767         (gst_pad_flags_get_type), (register_gst_pad_presence),
17768         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17769         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17770         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17771         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17772         (gst_plugin_flags_get_type), (register_gst_rank),
17773         (gst_rank_get_type), (register_gst_query_type),
17774         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17775         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17776         (gst_tag_flag_get_type), (register_gst_task_state),
17777         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17778         (gst_alloc_trace_flags_get_type),
17779         (register_gst_type_find_probability),
17780         (gst_type_find_probability_get_type), (register_gst_uri_type),
17781         (gst_uri_type_get_type), (register_gst_parse_error),
17782         (gst_parse_error_get_type):
17783         * win32/common/gstversion.h:
17784           update win32 copies
17785
17786 2005-11-01  Luca Ognibene  <luogni@tin.it>
17787
17788         * gst/gst.c:
17789           fix docs. popt is dead, long live GOption.
17790
17791 2005-10-31  Wim Taymans  <wim@fluendo.com>
17792
17793         * gst/gstbuffer.h:
17794         Small doc fix.
17795
17796 2005-10-31  Andy Wingo  <wingo@pobox.com>
17797
17798         * Boo!
17799
17800         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
17801
17802         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
17803         need to serialize property notifications on GLib 2.8. GLib 2.6 has
17804         the possibility of deadlocks here if code calling notify() or
17805         set() has a lock that can be taken in another notify handler (ABBA
17806         with class lock and e.g. python GIL state lock).
17807
17808 2005-10-28  Julien MOUTTE  <julien@moutte.net>
17809
17810         * gst/gstbus.c: Doc updates.
17811
17812 2005-10-28  Wim Taymans  <wim@fluendo.com>
17813
17814         * docs/design/part-TODO.txt:
17815         * gst/gstiterator.c:
17816         * gst/gstsystemclock.c:
17817         * gst/gstsystemclock.h:
17818         Doc updates.
17819
17820 2005-10-28  Edward Hervey  <edward@fluendo.com>
17821
17822         * docs/gst/gstreamer-docs.sgml:
17823         * docs/gst/gstreamer-sections.txt:
17824         the GstURIType documentation page is private, it only defines GstURIType
17825         which should be defined in the GstURIHandler page
17826         
17827 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17828
17829         * gst/gstbin.c: (gst_bin_class_init):
17830         * gst/gstbin.h:
17831         * gst/gstutils.c:
17832         Documentation updates.
17833
17834 2005-10-28  Wim Taymans  <wim@fluendo.com>
17835
17836         * docs/gst/gstreamer-sections.txt:
17837         * gst/gstclock.c:
17838         * gst/gstclock.h:
17839         Documented the clocks.
17840
17841 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
17842
17843         * docs/gst/gstreamer-sections.txt:
17844           move some macros to private sections
17845         * gst/gstminiobject.c:
17846         * gst/gstminiobject.h:
17847           add descriptions provided by ds and some more
17848         * gst/gstpad.h:
17849           mark macro as to be removed
17850
17851 2005-10-28  Wim Taymans  <wim@fluendo.com>
17852
17853         * docs/design/part-TODO.txt:
17854         Add an item to TODO.
17855
17856         * gst/gstiterator.c: (gst_iterator_fold),
17857         (gst_iterator_find_custom):
17858         * gst/gstiterator.h:
17859         Add iterator docs.
17860
17861 2005-10-28  Wim Taymans  <wim@fluendo.com>
17862
17863         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17864         (gst_base_transform_init):
17865         Don't leak class.
17866
17867         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
17868         An EOS event marks the queue as completely filled.
17869
17870 2005-10-27  Wim Taymans  <wim@fluendo.com>
17871
17872         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17873         (gst_base_sink_do_sync), (gst_base_sink_get_position):
17874         Some more debugging.
17875
17876         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
17877         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
17878         (gst_base_transform_event), (gst_base_transform_getrange),
17879         (gst_base_transform_chain):
17880         * gst/base/gstbasetransform.h:
17881         Fix debugging,
17882         Protect transform and concurrent buffer alloc with a new lock.
17883         Try not to break ABI/API.
17884
17885 2005-10-27  Wim Taymans  <wim@fluendo.com>
17886
17887         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17888         (gst_base_src_init), (gst_base_src_query),
17889         (gst_base_src_default_newsegment),
17890         (gst_base_src_configure_segment), (gst_base_src_do_seek),
17891         (gst_base_src_send_event), (gst_base_src_event_handler),
17892         (gst_base_src_pad_get_range), (gst_base_src_loop),
17893         (gst_base_src_unlock), (gst_base_src_default_negotiate),
17894         (gst_base_src_start), (gst_base_src_deactivate),
17895         (gst_base_src_activate_push), (gst_base_src_change_state):
17896         Move some stuff around and cleanup things.
17897
17898 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
17899
17900         * gst/base/gstbasesrc.c: (gst_base_src_query):
17901           Add missing break statements.
17902
17903 2005-10-27  Wim Taymans  <wim@fluendo.com>
17904
17905         * check/gst/gstbin.c: (GST_START_TEST):
17906         An extra refcount is taken in basesrc.
17907
17908         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
17909         (gst_base_src_get_range), (gst_base_src_pad_get_range),
17910         (gst_base_src_loop):
17911         Small cleanups, check for flushing after being unlocked from the 
17912         LIVE_LOCK. take refcounts correctly (not yet everywhere).
17913         Don't send out EOS when going to READY.
17914
17915 2005-10-27  Wim Taymans  <wim@fluendo.com>
17916
17917         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17918         (gst_base_sink_get_position):
17919         Some more debug.
17920
17921         * gst/gstbin.c: (message_check), (bin_replace_message),
17922         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17923         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17924         (bin_query_duration_init), (bin_query_duration_fold),
17925         (bin_query_duration_done), (bin_query_generic_fold),
17926         (gst_bin_query):
17927         * tools/gst-launch.c: (main):
17928         Remove old option.
17929
17930 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
17931
17932         * examples/controller/audio-example.c: (main):
17933         * examples/queue/queue.c: (event_loop):
17934         * gst/base/gstbasetransform.h:
17935         * gst/gstelement.c: (gst_element_send_event):
17936         * gst/gstevent.h:
17937         * gst/gstpad.c: (gst_pad_send_event):
17938           fixing examples
17939           fixing docs typos
17940           changing log priority in error situations
17941
17942 2005-10-25  Wim Taymans  <wim@fluendo.com>
17943
17944         * gst/gstbin.c: (message_check), (bin_replace_message),
17945         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17946         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17947         (bin_query_duration_init), (bin_query_duration_fold),
17948         (bin_query_duration_done), (bin_query_generic_fold),
17949         (gst_bin_query):
17950         Some doc and debug updates.
17951         Cache previously requested query DURATION for speed. invalidate
17952         cached duration if element posts a DURATION message.
17953
17954 2005-10-25  Wim Taymans  <wim@fluendo.com>
17955
17956         * docs/design/part-TODO.txt:
17957         Update TODO.
17958
17959         * gst/gstbin.c: (message_check), (bin_replace_message),
17960         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17961         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17962         (bin_query_duration_init), (bin_query_duration_fold),
17963         (bin_query_duration_done), (bin_query_generic_fold),
17964         (gst_bin_query):
17965         Handle SEGMENT_START/DONE messages correctly.
17966         More evolved query algorithm that handles duration queries
17967         correctly.
17968
17969         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
17970         (gst_element_get_state_func), (gst_element_abort_state),
17971         (gst_element_commit_state), (gst_element_lost_state):
17972         Some more debugging.
17973
17974         * gst/gstmessage.h:
17975         Added doc.
17976
17977 2005-10-25  Wim Taymans  <wim@fluendo.com>
17978
17979         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17980         Don't use invalid stream_time.
17981
17982         * gst/gstevent.c: (gst_event_new_newsegment):
17983         stream_time in newsegment cannot be undefined.
17984
17985 2005-10-24  Wim Taymans  <wim@fluendo.com>
17986
17987         * gst/gstbus.c:
17988         Doc fix.
17989
17990         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17991         (gst_queue_loop):
17992         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
17993
17994 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
17995
17996         * docs/libs/tmpl/gstdparam.sgml:
17997         * docs/libs/tmpl/gstdplinint.sgml:
17998         * docs/libs/tmpl/gstdpman.sgml:
17999         * docs/libs/tmpl/gstdpsmooth.sgml:
18000         * docs/libs/tmpl/gstunitconvert.sgml:
18001           these are obsolete
18002
18003 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18004
18005         * configure.ac:
18006           back to HEAD
18007
18008 === release 0.9.4 ===
18009
18010 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18011
18012         * configure.ac:
18013           releasing 0.9.4, "Tyrannosaurus Rex"
18014
18015 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
18016
18017         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18018         (gst_file_sink_get_current_offset):
18019           Use fseeko() and ftello() if available. When falling back on
18020           lseek() to get the current offset, fflush() first to make sure
18021           everything is up-to-date and we get the right offset.
18022
18023 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18024
18025         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18026         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18027         * gst/gsterror.c: (_gst_stream_errors_init):
18028         * gst/gsterror.h:
18029         * gst/gstqueue.c: (gst_queue_loop):
18030         * po/POTFILES.in:
18031           remove prematurely added error category and clean up the instances
18032
18033 2005-10-21  Wim Taymans  <wim@fluendo.com>
18034
18035         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18036         (gst_base_sink_get_position), (gst_base_sink_query),
18037         (gst_base_sink_change_state):
18038         Simply set the right flag when going to playing, that's all
18039         we need to do instead of calling a function inside the object
18040         lock (that could take the lock as well and deadlock)
18041
18042 2005-10-21  Wim Taymans  <wim@fluendo.com>
18043
18044         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
18045         (gst_base_src_loop):
18046         Don't warn, the peer element knows what to do best when
18047         the seek failed, it might try something else.
18048
18049 2005-10-21  Wim Taymans  <wim@fluendo.com>
18050
18051         * gst/base/gstbasesrc.c: (gst_base_src_init),
18052         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18053         Fix seeking.
18054
18055 2005-10-21  Wim Taymans  <wim@fluendo.com>
18056
18057         * docs/design/part-segments.txt:
18058         More docs.
18059
18060         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18061         Correctly set caps, even on the subbufer.
18062
18063 2005-10-21  Wim Taymans  <wim@fluendo.com>
18064
18065         * docs/gst/gstreamer-docs.sgml:
18066         * docs/gst/gstreamer-sections.txt:
18067         * gst/gstelement.h:
18068         * gst/gstevent.c:
18069         * gst/gstevent.h:
18070         * gst/gstmessage.h:
18071         * gst/gstpad.h:
18072         * gst/gstparse.h:
18073         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
18074         * gst/gsttask.h:
18075         * gst/gstutils.c:
18076         * gst/gstutils.h:
18077         And 2% more doc coverage.
18078
18079 2005-10-21  Andy Wingo  <wingo@pobox.com>
18080
18081         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
18082         position reporting.
18083
18084 2005-10-20  Wim Taymans  <wim@fluendo.com>
18085
18086         * gst/gsterror.c: (gst_error_get_message):
18087         * gst/gstparse.h:
18088         * gst/gstquery.h:
18089         * gst/gststructure.c:
18090         * gst/gsttrace.c:
18091         * gst/gstutils.c:
18092         More docs.
18093
18094 2005-10-20  Wim Taymans  <wim@fluendo.com>
18095
18096         * gst/gstbuffer.h:
18097         * gst/gstpad.c:
18098         * gst/gstparse.c:
18099         Another 1% more coverage.
18100
18101 2005-10-20  Wim Taymans  <wim@fluendo.com>
18102
18103         * docs/gst/gstreamer-sections.txt:
18104         * gst/gstelement.c: (gst_element_get_state_func),
18105         (gst_element_abort_state), (gst_element_commit_state),
18106         (gst_element_lost_state):
18107         * gst/gstevent.h:
18108         * gst/gstquery.c: (gst_query_set_position),
18109         (gst_query_parse_position), (gst_query_set_duration),
18110         (gst_query_parse_duration), (gst_query_new_convert):
18111         * gst/gstutils.c:
18112         Yay! 1% more docs coverage.
18113
18114 2005-10-20  Wim Taymans  <wim@fluendo.com>
18115
18116         * gst/gstpad.h:
18117         * gst/gstquery.c: (gst_query_set_position),
18118         (gst_query_parse_position), (gst_query_set_duration),
18119         (gst_query_parse_duration), (gst_query_new_convert):
18120         * gst/gstquery.h:
18121         * gst/gstutils.c: (gst_element_query_convert):
18122         * gst/gstutils.h:
18123         Docs and consistency fixes.
18124
18125 2005-10-20  Wim Taymans  <wim@fluendo.com>
18126
18127         * gst/gsttask.c:
18128         * gst/gsttask.h:
18129         More docs.
18130
18131 2005-10-20  Wim Taymans  <wim@fluendo.com>
18132
18133         * gst/gstbin.c: (message_check), (bin_replace_message),
18134         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18135         (update_degree), (gst_bin_sort_iterator_next),
18136         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
18137         Reworked the message handling a bit, cache the messages instead of
18138         only the senders. alows us to do more in the future.
18139
18140 2005-10-20  Wim Taymans  <wim@fluendo.com>
18141
18142         * docs/design/part-TODO.txt:
18143         Update TODO
18144
18145         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18146         (gst_base_sink_query):
18147         Don't use clock time to report position when in EOS.
18148
18149 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
18150
18151         * tools/gst-inspect.c: (print_interfaces),
18152         (print_element_properties_info), (print_element_info):
18153           Fix interface output with gst-inspect -a; don't print
18154           newlines after double/float properties.
18155
18156 2005-10-20  Wim Taymans  <wim@fluendo.com>
18157
18158         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18159         (gst_base_sink_query):
18160         Speed up current position calculation.
18161
18162         * gst/base/gstbasesrc.c: (gst_base_src_query),
18163         (gst_base_src_default_newsegment):
18164         Correctly set stream position in newsegment.
18165
18166         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
18167         (update_degree), (gst_bin_sort_iterator_next),
18168         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
18169         * gst/gstmessage.c: (gst_message_new_custom):
18170         Clean up debugging info
18171
18172         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18173         (gst_queue_loop), (gst_queue_handle_src_query):
18174         Pause task faster.
18175
18176 2005-10-19  Wim Taymans  <wim@fluendo.com>
18177
18178         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18179         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18180         Fix query handling again.
18181
18182 2005-10-19  Wim Taymans  <wim@fluendo.com>
18183
18184         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18185         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18186         * gst/base/gstbasesrc.c: (gst_base_src_query):
18187         * gst/elements/gstfilesink.c: (gst_file_sink_query):
18188         * gst/elements/gsttypefindelement.c:
18189         (gst_type_find_handle_src_query), (find_element_get_length),
18190         (gst_type_find_element_activate):
18191         API change fix.
18192
18193         * gst/gstquery.c: (gst_query_new_position),
18194         (gst_query_set_position), (gst_query_parse_position),
18195         (gst_query_new_duration), (gst_query_set_duration),
18196         (gst_query_parse_duration), (gst_query_set_segment),
18197         (gst_query_parse_segment):
18198         * gst/gstquery.h:
18199         Bundling query position/duration is not a good idea since duration
18200         does not change much and we don't want to recalculate it for every
18201         position query, so they are separated again..
18202         Base value in segment query is not needed.
18203
18204         * gst/gstqueue.c: (gst_queue_handle_src_query):
18205         * gst/gstutils.c: (gst_element_query_position),
18206         (gst_element_query_duration), (gst_pad_query_position),
18207         (gst_pad_query_duration):
18208         * gst/gstutils.h:
18209         Updates for query API change.
18210         Added some docs here and there.
18211
18212 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18213
18214         * check/gst/gstbin.c: (GST_START_TEST):
18215         * check/gst/gstghostpad.c: (GST_START_TEST):
18216         * check/pipelines/cleanup.c: (GST_START_TEST):
18217           wait on thread to die so we can check refcount correctly
18218
18219 2005-10-18  Wim Taymans  <wim@fluendo.com>
18220
18221         * check/pipelines/stress.c: (GST_START_TEST):
18222         Make check a little more time consuming.
18223
18224 2005-10-18  Wim Taymans  <wim@fluendo.com>
18225
18226         * check/Makefile.am:
18227         * check/pipelines/stress.c: (GST_START_TEST),
18228         (simple_launch_lines_suite), (main):
18229         Small state change torture test.
18230
18231         * docs/design/part-states.txt:
18232         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18233         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
18234         (gst_base_sink_change_state):
18235         Never take state lock from streaming thread, clean up ugly
18236         hacks. Unfortunatly core does not yet support nice ways to
18237         async commit state.
18238         
18239         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
18240         (bin_bus_handler):
18241         Start state recalc if a STATE_DIRTY message is posted, but only
18242         on the toplevel bin.
18243
18244         * gst/gstelement.c: (gst_element_sync_state_with_parent),
18245         (gst_element_get_state_func), (gst_element_abort_state),
18246         (gst_element_commit_state), (gst_element_lost_state),
18247         (gst_element_set_state_func), (gst_element_change_state):
18248         * gst/gstelement.h:
18249         State variables are now protected with the LOCK, the state
18250         lock is only used to serialize _set_state().
18251
18252 2005-10-18  Wim Taymans  <wim@fluendo.com>
18253
18254         * check/gst/gstbin.c: (GST_START_TEST):
18255         * check/gst/gstmessage.c: (GST_START_TEST):
18256         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18257         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
18258         (bin_bus_handler):
18259         * gst/gstelement.c: (gst_element_abort_state),
18260         (gst_element_commit_state), (gst_element_lost_state):
18261         * gst/gstmessage.c: (gst_message_new_state_changed),
18262         (gst_message_new_state_dirty), (gst_message_new_segment_start),
18263         (gst_message_new_segment_done), (gst_message_new_duration),
18264         (gst_message_parse_state_changed),
18265         (gst_message_parse_segment_start),
18266         (gst_message_parse_segment_done), (gst_message_parse_duration):
18267         * gst/gstmessage.h:
18268         * tools/gst-launch.c: (event_loop):
18269         Seriously, this is better than a previous commit as we only need
18270         to notify the fact that an element changed state in a streaming
18271         thread, marking the state of the parents dirty, hence the 
18272         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
18273         message.
18274
18275 2005-10-18  Wim Taymans  <wim@fluendo.com>
18276
18277         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
18278         (gst_bin_recalc_func):
18279         * gst/gstelement.c: (gst_element_set_clock),
18280         (gst_element_abort_state), (gst_element_lost_state):
18281         Cleanups, prepare for state change fixes.
18282
18283 2005-10-18  Wim Taymans  <wim@fluendo.com>
18284
18285         * gst/gstbin.h:
18286         * gst/gstelement.c: (gst_element_class_init),
18287         (gst_element_set_state), (gst_element_set_state_func):
18288         * gst/gstelement.h:
18289         Pending ABI changes.
18290         GThreadPool in GstBinClass to monitor async state changes.
18291         state_cookie in GstElement to detect concurrent gst/set state.
18292         set_state is now virtual too in case a very complicated element
18293         has to be constructed.
18294
18295 2005-10-18  Wim Taymans  <wim@fluendo.com>
18296
18297         * check/gst/gstbin.c: (GST_START_TEST):
18298         * check/gst/gstmessage.c: (GST_START_TEST):
18299         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18300         * gst/gstbin.c: (bin_bus_handler):
18301         * gst/gstelement.c: (gst_element_commit_state),
18302         (gst_element_lost_state):
18303         * gst/gstmessage.c: (gst_message_new_state_changed),
18304         (gst_message_new_segment_start), (gst_message_new_segment_done),
18305         (gst_message_new_duration), (gst_message_parse_state_changed),
18306         (gst_message_parse_segment_start),
18307         (gst_message_parse_segment_done), (gst_message_parse_duration):
18308         * gst/gstmessage.h:
18309         * tools/gst-launch.c: (event_loop):
18310         Make messages future proof.
18311         state-change gets a flag if it was a message comming from the
18312         streaming thread.
18313         segment-start/stop can also be specified in other formats.
18314         A message to notify an app that a pipeline changed playback 
18315         duration.
18316         Also fix a GstMessage leak in -launch
18317
18318 2005-10-18  Andy Wingo  <wingo@pobox.com>
18319
18320         * gst/gstelement.c (gst_element_dispose): More helpful message.
18321
18322 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18323
18324         reviewed by: <delete if not using a buddy>
18325
18326         * common/gtk-doc.mak:
18327
18328 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18329
18330         * gst/gstregistry.c: (gst_registry_scan_path_level):
18331           unref a plug-in we get that was already initialized
18332
18333 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
18334
18335         * docs/gst/gstreamer-sections.txt:
18336         * docs/libs/gstreamer-libs-sections.txt:
18337         * gst/gstelement.h:
18338           add new api entries
18339           hide internal macro
18340
18341 2005-10-17  Andy Wingo  <wingo@pobox.com>
18342
18343         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
18344         cleanup.
18345
18346         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
18347
18348         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
18349
18350         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
18351         (gst_element_get_state_func): Better debug message.
18352         (gst_element_commit_state): s/INFO/DEBUG/.
18353         (gst_element_lost_state, gst_element_change_state): 
18354
18355         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
18356         (gst_message_new_custom): s/INFO/LOG/.
18357
18358 2005-10-17  Michael Smith <msmith@fluendo.com>
18359
18360         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18361           Check if end time is valid using end time, not start time.
18362
18363 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
18364
18365         * check/gst-libs/controller.c: (GST_START_TEST),
18366         (gst_controller_suite):
18367         * libs/gst/controller/gstcontroller.c:
18368         (gst_controlled_property_set_interpolation_mode):
18369         * libs/gst/controller/gstcontroller.h:
18370         * libs/gst/controller/gstinterpolation.c:
18371         * testsuite/controller/.cvsignore:
18372         * testsuite/controller/Makefile.am:
18373         * testsuite/controller/interpolator.c:
18374           merge controller testsuites
18375           fix broken tests
18376           remove mem-chunk from docs
18377
18378 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18379
18380         * gst/gstmemchunk.c:
18381         * gst/gstmemchunk.h:
18382         * gst/gsttrashstack.c:
18383         * gst/gsttrashstack.h:
18384           out.  get out.  you're fired.  to the Attic !
18385
18386 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18387
18388         * gst/gstcaps.c: (gst_caps_intersect):
18389           fix signedness issues in a (hopefully) correct way
18390         * gst/gstelement.c: (gst_element_pads_activate):
18391           some debugging
18392         * gst/gstobject.c: (gst_object_set_parent):
18393           some debugging
18394
18395 2005-10-17  Julien MOUTTE  <julien@moutte.net>
18396
18397         * gst/gstvalue.h: Fix prototypes.
18398
18399 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18400
18401         * docs/gst/gstreamer-sections.txt:
18402         * gst/gst.c: (gst_version_string):
18403         * gst/gst.h:
18404         * gst/gstversion.h.in:
18405         * win32/common/libgstreamer.def:
18406           add gst_version_string ()
18407
18408 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18409
18410         * configure.ac:
18411           clean up further
18412         * gst/gst.c: (init_post):
18413         * win32/common/config.h.in:
18414           it's PLUGINDIR now
18415         * gst/gstcaps.c: (gst_caps_intersect):
18416           use gint64, the range could be bigger than a guint
18417
18418 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18419
18420         * gst/gstclock.h:
18421           document potential problem in 2038
18422
18423 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18424
18425         * gst/gstcaps.c: (gst_caps_intersect):
18426           Fix guint j diving under 0
18427
18428 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18429
18430         * configure.ac:
18431         * win32/common/config.h:
18432         * win32/common/config.h.in:
18433           check for process.h, declares getpid() on Windows
18434         * gst/gstinfo.c:
18435           include process.h if we have it
18436         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
18437         * gst/gstmemchunk.h:
18438           fix signedness issues
18439         * win32/common/libgstreamer.def:
18440           fix get_type's
18441
18442 2005-10-16  Julien MOUTTE  <julien@moutte.net>
18443
18444         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
18445         fix. Because of unsigned ints, caps intersection was going nuts and
18446         trying to access structures with G_MAXUINT index. That fixes
18447         videotestsrc ! ffmpegcolorspace ! fakesink
18448         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
18449         consistency.
18450
18451 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18452
18453         * configure.ac:
18454           use the gettext macro
18455         * gst/elements/gstelements.c:
18456         * gst/gst.c:
18457         * gst/indexers/gstindexers.c:
18458           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
18459         * win32/common/config.h:
18460           updated config.h
18461         * win32/common/config.h.in:
18462           add the template to generate config.h
18463         * win32/common/gstenumtypes.c:
18464         * win32/common/gstversion.h:
18465           updated copies
18466
18467 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18468
18469         * gst/gst.c: (gst_version):
18470         * gst/gstversion.h.in:
18471           add the nano
18472
18473 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
18474
18475         * gst/gstevent.h:
18476           Oops, add missing closing bracket.
18477
18478 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18479
18480         * configure.ac:
18481           use common m4's for argument checking
18482
18483 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
18484
18485         * docs/gst/gstreamer-sections.txt:
18486         * gst/gstevent.h:
18487           Add GST_EVENT_TYPE_NAME() macro.
18488
18489 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18490
18491         * gst/gstinfo.c:
18492         * gst/gstpluginfeature.c:
18493         * gst/gsttask.c:
18494           privatize more symbols
18495
18496 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18497
18498         * configure.ac:
18499           add srcdir, builddir includes to GST_ALL_CFLAGS, since
18500           everything that uses GStreamer API should have the includes
18501
18502 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18503
18504         * docs/gst/gstreamer-sections.txt:
18505         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
18506         * gst/gstvalue.h:
18507           give each value a _get_type, removes the DATA exports
18508
18509 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18510
18511         * gst/gst.c:
18512         * gst/gst.h:
18513           remove _gst_registry_auto_load, not used anymore
18514         * gst/gstbin.c: (gst_bin_get_type):
18515         * gst/gstbin.h:
18516         * gst/gstelement.c: (gst_element_get_type):
18517         * gst/gstelement.h:
18518         * gst/gstobject.c: (gst_object_get_type):
18519         * gst/gstobject.h:
18520         * gst/gstpad.c: (gst_pad_get_type):
18521         * gst/gstpad.h:
18522           make _get_type functions similar, fixes data export from library
18523
18524 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18525
18526         * configure.ac:
18527           correctly make conditionals
18528         * gst/elements/Makefile.am:
18529         * gst/elements/gstelements.c:
18530           fix typo causing fdsrc not to build
18531
18532 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18533
18534         * testsuite/Makefile.am:
18535         * testsuite/bytestream/.cvsignore:
18536         * testsuite/bytestream/Makefile.am:
18537         * testsuite/bytestream/filepadsink.c:
18538         * testsuite/bytestream/gstbstest.c:
18539         * testsuite/bytestream/test1.c:
18540         * testsuite/bytestream/testfile1:
18541         * testsuite/caps/normalisation.c:
18542         * testsuite/caps/random.c: (main):
18543         * testsuite/cleanup/.cvsignore:
18544         * testsuite/cleanup/Makefile.am:
18545         * testsuite/cleanup/cleanup1.c:
18546         * testsuite/cleanup/cleanup2.c:
18547         * testsuite/cleanup/cleanup3.c:
18548         * testsuite/cleanup/cleanup4.c:
18549         * testsuite/cleanup/cleanup5.c:
18550         * testsuite/controller/interpolator.c:
18551         * testsuite/debug/printf_extension.c: (main):
18552         * testsuite/elements/tee.c:
18553         * testsuite/negotiation/.cvsignore:
18554         * testsuite/negotiation/Makefile.am:
18555         * testsuite/negotiation/pad_link.c:
18556         * testsuite/pad/Makefile.am:
18557         * testsuite/pad/chainnopull.c:
18558         * testsuite/pad/getnopush.c:
18559         * testsuite/pad/link.c:
18560         * testsuite/refcounting/sched.c: (create_pipeline):
18561         * testsuite/registry/Makefile.am:
18562         * testsuite/registry/gst-print-formats.c:
18563         * testsuite/schedulers/.cvsignore:
18564         * testsuite/schedulers/142183-2.c:
18565         * testsuite/schedulers/142183.c:
18566         * testsuite/schedulers/143777-2.c:
18567         * testsuite/schedulers/143777.c:
18568         * testsuite/schedulers/147713.c:
18569         * testsuite/schedulers/147819.c:
18570         * testsuite/schedulers/147894-2.c:
18571         * testsuite/schedulers/147894.c:
18572         * testsuite/schedulers/Makefile.am:
18573         * testsuite/schedulers/group_link.c:
18574         * testsuite/schedulers/queue_link.c:
18575         * testsuite/schedulers/relink.c:
18576         * testsuite/schedulers/unlink.c:
18577         * testsuite/schedulers/unref.c:
18578         * testsuite/schedulers/useless_iteration.c:
18579         * testsuite/states/bin.c:
18580           clean out/remove some stuff from the testsuite directories
18581
18582 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18583
18584         * configure.ac:
18585           check for some headers
18586         * gst/elements/Makefile.am:
18587         * gst/elements/gstelements.c:
18588           don't compile fdsrc without sys/socket.h
18589         * gst/indexers/Makefile.am:
18590         * gst/indexers/gstindexers.c: (plugin_init):
18591           don't compile fileindex without mmap
18592
18593 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18594
18595         * configure.ac:
18596           reorganize
18597           clean up
18598           document more
18599           remove cruft
18600         * check/Makefile.am:
18601         * docs/gst/Makefile.am:
18602         * examples/helloworld/Makefile.am:
18603         * gst/Makefile.am:
18604         * gst/base/Makefile.am:
18605         * gst/check/Makefile.am:
18606         * gst/elements/Makefile.am:
18607         * gst/indexers/Makefile.am:
18608         * gst/parse/Makefile.am:
18609         * libs/gst/controller/Makefile.am:
18610         * libs/gst/dataprotocol/Makefile.am:
18611         * examples/helloworld/helloworld.c: (event_loop):
18612           compile fixes, though it's not being compiled currently
18613
18614 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
18615
18616         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
18617           Add some simple tests for the new taglist date API.
18618
18619 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
18620
18621         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
18622         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
18623           Beautify 'last-message' output: print 'none' for buffer timestamps
18624           and durations if none is set; improve alignment with next messages.
18625
18626 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
18627
18628         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
18629         * gst/gstpluginfeature.h:
18630         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
18631         * gst/gstregistry.h:
18632         * docs/gst/gstreamer-sections.txt:
18633           Add new API to check plugin feature version requirements.
18634
18635         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
18636           Some basic tests for the above.         
18637
18638 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18639
18640         * gst/gststructure.c: (gst_structure_to_string):
18641           guard against NULL printf - happens when for example
18642           a message structure with GstClock gets serialized
18643
18644 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
18645
18646         * gst/base/gstcollectpads.c: (gst_collectpads_event):
18647           Fix presumable copy'n'pasto.
18648
18649 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18650
18651         * gst/elements/gstfakesrc.h:
18652         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
18653         * gst/elements/gsttypefindelement.c:
18654           fix some signedness
18655         * gst/elements/gstfilesink.c: (gst_file_sink_render):
18656           I wonder if this could actually write +2GB files before
18657
18658 2005-10-13  Andy Wingo  <wingo@pobox.com>
18659
18660         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
18661         Fix Timmeke Waymans bug.
18662         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
18663         string of the proper length to gst_caps_from_string. There's a
18664         potential for, before this fix, that this could cause someone
18665         connecting over the network to cause a segfault if the payload is
18666         not NUL-terminated.
18667
18668 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
18669
18670         * docs/design/draft-push-pull.txt:
18671         * docs/design/part-overview.txt:
18672         * docs/random/TODO-pre-0.9:
18673         * docs/random/old/ChangeLog.gstreamer:
18674         * gst/base/gstpushsrc.c:
18675         * gst/gstclock.c:
18676           fixed typos
18677
18678 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18679
18680         * gst/glib-compat.c: (gst_flags_get_first_value):
18681         * gst/glib-compat.h:
18682         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
18683         (gst_value_compare_double), (gst_value_serialize_flags):
18684           GLib 2.6 g_flags_get_first_value has a bug that triggers an
18685           infinite loop
18686
18687 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18688
18689         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18690         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18691           fix up debugging
18692         * tools/gst-launch.c: (event_loop):
18693           print out clock nicely
18694
18695 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
18696
18697         * docs/gst/gstreamer-sections.txt:
18698         * gst/gsttaglist.h:
18699         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
18700         (gst_tag_list_get_date_index):
18701           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
18702           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
18703
18704 2005-10-13  Julien MOUTTE  <julien@moutte.net>
18705
18706         * gst/base/gstcollectpads.c: (gst_collectpads_event),
18707         (gst_collectpads_chain):
18708         * gst/base/gstcollectpads.h: Handle newsegment and store informations
18709         in CollectData.
18710
18711 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
18712
18713         * docs/gst/gstreamer-sections.txt:
18714         * gst/gst.c:
18715         * gst/gsterror.h:
18716         * tools/gst-inspect.c: (main):
18717         * tools/gst-launch.c: (main):
18718         * tools/gst-run.c: (main):
18719         * tools/gst-xmlinspect.c: (main):
18720           fix GOption context leaks
18721           doc fixes
18722
18723 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18724
18725         * gst/gstbus.c:
18726           use HAVE_UNISTD_H
18727         * win32/common/config.h:
18728           update config
18729         * win32/vs6/grammar.dsp:
18730         * win32/vs6/libgstelements.dsp:
18731         * win32/vs6/libgstreamer.dsp:
18732           update vs6 files
18733
18734 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18735
18736         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18737         * gst/base/gstbasesrc.c: (gst_base_src_query):
18738           fix more guint64<->gdouble conversions
18739
18740 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18741
18742         * Makefile.am:
18743           add win32-update target
18744         * win32/common/gstconfig.h:
18745         * win32/common/gstenumtypes.c:
18746         * win32/common/gstenumtypes.h:
18747         * win32/common/gstversion.h:
18748           add files that visual studio can't generate
18749
18750 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18751
18752         * Makefile.am:
18753           add a win32-update target
18754         * configure.ac:
18755
18756 2005-10-12  Wim Taymans  <wim@fluendo.com>
18757
18758         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18759         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
18760         * gst/gstelement.c: (gst_element_commit_state),
18761         (gst_element_set_state):
18762         Protect flags with proper lock.
18763         unref provided cached clock in dispose.
18764
18765 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
18766
18767         * gst/gst.c:
18768         * gst/gstminiobject.h:
18769         * gst/gstpad.h:
18770         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
18771           removed unused flags from miniobject
18772           doc fixes
18773
18774 2005-10-12  Wim Taymans  <wim@fluendo.com>
18775
18776         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18777         (gst_file_sink_event), (gst_file_sink_render):
18778         Flush before seeking.
18779
18780 2005-10-12  Andy Wingo  <wingo@pobox.com>
18781
18782         * gst/gst.c (gst_init_check): Ignore unknown options, as has
18783         always been the case.
18784
18785 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
18786
18787         * check/gst/gstbin.c: (GST_START_TEST):
18788         * docs/gst/gstreamer-sections.txt:
18789         * gst/base/gstbasesink.c: (gst_base_sink_init):
18790         * gst/base/gstbasesrc.c: (gst_base_src_init),
18791         (gst_base_src_get_range), (gst_base_src_check_get_range),
18792         (gst_base_src_start), (gst_base_src_stop):
18793         * gst/base/gstbasesrc.h:
18794         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
18795         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18796         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
18797         (bin_bus_handler):
18798         * gst/gstbin.h:
18799         * gst/gstbuffer.h:
18800         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
18801         * gst/gstbus.h:
18802         * gst/gstelement.c: (gst_element_is_locked_state),
18803         (gst_element_set_locked_state), (gst_element_commit_state),
18804         (gst_element_set_state):
18805         * gst/gstelement.h:
18806         * gst/gstindex.c: (gst_index_init):
18807         * gst/gstindex.h:
18808         * gst/gstminiobject.h:
18809         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
18810         (gst_object_set_parent):
18811         * gst/gstobject.h:
18812         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
18813         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
18814         * gst/gstpad.h:
18815         * gst/gstpadtemplate.h:
18816         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
18817         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
18818         * gst/gstpipeline.h:
18819         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18820         (gst_file_index_commit):
18821         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
18822         * testsuite/pad/link.c: (gst_test_src_init),
18823         (gst_test_filter_init), (gst_test_sink_init):
18824         * testsuite/states/locked.c: (main):
18825           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
18826           moved bitshift from macro to enum definition
18827
18828 2005-10-12  Wim Taymans  <wim@fluendo.com>
18829
18830         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
18831         * gst/elements/gstfilesink.c: (gst_file_sink_event),
18832         (gst_file_sink_render):
18833         Some more debugging info.
18834
18835 2005-10-12  Wim Taymans  <wim@fluendo.com>
18836
18837         * docs/design/part-states.txt:
18838         * tools/gst-launch.c: (main):
18839         Some doc updates.
18840         Revert non-intentional change.
18841
18842 2005-10-12  Wim Taymans  <wim@fluendo.com>
18843
18844         * check/gst/gstbin.c: (GST_START_TEST):
18845         * check/gst/gstelement.c: (GST_START_TEST):
18846         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
18847         * check/gst/gstghostpad.c: (GST_START_TEST):
18848         * check/gst/gstpipeline.c: (GST_START_TEST):
18849         * check/pipelines/simple_launch_lines.c: (run_pipeline):
18850         * check/states/sinks.c: (GST_START_TEST):
18851         * gst/elements/gsttypefindelement.c: (stop_typefinding):
18852         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18853         (gst_bin_remove_func), (gst_bin_get_state_func),
18854         (gst_bin_recalc_state), (gst_bin_change_state_func),
18855         (bin_bus_handler):
18856         * gst/gstelement.c: (gst_element_get_state_func),
18857         (gst_element_get_state), (gst_element_abort_state),
18858         (gst_element_commit_state), (gst_element_set_state),
18859         (gst_element_change_state), (gst_element_change_state_func):
18860         * gst/gstelement.h:
18861         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
18862         (gst_pipeline_provide_clock_func):
18863         * gst/gstutils.c: (gst_element_link_pads_filtered):
18864         * tools/gst-launch.c: (main):
18865         * tools/gst-typefind.c: (main):
18866         Use GstClockTime in _get_state() instead of GTimeVal.
18867         Remove old code in gstutils.c
18868
18869 2005-10-12  Andy Wingo  <wingo@pobox.com>
18870
18871         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
18872         removed.
18873
18874         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
18875         there is no task. Shouldn't affect any code, as nothing in our
18876         plugins checks this return value.
18877         (gst_pad_stop_task): Also take the stream lock if the pad has no
18878         task. Docs updated.
18879
18880 2005-10-12  Wim Taymans  <wim@fluendo.com>
18881
18882         * gst/gstpad.c: (pre_activate), (post_activate),
18883         (gst_pad_activate_pull), (gst_pad_activate_push):
18884         Cleanup activation code. Reset old state if
18885         activation failed.
18886
18887 2005-10-12  Wim Taymans  <wim@fluendo.com>
18888
18889         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18890         (gst_base_sink_change_state):
18891         No need to prerol after receiving EOS.
18892
18893         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18894         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
18895         * gst/elements/gstidentity.c: (gst_identity_event):
18896         Print events more verbosely.
18897
18898 2005-10-12  Wim Taymans  <wim@fluendo.com>
18899
18900         * check/Makefile.am:
18901         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
18902         * check/states/sinks2.c:
18903         Moved sinks2 testcode in sinks check.
18904
18905         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18906         (gst_bin_remove_func), (gst_bin_recalc_state),
18907         (gst_bin_change_state_func), (bin_bus_handler):
18908         Fix potential race condition when _get_state() iterated over an
18909         ASYNC element right before it posted a state completion.
18910
18911         * gst/gstclock.h:
18912         Do proper cast here.
18913
18914         * gst/gstevent.c: (gst_event_new_newsegment),
18915         (gst_event_parse_newsegment):
18916         A playback rate of 0.0 is not allowed.
18917
18918 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18919
18920         * win32/common/config.h:
18921         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
18922         (_trewinddir), (_ttelldir), (_tseekdir):
18923         * win32/common/dirent.h:
18924         * win32/common/gtchar.h:
18925         * win32/common/libgstbase.def:
18926         * win32/common/libgstreamer.def:
18927         * win32/vs6/grammar.dsp:
18928         * win32/vs6/gst_inspect.dsp:
18929         * win32/vs6/gst_launch.dsp:
18930         * win32/vs6/gstreamer.dsw:
18931         * win32/vs6/libgstbase.dsp:
18932         * win32/vs6/libgstelements.dsp:
18933         * win32/vs6/libgstreamer.dsp:
18934           Visual Studio 6 project files, and a new common directory.
18935           Phear.
18936
18937 2005-10-11  Wim Taymans  <wim@fluendo.com>
18938
18939         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18940         (gst_base_sink_do_sync), (gst_base_sink_query),
18941         (gst_base_sink_change_state):
18942         * gst/base/gstbasesink.h:
18943         Correctly parse newsegment info.
18944
18945 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18946
18947         * gst/gst.c: (init_post):
18948           split plugin paths correctly
18949
18950 2005-10-11  Wim Taymans  <wim@fluendo.com>
18951
18952         * check/gst/gstevent.c: (GST_START_TEST):
18953         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18954         (gst_base_sink_change_state):
18955         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
18956         * gst/base/gstbasetransform.c: (gst_base_transform_event):
18957         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18958         * gst/gstevent.c: (gst_event_new_newsegment),
18959         (gst_event_parse_newsegment):
18960         * gst/gstevent.h:
18961         Added extra flag to newsegment for future API freeze.
18962         Updated check and base elements.
18963
18964 2005-10-11  Julien MOUTTE  <julien@moutte.net>
18965
18966         * gst/base/gstcollectpads.c: (gst_collectpads_init),
18967         (gst_collectpads_add_pad), (gst_collectpads_pop),
18968         (gst_collectpads_event), (gst_collectpads_chain):
18969         * gst/base/gstcollectpads.h: Handle EOS correctly.
18970
18971 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18972
18973         * tools/gst-launch.c: (main):
18974           more null protecting
18975
18976 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18977
18978         * gst/gst-i18n-lib.h:
18979           check for ENABLE_NLS, not GETTEXT_PACKAGE
18980         * gst/gstregistry.c: (gst_registry_add_plugin),
18981         (gst_registry_scan_path_level),
18982         (_gst_registry_remove_cache_plugins):
18983           protect possibly NULL strings
18984         * gst/parse/types.h:
18985           config.h already included before
18986         * tools/gst-inspect.c: (main):
18987           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
18988           check for ENABLE_NLS, not GETTEXT_PACKAGE
18989         * tools/gst-launch.c: (main):
18990           check for ENABLE_NLS, not GETTEXT_PACKAGE
18991
18992 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18993
18994         * configure.ac:
18995           if we don't have glib, fail before testing 2.8
18996         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
18997           fix a leak, should fix plugins-base testsuite
18998
18999 2005-10-11  Andy Wingo  <wingo@pobox.com>
19000
19001         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
19002         take the mode we're going to as an arg. Go head and set the mode
19003         and flushing flags now, so that if the activate function starts a
19004         thread all the flags will be in the right state.
19005         (post_activate): Renamed also. Just handle making sure streaming
19006         finishes for the deactivation case, and setting the deactivated
19007         mode.
19008         (gst_pad_set_active): Complain loudly if deactivation fails.
19009         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
19010         (gst_pad_activate_push): Adapt to pre/post_activate changes,
19011         remove the terrible hack.
19012
19013 2005-10-11  Wim Taymans  <wim@fluendo.com>
19014
19015         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19016         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
19017         (gst_bin_recalc_state), (gst_bin_change_state_func),
19018         (gst_bin_dispose), (bin_bus_handler):
19019         * gst/gstbin.h:
19020         Prepare to make current EOS message queue more generic.
19021         Fix some typos.
19022
19023         * gst/gstevent.c: (gst_event_new_newsegment),
19024         (gst_event_parse_newsegment):
19025         * gst/gstevent.h:
19026         Rename base to stream_time.
19027
19028         * gst/gstmessage.h:
19029         Fix typo in docs.
19030
19031 2005-10-11  Wim Taymans  <wim@fluendo.com>
19032
19033         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19034         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
19035         (gst_bin_change_state_func), (bin_bus_handler):
19036         * gst/gstbin.h:
19037         Work on proper clock selection.
19038
19039 2005-10-11  Edward Hervey  <edward@fluendo.com>
19040
19041         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
19042         * libs/gst/controller/gstcontroller.h:
19043         Added GList* version of _remove_properties() in order to be able to wrap
19044         it in bindings.
19045
19046 2005-10-11  Wim Taymans  <wim@fluendo.com>
19047
19048         * docs/design/part-states.txt:
19049         Some more docs.
19050
19051         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
19052         (gst_bin_change_state_func), (bin_bus_handler):
19053         Doc updates. Don't distribute the same clock over and over again.
19054
19055         * gst/gstclock.c:
19056         * gst/gstclock.h:
19057         Doc updates.
19058
19059         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
19060         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
19061         (gst_pad_send_event):
19062         * gst/gstpad.h:
19063         Make probe emission threadsafe again.
19064         Register quarks and move _get_name() from utils.
19065         Doc updates.
19066
19067         * gst/gstpipeline.c: (gst_pipeline_class_init),
19068         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19069         Only redistribute the clock of it changed.
19070
19071         * gst/gstsystemclock.h:
19072         Doc updates. 
19073
19074         * gst/gstutils.c:
19075         * gst/gstutils.h:
19076         Moved the _flow_get_name() to GstPad.
19077
19078 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19079
19080         * check/gst-libs/gdp.c: (GST_START_TEST):
19081         * check/gst/gstcaps.c: (GST_START_TEST):
19082         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
19083         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
19084         (gst_dp_packet_from_caps):
19085           fix more valgrind warnings before turning up the heat
19086
19087 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19088
19089         * gst/parse/grammar.y:
19090           some cleanup before the hacking
19091
19092 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19093
19094         * gst/base/gstbasesrc.c: (gst_base_src_query):
19095           use conversions
19096         * gst/gstutils.c: (gst_guint64_to_gdouble),
19097         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
19098         * gst/gstutils.h:
19099           externalize, basesrc uses it
19100           obviously the implementation needs testing
19101
19102 2005-10-10  Wim Taymans  <wim@fluendo.com>
19103
19104         * tests/sched/Makefile.am:
19105         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
19106         (make_pipeline3), (make_pipeline4), (print_elem), (main):
19107
19108 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19109
19110         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
19111           apparently converting from guint64 to double is not implemented
19112           on MSVC
19113
19114 2005-10-10  Wim Taymans  <wim@fluendo.com>
19115
19116         * check/Makefile.am:
19117         * check/generic/states.c: (GST_START_TEST):
19118         * check/gst/gstbin.c: (GST_START_TEST):
19119         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19120         * check/states/sinks.c: (GST_START_TEST):
19121         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
19122         (main):
19123         Check fixes, use API as stated in design docs, remove hacks.
19124
19125         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19126         (gst_base_sink_change_state):
19127         Catch stopping our task while we're shutting down.
19128
19129         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
19130         (gst_bin_remove_func), (gst_bin_get_state_func),
19131         (gst_bin_recalc_state), (gst_bin_change_state_func),
19132         (bin_bus_handler):
19133         * gst/gstbin.h:
19134         * gst/gstelement.c: (gst_element_init),
19135         (gst_element_get_state_func), (gst_element_abort_state),
19136         (gst_element_commit_state), (gst_element_lost_state),
19137         (gst_element_set_state), (gst_element_change_state),
19138         (gst_element_change_state_func):
19139         * gst/gstelement.h:
19140         New state change algorithm (see #318116)
19141
19142         * gst/gstpipeline.c: (gst_pipeline_class_init),
19143         (gst_pipeline_init), (gst_pipeline_set_property),
19144         (gst_pipeline_get_property), (do_pipeline_seek),
19145         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19146         * gst/gstpipeline.h:
19147         Remove crude state change hacks.
19148
19149         * gst/gstutils.h:
19150         Remove crude hacks.
19151
19152         * tools/gst-launch.c: (main):
19153         Fixes for state change. Needs some more work to fully use the
19154         new stuff.
19155
19156 2005-10-10  Andy Wingo  <wingo@pobox.com>
19157
19158         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
19159
19160         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
19161         this flag, but it's not even in GLib 2.6. Odd. Hack around the
19162         issue.
19163
19164 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19165
19166         * gst/gstiterator.c: (gst_iterator_new):
19167           Fix my previous commit: GTypes passed to gst_iterator_new()
19168           can be fundamental types.
19169
19170 2005-10-10  Wim Taymans  <wim@fluendo.com>
19171
19172         * gst/gstelement.c: (gst_element_iterate_pad_list),
19173         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
19174         (gst_element_iterate_sink_pads):
19175         Use src/sink pads lists for the respective iterators instead
19176         of filtering.
19177
19178 2005-10-10  Andy Wingo  <wingo@pobox.com>
19179
19180         Merged in popt removal + GOption addition patch from Ronald, bug
19181         #169772.
19182
19183         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
19184         GstElement macros around, remove popt-related symbols, add goption
19185         stuff.
19186
19187         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
19188         
19189         * docs/gst/Makefile.am:
19190         * docs/libs/Makefile.am: No POPT_CFLAGS.
19191         
19192         * examples/manual/Makefile.am:
19193         * docs/manual/basics-init.xml: Doc updates with an example.
19194         
19195         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
19196         (gst_init), (parse_one_option), (parse_goption_arg):
19197         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
19198         bit of hand merging and debugging to get the GOption stuff working
19199         tho.
19200         
19201         * tests/Makefile.am:
19202         * tools/Makefile.am:
19203         * tools/gst-inspect.c: (main):
19204         * tools/gst-launch.c: (main):
19205         * tools/gst-run.c: (main):
19206         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
19207
19208 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19209
19210         * gst/gstiterator.c: (gst_iterator_new):
19211           Add assertions to make sure passed GType is likely to really
19212           be a GType (as the compiler won't catch it if the size and
19213           GType arguments get mixed up, see #318447).
19214
19215 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
19216
19217         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19218
19219         * gst/gstbin.c: (gst_bin_iterate_sorted):
19220           Pass GType and size arguments to gst_iterator_new() in the right
19221           order (maybe we should make _new() take the GType as first argument
19222           just like _new_list()?) (#318447).
19223           
19224
19225 2005-10-10  Wim Taymans  <wim@fluendo.com>
19226
19227         * gst/gstelement.c: (gst_element_finalize):
19228         And free the GStaticRecMutex too
19229
19230 2005-10-10  Andy Wingo  <wingo@pobox.com>
19231
19232         * gst/gstelement.c (gst_element_init, gst_element_finalize):
19233         Allocate and free the mutex properly.
19234
19235         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
19236         New macros.
19237         (GstElement): The state_lock is now recursive. Rebuild your
19238         plugins, suckers. Old macros adapted.
19239
19240         * docs/gst/gstreamer-sections.txt: Doc updates.
19241
19242         * gst/gstutils.h:
19243         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
19244         (g_static_rec_cond_wait): Ported from state changes patch, while
19245         we wait on bug #317802 to be solved in a well-distributed GLib.
19246
19247         * gst/gstelement.c (gst_element_change_state_func): Renamed from
19248         gst_element_change_state, variable name changes.
19249         (gst_element_change_state): Split out of gst_element_set_state in
19250         preparation for the state change merge. Doesn't pay attention to
19251         the 'transition' argument.
19252         (gst_element_set_state): Updates, hopefully purely cosmetic.
19253         (gst_element_sync_state_with_parent): MT-safety. Ported from the
19254         state change patch.
19255         (gst_element_get_state_func): Renamed from get_state, cosmetic
19256         changes.
19257
19258 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19259
19260         * gst/elements/gstelements.c:
19261         * win32/GStreamer.vcproj:
19262         * win32/config.h:
19263         * win32/dirent.c: (_tseekdir):
19264         * win32/gst-inspect.vcproj:
19265         * win32/gst-launch.vcproj:
19266         * win32/gstconfig.h:
19267         * win32/gstelements.vcproj:
19268         * win32/gstenumtypes.c: (gst_object_flags_get_type):
19269         * win32/gstreamer.def:
19270         * win32/msvc71.sln:
19271           updates for the win32 build (patch from Sebastien Moutte)
19272
19273 2005-10-10  Andy Wingo  <wingo@pobox.com>
19274
19275         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
19276         gst_bin_get_state, cleaned up (but no logic changes).
19277         (bin_element_is_sink): Comment updates.
19278         (sink_iterator_filter): Remove needless cast.
19279         (gst_bin_iterate_sinks): Doc update.
19280         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
19281         cleaned up (but no logic changes).
19282
19283         * check/states/sinks.c (test_src_sink): Cleanups from the state
19284         change patch.
19285         (test_livesrc_sink): Sync on the state.
19286
19287         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
19288         the state change patch.
19289
19290         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
19291         change patch.
19292
19293         * check/gst/gstbin.c: Merge in some style fixes and additional
19294         checks from Wim's state change patch.
19295
19296 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19297
19298         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19299         (gst_type_find_helper):
19300           Check whether we have the requested data already in our list of
19301           cached buffers before pulling a new buffer; also make the buffer
19302           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
19303
19304 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19305
19306         * gst/gstcaps.c:
19307         * gst/gstevent.c:
19308           doc updates
19309         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19310           don't use long long, it's not portable.  Replacing with
19311           gint64 seems to work; let's hope no skeletons fall out of the closet.
19312
19313 2005-10-10  Andy Wingo  <wingo@pobox.com>
19314
19315         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
19316
19317 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
19318
19319         * docs/gst/gstreamer-sections.txt:
19320         * gst/gstevent.c:
19321         * gst/gstevent.h:
19322         * gst/gstinfo.c:
19323         * gst/gstinfo.h:
19324         * gst/gstmessage.c: (gst_message_parse_state_changed):
19325         * gst/gstpad.c:
19326         * gst/gstpad.h:
19327           more docs, fix compilation
19328
19329 2005-10-09  Philippe Khalaf <burger@speedy.org>
19330         * gst/gstmessage.c:
19331           Fixed a few forgotten variables on previous commit
19332
19333 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
19334
19335         * gst/base/gsttypefindhelper.c: (helper_find_peek):
19336           Fix evil typefind crasher: getrange() might return a short
19337           buffer at the end of a file, but gst_type_find_peek() must
19338           either return the full data as requested or NULL, but
19339           never a short buffer.
19340
19341 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19342
19343         * gst/gstmessage.c: (gst_message_new_state_changed),
19344         (gst_message_parse_state_changed):
19345         * gst/gstmessage.h:
19346           don't use "new", it's a C++ keyword
19347
19348 2005-10-08  Wim Taymans  <wim@fluendo.com>
19349
19350         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
19351         * gst/gstelement.c: (gst_element_post_message):
19352         * gst/gstpipeline.c: (gst_pipeline_change_state):
19353         Small docs and debug updates.
19354
19355 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
19356
19357         * docs/gst/gstreamer-sections.txt:
19358         * gst/gstelementfactory.c:
19359         * gst/gstevent.c:
19360         * gst/gsttaglist.c:
19361           more docs
19362
19363 2005-10-08  Wim Taymans  <wim@fluendo.com>
19364
19365         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
19366         (gst_bin_dispose), (bin_bus_handler):
19367         Fix typos, add comments.
19368         Clear EOS list when going to PAUSED from any direction and do it
19369         in a threadsafe way.
19370         Get base time in a threadsafe way too.
19371         Fix confusing debug in the change_state function.
19372         Various other small cleanups.
19373         
19374         * gst/gstelement.c: (gst_element_post_message):
19375         Fix very verbose bus posting code.
19376
19377         * gst/gstpipeline.c: (gst_pipeline_class_init),
19378         (gst_pipeline_set_property), (gst_pipeline_get_property),
19379         (gst_pipeline_change_state):
19380         Small ARG_ -> PROP_ cleanup
19381
19382 2005-10-08  Wim Taymans  <wim@fluendo.com>
19383
19384         * gst/gstbin.c: (is_eos), (bin_bus_handler):
19385         Do a less CPU demanding EOS check because we can.
19386
19387 2005-10-08  Wim Taymans  <wim@fluendo.com>
19388
19389         * libs/gst/dataprotocol/dataprotocol.c:
19390         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
19391         (gst_dp_packet_from_event):
19392         * libs/gst/dataprotocol/dataprotocol.h:
19393         * libs/gst/dataprotocol/dp-private.h:
19394         It's about time we bump the version number.
19395         Since event types don't fit in the guint8 anymore describing
19396         the payload type, make payload type 16 bits wide.
19397
19398 2005-10-08  Wim Taymans  <wim@fluendo.com>
19399
19400         * docs/design/part-TODO.txt:
19401         * docs/design/part-clocks.txt:
19402         * docs/design/part-events.txt:
19403         * docs/design/part-gstbin.txt:
19404         * docs/design/part-gstelement.txt:
19405         * docs/design/part-gstpipeline.txt:
19406         * docs/design/part-live-source.txt:
19407         * docs/design/part-messages.txt:
19408         * docs/design/part-overview.txt:
19409         * docs/design/part-states.txt:
19410         Many doc updates.
19411
19412 2005-10-08  Wim Taymans  <wim@fluendo.com>
19413
19414         * gst/gstevent.c:
19415         * gst/gstevent.h:
19416         Fix event quark registration.
19417         Add some space between events so we can insert them in the
19418         right groups.
19419
19420 2005-10-08  Wim Taymans  <wim@fluendo.com>
19421
19422         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19423         (gst_base_sink_handle_buffer):
19424         Better log message.
19425
19426         * gst/gstbus.h:
19427         * gst/gstelement.h:
19428         More docs.
19429
19430         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19431         (gst_queue_set_property), (gst_queue_get_property):
19432         * gst/gstqueue.h:
19433         Remove old unused properties.
19434
19435 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
19436         * docs/gst/gstreamer-sections.txt:
19437         * gst/gstmessage.c:
19438         * gst/gstmessage.h:
19439         * gst/gstminiobject.c:
19440         * gst/gstminiobject.h:
19441         * gst/gstobject.h:
19442         * gst/gstpad.h:
19443         * gst/gstutils.h:
19444           lots of new docs and doc fixes
19445
19446 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19447
19448         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
19449         * gst/gstplugin.h:
19450         * gst/gstregistry.c: (gst_registry_lookup_locked),
19451         (gst_registry_scan_path_level):
19452         * gst/gstregistryxml.c: (load_plugin):
19453           Only ever load one plugin for a given plugin basename.
19454           This ensures correct overriding of GST_PLUGIN_PATH over
19455           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
19456           system installed plugins.
19457
19458 2005-10-08  Wim Taymans  <wim@fluendo.com>
19459
19460         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19461         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
19462         Prepare for doing QOS.
19463
19464 2005-10-08  Wim Taymans  <wim@fluendo.com>
19465
19466         * check/gst/gstbin.c: (GST_START_TEST):
19467         * check/pipelines/cleanup.c: (GST_START_TEST):
19468         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19469         Allow new clock message too.
19470
19471 2005-10-08  Wim Taymans  <wim@fluendo.com>
19472
19473         * gst/gstmessage.c: (gst_message_new_error),
19474         (gst_message_new_warning), (gst_message_new_tag),
19475         (gst_message_new_state_changed), (gst_message_new_clock_provide),
19476         (gst_message_new_clock_lost), (gst_message_new_new_clock),
19477         (gst_message_new_segment_start), (gst_message_new_segment_done),
19478         (gst_message_parse_state_changed),
19479         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
19480         (gst_message_parse_new_clock):
19481         * gst/gstmessage.h:
19482         Also carry the clock in question.
19483
19484 2005-10-08  Wim Taymans  <wim@fluendo.com>
19485
19486         * gst/gstmessage.c: (gst_message_new_custom),
19487         (gst_message_new_eos), (gst_message_new_error),
19488         (gst_message_new_warning), (gst_message_new_tag),
19489         (gst_message_new_state_changed), (gst_message_new_clock_provide),
19490         (gst_message_new_new_clock), (gst_message_new_segment_start),
19491         (gst_message_new_segment_done), (gst_message_parse_state_changed),
19492         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
19493         * gst/gstmessage.h:
19494         Clean up.
19495         Added clock related messages.
19496
19497         * gst/gstpipeline.c: (gst_pipeline_change_state):
19498         Post message when the clock changed.
19499
19500         * tools/gst-launch.c: (event_loop):
19501         Print new clock.
19502
19503 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
19504
19505         * tools/gst-inspect.c: (print_element_properties_info):
19506           Can't pass NULL strings to g_print() on windows.
19507
19508 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19509
19510         * docs/Makefile.am:
19511         * docs/gst/Makefile.am:
19512         * docs/gst/gstreamer-docs.sgml:
19513         * docs/gst/running.xml:
19514         * docs/version.entities.in:
19515           add a chapter on running GStreamer.
19516           document GST_DEBUG and GST_PLUGIN* env vars
19517
19518 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19519
19520         * Makefile.am:
19521           remove include dir
19522         * configure.ac:
19523           remove PLUGINS_BUILDDIR stuff
19524         * gst/gst.c: (init_post):
19525           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
19526         * idiottest.mak:
19527           remove, it was condescending and not needed
19528
19529 2005-10-08  Wim Taymans  <wim@fluendo.com>
19530
19531         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
19532         (gst_base_sink_handle_object), (gst_base_sink_event),
19533         (gst_base_sink_wait), (gst_base_sink_handle_event),
19534         (gst_base_sink_change_state):
19535         * gst/base/gstbasesink.h:
19536         Repost EOS message while going to PLAYING if still EOS.
19537         Make sure that when receiving a FLUSH_START we don't attempt
19538         to sync on the clock anymore.
19539
19540 2005-10-08  Wim Taymans  <wim@fluendo.com>
19541
19542         * tools/gst-launch.c: (event_loop):
19543         Better message printout.
19544
19545 2005-10-08  Wim Taymans  <wim@fluendo.com>
19546
19547         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
19548         (gst_bin_child_proxy_get_children_count):
19549         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19550         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
19551         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
19552         (gst_child_proxy_set_valist):
19553         * gst/parse/grammar.y:
19554         Make ChildProxy threadsafe and fix mem leaks.
19555
19556 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19557
19558         * gst/gst.c: (init_post):
19559           debug the GST_PLUGIN_ env vars
19560
19561 2005-10-08  Wim Taymans  <wim@fluendo.com>
19562
19563         * check/gst/gstbin.c: (GST_START_TEST):
19564         * check/gst/gstmessage.c: (GST_START_TEST):
19565         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19566         * gst/gstelement.c: (gst_element_commit_state),
19567         (gst_element_lost_state):
19568         * gst/gstmessage.c: (gst_message_new_state_changed),
19569         (gst_message_parse_state_changed):
19570         * gst/gstmessage.h:
19571         * tools/gst-launch.c: (event_loop):
19572         Added extra field to STATE_CHANGE message with the pending
19573         state, which will be different from the new state soon.
19574
19575 2005-10-08  Wim Taymans  <wim@fluendo.com>
19576
19577         * gst/gstbus.c: (gst_bus_pop):
19578         * gst/gstclock.c:
19579         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19580         Small cleanups and doc updates.
19581
19582 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19583
19584         * gst/gst.c: (init_pre):
19585         * gst/gstbin.c: (gst_bin_add_func):
19586           log distributing clocks and base time
19587         * gst/gstregistry.c: (gst_registry_add_plugin),
19588         (gst_registry_scan_path_level), (gst_registry_scan_path):
19589           clean up the debugging output a little
19590         * gst/gstutils.c: (gst_element_state_get_name):
19591           warn about a memleak (I've actually seen this be used, though
19592           it was probably a bug)
19593
19594 2005-10-07  Wim Taymans  <wim@fluendo.com>
19595
19596         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19597         (gst_base_src_init), (gst_base_src_default_newsegment),
19598         (gst_base_src_newsegment), (gst_base_src_do_seek),
19599         (gst_base_src_loop), (gst_base_src_start):
19600         * gst/base/gstbasesrc.h:
19601         Make the newsegment event customizable by subclasses.
19602
19603 2005-10-07  Wim Taymans  <wim@fluendo.com>
19604
19605         * gst/gstevent.c: (gst_event_new_buffersize),
19606         (gst_event_parse_buffersize):
19607         * gst/gstevent.h:
19608         New event for future idea.
19609
19610 2005-10-07  Andy Wingo  <wingo@pobox.com>
19611
19612         * gst/gstelement.c (gst_element_post_message): Doc update.
19613
19614         * docs/gst/gstreamer-sections.txt: Update.
19615
19616         * gst/gstmessage.c (gst_message_new_application): Made into a
19617         function like honest API calls.
19618         (gst_message_new_element): New message type.
19619
19620         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
19621
19622         * check/elements/fakesrc.c (test_no_preroll): New check, checks
19623         that setting a live fakesrc to PAUSED returns NO_PREROLL both
19624         times.
19625
19626         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
19627         NO_PREROLL from gst_element_change_state to fall through.
19628
19629 2005-10-07  Wim Taymans  <wim@fluendo.com>
19630
19631         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
19632         (gst_ghost_pad_do_activate_push):
19633         Activating a ghostpad with no internal pad in push mode
19634         is ok.
19635
19636 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19637
19638         * gst/gstobject.h:
19639           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
19640           Fixes compilation on Windows.
19641
19642 2005-10-07  Michael Smith <msmith@fluendo.com>
19643
19644         * tools/gst-inspect.c:
19645           Print out feature and plugin count at the end when printing out
19646           all features.
19647
19648 2005-10-04  Michael Smith <msmith@fluendo.com>
19649
19650         * gst/gsterror.c: (_gst_stream_errors_init):
19651           Add another error string used in a few existing plugins.
19652
19653         * gst/gstplugin.c:
19654         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19655         * tools/gst-inspect.c: (print_element_info):
19656           When a feature disappears from a plugin (and the feature exists in
19657           the cached registry file), things went horribly wrong. This isn't a
19658           complete fix, we should actually be removing the 'missing' features
19659           from the features list when we load the actual plugin. That's not
19660           yet implemented. 
19661
19662 2005-10-04  Johan Dahlin  <johan@gnome.org>
19663
19664         * check/gst/gstiterator.c: (GST_START_TEST):
19665         * gst/gstbin.c: (gst_bin_iterate_elements),
19666         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
19667         * gst/gstelement.c: (gst_element_iterate_pads):
19668         * gst/gstformat.c: (gst_format_iterate_definitions):
19669         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19670         (gst_iterator_new_list), (gst_iterator_filter):
19671         * gst/gstiterator.h:
19672         * gst/gstquery.c: (gst_query_type_iterate_definitions):
19673         Add a GType to GstIterator, update callsites and tests.
19674
19675 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19676
19677         * gst/gstpad.c: (gst_pad_event_default_dispatch):
19678           give events a chance to be handled by event probes when the pad
19679           is not linked
19680
19681 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19682
19683         * gst/gstevent.c: (gst_event_type_get_name),
19684         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
19685         * gst/gstevent.h:
19686           add string representations for event types
19687
19688 2005-10-06  Wim Taymans  <wim@fluendo.com>
19689
19690         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
19691         Don't use NULL pointers.
19692
19693 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19694
19695         * gst/gst_private.h:
19696         * gst/gstbus.c:
19697         * gst/gstelement.c:
19698         * gst/gstinfo.c:
19699         * gst/gstpluginfeature.c:
19700           widen the debug category in output to fit the biggest one we have
19701           add a bus category and use it
19702           play with the colors
19703           fix up some categories
19704
19705 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19706
19707         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
19708           add push activation of sink ghost pads.
19709           Andye, please verify
19710
19711 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19712
19713         * gst/gstutils.c: (gst_element_link_pads):
19714           fix a bug in the case where neither element has a pad
19715         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19716           add a test for that case
19717
19718 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19719
19720         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
19721           emit have-data before checking for peers.  This allows
19722           for probe handlers to connect elements.  This helps autopluggers.
19723         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
19724         (gst_pad_suite):
19725           add six checks, linked/unlinked with no/true/false probe
19726
19727 2005-10-04  Wim Taymans  <wim@fluendo.com>
19728
19729         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
19730         (gst_fake_sink_event), (gst_fake_sink_preroll),
19731         (gst_fake_sink_render), (gst_fake_sink_change_state):
19732         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
19733         (gst_fake_src_get_property), (gst_fake_src_create),
19734         (gst_fake_src_stop):
19735         * gst/elements/gstidentity.c: (gst_identity_stop):
19736         Protect last_message with lock.
19737
19738 2005-10-04  Edward Hervey  <edward@fluendo.com>
19739
19740         * gst/gstformat.h: 
19741         Added precision in the comments for GST_FORMAT_DEFAULT
19742
19743 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
19744
19745         * tools/gst-launch.c: (main):
19746           Don't try to run erroneous pipelines.
19747
19748 2005-10-04  Julien MOUTTE  <julien@moutte.net>
19749
19750         * gst/gstbus.c: We don't need this header.
19751
19752 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19753
19754         * configure.ac:
19755           back to development
19756
19757 === release 0.9.3 ===
19758
19759 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19760
19761         * README:
19762         * configure.ac:
19763           Releasing 0.9.3, "Unregistered"
19764
19765 2005-10-03  Andy Wingo  <wingo@pobox.com>
19766
19767         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
19768         whereby calling a pad's activatepush() function can start a thread
19769         that starts to push or pull before the pad gets the FLUSHING flag
19770         unset. Hack around it by holding the stream lock until the flag is
19771         set. Need to replace this with a proper solution. Together with
19772         the ghost pad fixes, this fixes mp3 playing/tagreading.
19773
19774         * docs/design/part-gstghostpad.txt: Add a note about activation of
19775         proxy pads outside of ghost pads.
19776
19777         * gst/gstghostpad.c: Implement the ghost pad activation design.
19778
19779 2005-10-02  Andy Wingo  <wingo@pobox.com>
19780
19781         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
19782         It is volatile, after all.
19783
19784         * docs/design/part-gstghostpad.txt: Flesh out activation with
19785         ghost pads.
19786
19787         * gst/base/gstbasesrc.c (gst_base_src_init): Use
19788         GST_DEBUG_FUNCPTR.
19789
19790 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
19791
19792         * configure.ac:
19793           Fix (unused) AM_CONDITIONAL tests.
19794
19795 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
19796
19797         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19798
19799         * gst/gstutils.c: (gst_pad_query_convert):
19800           Add assertion that makes sure src_val is >=0, just like
19801           gst_query_new_convert() has. (#315895)
19802
19803 2005-09-30  Edward Hervey  <edward@fluendo.com>
19804
19805         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
19806         Let's not iterate pads we're not interested in, it avoids getting 
19807         sky-high refcounts on sinkpad.
19808
19809 2005-09-30  Wim Taymans  <wim@fluendo.com>
19810
19811         * gst/gstelement.c: (gst_element_set_state),
19812         (gst_element_change_state):
19813         Small tweak, element in ASYNC remains ASYNC.
19814
19815 2005-09-30  Wim Taymans  <wim@fluendo.com>
19816
19817         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19818         Only error is an error.
19819
19820         * gst/gstbin.c: (gst_bin_change_state):
19821         Better debugging.
19822
19823         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
19824         Also call pad_block in pad alloc.
19825
19826         * gst/gstutils.c: (gst_flow_get_name):
19827         Better debugging.
19828
19829 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
19830
19831         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19832         (gst_base_src_get_range):
19833           Fix documentation typos. Add some more debug info.
19834
19835 2005-09-29  David Schleef  <ds@schleef.org>
19836
19837         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
19838           more end-user friendly.
19839         * tools/gst-inspect.c: (main): Check if command-line argument is
19840           a file and attempt to load that file as a plugin.
19841
19842 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19843
19844         * check/gst/gstbin.c:
19845         * check/states/sinks.c:
19846           fix tests for the new warning
19847         * check/gst/gstpipeline.c:
19848           add a test for pipeline and bus interaction
19849         * gst/gstelement.c:
19850           elements should be NULL if they get disposed; add a warning if not
19851
19852 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19853
19854         * gst/gstobject.c:
19855           for 2.6 refcounting, make debug log more correct by printing
19856           the actual refcounts at the time of swap (Wim)
19857
19858 2005-09-29  Andy Wingo  <wingo@pobox.com>
19859
19860         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
19861         removes signal watches previously added via
19862         gst_bus_add_signal_watch.
19863         (gst_bus_add_signal_watch): Don't return the source id, just store
19864         it on the bus if there wasn't an id already.
19865
19866         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
19867         add_signal_watch and remove_signal_watch.
19868
19869 2005-09-29  Edward Hervey  <edward@fluendo.com>
19870
19871         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
19872         Better if we actually iterate the list :)
19873
19874 2005-09-29  Wim Taymans  <wim@fluendo.com>
19875
19876         * check/gst/gstbin.c: (GST_START_TEST):
19877         Change for new bus API.
19878
19879         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19880         (send_messages), (GST_START_TEST), (gstbus_suite):
19881         Change for new bus signal API.
19882
19883         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
19884         (gst_bus_source_prepare), (gst_bus_source_check),
19885         (gst_bus_create_watch), (gst_bus_add_watch_full),
19886         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
19887         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
19888         * gst/gstbus.h:
19889         Remove support for multiple GSources operating on different
19890         message types as it is too complex and unneeded when using
19891         signals.
19892         Added support for receiving signals from the bus.
19893
19894 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19895
19896         * docs/libs/tmpl/gstdataprotocol.sgml:
19897         * docs/manual/advanced-dataaccess.xml:
19898         * gst/elements/gstcapsfilter.c:
19899         * gst/gstutils.c:
19900           rename filter-caps to caps property
19901
19902 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
19903
19904         * gst/gstvalue.c: (gst_value_deserialize_fraction):
19905           More robust fraction string parsing.
19906
19907         * docs/pwg/appendix-porting.xml:
19908           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
19909
19910 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
19911
19912         * gst/gstcaps.c: (gst_caps_do_simplify):
19913           Thou shalt not free a structure and then continue using it
19914           in the next loop iteration.
19915
19916         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
19917         (gst_caps_suite):
19918           Add test case for caps simplification.
19919
19920 2005-09-29  Wim Taymans  <wim@fluendo.com>
19921
19922         * check/gst/gstbin.c: (GST_START_TEST):
19923         Oops.
19924
19925 2005-09-29  Wim Taymans  <wim@fluendo.com>
19926
19927         * check/gst/gstbin.c: (GST_START_TEST):
19928         Add bus to bin.
19929
19930         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
19931         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19932         (find_element), (gst_bin_sort_iterator_next),
19933         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19934         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19935         (gst_bin_change_state), (gst_bin_dispose):
19936         A bin does not have a bus, it gets the bus from the parent.
19937
19938         * gst/gstelement.c: (gst_element_requires_clock),
19939         (gst_element_provides_clock), (gst_element_is_indexable),
19940         (gst_element_is_locked_state), (gst_element_change_state),
19941         (gst_element_set_bus_func):
19942         Small cleanups.
19943
19944         * gst/gstpipeline.c: (gst_pipeline_class_init),
19945         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
19946         The pipeline provides a bus.
19947
19948 2005-09-28  Johan Dahlin  <johan@gnome.org>
19949
19950         * gst/gstmessage.c (gst_message_parse_state_changed): Use
19951         gst_structure_get_enum instead of gst_structure_get_int
19952
19953         * gst/gststructure.c (gst_structure_get_enum): Impl.
19954
19955         * gst/gststructure.h (gst_structure_get_enum): Add
19956
19957         * docs/gst/gstreamer-sections.txt: Ditto
19958
19959         * gst/gstmessage.c (gst_message_new_state_changed): Use
19960         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
19961         which does introspection.
19962         Reviewed by Christian Schaller
19963
19964 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
19965
19966         * gst/gstinfo.c: (gst_debug_log_default):
19967           don't do dummy g_strdup()s
19968         * libs/gst/controller/gstcontroller.c:
19969         (on_object_controlled_property_changed),
19970         (gst_controlled_property_new), (gst_controller_new_valist),
19971         (gst_controller_new_list),
19972         (gst_controller_remove_properties_valist), (gst_controller_set),
19973         (gst_controller_get), (gst_controller_sync_values),
19974         (gst_controller_get_value_array), (_gst_controller_class_init),
19975         (gst_controller_get_type):
19976         * libs/gst/controller/gstcontroller.h:
19977         * libs/gst/controller/gstinterpolation.c:
19978         (gst_controlled_property_find_timed_value_node):
19979           convert // to /**/ comments
19980
19981 2005-09-28  Wim Taymans  <wim@fluendo.com>
19982
19983         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
19984         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
19985         (gst_bus_sync_signal_handler):
19986         * gst/gstbus.h:
19987         Added async-message and sync-message signals to the bus.
19988         Added helper BusFunc to emit signals for all posted messages.
19989
19990         * gst/gstmessage.c: (gst_message_type_get_name),
19991         (gst_message_type_to_quark), (gst_message_get_type):
19992         * gst/gstmessage.h:
19993         Register quarks for message names.
19994
19995 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
19996
19997         * docs/libs/gstreamer-libs-sections.txt:
19998         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
19999         (gst_controller_new_list):
20000         * libs/gst/controller/gstcontroller.h:
20001           added another constructor for language bindings
20002
20003 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20004
20005         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20006           add another check
20007         * gst/gstbus.c:
20008           add some doc
20009         * gst/gstinfo.c: (_gst_debug_init):
20010           slightly more readable color for refcount debugging
20011
20012 2005-09-28  Wim Taymans  <wim@fluendo.com>
20013
20014         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20015         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20016         (find_element), (gst_bin_sort_iterator_next),
20017         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20018         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20019         (gst_bin_change_state), (gst_bin_dispose):
20020         Small doc fixes. get_clock -> provide_clock.
20021
20022         * gst/gstelement.c: (gst_element_class_init),
20023         (gst_element_provides_clock), (gst_element_provide_clock),
20024         (gst_element_get_clock), (gst_element_commit_state),
20025         (gst_element_lost_state):
20026         * gst/gstelement.h:
20027         Make get/set_clock() symetric. Add provide_clock vmethod since
20028         that is actually what this function does.
20029
20030         * gst/gstpipeline.c: (gst_pipeline_class_init),
20031         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
20032         (gst_pipeline_get_clock):
20033         get_clock -> provide_clock.
20034
20035 2005-09-28  Andy Wingo  <wingo@pobox.com>
20036
20037         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
20038         lieu of real docs...
20039
20040         * gst/elements/gstfdsrc.c: Cleaned up a bit.
20041
20042 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
20043
20044         * gst/elements/gstcapsfilter.c:
20045         * gst/elements/gstfakesink.c:
20046         * gst/elements/gstfakesrc.c:
20047         * gst/elements/gstfdsink.c:
20048         * gst/elements/gstfdsrc.c:
20049         * gst/elements/gstfilesink.c:
20050         * gst/elements/gstfilesrc.c:
20051         * gst/elements/gstidentity.c:
20052         * gst/elements/gsttee.c:
20053         * gst/elements/gsttypefindelement.c:
20054           Make element details static.
20055
20056 2005-09-28  Wim Taymans  <wim@fluendo.com>
20057
20058         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20059         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20060         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20061         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20062         (gst_bin_change_state), (gst_bin_dispose):
20063         Some documentation updates.
20064         Clean up dispose handlers.
20065
20066         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
20067         * gst/gstpad.c: (gst_pad_dispose):
20068         Clean up dispose handler.
20069
20070         * gst/gstpipeline.c: (gst_pipeline_change_state):
20071         Removed spurious UNLOCK.
20072
20073 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
20074
20075         * docs/gst/gstreamer-sections.txt:
20076         * gst/base/gstbasesrc.h:
20077         * gst/gstelement.h:
20078         * gst/gstevent.h:
20079         * gst/gstobject.h:
20080         * gst/gstpad.h:
20081         * gst/gstpipeline.c:
20082         * gst/gstpipeline.h:
20083         * gst/gstutils.h:
20084         * gst/gstxml.h:
20085           added two new functions to the docs
20086                 documents all undocumented GstXXXFlags
20087                 completed some incomplete docs 
20088
20089 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20090
20091         * gst/gstbin.c: (gst_bin_dispose):
20092         * gst/gstelement.c: (gst_element_dispose):
20093           remove now useless and leaky resurrection code in dispose
20094         * gst/base/gstbasesrc.c: (gst_base_src_init):
20095         * gst/gstelementfactory.c: (gst_element_factory_create):
20096         * gst/gstobject.c: (gst_object_set_parent):
20097           add some debugging
20098
20099 2005-09-27  Wim Taymans  <wim@fluendo.com>
20100
20101         * docs/design/part-TODO.txt:
20102         Update TODO.
20103
20104         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20105         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20106         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20107         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20108         (gst_bin_change_state):
20109         * gst/gstelement.h:
20110         Remove element variable, we keep element info in the iterator now.
20111
20112 2005-09-27  Andy Wingo  <wingo@pobox.com>
20113
20114         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
20115         values.
20116
20117 2005-09-27  Wim Taymans  <wim@fluendo.com>
20118
20119         * check/gst/gstbin.c: (GST_START_TEST):
20120         Enable check that works now.
20121
20122         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20123         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20124         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20125         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20126         (gst_bin_change_state):
20127         * gst/gstbin.h:
20128         Redid the state change algorithm using a topological sort algo.
20129         Handles all cases correctly.
20130         Exposed iterator for state change order.
20131
20132         * gst/gstelement.h:
20133         Temp storage for state changes. Need to get rid of this soon.
20134
20135 2005-09-27  Wim Taymans  <wim@fluendo.com>
20136
20137         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
20138         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
20139         (link_fold_func), (gst_pad_proxy_setcaps):
20140         Leak fixes, the fold functions need to unref the passed object and
20141         _get_parent_*() returns ref to parent.
20142
20143 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20144
20145         * check/gst/gstbuffer.c: (test_make_writable):
20146           Plug leak in test case and fix 'make check-valgrind'
20147
20148 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20149
20150         * gst/gstbuffer.c: (gst_subbuffer_init):
20151           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
20152           works correctly in all circumstances (we could have just copied
20153           the parent buffer's readonly flag, but conceptually it seems
20154           cleaner to mark all subbuffers as read-only). (based on patch
20155           by Alessandro Decina, #314710).
20156         
20157         * check/gst/gstbuffer.c: (create_read_only_buffer),
20158         (test_make_writable), (test_subbuffer_make_writable),
20159         (gst_test_suite):
20160           Add some tests for gst_buffer_make_writable().
20161
20162 2005-09-27  Wim Taymans  <wim@fluendo.com>
20163
20164         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
20165         use gst_object_has_ancestor().
20166
20167         * gst/gstobject.c: (gst_object_has_ancestor):
20168         * gst/gstobject.h:
20169         gst_object_has_ancestor() copied from gstbin.c as it is a
20170         useful function.
20171
20172         * tests/instantiate/create.c: (create_all_elements):
20173         * tests/lat.c: (handoff_src), (handoff_sink):
20174         * tests/sched/runxml.c: (main):
20175         * tests/seeking/seeking1.c: (main):
20176         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20177         (main):
20178         Fix compilation of some tests.
20179
20180 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20181
20182         * gst/gsterror.h:
20183           Remove comment. GST_TYPE_G_ERROR is here to stay,
20184           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
20185           (#316961, #300610).
20186
20187 2005-09-26  Wim Taymans  <wim@fluendo.com>
20188
20189         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20190         Added check that shows error in state change order.
20191
20192 2005-09-26  Wim Taymans  <wim@fluendo.com>
20193
20194         * gst/gstbin.c: (gst_bin_change_state):
20195         Make state change function use 3 queues again, we were
20196         adding elements in the wrong order.
20197
20198         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
20199         Some debug info,
20200
20201         * gst/gstpad.c: (gst_pad_dispose):
20202         Added some debug info first.
20203
20204 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
20205
20206         * docs/design/draft-push-pull.txt:
20207         * docs/design/part-events.txt:
20208         * docs/design/part-overview.txt:
20209         * docs/design/part-scheduling.txt:
20210           Replace all _pull_region() with _pull_range()
20211           
20212 2005-09-26  Andy Wingo  <wingo@pobox.com>
20213
20214         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
20215
20216         * check/gst-libs/controller.c: Update for controller api change.
20217
20218         * configure.ac: 
20219         * tests/Makefile.am:
20220         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
20221         over by GLib bug 118439.
20222         
20223         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
20224         routines to a function.
20225
20226         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
20227
20228         * libs/gst/controller/gsthelper.c:
20229         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
20230         (gst_object_sync_values): Renamed from sink_values. Ugh.
20231
20232         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
20233
20234         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
20235         Renamed from controller_key, as it is exported.
20236
20237         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
20238
20239 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20240
20241         * gst/Makefile.am:
20242         * gst/gst.h:
20243         * gst/gstpad.h:
20244         * gst/gstpadtemplate.h:
20245         * gst/gstquery.c:
20246         * gst/gstquery.h:
20247         * gst/gstqueryutils.c:
20248         * gst/gstqueryutils.h:
20249           remove queryutils headers after moving the two used functions
20250           to gstquery.  also fixes build problem for gstsiddec
20251
20252 2005-09-26  Michael Smith <msmith@fluendo.com>
20253
20254         * tools/gst-launch.1.in:
20255         Correct documentation in manpage of debug syntax
20256
20257 2005-09-26  Wim Taymans  <wim@fluendo.com>
20258
20259         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
20260         (gst_base_src_is_seekable), (gst_base_src_change_state):
20261         Some more debugging info.
20262
20263 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20264
20265         * docs/gst/gstreamer-sections.txt:
20266         * gst/base/gstbasetransform.h:
20267         * gst/gstindex.h:
20268           added more docs
20269
20270 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20271
20272         * docs/gst/.cvsignore:
20273         * docs/gst/tmpl/.cvsignore:
20274         * docs/gst/tmpl/gstpipeline.sgml:
20275         * docs/gst/tmpl/gstplugin.sgml:
20276         * gst/gstpipeline.c:
20277         * gst/gstplugin.c:
20278         * gst/gstplugin.h:
20279           inlined the last two docs files
20280           removed the tmpl directory from cvs (no more conflicts here!)
20281
20282 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20283
20284         * docs/gst/gstreamer-sections.txt:
20285         * docs/gst/tmpl/.cvsignore:
20286         * docs/gst/tmpl/gstpad.sgml:
20287         * docs/gst/tmpl/gstpadtemplate.sgml:
20288         * gst/Makefile.am:
20289         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
20290         (gst_pad_finalize), (gst_pad_set_pad_template):
20291         * gst/gstpad.h:
20292         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
20293         (gst_pad_template_class_init), (gst_pad_template_init),
20294         (gst_pad_template_dispose), (name_is_valid),
20295         (gst_static_pad_template_get), (gst_pad_template_new),
20296         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
20297         (gst_pad_template_pad_created):
20298         * gst/gstpadtemplate.h:
20299           inlined two more docs
20300           factored gstpadtemplate out of gstpad
20301
20302 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
20303
20304         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20305         (test_children_state_change_order_semi_sink):
20306           Fix test case: we can't rely on a fixed state change order when
20307           going from READY => PAUSED because the sink might commit its 
20308           new state first when the first buffer created by the source 
20309           reaches the sink before the source has finished its change state.
20310           (Test case still fails at times, see #316856, comment 5 onwards)
20311
20312 2005-09-24  Wim Taymans  <wim@fluendo.com>
20313
20314         * docs/design/part-events.txt:
20315         * docs/design/part-gstbus.txt:
20316         * docs/design/part-gstpipeline.txt:
20317         * docs/design/part-messages.txt:
20318         * docs/design/part-overview.txt:
20319         * docs/design/part-segments.txt:
20320         * gst/gstbin.c:
20321         * gst/gstbuffer.c:
20322         * gst/gstclock.c:
20323         * gst/gstelement.c:
20324         * gst/gstevent.c:
20325         * gst/gstfilter.c:
20326         * gst/gstiterator.c:
20327         Various documentation updates.
20328
20329 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20330
20331         * gst/gstclock.h:
20332           Well, that's embarassing.  Luckily we weren't using
20333           GST_CLOCK_DIFF anywhere.
20334
20335 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20336
20337         * common/gtk-doc.mak:
20338           don't fail on building XML, FC4 slave shows a bunch of doc
20339           missing bits that I don't get
20340         * gst/gstpad.c:
20341         * gst/gstpipeline.c:
20342         * gst/gststructure.c:
20343           some doc updates
20344
20345 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
20346
20347         * docs/design/part-gstbin.txt:
20348         * docs/design/part-gstbus.txt:
20349         * gst/gstbus.c:
20350           Add blurb about how the bus goes into flushing mode and
20351           drops all messages when its bin goes from READY into NULL 
20352           state.
20353
20354 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20355
20356         * docs/gst/gstreamer-sections.txt:
20357         * gst/gststructure.c: (gst_structure_get_clock_time):
20358         * gst/gststructure.h:
20359           add a method to get a GstClockTime out of a structure
20360
20361 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
20362
20363         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20364         (test_children_state_change_order_semi_sink), (gst_bin_suite):
20365           Added test to check state change order in bins (can still be made
20366           to fail here under heavy disk load; bails out with 'Push on pad
20367           fakesink:sink0, but it was not activated in push mode').
20368
20369         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
20370           Fix state change order when there is only a semi sink (#316856)
20371
20372         * gst/gstbus.c: (gst_bus_class_init):
20373           Use _class_peek_parent(), not _class_ref(); fix docs to say
20374           'default main context' instead of 'mainloop' where that is
20375           what's meant.
20376
20377         * gst/gstelement.c: (gst_element_commit_state),
20378         (gst_element_set_state):
20379           Fix typos in debug messages
20380
20381 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20382
20383         * docs/README:
20384         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
20385         * gst/gstpluginfeature.c:
20386         * gst/gstutils.c:
20387           various doc updates
20388         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20389           change an assert into an error until it gets fixed properly
20390
20391 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
20392
20393         * docs/gst/gstreamer-sections.txt:
20394         * docs/gst/tmpl/.cvsignore:
20395         * docs/gst/tmpl/gstelement.sgml:
20396         * docs/gst/tmpl/gstinfo.sgml:
20397         * docs/gst/tmpl/gstobject.sgml:
20398         * gst/gstelement.c:
20399         * gst/gstelement.h:
20400         * gst/gstinfo.c:
20401         * gst/gstinfo.h:
20402         * gst/gstobject.c: (gst_object_class_init):
20403         * gst/gstobject.h:
20404           inlined 3 more biiiig doc files and added some missing docs on the fly
20405
20406 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20407
20408         * check/gst/.cvsignore:
20409         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
20410         * gst/gstregistryxml.c: (load_plugin),
20411         (gst_registry_xml_save_plugin):
20412           put back source in registry.  add checks for find_plugin.
20413         * testsuite/states/bin.c: (assert_state), (empty_bin),
20414         (test_adding_one_element), (main):
20415         * testsuite/states/locked.c: (main):
20416           some compile/run fixes
20417
20418 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20419
20420         * check/gst/gstvalue.c: (GST_START_TEST):
20421           fix leaks in the test itself
20422
20423 2005-09-22  Wim Taymans  <wim@fluendo.com>
20424
20425         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20426         (gst_base_sink_send_event), (gst_base_sink_peer_query),
20427         (gst_base_sink_query):
20428         Prepare for more accurate position reporting and query
20429         handling.
20430
20431         * gst/gstelement.c: (gst_element_send_event),
20432         (gst_element_set_state):
20433         Add some comment.
20434
20435 2005-09-22  Wim Taymans  <wim@fluendo.com>
20436
20437         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
20438         (gst_query_parse_segment):
20439         * gst/gstquery.h:
20440         More documentation.
20441         Add segment query for future use.
20442
20443 2005-09-22  Wim Taymans  <wim@fluendo.com>
20444
20445         * gst/gstbin.c: (gst_bin_add_func):
20446         Some more debug info.
20447
20448         * gst/gstelement.c: (gst_element_send_event):
20449         Simplify send_event
20450
20451         * gst/gstelement.h:
20452         Don't know how flags got broken.
20453
20454         * gst/gstquery.h:
20455         Added new query.
20456
20457 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
20458
20459         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
20460           Add simplistic test suite for GST_TYPE_DATE serialisation and
20461           deserialisation.
20462
20463 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
20464
20465         * docs/gst/gstreamer-sections.txt:
20466         * gst/gststructure.c: (gst_structure_set_valist),
20467         (gst_structure_get_date):
20468         * gst/gststructure.h:
20469         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
20470         (gst_date_copy), (gst_value_compare_date),
20471         (gst_value_serialize_date), (gst_value_deserialize_date),
20472         (gst_value_transform_date_string),
20473         (gst_value_transform_string_date), (_gst_value_initialize):
20474         * gst/gstvalue.h:
20475           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
20476           bunch of utility functions along with a hack that checks that
20477           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
20478           is required. Part of the grand scheme in #170777.
20479
20480 2005-09-22  Andy Wingo  <wingo@pobox.com>
20481
20482         * gst/gstconfig.h.in: Psych out gtk-doc.
20483
20484         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
20485
20486         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
20487
20488         * tools/gst-inspect.c (print_element_list): Plug some
20489         inconsequential leaks.
20490
20491         * gst/gstregistry.c (gst_registry_get_default): Doc.
20492
20493         * check/gst/gstplugin.c: 
20494         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
20495         * gst/gstelementfactory.c (gst_element_factory_create): 
20496         * gst/gstindexfactory.c (gst_index_factory_create): Update for
20497         refcount changes.
20498
20499         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
20500         (gst_plugin_feature_load): Doc, don't eat refs.
20501
20502         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
20503         (gst_plugin_list_free): Doc.
20504         (gst_plugin_load_file): Doc updates.
20505
20506         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
20507         accessors returning refcounted objects, return a ref.
20508
20509         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
20510         accessor for caps. IDEMPOTENCE. Oh yes.
20511
20512 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
20513
20514         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20515
20516         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20517         (_gst_debug_register_funcptr):
20518           Add mutex to serialise access to the hash table with
20519           the function pointer => function name string mapping;
20520           make that hash table static scope (#316809).
20521
20522         * gst/registries/.cvsignore:
20523           Remove left-over file.
20524
20525 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
20526
20527         * docs/pwg/appendix-porting.xml:
20528           And something about newsegment events and caps-on-buffers to
20529           the porting guide (feel free to improve).
20530
20531 2005-09-21  Andy Wingo  <wingo@pobox.com>
20532
20533         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
20534         data and event probes on the same pad.
20535         (test_buffer_probe_once): Test that removing probes from within
20536         the probe functions works.
20537
20538 2005-09-21  Andy Wingo  <wingo@pobox.com>
20539
20540         * check/gst/gstutils.c: New file.
20541         (test_buffer_probe_n_times): A simple buffer probe test. More to
20542         come, foolios.
20543
20544         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
20545         have-data::buffer, not have-data.
20546         (gst_pad_add_event_probe): Likewise for have-data::event.
20547         (gst_pad_add_data_probe): More docs. The part about 'resolving the
20548         peer' isn't quite right yet though.
20549         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
20550         (gst_pad_remove_data_probe): Change to take the guint handler_id
20551         as their arg, not the function+data, which is more glib-like.
20552
20553         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
20554         the signal emission to indicate if the data is a buffer or an
20555         event.
20556         (gst_pad_get_type): Initialize buffer and event quarks.
20557         (gst_pad_class_init): have-data is now a detailed signal, yes it
20558         is.
20559
20560 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
20561
20562         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20563         * gst/gstutils.c: (gst_util_set_value_from_string),
20564         (gst_util_set_object_arg):
20565           Don't put functional code in g_return_if_fail() or
20566           g_return_val_if_fail() statements, otherwise things will 
20567           break when G_DISABLE_CHECKS is defined during compilation.
20568
20569 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20570
20571         * docs/gst/tmpl/.cvsignore:
20572         * docs/gst/tmpl/gstvalue.sgml:
20573         * gst/gstvalue.c:
20574         * gst/gstvalue.h:
20575           inlied another one and added  some obvious docs
20576
20577 2005-09-21  Wim Taymans  <wim@fluendo.com>
20578
20579         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20580         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
20581         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
20582         (gst_fdsrc_get_property), (gst_fdsrc_create):
20583         * gst/elements/gstfdsrc.h:
20584         Properly implement fdsrc. Removed signal and timeout,
20585         better implemented somewhere else.
20586
20587 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20588
20589         * docs/gst/tmpl/.cvsignore:
20590         * docs/gst/tmpl/gstimplementsinterface.sgml:
20591         * gst/gstinterface.c:
20592           inlined more docs
20593
20594 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20595
20596         * docs/gst/gstreamer-sections.txt:
20597         * docs/gst/tmpl/.cvsignore:
20598         * docs/gst/tmpl/gstenumtypes.sgml:
20599           remove obsolete doc file
20600
20601 2005-09-21  David Schleef  <ds@schleef.org>
20602
20603         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
20604         little beer, fix a little leak.
20605
20606 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20607
20608         * docs/gst/gstreamer-docs.sgml:
20609         * docs/gst/gstreamer-sections.txt:
20610         * docs/gst/tmpl/.cvsignore:
20611         * gst/Makefile.am:
20612         * gst/gst.h:
20613         * gst/gstbin.c:
20614         * gst/gstelement.h:
20615         * gst/gstindex.c: (gst_index_class_init):
20616         * gst/gstindex.h:
20617         * gst/gstindexfactory.c: (gst_index_factory_get_type),
20618         (gst_index_factory_class_init), (gst_index_factory_init),
20619         (gst_index_factory_finalize), (gst_index_factory_new),
20620         (gst_index_factory_destroy), (gst_index_factory_find),
20621         (gst_index_factory_create), (gst_index_factory_make):
20622         * gst/gstindexfactory.h:
20623         * gst/gstpluginfeature.c:
20624         * gst/gstpluginfeature.h:
20625         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20626           more docs inlined, splitted gstindex.{c,h}
20627
20628 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20629
20630         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20631           fix a leak
20632
20633 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
20634
20635         * gst/elements/gstfilesink.c: (gst_file_sink_init):
20636           Set sync to FALSE by default.
20637
20638 2005-09-20  Wim Taymans  <wim@fluendo.com>
20639
20640         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20641         (gst_base_sink_init):
20642         Make sync property settable from subclass.
20643
20644         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20645         (gst_fake_sink_change_state):
20646         Set sync to FALSE by default.
20647
20648 2005-09-20  Wim Taymans  <wim@fluendo.com>
20649
20650         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
20651         * tools/gst-launch.c: (main):
20652         The timeout handler should have lower priority than the source
20653         so we don't timeout before popping a message with 0 timeout.
20654         Dump error messages after failed state change.
20655
20656 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
20657
20658         * tools/gst-inspect.c: (print_element_properties_info):
20659           Fix two typos.
20660
20661 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20662
20663         * check/gst/gstevent.c:
20664         * gst/elements/gstfakesink.c:
20665         * gst/elements/gstfakesink.h:
20666           remove the sync property from fakesink.
20667           has the side effect of setting sync TRUE
20668           for fakesink, which is a change.  Anyone who knows how
20669           to fix this nicely in a GObject-y way, feel free.
20670
20671 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20672
20673         * docs/gst/gstreamer-docs.sgml:
20674           remove probe refsection
20675
20676 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20677
20678         * check/Makefile.am:
20679           disable valgrinding the controller test again
20680         * docs/gst/gstreamer-sections.txt:
20681           update for api-changes
20682
20683 2005-09-20  Wim Taymans  <wim@fluendo.com>
20684
20685         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20686         (gst_base_sink_set_property), (gst_base_sink_get_property),
20687         (gst_base_sink_do_sync):
20688         * gst/base/gstbasesink.h:
20689         Added sync property to basesink to disable clock sync.
20690
20691 2005-09-20  Andy Wingo  <wingo@pobox.com>
20692
20693         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
20694         eating the caller's refcount.
20695
20696         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
20697         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
20698         refcount.
20699
20700         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
20701         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
20702         of GLib 2.8 public, so we can know which refcount to check in
20703         tests.
20704
20705         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
20706         (gst_object_init): Only set the gst refcount if we're going ahead
20707         with the refcount hack.
20708
20709 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20710
20711         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20712         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20713           more leaks plumbed, added more debug-logging
20714         * gst/gstmacros.h:
20715           whitespace fix
20716
20717 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20718
20719         * gst/gstmessage.c:
20720           remove include of gstmemchunk.h
20721
20722 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20723
20724         * gst/gstclock.c: (_gst_clock_id_free):
20725           Commit from the Political Party For More Atomic CVS Commits,
20726           so that people don't waste too much of their day fishing
20727           out obvious leaks out of massive commits.
20728           Oh, and fix a pretty damn obvious leak in the memchunk
20729           removal code.
20730
20731 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20732
20733         * check/Makefile.am:
20734         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20735           plug mem-leak, re-add to valgrindable tests
20736
20737 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20738
20739         * gst/gstplugin.h:
20740           unbreak the build for those who have chronic arthritis
20741           and typing "make check" is just too taxing on the hands
20742
20743 2005-09-20  Andy Wingo  <wingo@pobox.com>
20744
20745         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
20746         really want it out, you should fix plugins at the same time.
20747
20748 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
20749
20750         * configure.ac:
20751         * docs/gst/gstreamer-sections.txt:
20752         * gst/gstobject.c:
20753           added missing symbols to api docs
20754           disable ref-count hack if we have glib >= 2.8
20755
20756 2005-09-19  David Schleef  <ds@schleef.org>
20757
20758         * docs/gst/Makefile.am: Ignore a few more internal headers
20759         * docs/gst/gstreamer-docs.sgml: Remove old sections
20760         * docs/gst/gstreamer-sections.txt: Remove old sections
20761         * docs/gst/tmpl/gstobject.sgml: update
20762         * docs/gst/tmpl/gstplugin.sgml: update
20763         * docs/gst/tmpl/gstpluginfeature.sgml: update
20764         * docs/random/ds/0.9-suggested-changes: update.
20765         * gst/Makefile.am: remove memchunk and trashstack, since they're
20766           not used.
20767         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
20768         * gst/gst.h: don't include some headers
20769         * gst/gstchildproxy.c: add gstmarshal.h
20770         * gst/gstclock.c: Don't use memchunks
20771         * gst/gstminiobject.c: Add some docs
20772         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
20773         * gst/gstobject.h: same
20774         * gst/gstplugin.c: include gstmacros.h
20775         * gst/gstplugin.h: don't include gstmacros.h, since it's private
20776         * gst/gstquery.c: don't use memchunks
20777         * gst/gstregistry.c: rename gst_registry_deinit()
20778         * gst/gstregistry.h: same
20779
20780 2005-09-19  David Schleef  <ds@schleef.org>
20781
20782         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
20783         * docs/libs/gstreamer-libs-sections.txt:
20784         * docs/libs/tmpl/gstgetbits.sgml:
20785         * docs/libs/tmpl/gstputbits.sgml:
20786
20787 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
20788
20789         * win32/gstenumtypes.c:
20790         * win32/gstenumtypes.h:
20791           Update.
20792
20793 2005-09-19  Wim Taymans  <wim@fluendo.com>
20794
20795         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
20796         Automatically PAUSE and RESUME a pipeline when a flushing seek
20797         is performed.
20798
20799 2005-09-19  Andy Wingo  <wingo@pobox.com>
20800
20801         * gst/gstregistry.h: Spacing fixen.
20802
20803 2005-09-19  Wim Taymans  <wim@fluendo.com>
20804
20805         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
20806         Handle state change failure more correctly.
20807
20808 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20809
20810         * check/Makefile.am:
20811         * check/pipelines/cleanup.c: (run_pipeline):
20812         * check/pipelines/simple_launch_lines.c: (run_pipeline),
20813         (GST_START_TEST):
20814           enable cleanup again after fixing the leak
20815         * docs/README:
20816           some more info on docs
20817
20818 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20819
20820         * check/Makefile.am:
20821           re-enable tests now that leaks are plugged
20822         * check/gst/gst.c:
20823         * check/gst/gstbin.c:
20824         * check/gst/gstpipeline.c:
20825           add some more tests while fixing leaks
20826         * common/check.mak:
20827           make sure binaries are uptodate when valgrinding/gdbing
20828         * gst/gst.c:
20829         * gst/gstelementfactory.c:
20830           remove a ref too many, and add a FIXME for when we get
20831           round to disposing of classes
20832         * gst/gstplugin.c:
20833           fix the refcounting when loading a plugin from a file and
20834           the code pretends that the pointer is the same even though
20835           of course it can change
20836         * gst/gstpluginfeature.c:
20837           unref plugins marked cached (a bit confusing as a name)
20838           as the docs state should be done
20839           various doc additions to explain refcounting
20840         * gst/gstregistry.c:
20841         * gst/gstregistryxml.c:
20842           debugging
20843
20844 2005-09-19  Wim Taymans  <wim@fluendo.com>
20845
20846         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20847         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20848         (send_messages), (GST_START_TEST), (gstbus_suite):
20849         * check/gst/gstpipeline.c: (GST_START_TEST):
20850         * check/pipelines/cleanup.c: (run_pipeline):
20851         * check/pipelines/simple_launch_lines.c: (run_pipeline),
20852         (GST_START_TEST):
20853         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
20854         (gst_bus_source_check), (gst_bus_source_dispatch),
20855         (gst_bus_create_watch), (gst_bus_add_watch_full),
20856         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
20857         * gst/gstbus.h:
20858         * tools/gst-launch.c: (event_loop):
20859         * tools/gst-md5sum.c: (event_loop):
20860         GstBusHandler -> GstBusFunc, return value has the same meaning as
20861         any other GSource (FALSE == remove source).
20862         _add_watch() and _add_watch_full() now take a MessageType mask to
20863         only handle specific types of messages.
20864         _poll() returns the GstMessage instead of the message type to avoid
20865         race conditions.
20866         _have_pending() takes a MessageType mask now too.
20867         Added testsuite for multiple bus watches.
20868         Fix testsuites and applications for new bus API.
20869
20870 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20871
20872         * check/Makefile.am:
20873           mark a bunch of the tests as to fix until we fix them
20874
20875 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20876
20877         * common/check.mak:
20878           use GST_PLUGIN settings for valgrind tests as well, so we're
20879           valgrinding the correct thing
20880         * gst/gst.c: (init_post):
20881           plug another leak
20882
20883 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20884
20885         * gst/gst.c: (init_post), (gst_deinit):
20886         * gst/gstelementfactory.c: (gst_element_factory_class_init),
20887         (gst_element_factory_finalize), (gst_element_factory_cleanup):
20888         * gst/gstindex.c: (gst_index_factory_class_init),
20889         (gst_index_factory_finalize):
20890         * gst/gstobject.c: (gst_object_dispose):
20891         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
20892         (gst_plugin_load_file), (gst_plugin_desc_free):
20893         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
20894         (gst_plugin_feature_finalize):
20895         * gst/gstregistry.c: (gst_registry_class_init),
20896         (gst_registry_init), (gst_registry_finalize),
20897         (gst_registry_get_default), (gst_registry_deinit):
20898         * gst/gstregistry.h:
20899         * gst/gstregistryxml.c: (load_feature), (load_plugin):
20900           various cleanups and memleak plugging.  make valgrind is happy now.
20901
20902 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20903
20904         * common/check.mak:
20905           add a check-valgrind target
20906
20907 2005-09-18  David Schleef  <ds@schleef.org>
20908
20909         * tools/gst-inspect.c: Revert the GOption code.
20910
20911 2005-09-17  David Schleef  <ds@schleef.org>
20912
20913         * check/Makefile.am: Fix environment variables.
20914         * check/gst/gstplugin.c: Fix for API changes.
20915         * tools/gst-inspect.c: Fix for API changes.
20916         * tools/gst-xmlinspect.c: Fix for API changes.
20917         * gst/gstelementfactory.c:
20918         * gst/gstplugin.c:
20919         * gst/gstplugin.h:
20920         * gst/gstpluginfeature.c:
20921         * gst/gstpluginfeature.h:
20922         * gst/gstregistry.c:
20923         * gst/gstregistry.h:
20924         * gst/gstregistryxml.c:
20925         * gst/gsttypefind.c:
20926         * gst/gsttypefindfactory.c:
20927         * gst/indexers/gstfileindex.c:
20928         * gst/indexers/gstmemindex.c:
20929         * gst/schedulers/Makefile.am:
20930           Change registry to keep track of both plugins and features,
20931           removing the feature tracking from plugins themselves.
20932
20933 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20934
20935         * check/Makefile.am:
20936         * tools/gst-register.1.in:
20937           remove gst-register
20938
20939 2005-09-15  David Schleef  <ds@schleef.org>
20940
20941         * check/gst/gstplugin.c:
20942         * gst/gstelementfactory.c:
20943         * gst/gstplugin.c:
20944         * gst/gstpluginfeature.c:
20945         * gst/gstregistry.c:
20946           Getting tired of debugging.  Disabled all the unreffing of
20947           plugins and features, which fixes the segfaults, but of
20948           course leaks like crazy.  At least playbin works.
20949
20950 2005-09-15  David Schleef  <ds@schleef.org>
20951
20952         * check/gst/gstplugin.c: (register_check_elements),
20953         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
20954         More testing
20955         * gst/elements/gsttypefindelement.c: Fix refcounting.
20956         * gst/gsttypefind.c:
20957         * gst/gsttypefindfactory.c:
20958         * gst/gsttypefindfactory.h:
20959
20960 2005-09-15  David Schleef  <ds@schleef.org>
20961
20962         * gst/gstindex.c: get refcounting correct.
20963         * gst/gstregistry.c: Handle the case where a feature/plugin is
20964           not found.
20965
20966 2005-09-15  David Schleef  <ds@schleef.org>
20967
20968         * check/Makefile.am:
20969         * check/gst/gstplugin.c: Add test
20970         * gst/gstplugin.c: Fix problems noticed by testsuite
20971         * gst/gstplugin.h:
20972         * gst/gstregistry.c: 
20973         * gst/gstregistry.h:
20974
20975 2005-09-15  David Schleef  <ds@schleef.org>
20976
20977         * gst/gstplugin.c: Implement semi-decent recounting and locking
20978           in plugins and plugin features.
20979         * gst/gstplugin.h:
20980         * gst/gstpluginfeature.c:
20981         * gst/gstpluginfeature.h:
20982         * gst/gstregistry.c:
20983
20984 2005-09-15  Michael Smith <msmith@fluendo.com>
20985
20986         * gst/gstregistry.c: (gst_registry_get_feature_list):
20987           Implement this. Makes oggdemux work; decodebin still broken.
20988
20989 2005-09-14  David Schleef  <ds@schleef.org>
20990
20991         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
20992           #316076)
20993         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
20994         * gst/check/Makefile.am:
20995         * libs/gst/controller/Makefile.am:
20996         * libs/gst/dataprotocol/Makefile.am:
20997
20998 2005-09-14  David Schleef  <ds@schleef.org>
20999
21000         * configure.ac: Remove getbits library.  Nothing uses it, and
21001           it should be in something like liboil if someone did want
21002           to use it.
21003         * libs/gst/Makefile.am:
21004         * libs/gst/getbits/Makefile.am:
21005         * libs/gst/getbits/gbtest.c:
21006         * libs/gst/getbits/getbits.c:
21007         * libs/gst/getbits/getbits.h:
21008         * libs/gst/getbits/gstgetbits_generic.c:
21009         * libs/gst/getbits/gstgetbits_i386.s:
21010         * libs/gst/getbits/gstgetbits_inl.h:
21011
21012 2005-09-14  David Schleef  <ds@schleef.org>
21013
21014         * gst/Makefile.am: Dist glib-compat.h
21015
21016 2005-09-14  David Schleef  <ds@schleef.org>
21017
21018         * configure.ac: Remove gst/registries, since it's no longer used.
21019         * gst/registries/Makefile.am:
21020         * gst/registries/gstlibxmlregistry.c:
21021         * gst/registries/gstlibxmlregistry.h:
21022         * gst/registries/gstxmlregistry.c:
21023         * gst/registries/gstxmlregistry.h:
21024         * gst/registries/registrytest.c:
21025
21026 2005-09-14  David Schleef  <ds@schleef.org>
21027
21028         * gst/glib-compat.h:
21029         * gst/gstregistryxml.c:
21030           Convergence is near.  Seriously.
21031
21032 2005-09-14  David Schleef  <ds@schleef.org>
21033
21034         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21035         * gst/glib-compat.h:
21036           Attempt #4 to appease the buildbots.
21037
21038 2005-09-14  David Schleef  <ds@schleef.org>
21039
21040         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21041           Attempt #3.
21042
21043 2005-09-14  David Schleef  <ds@schleef.org>
21044
21045         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21046         Attempt #2.
21047
21048 2005-09-14  David Schleef  <ds@schleef.org>
21049
21050         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
21051           the new functions.
21052
21053 2005-09-14  David Schleef  <ds@schleef.org>
21054
21055         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21056         * gst/glib-compat.h: Add some functions that are in newer versions
21057           of glib than we care to require.
21058         * gst/gstregistryxml.c: Use them.
21059
21060 2005-09-14  David Schleef  <ds@schleef.org>
21061
21062         * po/POTFILES.in: remove gst-register.c
21063
21064 2005-09-14  David Schleef  <ds@schleef.org>
21065
21066         * docs/gst/gstreamer-docs.sgml:
21067         * docs/gst/gstreamer-sections.txt:
21068         * docs/gst/gstreamer.types:
21069         * docs/gst/tmpl/gstelement.sgml:
21070         * docs/gst/tmpl/gstplugin.sgml:
21071         * docs/gst/tmpl/gstpluginfeature.sgml:
21072           Documentation updates for registry changes.
21073
21074 2005-09-14  David Schleef  <ds@schleef.org>
21075
21076         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
21077           because we don't require glib-2.8.
21078
21079 2005-09-14  David Schleef  <ds@schleef.org>
21080
21081         * gst/gstregistryxml.c: Added.  Essentially moved out of the
21082           registries directory.
21083
21084 2005-09-14  David Schleef  <ds@schleef.org>
21085
21086         * check/Makefile.am:
21087         * check/generic/states.c:
21088         * gst/Makefile.am:
21089         * gst/gst.c:
21090         * gst/gst.h:
21091         * gst/gst_private.h:
21092         * gst/gstelementfactory.c:
21093         * gst/gstindex.c:
21094         * gst/gstinfo.c:
21095         * gst/gstplugin.c:
21096         * gst/gstplugin.h:
21097         * gst/gstpluginfeature.c:
21098         * gst/gstpluginfeature.h:
21099         * gst/gstregistry.c:
21100         * gst/gstregistry.h:
21101         * gst/gstregistrypool.c: remove
21102         * gst/gstregistrypool.h: remove
21103         * gst/gsttypefind.c:
21104         * gst/gsttypefindfactory.c:
21105         * gst/gsturi.c:
21106         * tools/Makefile.am:
21107         * tools/gst-compprep.c:
21108         * tools/gst-inspect.c:
21109         * tools/gst-register.c: remove
21110         * tools/gst-xmlinspect.c:
21111           Registry rewrite.  Changes registry from being a file created
21112           by a tool into a simple cache file created automatically by 
21113           libgstreamer.  Removed gst-register (because it's no longer
21114           needed).  Remove registry pools, because we only have one
21115           registry implementation (XML).  Fix up other subsystems as
21116           necessary.
21117
21118 2005-09-13  Michael Smith <msmith@fluendo.com>
21119
21120         * gst/gstconfig.h.in:
21121           Don't Use windows linking attributes for MinGW. Fixes #316157
21122
21123 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21124
21125         * gst/gstutils.c: (set_state_async_thread_func),
21126         (gst_element_set_state_async):
21127           Apparently people think it's better if this function doesn't
21128           try to set the state to whatever state was asked for on the first
21129           call to this function for any object.  Seriously.
21130
21131 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21132
21133         * check/gst/gstpipeline.c: (GST_START_TEST):
21134         * docs/gst/gstreamer-sections.txt:
21135         * gst/gstutils.c: (set_state_async_thread_func),
21136         (gst_element_set_state_async):
21137         * gst/gstutils.h:
21138           add a "gst_element_set_state_async" method that
21139           sets the state and starts a thread to make sure the state
21140           change completes as best as it can
21141
21142 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21143
21144         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21145           codify design+behaviour in testsuite after discussion
21146
21147 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21148
21149         * docs/gst/tmpl/gstelement.sgml:
21150         * docs/manual/appendix-quotes.xml:
21151           add a quote
21152         * gst/gstelement.c: (gst_element_set_state):
21153           add some debug
21154
21155 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
21156
21157         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21158         (gst_base_transform_prepare_output_buf),
21159         (gst_base_transform_handle_buffer):
21160         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
21161         (gst_capsfilter_prepare_buf):
21162           Remove the requirement for sub-classes to call the parent
21163           implementation of prepare_output_buffer with a wrapper function.
21164           
21165         * gst/gsttaglist.h:
21166         * gst/gsttagsetter.h:
21167           Fix #define wrapper
21168
21169 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
21170
21171         * docs/gst/gstreamer-sections.txt:
21172           more doc cleanups
21173
21174 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21175
21176         * docs/gst/gstreamer-sections.txt:
21177         * docs/gst/tmpl/gstelement.sgml:
21178         * docs/gst/tmpl/gstplugin.sgml:
21179         * gst/gstminiobject.c:
21180         * gst/gstvalue.h:
21181           docs now stop throwing warnings
21182
21183 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21184
21185         * docs/gst/gstreamer-sections.txt:
21186         * docs/gst/gstreamer.types:
21187         * docs/gst/tmpl/gstpad.sgml:
21188         * docs/gst/tmpl/gsttypes.sgml:
21189         * gst/base/gstadapter.h:
21190         * gst/base/gstbasesink.h:
21191         * gst/base/gstbasesrc.h:
21192         * gst/gstbin.h:
21193         * gst/gstbuffer.h:
21194         * gst/gstbus.h:
21195         * gst/gstcaps.h:
21196         * gst/gstclock.h:
21197         * gst/gstelement.h:
21198         * gst/gstevent.h:
21199         * gst/gstmessage.h:
21200         * gst/gstpad.h:
21201         * gst/gststructure.c:
21202         * gst/registries/gstlibxmlregistry.h:
21203           various documentation fixes
21204
21205 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21206
21207         * docs/gst/gstreamer-sections.txt:
21208         * docs/gst/tmpl/gstvalue.sgml:
21209           rearrange gstvalue section
21210         * gst/gstutils.c: (gst_element_state_get_name):
21211           NONE -> VOID
21212         * gst/gstvalue.c: (_gst_value_initialize):
21213         * gst/gstvalue.h:
21214           doc updates
21215
21216 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
21217
21218         * check/gst-libs/controller.c:
21219           Header include fix.
21220         * gst/base/gstbasetransform.c:
21221         (gst_base_transform_default_prepare_buf),
21222         (gst_base_transform_handle_buffer):
21223         * gst/base/gstbasetransform.h:
21224           Some more basetransform changes and fixes to enable sub-classes
21225           that modify buffer metadata only.
21226         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21227         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
21228         (gst_capsfilter_prepare_buf):
21229           If the output pad has fixed allowed caps and input buffers 
21230           don't have any, set the fixed caps on outgoing buffers.
21231
21232 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
21233         * check/elements/identity.c: (GST_START_TEST):
21234           Make the error a little clearer when the test fails because
21235           identity made a copy of the buffer.
21236         * docs/gst/gstreamer-sections.txt:
21237           New symbols in gstbasetransform.h
21238         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21239         (gst_base_transform_init), (gst_base_transform_transform_size),
21240         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21241         (gst_base_transform_default_prepare_buf),
21242         (gst_base_transform_get_unit_size),
21243         (gst_base_transform_buffer_alloc),
21244         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
21245         (gst_base_transform_change_state),
21246         (gst_base_transform_set_passthrough),
21247         (gst_base_transform_set_in_place),
21248         (gst_base_transform_is_in_place):
21249         * gst/base/gstbasetransform.h:
21250           Change BaseTransform to separate in_place operate from same_caps
21251           output. in_place implies that the element can perform the transform
21252           on incoming buffers in-place, even if the caps on the output are
21253           different.
21254           Sub-class elements can now implement special buffer allocation
21255           methods for outgoing buffers if they wish to.
21256           Big documentation addition.
21257         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
21258         * gst/elements/gstelements.c:
21259           Changes for basetransform modifications.
21260         * gst/elements/Makefile.am:
21261         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
21262           Compile fix. Extra debug output.
21263
21264 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21265
21266         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
21267         (gst_pad_suite):
21268           add tests for valid pad naming
21269         * gst/check/gstcheck.c: (gst_check_log_message_func),
21270         (gst_check_log_critical_func):
21271           add ASSERT_WARNING
21272           remove printing of code, it is fragile when the code contains
21273           % and the line number is enough info
21274         * gst/check/gstcheck.h:
21275         * gst/gstpad.c: (gst_pad_template_new):
21276           fix memleaks
21277
21278 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21279
21280         * configure.ac:
21281           say what CHECK flags we use
21282         * docs/libs/gstreamer-libs.types:
21283         * libs/gst/controller/Makefile.am:
21284         * libs/gst/controller/gst-controller.c:
21285         * libs/gst/controller/gst-controller.h:
21286         * libs/gst/controller/gst-helper.c:
21287         * libs/gst/controller/gst-interpolation.c:
21288         * libs/gst/controller/gstcontroller.c:
21289         * libs/gst/controller/gsthelper.c:
21290         * libs/gst/controller/gstinterpolation.c:
21291         * tools/gst-inspect.c: (print_plugin_info):
21292           we don't use dashes in header names
21293
21294 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21295
21296         * check/Makefile.am:
21297         * check/gst/.cvsignore:
21298         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
21299         (gst_pipeline_suite), (main):
21300           adding a test for pipelines and state changes
21301         * gst/gstutils.c: (get_state_func):
21302           add some debugging
21303         * gstreamer.spec.in:
21304           fix up spec file
21305
21306 2005-09-08  Michael Smith <msmith@fluendo.com>
21307
21308         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
21309         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
21310         (gst_file_src_is_seekable), (gst_file_src_get_size),
21311         (gst_file_src_start):
21312         * gst/elements/gstfilesrc.h:
21313           Various fixes for unseekable, unmmapable, and non-normal files, so
21314           that fallback to read() rather than mmap() works.
21315         * gst/gstevent.c: (gst_event_new_newsegment):
21316           Allow newsegment events with segment_start == segment_end, as will
21317           correctly happen if you use filesrc on a zero-size file, for
21318           example.
21319
21320 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
21321
21322         * gst/gstplugin.c: (gst_plugin_load_file):
21323           Call g_module_close when we don't load the module
21324
21325         * gst/registries/gstlibxmlregistry.c:
21326         (gst_xml_registry_get_property):
21327           Port leak fix from 0.8
21328
21329 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21330
21331         * docs/gst/gstreamer-docs.sgml:
21332         * docs/gst/tmpl/.cvsignore:
21333         * docs/gst/tmpl/gsttrace.sgml:
21334         * docs/gst/tmpl/gsttrashstack.sgml:
21335         * gst/Makefile.am:
21336         * gst/gst.h:
21337         * gst/gstelement.h:
21338         * gst/gstevent.h:
21339         * gst/gstmessage.c:
21340         * gst/gstmessage.h:
21341         * gst/gsttag.c:
21342         * gst/gsttag.h:
21343         * gst/gsttaginterface.c:
21344         * gst/gsttaginterface.h:
21345         * gst/gsttaglist.c:
21346         * gst/gsttaglist.h:
21347         * gst/gsttagsetter.c:
21348         * gst/gsttagsetter.h:
21349         * gst/gsttrace.c:
21350         * gst/gsttrace.h:
21351         * gst/gsttrashstack.c:
21352           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
21353           inlined docs for gsttrace, gsttrashstack
21354
21355 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21356
21357         * gst/Makefile.am:
21358         * gst/elements/gstbufferstore.h:
21359         * gst/elements/gsttypefindelement.c:
21360         * gst/elements/gsttypefindelement.h:
21361         * gst/gst.h:
21362         * gst/gsttypefind.c:
21363         * gst/gsttypefind.h:
21364         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
21365         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
21366         (gst_type_find_factory_dispose),
21367         (gst_type_find_factory_unload_thyself),
21368         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
21369         (gst_type_find_factory_get_caps),
21370         (gst_type_find_factory_get_extensions),
21371         (gst_type_find_factory_call_function):
21372         * gst/gsttypefindfactory.h:
21373         * gst/registries/gstlibxmlregistry.c:
21374         * gst/registries/gstxmlregistry.c:
21375           splitted gsttypefind into gsttypefind, gsttypefindfactory
21376
21377 2005-09-07  Andy Wingo  <wingo@pobox.com>
21378
21379         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
21380         condition whereby the pad's task function is entered before the
21381         pad_mode variable was set.
21382
21383 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
21384
21385         * gst/gstpad.c: (gst_pad_alloc_buffer):
21386           Catch misbehaving pad_alloc functions that don't
21387           set up caps and do it for them.
21388
21389 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21390
21391         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21392           test for pipe!=NULL
21393         * docs/gst/tmpl/.cvsignore:
21394         * docs/gst/tmpl/gstmemchunk.sgml:
21395         * docs/gst/tmpl/gstparse.sgml:
21396         * docs/gst/tmpl/gsttaglist.sgml:
21397         * docs/gst/tmpl/gsttagsetter.sgml:
21398         * docs/gst/tmpl/gsttypefind.sgml:
21399         * docs/gst/tmpl/gsttypefindfactory.sgml:
21400         * gst/gstmemchunk.c:
21401         * gst/gstparse.c:
21402         * gst/gsttag.c:
21403         * gst/gsttaginterface.c:
21404         * gst/gsttypefind.c:
21405         * gst/gsttypefind.h:
21406           inlined more docs
21407
21408 === release 0.9.2 ===
21409
21410 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21411
21412         * NEWS:
21413         * RELEASE:
21414         * configure.ac:
21415           releasing 0.9.2, "South"
21416
21417 2005-09-05  Andy Wingo  <wingo@pobox.com>
21418
21419         * gst/registries/gstxmlregistry.h:
21420         * gst/registries/gstxmlregistry.c: Um... resurrect...
21421         
21422         * gst/registries/gstxmlregistry.h:
21423         * gst/registries/gstxmlregistry.c: and update to newer API.
21424         Incidentally they should be a bit faster now that they don't have
21425         to parse the caps.
21426         
21427 2005-09-05  Andy Wingo  <wingo@pobox.com>
21428
21429         * gst/registries/gstxmlregistry.h:
21430         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
21431         replaced by the libxml registry a while back
21432
21433 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21434
21435         * docs/gst/tmpl/gstplugin.sgml:
21436         * gst/elements/gstelements.c:
21437         * gst/gst.c:
21438         * gst/gstplugin.c: (gst_plugin_register_func),
21439         (gst_plugin_desc_copy), (gst_plugin_desc_free),
21440         (gst_plugin_get_source):
21441         * gst/gstplugin.h:
21442         * gst/registries/gstlibxmlregistry.c: (load_plugin),
21443         (gst_xml_registry_save_plugin):
21444         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
21445         (gst_xml_registry_save_plugin):
21446         * tools/gst-inspect.c: (print_plugin_info):
21447           add a "source" plugin description field, to represent the source
21448           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
21449           will set it to PACKAGE, which is automake's idea of the name of
21450           the source project.
21451
21452 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21453
21454         * Makefile.am:
21455         * autogen.sh:
21456         * configure.ac:
21457         * docs/Makefile.am:
21458         * docs/faq/Makefile.am:
21459         * docs/gst/tmpl/gstelement.sgml:
21460         * docs/gst/tmpl/gsttypes.sgml:
21461         * docs/htmlinstall.mak:
21462         * docs/manual/Makefile.am:
21463         * docs/pwg/Makefile.am:
21464           reorganize doc build a little
21465           split out docbook and gtk-doc stuff
21466           have two separate --enable's and enable them through autogen
21467           but disable by default in configure (to be similar to other
21468           projects)
21469         * gstreamer.spec.in:
21470           clean up docs install
21471         * po/af.po:
21472         * po/az.po:
21473         * po/ca.po:
21474         * po/cs.po:
21475         * po/de.po:
21476         * po/en_GB.po:
21477         * po/fr.po:
21478         * po/it.po:
21479         * po/nb.po:
21480         * po/nl.po:
21481         * po/ru.po:
21482         * po/sq.po:
21483         * po/sr.po:
21484         * po/sv.po:
21485         * po/tr.po:
21486         * po/uk.po:
21487         * po/vi.po:
21488           translation updates
21489
21490 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
21491
21492         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
21493           Add comment.
21494           
21495         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21496         (gst_fake_sink_change_state):
21497           Make state change function thread-safe.
21498           
21499         * gst/gstpad.c: (gst_pad_alloc_buffer):
21500           Set offset on generic buffer allocated by fallback.
21501
21502 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
21503
21504         * docs/gst/gstreamer-sections.txt:
21505         * docs/gst/tmpl/gstelement.sgml:
21506         * gst/gstpad.c:
21507         * libs/gst/controller/gst-controller.c:
21508         (gst_controlled_property_set_interpolation_mode),
21509         (gst_controlled_property_new),
21510         (gst_controller_find_controlled_property):
21511          run the wingo-magic script against the docs
21512
21513 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
21514
21515         * docs/gst/gstreamer-docs.sgml:
21516         * docs/gst/gstreamer-sections.txt:
21517         * docs/gst/tmpl/.cvsignore:
21518         * docs/gst/tmpl/gstelementdetails.sgml:
21519         * docs/gst/tmpl/gstelementfactory.sgml:
21520         * gst/gst.c:
21521         * gst/gstbus.c:
21522         * gst/gstelementfactory.c:
21523         * gst/gstelementfactory.h:
21524           merged elementdetails docs into elementfactory docs
21525           inlined both
21526
21527 2005-09-02  Andy Wingo  <wingo@pobox.com>
21528
21529         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
21530         consider this enum an enum and not a flags.
21531
21532 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
21533
21534         * docs/gst/gstreamer-docs.sgml:
21535         * docs/gst/tmpl/.cvsignore:
21536         * docs/gst/tmpl/gstghostpad.sgml:
21537         * docs/gst/tmpl/gstiterator.sgml:
21538         * docs/gst/tmpl/gstmacros.sgml:
21539         * docs/gst/tmpl/gstrealpad.sgml:
21540         * docs/gst/tmpl/gstregistry.sgml:
21541         * docs/gst/tmpl/gstregistrypool.sgml:
21542         * docs/gst/tmpl/gststructure.sgml:
21543         * docs/gst/tmpl/gstsystemclock.sgml:
21544         * docs/gst/tmpl/gsttrace.sgml:
21545         * gst/gstghostpad.c:
21546         * gst/gstmacros.h:
21547         * gst/gstmemchunk.c:
21548         * gst/gstmemchunk.h:
21549         * gst/gstqueue.c:
21550         * gst/gstregistry.c:
21551         * gst/gstregistrypool.c:
21552         * gst/gststructure.c:
21553         * gst/gstsystemclock.c:
21554           more docs inlined
21555
21556 2005-09-02  Andy Wingo  <wingo@pobox.com>
21557
21558         * gst/gstelement.h (GstState): Renamed from GstElementState,
21559         changed to be a normal enum instead of flags.
21560         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
21561         munged to be GST_STATE_CHANGE_*.
21562         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
21563         work with the new state representation.
21564         (GstStateChange): New enumeration of possible state transitions.
21565         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
21566         (GstElementClass::change_state): Pass the GstStateChange along as
21567         an argument. Helps language bindings, so they don't have to use
21568         tricky lock-needing macros like GST_STATE_CHANGE ().
21569
21570         * scripts/update-states (file): New script. Run it on a file to
21571         update it for state naming and API changes. Updates files in
21572         place.
21573
21574         * All files updated for the new API.
21575
21576 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21577
21578         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
21579         * gst/gstutils.c: (gst_util_set_value_from_string),
21580         (gst_util_set_object_arg):
21581           fix a bunch of unchecked return values
21582         * tools/gst-complete.c: (main):
21583         * gstreamer.spec.in:
21584           clean up a little
21585
21586 2005-09-01  Wim Taymans  <wim@fluendo.com>
21587
21588         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21589         (gst_base_sink_event), (gst_base_sink_do_sync),
21590         (gst_base_sink_handle_event):
21591         * gst/base/gstbasesink.h:
21592         Handle newsegments more correctly.
21593
21594         * gst/gstbus.c:
21595         Fix docs.
21596
21597         * gst/gstevent.c: (gst_event_new_newsegment):
21598         A newsegment cannot have a start_time of -1
21599
21600 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
21601
21602         * win32/gstenumtypes.c:
21603         * win32/gstenumtypes.h:
21604           Update
21605
21606 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
21607
21608         * libs/gst/controller/gst-controller.c:
21609         (gst_controlled_property_set_interpolation_mode),
21610         (gst_controlled_property_new):
21611          fixed boolean again
21612
21613 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
21614
21615         * docs/faq/gst-uninstalled:
21616           add -good
21617         * gst/gstevent.c:
21618         * gst/gstevent.h:
21619           remove wrong docs
21620         * gst/gstutils.c: (gst_element_link_filtered):
21621         * gst/gstutils.h:
21622           add gst_element_link_filtered
21623
21624 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
21625
21626         * docs/gst/gstreamer-docs.sgml:
21627         * docs/gst/gstreamer-sections.txt:
21628         * docs/gst/tmpl/.cvsignore:
21629         * docs/gst/tmpl/gsterror.sgml:
21630         * docs/gst/tmpl/gstfilter.sgml:
21631         * docs/gst/tmpl/gsturihandler.sgml:
21632         * docs/gst/tmpl/gsturitype.sgml:
21633         * docs/gst/tmpl/gstutils.sgml:
21634         * docs/gst/tmpl/gstxml.sgml:
21635         * gst/gsterror.c:
21636         * gst/gsterror.h:
21637         * gst/gstfilter.c:
21638         * gst/gsturi.c:
21639         * gst/gsturitype.c:
21640         * gst/gstutils.c:
21641         * gst/gstxml.c:
21642           inlined more docs, fixed double id-ref
21643
21644 2005-08-31  Wim Taymans  <wim@fluendo.com>
21645
21646         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21647         (gst_base_transform_handle_buffer):
21648         Passthrough elements don't need the caps as they don't care.
21649
21650 2005-08-31  Wim Taymans  <wim@fluendo.com>
21651
21652         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21653         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
21654         Don't leak refcounts on buffers.
21655
21656 2005-08-31  Wim Taymans  <wim@fluendo.com>
21657
21658         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
21659         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21660         (gst_base_transform_chain), (gst_base_transform_change_state):
21661         * gst/base/gstbasetransform.h:
21662         Handle the case where we are not negotiated more gracefully.
21663
21664 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
21665
21666         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
21667         (gst_file_src_map_region):
21668           Set READONLY flag on mmap'ed buffers, otherwise
21669           gst_buffer_make_writable() won't work properly (#314708).
21670
21671 2005-08-31  Wim Taymans  <wim@fluendo.com>
21672
21673         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
21674         passthrough elements can even do inplace on non writable
21675         buffers (as they don't touch them).
21676
21677 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
21678
21679         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21680         (gst_test_mono_source_set_property),
21681         (gst_test_mono_source_class_init), (GST_START_TEST),
21682         (gst_controller_suite):
21683           more tests (hehe I have the most)
21684         * gst/gstbus.c:
21685           describe popping messages whenusing mulltiple sources
21686         * libs/gst/controller/gst-controller.c:
21687         (gst_controlled_property_set_interpolation_mode),
21688         (gst_controlled_property_new):
21689         * libs/gst/controller/gst-controller.h:
21690         * libs/gst/controller/gst-interpolation.c:
21691           implement boolean properties
21692
21693 2005-08-31  Wim Taymans  <wim@fluendo.com>
21694
21695         * gst/gstminiobject.c: (gst_mini_object_ref):
21696         Cannot assert that the refcount has to be positive
21697         since a disposed object can be resurrected.
21698
21699 2005-08-31  Wim Taymans  <wim@fluendo.com>
21700
21701         * gst/gstpad.c: (gst_pad_init):
21702         Revert change, need to first fix badly behaving 
21703         apps.
21704
21705 2005-08-30  Wim Taymans  <wim@fluendo.com>
21706
21707         * check/elements/fakesrc.c: (setup_fakesrc):
21708         * check/elements/identity.c: (setup_identity):
21709         Activate pads before using them.
21710
21711 2005-08-30  Wim Taymans  <wim@fluendo.com>
21712
21713         * gst/base/gstadapter.c: (gst_adapter_flush):
21714         Flushing out 0 bytes is ok for this function.
21715
21716         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21717         no newsegment gives a warning and sets the start/stop to 
21718         invalid.
21719
21720         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
21721         (gst_base_transform_set_passthrough):
21722         Some debug info.
21723
21724         * gst/gstminiobject.c: (gst_mini_object_ref):
21725         Check refcount here too.
21726
21727         * gst/gstpad.c: (gst_pad_init):
21728         Pads are initially flushing and refusing data.
21729
21730         * gst/gstutils.c: (gst_element_link_pads_filtered):
21731         When adding a capsfilter element make sure it has the
21732         same state as the parent bin.
21733
21734 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21735
21736         * docs/gst/tmpl/.cvsignore:
21737         * docs/gst/tmpl/gstformat.sgml:
21738         * docs/gst/tmpl/gstversion.sgml:
21739         * gst/gstbus.h:
21740         * gst/gstformat.c:
21741         * gst/gstformat.h:
21742         * gst/gstversion.h.in:
21743           more docs and two more inlined
21744
21745 2005-08-30  Wim Taymans  <wim@fluendo.com>
21746
21747         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
21748         Don't sync to clock.
21749
21750 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21751
21752         * docs/gst/gstreamer-sections.txt:
21753           ultral33t func10ns deserve to appear in the docs actually
21754         * docs/gst/tmpl/.cvsignore:
21755         * docs/gst/tmpl/gstcompat.sgml:
21756         * docs/gst/tmpl/gstconfig.sgml:
21757         * gst/check/gstcheck.c:
21758         * gst/gstcompat.h:
21759         * gst/gstconfig.h.in:
21760           inlined more docs
21761
21762 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21763
21764         * docs/gst/tmpl/.cvsignore:
21765         * docs/gst/tmpl/gstquery.sgml:
21766         * docs/gst/tmpl/gstutils.sgml:
21767         * gst/gstquery.c:
21768         * gst/gstquery.h:
21769           inlined and extended docs
21770
21771 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21772
21773         * check/gst-libs/controller.c: (GST_START_TEST),
21774         (gst_controller_suite):
21775           more tests
21776         * docs/gst/tmpl/gstutils.sgml:
21777         * docs/libs/gstreamer-libs-sections.txt:
21778         * docs/libs/tmpl/gstdataprotocol.sgml:
21779           include path fixes
21780         * examples/controller/audio-example.c: (main):
21781           controller example works now
21782         * gst/gstclock.h:
21783           doc fixes
21784         * tools/gst-inspect.c: (print_element_properties_info):
21785           show param spec flags
21786
21787 2005-08-29  Andy Wingo  <wingo@pobox.com>
21788
21789         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
21790
21791 2005-08-28  Andy Wingo  <wingo@pobox.com>
21792
21793         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
21794         as having two arguments instead of just one. Allows superclasses
21795         to access information on subclasses -- see the terrible for() loop
21796         in gtype.c:g_type_create_instance for the reason why. All callers
21797         changed.
21798
21799 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
21800
21801         * docs/design/part-messages.txt:
21802           update info
21803         * docs/gst/tmpl/.cvsignore:
21804         * docs/gst/tmpl/gstcaps.sgml:
21805         * docs/gst/tmpl/gstclock.sgml:
21806         * gst/gstbus.c:
21807         * gst/gstcaps.c:
21808         * gst/gstcaps.h:
21809         * gst/gstclock.c:
21810         * gst/gstclock.h:
21811         * gst/gstmessage.c:
21812           added descriptions for bus and message
21813           inline caps and clock docs
21814
21815 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
21816
21817         * gst/gstmessage.c:
21818         * gst/gstmessage.h:
21819           doc fixes
21820
21821 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
21822
21823         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
21824           fix div-by-zero
21825
21826 2005-08-26  Andy Wingo  <wingo@pobox.com>
21827
21828         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
21829         element_set_state's return val.
21830         (test_2_elements): Add test that's been disabled for months.
21831
21832         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
21833         can-activate-pull properties.
21834
21835         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
21836         can-activate-pull properties. Implement is_seekable so fakesrc can
21837         operate in pull mode.
21838
21839         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
21840         properties.
21841         (gst_base_sink_activate, gst_base_sink_activate_pull)
21842         (gst_base_sink_activate_push): Make activation mode choosing work.
21843         Cleanups.
21844         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
21845         is right. Make pull mode work. Post an eos before pausing in pull
21846         mode.
21847         (gst_base_sink_change_state): Pay attention to the core's
21848         change_state() return val.
21849         
21850         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
21851         has-getrange properties. Cleanups.
21852         
21853         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
21854         has_getrange and replace with can_activate_pull and
21855         can_activate_push.
21856
21857         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
21858         locking comments. Remove has_loop, has_chain and replace with
21859         can_activate_pull and can_activate_push.
21860
21861 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
21862
21863         * configure.ac:
21864         * examples/Makefile.am:
21865         * examples/metadata/Makefile.am:
21866         * examples/metadata/read-metadata.c: (message_loop),
21867         (have_pad_handler), (make_pipeline), (print_tag), (main):
21868           Add metadata reading example that loops over a list of filenames,
21869           dumping any tags found.
21870
21871         * gst/gstbus.c: (gst_bus_dispose):
21872         * gst/gstelement.c: (gst_element_dispose):
21873           Release a few potentially-held references in dispose.
21874
21875 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21876
21877         * docs/gst/tmpl/gstminiobject.sgml:
21878           do *not* add tmpl/*.sgml files to CVS!
21879
21880 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21881
21882         * libs/gst/bytestream/.cvsignore:
21883         * libs/gst/bytestream/Makefile.am:
21884         * libs/gst/bytestream/adapter.c:
21885         * libs/gst/bytestream/adapter.h:
21886         * libs/gst/bytestream/bytestream.c:
21887         * libs/gst/bytestream/bytestream.h:
21888         * libs/gst/bytestream/filepad.c:
21889         * libs/gst/bytestream/filepad.h:
21890           removing obsolete files
21891
21892 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21893
21894         * docs/gst/gstreamer-docs.sgml:
21895         * docs/libs/gstreamer-libs-docs.sgml:
21896           disabed additional index entries again, as this makes docs-gen just
21897           slow and they aren't useful yet
21898         * docs/libs/gstreamer-libs-sections.txt:
21899           little -section.txt cleanup for libs
21900
21901 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
21902
21903         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21904         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
21905           fix up some debugging
21906         (gst_base_transform_get_unit_size),
21907         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21908         (gst_base_transform_handle_buffer):
21909         * gst/base/gstbasetransform.h:
21910           handle and store timed NEWSEGMENT events so that subclasses that
21911           calculate time by counting samples have a segment_start time they
21912           need to add to their timestamps - see audioresample
21913
21914 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21915
21916         * gst/gstbin.h:
21917           removed ';' from the end of macro defs
21918         * docs/gst/gstreamer-docs.sgml:
21919         * docs/gst/gstreamer-sections.txt:
21920         * docs/gst/tmpl/.cvsignore:
21921         * gst/gstbus.h:
21922         * gst/gstelement.c: (gst_element_class_init),
21923         (gst_element_set_state), (activate_pads),
21924         (gst_element_save_thyself):
21925         * gst/gstevent.c: (gst_event_new_newsegment):
21926         * gst/gstevent.h:
21927         * gst/gstiterator.c:
21928         * gst/gstiterator.h:
21929         * gst/gstpad.c:
21930         * gst/gstprobe.h:
21931         * gst/gstutils.c: (gst_pad_query_convert):
21932         * gst/gstutils.h:
21933           fixed parameter name mismatches between source, header and docs
21934           added some more docs, resolved the last batch of unused elements in
21935           docs (now someone needs to doc them)
21936
21937 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21938
21939         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
21940         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
21941           don't walk through the plugins backwards.  Where is all this
21942           reversed logic coming from ?
21943
21944 2005-08-25  Wim Taymans  <wim@fluendo.com>
21945
21946         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21947         (gst_base_transform_transform_size),
21948         (gst_base_transform_configure_caps),
21949         (gst_base_transform_get_unit_size),
21950         (gst_base_transform_buffer_alloc),
21951         (gst_base_transform_change_state):
21952         * gst/base/gstbasetransform.h:
21953         Cache caps unit_size.
21954         Make sure we cannot negotiate up and downstream at the
21955         same time.
21956
21957 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21958
21959         * gst/gst.c: (init_pre), (init_post):
21960           register the installed plugin path after the env var
21961         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
21962         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
21963           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
21964           directories, so the tests can prefer uninstalled over installed
21965
21966 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21967
21968         * gst/base/gstbasetransform.h:
21969           comment
21970         * gst/gstpad.c:
21971           add to docs
21972
21973 2005-08-25  Wim Taymans  <wim@fluendo.com>
21974
21975         * gst/gstbin.c: (bin_bus_handler):
21976         Be a bit more conservative about the posted message.
21977         
21978         * gst/gstbus.c: (gst_bus_post):
21979         Some cleanups, warn wrong return values.
21980
21981 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
21982
21983         * check/gst/gstbin.c: (GST_START_TEST):
21984         * gst/gstbin.c: (bin_bus_handler):
21985         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21986         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21987         (gst_message_new_warning), (gst_message_new_tag),
21988         (gst_message_new_state_changed), (gst_message_new_segment_start),
21989         (gst_message_new_segment_done), (gst_message_new_custom):
21990         * gst/gstmessage.h:
21991         * tools/gst-launch.c: (event_loop):
21992         * tools/gst-md5sum.c: (event_loop):
21993           Revert unpopular change for GST_MESSAGE_SRC to GObject.
21994
21995 2005-08-25  Wim Taymans  <wim@fluendo.com>
21996
21997         * check/generic/states.c: (GST_START_TEST):
21998         Cleanup can be done at the end.
21999
22000         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
22001         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22002         (gst_task_get_state), (gst_task_start), (gst_task_pause):
22003         Oh boy.. Thanks for finding this, Thomas. 
22004
22005 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
22006
22007         * docs/gst/gstreamer.types:
22008           added missing types
22009
22010 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
22011
22012         * docs/gst/gstreamer-docs.sgml:
22013         * docs/gst/gstreamer-sections.txt:
22014         * docs/gst/tmpl/.cvsignore:
22015         * gst/gstbin.c:
22016         * gst/gstiterator.c:
22017         * gst/gstutils.c:
22018         * gst/registries/gstxmlregistry.h:
22019           added missing classes and symbols (123 more to go)
22020           removed removed symbols from section file
22021           fixed many doc-comments
22022
22023 2005-08-24  Wim Taymans  <wim@fluendo.com>
22024
22025         * check/generic/states.c: (GST_START_TEST):
22026         Make sure all tasks are stopped.
22027
22028         * check/gst/gstbin.c: (GST_START_TEST):
22029         Unref after usage for proper valgrinding.
22030
22031         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
22032         Really wait for the task to stop before destroying the
22033         mutex.
22034
22035         * gst/gstqueue.c: (gst_queue_sink_activate_push),
22036         (gst_queue_src_activate_push):
22037         Small cleanups. Don't stop the task when we did not start
22038         it.
22039
22040         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
22041         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22042         (gst_task_get_state), (gst_task_start), (gst_task_pause),
22043         (gst_task_join):
22044         * gst/gsttask.h:
22045         Protect the stream lock with the object lock.
22046         Disallow setting the stream lock when running.
22047         Add cleanup_all to wait for the threadpool to finish.
22048         Remove code to autoallocate a mutex if none was provided.
22049         Add _join() to wait for a task to stop.
22050         Protect the thread pool with a global lock.
22051
22052 2005-08-24  Wim Taymans  <wim@fluendo.com>
22053
22054         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22055         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22056         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
22057         * gst/base/gstbasesink.h:
22058         Handle newsegment events correctly.
22059         Drop buffers out of the segment range.
22060
22061 2005-08-22  Andy Wingo  <wingo@pobox.com>
22062
22063         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
22064         macro, implements an interface and gstimplementsinterface for a
22065         new type.
22066
22067 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22068
22069         * check/Makefile.am:
22070         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
22071           add a test that does a bunch of state changes on elements
22072           needs some fixing for valgrind
22073         * check/states/sinks.c: (gst_object_suite):
22074           whitespace
22075         * gst/gstcaps.h:
22076           add prototype for gst_caps_is_equal_fixed
22077         * gst/gstplugin.c:
22078         * gst/gstregistrypool.c:
22079           doc fixes
22080
22081 2005-08-24  Andy Wingo  <wingo@pobox.com>
22082
22083         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
22084         convert a negative value. Doesn't make much sense. Mostly this is
22085         here to force callers to ensure -1 maps to -1.
22086
22087 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
22088
22089         * docs/pwg/advanced-types.xml:
22090           Well done to Michael for catching my deliberate introduction
22091           of this spelling mistake. 
22092         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
22093         * gst/gstelement.h:
22094           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
22095           unlink pads before removing the element from the bin.
22096
22097 2005-08-24  Andy Wingo  <wingo@pobox.com>
22098
22099         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
22100         the same thing as GST_DEBUG=*:4.
22101         (parse_debug_level, parse_debug_category): New helper parsers.
22102
22103 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22104
22105         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22106         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
22107         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
22108         (gst_base_transform_buffer_alloc),
22109         (gst_base_transform_handle_buffer):
22110           use gboolean return values and pointers to size so we can use the
22111           full GST_BUFFER_SIZE range (guint) for buffer sizes
22112           use GstPadDirection for transform_caps
22113         * gst/base/gstbasetransform.h:
22114           rename get_size to get_unit_size since that's what it is
22115         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
22116           use GstPadDirection for transform_caps
22117         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22118         * gst/gstutils.h:
22119           cleanup and debugging
22120
22121 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
22122
22123         * gst/gstelement.c: (gst_element_class_init),
22124         (gst_element_set_state), (activate_pads),
22125         (gst_element_save_thyself):
22126         * tools/gst-compprep.c: (main):
22127         * tools/gst-inspect.c: (print_element_properties_info):
22128         * tools/gst-xmlinspect.c: (print_element_properties):
22129           Fixed long standing mem-leak
22130
22131 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
22132
22133         * check/gst/gstbin.c: (GST_START_TEST):
22134         * gst/gstbin.c: (bin_bus_handler):
22135         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22136         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22137         (gst_message_new_warning), (gst_message_new_tag),
22138         (gst_message_new_state_changed), (gst_message_new_segment_start),
22139         (gst_message_new_segment_done), (gst_message_new_custom):
22140         * gst/gstmessage.h:
22141         * tools/gst-launch.c: (event_loop):
22142         * tools/gst-md5sum.c: (event_loop):
22143           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
22144           that applications can sensibly post custom messages with references
22145           to their own objects.
22146
22147 2005-08-24  Andy Wingo  <wingo@pobox.com>
22148
22149         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
22150         already.
22151
22152 2005-08-24  Wim Taymans  <wim@fluendo.com>
22153
22154         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22155         (gst_base_transform_transform_caps),
22156         (gst_base_transform_transform_size),
22157         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22158         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22159         (gst_base_transform_handle_buffer):
22160         * gst/base/gstbasetransform.h:
22161         Many fixes and new features added by Thomas. Can now also do
22162         transforms with variable sizes and a custom fixate_caps function.
22163
22164 2005-08-24  Wim Taymans  <wim@fluendo.com>
22165
22166         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22167         Some debugging.
22168
22169         * gst/gstclock.h:
22170         Cast to ClockTime before formatting to time.
22171
22172         * gst/gstutils.h:
22173         Cleanups.
22174
22175 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
22176
22177         * check/gst-libs/controller.c: (GST_START_TEST),
22178         (gst_controller_suite):
22179         * docs/gst/tmpl/gstcaps.sgml:
22180         * docs/gst/tmpl/gstghostpad.sgml:
22181         * docs/gst/tmpl/gstquery.sgml:
22182         * docs/gst/tmpl/gstutils.sgml:
22183         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
22184         (gst_object_sink_values), (gst_object_get_value_arrays),
22185         (gst_object_get_value_array):
22186           gracefully handle helper method calls to objects that are not beeing
22187           controlled, added test case for that          
22188
22189 2005-08-23  Wim Taymans  <wim@fluendo.com>
22190
22191         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
22192         (gst_event_new_newsegment), (gst_event_parse_newsegment),
22193         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
22194         (gst_event_parse_qos), (gst_event_new_seek),
22195         (gst_event_parse_seek):
22196         * gst/gstevent.h:
22197         Some more debugging output and doc cleanups.
22198
22199         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22200         Fix possible deadlock.
22201
22202 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22203
22204         * docs/gst/gstreamer-docs.sgml:
22205         * docs/gst/gstreamer-sections.txt:
22206         * docs/gst/gstreamer.types:
22207         * docs/gst/tmpl/.cvsignore:
22208         * gst/gstbin.h:
22209         * gst/gstbus.c:
22210         * gst/gstelement.c:
22211         * gst/gstevent.h:
22212           added 100 symbols from gstreamer-unused.txt to the right sections
22213           fixed more broken comments
22214           added GstBus to docs
22215
22216 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22217
22218         * docs/gst/gstreamer-sections.txt:
22219         * docs/gst/tmpl/.cvsignore:
22220         * docs/gst/tmpl/gstbin.sgml:
22221         * docs/gst/tmpl/gstbuffer.sgml:
22222         * gst/base/gstbasesrc.c:
22223         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
22224         * gst/gstbuffer.c:
22225         * gst/gstbuffer.h:
22226         * tools/gst-launch.1.in:
22227           inlined more doc comments, added missing comments and fixed comments
22228           fixed typos
22229
22230 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22231
22232         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22233           some debugging
22234         * gst/gstcaps.h:
22235           whitespace fixes
22236         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
22237           more debugging
22238         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
22239         * gst/gststructure.h:
22240           add a fixate function for booleans; add a FIXME that these func
22241           names should probably be gst_structure_fixate_*
22242
22243 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22244
22245         * docs/gst/gstreamer-docs.sgml:
22246         * docs/gst/gstreamer-sections.txt:
22247         * gst/Makefile.am:
22248         * gst/gstbin.c: (gst_bin_get_type),
22249         (gst_bin_child_proxy_get_child_by_index),
22250         (gst_bin_child_proxy_get_children_count),
22251         (gst_bin_child_proxy_init):
22252         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22253         (gst_child_proxy_get_child_by_index),
22254         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
22255         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
22256         (gst_child_proxy_get), (gst_child_proxy_set_property),
22257         (gst_child_proxy_set_valist), (gst_child_proxy_set),
22258         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
22259         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
22260         * gst/gstchildproxy.h:
22261         * gst/parse/grammar.y:
22262         * tools/gst-inspect.c: (print_interfaces),
22263         (print_element_properties_info), (print_element_info):
22264           ported gstchildproxy over from 0.8
22265           ported gst-inspect fixes and enhancements over from 0.8
22266
22267 2005-08-22  Wim Taymans  <wim@fluendo.com>
22268
22269         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22270         (gst_base_transform_handle_buffer):
22271         Also call the transform function if we have ANY caps.
22272
22273         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
22274         Fix debug info.
22275
22276 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
22277
22278         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
22279           Don't pretend to handle seek events if the source is not seekable
22280
22281 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
22282
22283         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22284           Remove extra parameter to debug output
22285
22286         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22287         (gst_base_src_do_seek), (gst_base_src_activate_push):
22288           Fix seek event handling.
22289
22290         * gst/gstpipeline.c: (gst_pipeline_change_state):
22291         * gst/gstqueue.c: (gst_queue_handle_sink_event),
22292         (gst_queue_src_activate_push):
22293           Don't start the src pad task on FLUSH_STOP if the pad
22294           isn't linked.
22295           Debug changes.
22296
22297 2005-08-22  Wim Taymans  <wim@fluendo.com>
22298
22299         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
22300         Added check for gst_static_caps_get() refcounting.
22301
22302 2005-08-22  Wim Taymans  <wim@fluendo.com>
22303
22304         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
22305         Make _static_caps_get() refcounting sane.
22306         
22307         * gst/gstelement.c: (gst_element_set_state):
22308         Add g_return_val_if_fail() to protect against segfaults.
22309
22310 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
22311
22312         * docs/gst/tmpl/gstevent.sgml:
22313         * gst/gstevent.c:
22314         * gst/gstevent.h:
22315           inlined remaining docs, added missing doc comments
22316
22317 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22318
22319         * check/gst/gstbin.c: (GST_START_TEST):
22320           since we don't know when preroll is done, use refcount range
22321           check for the sink
22322         * gst/check/gstcheck.h:
22323           add macro for checking refcount range
22324
22325 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22326
22327         * check/Makefile.am:
22328           clean up environment for when registry gets built versus
22329           when actual tests are run; valgrind seems to not report
22330           leaks if GST_PLUGIN_PATH is set to some specific values
22331         * check/gst/gstbin.c: (GST_START_TEST):
22332           add more refcounting checks; maybe this exposes a
22333           preroll lock bug ?
22334         * common/check.mak:
22335         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22336         * gst/check/gstcheck.h:
22337         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
22338         (gst_bin_change_state):
22339         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
22340           add/fix debugging/whitespace
22341
22342 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
22343
22344         * check/gst/gstevent.c: (event_probe), (test_event),
22345         (GST_START_TEST):
22346          Er, don't call gst_bin_watch_for_state_change you idiot.
22347
22348 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
22349
22350         * check/Makefile.am:
22351           Use CHECK_CFLAGS and CHECK_LIBS
22352         * check/gst/gstevent.c: (event_probe), (test_event),
22353         (GST_START_TEST):
22354           Don't leak events.
22355         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22356         (gst_base_src_start), (gst_base_src_stop),
22357         (gst_base_src_activate_push), (gst_base_src_activate_pull),
22358         (gst_base_src_change_state):
22359           Sprinkle gst_base_src_stop liberally around error paths to fix
22360           problems reusing a source after failed state changes.
22361         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22362         (helper_find_suggest), (gst_type_find_helper):
22363           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
22364         * gst/gstevent.h:
22365         * docs/gst/tmpl/gstevent.sgml:
22366           Migrate part of the docs from the SGML file. Wait for ensonic to
22367           tell me how I did it wrong ;)
22368         * tools/gst-typefind.c: (main):
22369           Extra robustness to state changes between files.
22370
22371 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22372
22373         * check/Makefile.am:
22374           don't valgrind the controller test - it's leaking - Stefan, HELP
22375         * gst/check/gstcheck.c: (gst_check_message_error),
22376         (gst_check_chain_func), (gst_check_setup_element),
22377         (gst_check_teardown_element), (gst_check_setup_src_pad),
22378         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
22379         (gst_check_teardown_sink_pad):
22380         * gst/check/gstcheck.h:
22381           add a bunch of methods to set up elements, and src and sink pads
22382         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
22383         * check/elements/identity.c: (setup_identity), (cleanup_identity),
22384         (GST_START_TEST):
22385           use them
22386         * gst/gstmessage.c:
22387         * gst/gsttag.h:
22388           whitespace/doc fixes
22389
22390 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22391
22392         * gst/gstelement.h:
22393           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
22394           be handled by the application and not always printed as well
22395
22396 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22397
22398         * check/Makefile.am:
22399           set GST_TOOLS_DIR
22400         * gst/check/gstcheck.c: (gst_check_message_error):
22401         * gst/check/gstcheck.h:
22402           add a fail_unless_equals_int
22403           add fail_unless for error messages
22404
22405 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22406
22407         * check/Makefile.am:
22408         * check/gst.supp:
22409         * common/Makefile.am:
22410         * common/check.mak:
22411         * common/gst.supp:
22412           factor out some of the common stuff so we can use it
22413
22414 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22415
22416         * check/Makefile.am:
22417         * check/gst/gstiterator.c: (GST_START_TEST):
22418         * check/gst/gstsystemclock.c: (GST_START_TEST),
22419         (gst_systemclock_suite):
22420         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22421         * gst/gstclock.c:
22422           valgrind more tests
22423
22424 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22425
22426         * check/elements/.cvsignore:
22427         * check/elements/gstfakesrc.c:
22428           rename to name of element
22429         * check/elements/identity.c: (chain_func), (event_func),
22430         (setup_identity), (cleanup_identity), (GST_START_TEST),
22431         (identity_suite), (main):
22432           add a test for identity
22433         * check/Makefile.am:
22434         * pkgconfig/Makefile.am:
22435         * pkgconfig/gstreamer-check.pc.in:
22436         * pkgconfig/gstreamer-check-uninstalled.pc.in:
22437         * gst/check:
22438         * gst/Makefile.am:
22439         * configure.ac:
22440           move the check stuff to a library that gets installed
22441         * check/gst-libs/controller.c: (GST_START_TEST):
22442         * check/gst-libs/gdp.c:
22443         * check/gst/gst.c: (GST_START_TEST):
22444         * check/gst/gstbin.c:
22445         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22446         * check/gst/gstbus.c:
22447         * check/gst/gstcaps.c: (GST_START_TEST):
22448         * check/gst/gstelement.c:
22449         * check/gst/gstghostpad.c:
22450         * check/gst/gstiterator.c:
22451         * check/gst/gstmessage.c:
22452         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
22453         * check/gst/gstobject.c:
22454         * check/gst/gstpad.c: (GST_START_TEST):
22455         * check/gst/gststructure.c: (GST_START_TEST):
22456         * check/gst/gstsystemclock.c: (GST_START_TEST),
22457         (gst_systemclock_suite):
22458         * check/gst/gsttag.c: (gst_tag_suite):
22459         * check/gst/gstvalue.c:
22460         * check/pipelines/cleanup.c:
22461         * check/pipelines/simple_launch_lines.c:
22462         * check/states/sinks.c:
22463           change include statement
22464
22465         * docs/gst/gstreamer-sections.txt:
22466         * docs/gst/tmpl/gstpad.sgml:
22467           document more pad stuff
22468         * gst/gstminiobject.c: (gst_mini_object_ref),
22469         (gst_mini_object_unref):
22470           debug refcounting
22471
22472 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
22473
22474         * docs/gst/tmpl/gst.sgml:
22475         * gst/gst.c:
22476           eliminate another tmpl file, fix spelling in the long-description
22477
22478 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22479
22480         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22481         (test_event), (timediff), (gstevents_suite):
22482           Should fix build on 64-bit arch's
22483
22484 2005-08-18  Andy Wingo  <wingo@pobox.com>
22485
22486         Make sure that when a pipeline goes to PLAYING, that data has
22487         actually hit the sink.
22488
22489         * check/states/sinks.c (test_sink): A sink that doesn't get any
22490         data shouldn't return SUCCESS for going to either PLAYING or
22491         PAUSED. Test also the return values on the way back down.
22492
22493         * gst/gstelement.c (gst_element_set_state): When changing the
22494         state of an element currently changing state asynchronously, go to
22495         lost-state after commiting the pending state. Makes future calls
22496         to get_state continue to return ASYNC.
22497
22498         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
22499         ASYNC when going to PLAYING if we still don't have preroll, as can
22500         happen with live sources.
22501
22502 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22503
22504         * docs/pwg/advanced-types.xml:
22505           Hack long paragraph into 2 chunks as a workaround for buggy
22506           jadetex version in sid and breezy that loops infinitely and
22507           eats all RAM.
22508
22509 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22510
22511         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22512         (test_event), (timediff), (gstevents_suite):
22513           Provide more error margin in clock measurements to allow for 
22514           g_get_current_time inaccuracies.
22515
22516 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22517
22518         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22519         (test_event), (timediff), (gstevents_suite):
22520            Fix error message output so I might be able to tell why the
22521            test works here but fails on the build farm.
22522
22523 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22524
22525         * check/Makefile.am:
22526         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22527         (test_event), (timediff), (gstevents_suite), (main):
22528           I wrote a test!
22529
22530         * docs/design/part-seeking.txt:
22531           Spelling correction
22532
22533         * docs/gst/tmpl/gstevent.sgml:
22534         * docs/gst/tmpl/gstfakesrc.sgml:
22535           Docs updates.
22536
22537         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22538           Treat a buffer-without-newsegment the same as a receiving 
22539           a newsegment not in time format, and disable syncing to the clock
22540           with a warning.
22541
22542         * gst/gstbus.c: (gst_bus_set_sync_handler):
22543           Assert if anyone tries to replace the existing sync_handler for bus, 
22544           as only the owner should be setting it.
22545
22546         * gst/gstevent.h:
22547           Have a fixed set of custom event enums with events identified by
22548           their structure name (as in 0.8), rather than a free-for-all
22549           allowing collisions between enum values from different plugins.
22550
22551         * gst/gstpad.c: (gst_pad_class_init):
22552           Docs change.
22553           
22554         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22555           Handle out-of-band downstream events from the sending thread.
22556
22557 2005-08-17  Andy Wingo  <wingo@pobox.com>
22558
22559         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
22560         play-timeout==0 to mean no timeout at all. In that case, don't
22561         bother with a get_state or a warning, just return directly, even
22562         if it's ASYNC.
22563
22564         * gst/base/gstbasetransform.c: Debug changes.
22565
22566         * gst/gstutils.h:
22567         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
22568         ensure bins post state change messages. A bit of a hack but I can't
22569         think of a way to avoid it.
22570
22571         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
22572
22573 2005-08-16  Andy Wingo  <wingo@pobox.com>
22574
22575         * gst/base/gstadapter.h:
22576         * gst/base/gstadapter.c (gst_adapter_take): New function, like
22577         peek() but you own the data. Not terribly efficient atm.
22578
22579 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22580
22581         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
22582         (gst_element_found_tags):
22583         * gst/gstutils.h:
22584           Add two utility functions for tag handling.
22585
22586 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22587
22588         * docs/manual/advanced-dataaccess.xml:
22589         * docs/manual/basics-helloworld.xml:
22590           Fix docs to use _bin_add() before _link(), which fixes the examples
22591           with recent core versions (reported by Madhan Raj M
22592           <raj_madan@rediffmail.com>, #313199).
22593
22594 2005-08-16  Wim Taymans  <wim@fluendo.com>
22595
22596         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22597         Added subtract checks.
22598
22599         * docs/design/part-events.txt:
22600         Some more docs about newsegment
22601
22602         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22603         Fix FIXME
22604
22605         * gst/gstcaps.c: (gst_caps_to_string):
22606         Add comments, cleanups.
22607         
22608         * gst/gstelement.c: (gst_element_save_thyself):
22609         cleanups
22610         
22611         * gst/gstvalue.c: (gst_value_collect_int_range),
22612         (gst_string_unwrap), (gst_value_union_int_int_range),
22613         (gst_value_union_int_range_int_range),
22614         (gst_value_intersect_int_int_range),
22615         (gst_value_intersect_int_range_int_range),
22616         (gst_value_intersect_double_double_range),
22617         (gst_value_intersect_double_range_double_range),
22618         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
22619         (gst_value_subtract_int_range_int),
22620         (gst_value_subtract_double_range_double),
22621         (gst_value_subtract_double_range_double_range),
22622         (gst_value_subtract_from_list), (gst_value_subtract_list),
22623         (gst_value_can_compare), (gst_value_compare_fraction):
22624         Cleanups, add comments, remove unneeded asserts.
22625
22626 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22627
22628         * tools/gst-launch.c: (event_loop):
22629           don't convert NULL structures to strings
22630
22631 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
22632
22633         * docs/gst/gstreamer-sections.txt:
22634           made some defines private
22635         * docs/gst/tmpl/gstconfig.sgml:
22636         * docs/gst/tmpl/gstqueue.sgml:
22637         * docs/gst/tmpl/gsttaglist.sgml:
22638         * docs/gst/tmpl/gsttypes.sgml:
22639         * docs/gst/tmpl/gstutils.sgml:
22640         * docs/pwg/appendix-porting.xml:
22641         * gst/base/gstbasesink.h:
22642         * gst/base/gstbasesrc.c:
22643         * gst/base/gstbasesrc.h:
22644         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
22645         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
22646         * gst/gstelement.c: (gst_element_class_init):
22647         * gst/gstpad.c: (gst_pad_class_init):
22648         * gst/gstqueue.c: (gst_queue_class_init):
22649         * gst/gstxml.c: (gst_xml_class_init):
22650           documented all undocumented signal inline
22651         * libs/gst/controller/gst-controller.h:
22652           added padding
22653
22654 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22655
22656         * docs/pwg/appendix-porting.xml:
22657           Document _set_link_function -> _set_setcaps_function.
22658
22659 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22660
22661         * check/Makefile.am:
22662           add a .check target for running the check
22663         * check/gst-libs/controller.c: (GST_START_TEST):
22664           cosmetic fixups
22665         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22666           complete checks for gstbuffer; would be nice if I could get the
22667           gcov stuff to work so I can see if I actually completed gstbuffer.c
22668         * check/gstcheck.h:
22669           add ASSERT_BUFFER_REFCOUNT
22670
22671 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
22672
22673         * docs/gst/gstreamer-sections.txt:
22674         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
22675         * gst/gsttag.h:
22676           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
22677           spew out a warning if a tag that is already registered
22678           is re-registered, unless it is re-registered with a 
22679           different type (#308438).
22680
22681 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
22682
22683         * docs/pwg/appendix-porting.xml:
22684         * docs/pwg/building-state.xml:
22685           Add some paragraphs about state changes in 0.9 to the PWG
22686           and the porting guide, in particular about the new meaning
22687           of GST_STATE_PAUSED and how to write state change functions
22688           with concurrent access by multiple threads in mind.
22689
22690 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
22691
22692         * docs/gst/gstreamer-docs.sgml:
22693         * docs/libs/gstreamer-libs-docs.sgml:
22694           added deprecation and since indexes
22695         * libs/gst/controller/gst-controller.c:
22696         * libs/gst/controller/gst-helper.c:
22697           added since tags
22698
22699
22700 2005-08-11  Wim Taymans  <wim@fluendo.com>
22701
22702         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
22703         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
22704         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
22705         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
22706         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
22707         (gst_ghost_pad_set_target):
22708         Actually implement (re)setting the target on a ghostpad
22709         as described in the docs.
22710
22711 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
22712
22713         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
22714           Check whether GST_DEBUG_NO_COLOR environment variable is
22715           set and disable coloured debug output if that is the case.
22716
22717 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
22718
22719         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22720         (gst_type_find_helper):
22721           The memory returned by gst_type_find_peek() needs to
22722           stay valid until the end of a typefind function, and
22723           typefind functions may keep results from different 
22724           offsets around, so we can't just unref the buffer from
22725           the previous _peek(), but have to save all buffers 
22726           returned by _peek() until typefinding is done and only
22727           free them then.
22728
22729 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
22730
22731         * docs/gst/gstreamer-sections.txt:
22732         * gst/gstutils.h:
22733           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
22734
22735 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22736
22737         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
22738           Fix a pretty good memleak.
22739
22740 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
22741
22742         * gst/gstiterator.h:
22743           Fix wrong include and 'make distcheck'.
22744
22745 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22746
22747         * gst/gstbin.c: (bin_bus_handler):
22748           Use gst_element_post_message() instead.
22749
22750 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
22751
22752         * gst/base/gstadapter.h:
22753         * gst/base/gstbasesink.h:
22754         * gst/base/gstbasesrc.h:
22755         * gst/base/gstbasetransform.h:
22756         * gst/base/gstcollectpads.h:
22757         * gst/base/gstpushsrc.h:
22758         * gst/gstiterator.h:
22759           Add padding to our base elements' class and instance structs and
22760           to GstIterator (you will need to rebuild all plugins and apps!)
22761
22762 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22763
22764         * gst/gstbin.c: (bin_bus_handler):
22765           Make default message forwarding from child->bus to bin->bus
22766           threadsafe and make it not emit warnings if the parent has no bus.
22767
22768 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22769
22770         * gst/gstelement.c: (activate_pads):
22771           On paused->ready, set pad->caps to NULL, as is the documented
22772           behaviour in this state change. Fixes playback of series of
22773           media files when visualization is enabled in Totem.
22774
22775 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22776
22777         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22778           Allow NULL as filter-caps (which means "any").
22779
22780 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22781
22782         * docs/libs/gstreamer-libs-sections.txt:
22783         * libs/gst/controller/gst-controller.c:
22784         * libs/gst/controller/gst-controller.h:
22785         * libs/gst/controller/gst-helper.c:
22786           adding more entries to the docs and fix small doc-bugs
22787
22788 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22789
22790         * docs/gst/gstreamer-docs.sgml:
22791         * docs/gst/gstreamer-sections.txt:
22792         * docs/gst/gstreamer.types:
22793         * docs/gst/tmpl/gstbasesink.sgml:
22794         * docs/gst/tmpl/gstbasesrc.sgml:
22795         * docs/gst/tmpl/gstbasetransform.sgml:
22796         * docs/gst/tmpl/gstfakesrc.sgml:
22797         * gst/base/gstcollectpads.c:
22798         * gst/base/gstcollectpads.h:
22799         * libs/gst/controller/gst-controller.c:
22800         * libs/gst/controller/gst-controller.h:
22801         * libs/gst/controller/gst-helper.c:
22802         * libs/gst/controller/gst-interpolation.c:
22803         * libs/gst/controller/lib.c:
22804           added long/short desc for controller docs
22805           added collectpads base class docs
22806           added correct includes to base-class docs
22807
22808 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22809
22810         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22811         (gst_test_mono_source_set_property),
22812         (gst_test_mono_source_class_init), (GST_START_TEST),
22813         (gst_controller_suite):
22814         * docs/gst/gstreamer-docs.sgml:
22815         * docs/gst/gstreamer-sections.txt:
22816         * docs/gst/gstreamer.types:
22817         * docs/libs/gstreamer-libs-docs.sgml:
22818         * docs/libs/gstreamer-libs-sections.txt:
22819         * gst/base/gstadapter.c:
22820         * libs/gst/controller/gst-controller.c:
22821         (gst_controlled_property_new), (gst_controlled_property_free),
22822         (gst_controller_new_valist),
22823         (gst_controller_remove_properties_valist),
22824         (gst_controller_sink_values), (_gst_controller_finalize):
22825         * libs/gst/controller/gst-controller.h:
22826         * libs/gst/controller/gst-helper.c:
22827         (gst_object_control_properties), (gst_object_uncontrol_properties),
22828         (gst_object_get_controller), (gst_object_set_controller),
22829         (gst_object_sink_values), (gst_object_get_value_arrays),
22830         (gst_object_get_value_array):
22831           more tests (and fixes) for the controller
22832           more docs for the controller
22833           integrated companies docs for the adapter 
22834
22835 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22836
22837         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
22838         (GST_START_TEST), (fakesrc_suite):
22839           add tests for sizetype
22840
22841 2005-08-04  Andy Wingo  <wingo@pobox.com>
22842
22843         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
22844         fixes buffer_alloc proxying among other things.
22845
22846         * gst/base/gstbasetransform.c:
22847         * gst/base/gstbasetransform.h:
22848         Revert patch to gstbasetransform from 7-28 removing
22849         delay_configure.
22850
22851         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
22852         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
22853         Semantics changed, should return not the size of the output buffer
22854         but the byte size of a buffer with a given caps.
22855
22856         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
22857         debug object.
22858         (gst_base_transform_configure_caps): Don't set out_size here: (in,
22859         out) are not the pad caps until setcaps finishes.
22860         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
22861         not-in-place case as well. Deal with changing from in-place to
22862         not-in-place within calling pad_alloc_buffer. Still a bit
22863         concerned about the overhead here...
22864
22865 2005-08-03  Andy Wingo  <wingo@pobox.com>
22866
22867         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
22868         fixating is an error.
22869
22870 2005-08-04  Edward Hervey  <edward@fluendo.com>
22871
22872         * gst/base/gstadapter.h: 
22873         Added gst_adapter_get_type() to the header
22874
22875 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
22876
22877         * check/Makefile.am:
22878         * check/gst-libs/controller.c:
22879         * libs/gst/controller/gst-controller.c:
22880         (gst_controller_new_valist):
22881           added check test suite for the controller
22882         * gst/base/gstpushsrc.c:
22883           fixed a doc typo
22884
22885 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
22886
22887         * docs/gst/Makefile.am:
22888         * docs/gst/gstreamer-docs.sgml:
22889         * docs/gst/gstreamer-sections.txt:
22890         * docs/gst/gstreamer.types:
22891         * docs/gst/tmpl/gstfakesrc.sgml:
22892         * gst/base/README:
22893         * gst/base/gstbasesink.c:
22894         * gst/base/gstbasesink.h:
22895         * gst/base/gstbasesrc.c:
22896         * gst/base/gstbasesrc.h:
22897         * gst/base/gstbasetransform.c:
22898         * gst/base/gstpushsrc.c:
22899         * gst/base/gstpushsrc.h:
22900           add short/long description docs to base classes
22901           add pushsrc to the docs
22902           remove consolidated doc fragments
22903
22904 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
22905
22906         * configure.ac:
22907         * docs/libs/Makefile.am:
22908         * docs/libs/gstreamer-libs-docs.sgml:
22909         * docs/libs/gstreamer-libs-sections.txt:
22910         * docs/libs/gstreamer-libs.types:
22911         * examples/Makefile.am:
22912         * examples/controller/.cvsignore:
22913         * examples/controller/Makefile.am:
22914         * examples/controller/audio-example.c: (main):
22915         * libs/gst/Makefile.am:
22916         * libs/gst/controller/.cvsignore:
22917         * libs/gst/controller/Makefile.am:
22918         * libs/gst/controller/gst-controller.c:
22919         (on_object_controlled_property_changed), (gst_timed_value_compare),
22920         (gst_timed_value_find),
22921         (gst_controlled_property_set_interpolation_mode),
22922         (gst_controlled_property_new), (gst_controlled_property_free),
22923         (gst_controller_find_controlled_property),
22924         (gst_controller_new_valist), (gst_controller_new),
22925         (gst_controller_remove_properties_valist),
22926         (gst_controller_remove_properties), (gst_controller_set),
22927         (gst_controller_set_from_list), (gst_controller_unset),
22928         (gst_controller_get), (gst_controller_get_all),
22929         (gst_controller_sink_values), (gst_controller_get_value_arrays),
22930         (gst_controller_get_value_array),
22931         (gst_controller_set_interpolation_mode),
22932         (_gst_controller_finalize), (_gst_controller_init),
22933         (_gst_controller_class_init), (gst_controller_get_type):
22934         * libs/gst/controller/gst-controller.h:
22935         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
22936         (g_object_uncontrol_properties), (g_object_get_controller),
22937         (g_object_set_controller), (g_object_sink_values),
22938         (g_object_get_value_arrays), (g_object_get_value_array):
22939         * libs/gst/controller/gst-interpolation.c:
22940         (gst_controlled_property_find_timed_value_node),
22941         (interpolate_none_get), (interpolate_trigger_get),
22942         (interpolate_trigger_get_value_array):
22943         * libs/gst/controller/lib.c: (gst_controller_init):
22944         * pkgconfig/Makefile.am:
22945         * pkgconfig/gstreamer-control-uninstalled.pc.in:
22946         * pkgconfig/gstreamer-control.pc.in:
22947         * testsuite/Makefile.am:
22948         * testsuite/controller/.cvsignore:
22949         * testsuite/controller/Makefile.am:
22950         * testsuite/controller/interpolator.c: (main):
22951           added controller code
22952           removed dparam pc files
22953
22954 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
22955         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
22956         (gst_collectpads_stop):
22957           Broadcast the condition when shutting down, to make sure we wake all
22958           threads up. Shut down pads on finalize, for safety.
22959
22960 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
22961         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22962         (gst_base_transform_handle_buffer),
22963         (gst_base_transform_change_state):
22964           Handle PAUSED->READY->PAUSED transition after negotiation
22965           occurred already.
22966         * gst/gstmessage.c: (gst_message_init):
22967           Extra piece of debug for new messages.
22968
22969 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
22970
22971         * configure.ac:
22972         * docs/gst/tmpl/gstbasesrc.sgml:
22973         * docs/gst/tmpl/gstelement.sgml:
22974         * docs/gst/tmpl/gstevent.sgml:
22975         * docs/gst/tmpl/gstfakesrc.sgml:
22976         * docs/gst/tmpl/gstformat.sgml:
22977         * docs/gst/tmpl/gstghostpad.sgml:
22978         * docs/gst/tmpl/gstpad.sgml:
22979         * docs/gst/tmpl/gstquery.sgml:
22980         * docs/gst/tmpl/gststructure.sgml:
22981         * docs/gst/tmpl/gsttaglist.sgml:
22982         * docs/gst/tmpl/gstvalue.sgml:
22983         * docs/libs/gstreamer-libs-docs.sgml:
22984         * docs/libs/gstreamer-libs-sections.txt:
22985         * docs/libs/gstreamer-libs.types:
22986         * libs/gst/Makefile.am:
22987         * libs/gst/control/.cvsignore:
22988         * libs/gst/control/Makefile.am:
22989         * libs/gst/control/control.c:
22990         * libs/gst/control/control.h:
22991         * libs/gst/control/dparam.c:
22992         * libs/gst/control/dparam.h:
22993         * libs/gst/control/dparam_smooth.c:
22994         * libs/gst/control/dparam_smooth.h:
22995         * libs/gst/control/dparamcommon.h:
22996         * libs/gst/control/dparammanager.c:
22997         * libs/gst/control/dparammanager.h:
22998         * libs/gst/control/dplinearinterp.c:
22999         * libs/gst/control/dplinearinterp.h:
23000         * libs/gst/control/unitconvert.c:
23001         * libs/gst/control/unitconvert.h:
23002         * testsuite/Makefile.am:
23003         * testsuite/dynparams/.cvsignore:
23004         * testsuite/dynparams/Makefile.am:
23005         * testsuite/dynparams/dparamstest.c:
23006         * tools/Makefile.am:
23007         * tools/gst-inspect.c: (print_element_info), (main):
23008         * tools/gst-xmlinspect.c: (print_element_info), (main):
23009           deactivate and remove dparams (libgstcontrol)
23010
23011 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23012
23013         * gst/elements/gsttypefindelement.c:
23014         (gst_type_find_element_have_type), (gst_type_find_element_init),
23015         (stop_typefinding), (gst_type_find_element_handle_event),
23016         (gst_type_find_element_chain), (gst_type_find_element_getrange):
23017         * gst/elements/gsttypefindelement.h:
23018           Set caps on all outgoing buffers, not just the first one.
23019
23020 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23021
23022         * gst/elements/gsttypefindelement.c:
23023         (gst_type_find_element_have_type),
23024         (gst_type_find_element_check_set_buffer_caps),
23025         (gst_type_find_element_init), (stop_typefinding),
23026         (gst_type_find_element_handle_event),
23027         (gst_type_find_element_chain), (gst_type_find_element_getrange):
23028         * gst/elements/gsttypefindelement.h:
23029           Set caps on first outgoing buffer when we've found the type.
23030
23031 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23032
23033         * docs/gst/gstreamer-docs.sgml:
23034         * docs/gst/gstreamer-sections.txt:
23035         * docs/gst/tmpl/gstscheduler.sgml:
23036         * docs/gst/tmpl/gstschedulerfactory.sgml:
23037           Remove some old cruft from docs.
23038
23039 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
23040
23041         * gst/gstpad.h:
23042           Fix inline docs for GstPadLinkReturn.
23043           
23044         * gst/gststructure.c: (gst_structure_has_name):
23045         * gst/gststructure.h:
23046         * docs/gst/gstreamer-sections.txt:
23047           New API: gst_structure_has_name().
23048
23049 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
23050
23051         * configure.ac:
23052           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
23053           and _LARGEFILE_SOURCE in config.h as required. Do not 
23054           export those flags in our .pc files any longer (#142209).
23055
23056           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
23057
23058         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
23059         (gst_file_sink_do_seek), (gst_file_sink_event),
23060         (gst_file_sink_get_current_offset), (gst_file_sink_render):
23061           Redo seek/tell calls with large file support in mind; add some
23062           debugging messages; add log message that tells us when large
23063           file support is unavailable or not enabled for some reason.
23064
23065         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
23066           Add log message that tells us when large file support 
23067           is unavailable or not enabled for some reason.
23068
23069 2005-07-29  Wim Taymans  <wim@fluendo.com>
23070
23071         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23072         Added test for removing an element with ghostpad from a bin.
23073         Fixed test as current implementation does the right thing.
23074
23075         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
23076         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
23077         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
23078         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
23079         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
23080         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
23081         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
23082         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23083         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
23084         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
23085         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
23086         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
23087         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
23088         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
23089         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
23090         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
23091         * gst/gstghostpad.h:
23092         Clean up ghostpads, remove properties for internal stuff.
23093         Make threadsafe.
23094         Fix refcounting.
23095         Prepare for switching targets, not all use cases work yet.
23096
23097 2005-07-29  Wim Taymans  <wim@fluendo.com>
23098
23099         * docs/design/part-gstghostpad.txt:
23100         Small update.
23101
23102         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23103         (gst_bin_remove_func):
23104         Unlinking pads while holding the bin LOCK is not a good
23105         idea.
23106
23107         * gst/gstpad.c: (gst_pad_class_init),
23108         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
23109         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
23110         No prob setting template after creating the pad.
23111
23112 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
23113
23114         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
23115         (gst_bus_peek), (gst_bus_source_dispatch),
23116         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
23117         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
23118           gst_bus_poll may be called from other threads. Handle
23119           this nicely by not making poll_data disappear off the
23120           stack once gst_bus_poll returns.
23121           gst_bus_peek now increments the refcount on the returned
23122           message.
23123
23124 2005-07-29  Wim Taymans  <wim@fluendo.com>
23125
23126         * docs/design/part-gstghostpad.txt:
23127         Overview of current GhostPad datastructures and use
23128         cases for changing the target.
23129
23130 2005-07-28  Wim Taymans  <wim@fluendo.com>
23131
23132         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23133         Added checks for hierarchy consistency whan adding linked
23134         elements to bins.
23135
23136         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23137         Added check to test element scheduling without bin/pipeline.
23138
23139         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23140         First add elements to bin, then link.
23141         
23142         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23143         (gst_bin_remove_func):
23144         Unlink pads from elements added/removed from bin to maintain
23145         hierarchy consistency.
23146
23147 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23148
23149         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23150         (gst_base_transform_handle_buffer):
23151         * gst/base/gstbasetransform.h:
23152           Remove broken delay_configure (fixes renegotiation of software
23153           scaling pipelines); remove some leftover printf()s.
23154
23155 2005-07-28  Wim Taymans  <wim@fluendo.com>
23156
23157         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23158         Added some more tests for wrong hierarchy
23159
23160         * docs/design/part-overview.txt:
23161         Some updates.
23162
23163         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
23164         Cleanups.
23165
23166         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
23167         (gst_element_dispose):
23168         Some more cleanups.
23169
23170         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23171         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
23172         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23173         (gst_pad_set_caps), (gst_pad_send_event):
23174         Check for correct hierarchy when linking pads. Moving to
23175         strict requirement for ghostpads when linking elements in
23176         different bins.
23177
23178         * gst/gstpad.h:
23179         Clean ups. Added WRONG_HIERARCHY return value.
23180
23181 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23182
23183         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23184           Better debug if no transform is possible.
23185
23186 2005-07-27  Wim Taymans  <wim@fluendo.com>
23187
23188         * docs/random/wtay/network-transp:
23189         Some old doc I had.
23190
23191 2005-07-27  Wim Taymans  <wim@fluendo.com>
23192
23193         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23194         (gst_dp_event_from_packet):
23195         Fix serialization of seek events.
23196
23197 2005-07-27  Wim Taymans  <wim@fluendo.com>
23198
23199         * check/gst-libs/gdp.c: (GST_START_TEST):
23200         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23201         Fix compilation and fix event serialization.
23202
23203 2005-07-27  Wim Taymans  <wim@fluendo.com>
23204
23205         * CHANGES-0.9:
23206         * docs/design/part-TODO.txt:
23207         * docs/design/part-events.txt:
23208         Some docs updates
23209
23210         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23211         (gst_base_sink_event), (gst_base_sink_do_sync),
23212         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23213         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23214         (gst_base_src_do_seek), (gst_base_src_event_handler),
23215         (gst_base_src_loop):
23216         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23217         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23218         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23219         (gst_base_transform_event), (gst_base_transform_handle_buffer),
23220         (gst_base_transform_set_passthrough),
23221         (gst_base_transform_is_passthrough):
23222         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23223         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23224         Event updates.
23225
23226         * gst/gstbuffer.h:
23227         Use faster casts.
23228
23229         * gst/gstelement.c: (gst_element_seek):
23230         * gst/gstelement.h:
23231         Update gst_element_seek.
23232
23233         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
23234         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
23235         (gst_event_new_flush_start), (gst_event_new_flush_stop),
23236         (gst_event_new_eos), (gst_event_new_newsegment),
23237         (gst_event_parse_newsegment), (gst_event_new_tag),
23238         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
23239         (gst_event_parse_qos), (gst_event_new_seek),
23240         (gst_event_parse_seek), (gst_event_new_navigation):
23241         * gst/gstevent.h:
23242         Make GstEvent use GstStructure. Add parsing code, make sure the
23243         API is sufficiently generic.
23244         Mark possible directions of events and serialization.
23245
23246         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
23247         (_gst_message_copy), (gst_message_new_segment_start),
23248         (gst_message_new_segment_done), (gst_message_new_custom),
23249         (gst_message_parse_segment_start),
23250         (gst_message_parse_segment_done):
23251         Small cleanups.
23252
23253         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23254         (gst_pad_set_caps), (gst_pad_send_event):
23255         Update for new events. 
23256         Catch events sent in wrong directions.
23257
23258         * gst/gstqueue.c: (gst_queue_link_src),
23259         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23260         (gst_queue_handle_src_query):
23261         Event updates.
23262
23263         * gst/gsttag.c:
23264         * gst/gsttag.h:
23265         Remove event code from this file.
23266
23267         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23268         (gst_dp_event_from_packet):
23269         Event updates.
23270
23271 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23272
23273         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
23274         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23275         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
23276           Make debugging actually useful.
23277
23278 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23279
23280         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
23281         (gst_pad_fixate_caps):
23282           Implement default fixation once again, so that gst_pad_fixate()
23283           actually does anything at all. This probably needs to be some
23284           sort of a last resort, and use profile-based fixation first, but
23285           since that doesn't exist yet, this is the best we have. Fixes
23286           visualization in Totem.
23287
23288 2005-07-22  Wim Taymans  <wim@fluendo.com>
23289
23290         * docs/design/part-events.txt:
23291         Small update.
23292
23293         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23294         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
23295         (gst_base_sink_activate_pull):
23296         Some more comments.
23297
23298         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
23299         (gst_fake_src_create):
23300         Fix handoff marshall.
23301
23302         * gst/elements/gstidentity.c: (gst_identity_class_init),
23303         (gst_identity_transform_ip):
23304         We're a real inplace element.
23305
23306         * gst/gstbus.c: (gst_bus_post):
23307         Added some comments.
23308
23309         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
23310         * tests/muxing/case1.c: (main):
23311         * tests/sched/dynamic-pipeline.c: (main):
23312         * tests/sched/interrupt1.c: (main):
23313         * tests/sched/interrupt2.c: (main):
23314         * tests/sched/interrupt3.c: (main):
23315         * tests/sched/runxml.c: (main):
23316         * tests/sched/sched-stress.c: (main):
23317         * tests/seeking/seeking1.c: (event_received), (main):
23318         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23319         (main):
23320         * tests/threadstate/threadstate3.c: (main):
23321         * tests/threadstate/threadstate4.c: (main):
23322         * tests/threadstate/threadstate5.c: (main):
23323         Fix the tests.
23324
23325 2005-07-21  Wim Taymans  <wim@fluendo.com>
23326
23327         * docs/design/part-seeking.txt:
23328         Some small additions.
23329
23330         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23331         (gst_base_sink_get_times), (gst_base_sink_do_sync),
23332         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23333         * gst/base/gstbasesink.h:
23334         discont values are gint64, handle the math correctly.
23335
23336         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23337         Make the basesrc report error if the source pad is not linked.
23338
23339         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
23340         (gst_queue_loop), (gst_queue_handle_src_query),
23341         (gst_queue_src_activate_push):
23342         Make queue collect data even if the srcpad is not linked.
23343         Start pushing out data as soon as it is linked.
23344
23345         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
23346         * gst/gstutils.h:
23347         Added gst_flow_get_name() to ease error reporting.
23348
23349 2005-07-20  Wim Taymans  <wim@fluendo.com>
23350
23351         * gst/gstmessage.c: (gst_message_new_segment_start),
23352         (gst_message_new_segment_done), (gst_message_parse_segment_start),
23353         (gst_message_parse_segment_done):
23354         * gst/gstmessage.h:
23355         Added a bunch of messages for advanced seeking.
23356
23357         * gst/parse/grammar.y:
23358         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
23359         (gst_dpman_state_changed):
23360         Fix some new-pad -> pad-added signals
23361
23362 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23363
23364         * docs/manual/appendix-porting.xml:
23365         * docs/pwg/appendix-porting.xml:
23366           Document new-pad/state-change signal renames and the FixedList
23367           type rename.
23368
23369 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23370
23371         * docs/manual/advanced-autoplugging.xml:
23372         * docs/manual/basics-helloworld.xml:
23373         * docs/manual/basics-pads.xml:
23374         * docs/random/ds/0.9-suggested-changes:
23375         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
23376         * gst/gstelement.h:
23377         * gst/gstevent.h:
23378         * gst/gstformat.h:
23379         * gst/gstquery.h:
23380         * gst/gststructure.c: (gst_structure_value_get_generic_type),
23381         (gst_structure_parse_array), (gst_structure_parse_value):
23382         * gst/gstvalue.c: (gst_type_is_fixed),
23383         (gst_value_list_prepend_value), (gst_value_list_append_value),
23384         (gst_value_list_get_size), (gst_value_list_get_value),
23385         (gst_value_transform_array_string), (gst_value_serialize_array),
23386         (gst_value_deserialize_array), (gst_value_intersect_array),
23387         (gst_value_is_fixed), (_gst_value_initialize):
23388         * gst/gstvalue.h:
23389           GstElement::new-pad -> pad-added, GstElement::state-change ->
23390           state-changed, GstValueFixedList -> GstValueArray, add format and
23391           flags as their own arguments in gst_element_seek() (should improve
23392           "bindeability"), remove function generators since they don't work
23393           under a whole bunch of compilers (they were deprecated already
23394           anyway).
23395
23396 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23397
23398         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23399         (_gst_debug_register_funcptr):
23400         * gst/gstinfo.h:
23401           Fix illegal cast on some platforms (#309253).
23402
23403 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23404
23405         * gst/gstmessage.c: (gst_message_new_custom):
23406         * gst/gstmessage.h:
23407           Add _new_custom, make _new_application a macro to _new_custom.
23408
23409 2005-07-20  Wim Taymans  <wim@fluendo.com>
23410
23411         * gst/base/gstbasesrc.c: (gst_base_src_init),
23412         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
23413         * gst/base/gstbasesrc.h:
23414         Add a gboolean to decide when to push out a discont.
23415
23416         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23417         (gst_queue_loop), (gst_queue_handle_src_query),
23418         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
23419         (gst_queue_set_property), (gst_queue_get_property):
23420         Some cleanups.
23421
23422         * tests/threadstate/threadstate1.c: (main):
23423         Make a thread test compile and run... very silly..
23424
23425
23426 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23427
23428         * docs/manual/appendix-porting.xml:
23429           Mention removal of libgstgconf-0.9.la and existence of gconf
23430           elements.
23431
23432 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23433
23434         * docs/pwg/advanced-clock.xml:
23435         * docs/pwg/appendix-porting.xml:
23436         * docs/pwg/intro-preface.xml:
23437         * docs/pwg/other-base.xml:
23438         * docs/pwg/other-manager.xml:
23439         * docs/pwg/other-nton.xml:
23440         * docs/pwg/other-ntoone.xml:
23441         * docs/pwg/other-oneton.xml:
23442         * docs/pwg/pwg.xml:
23443           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
23444           demuxer), remove n-to-n (was never written), fix some code examples
23445           and links and update the porting section to include all this.
23446
23447 2005-07-19  Wim Taymans  <wim@fluendo.com>
23448
23449         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
23450         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
23451         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
23452         (gst_queue_src_activate_push), (gst_queue_change_state),
23453         (gst_queue_get_property):
23454         * gst/gstqueue.h:
23455         Propagate GstFlowReturn more intelligently upstream and output
23456         an ERROR/EOS when streaming stopped due to fatal error.
23457
23458 2005-07-19  Wim Taymans  <wim@fluendo.com>
23459
23460         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23461         Don't block forever for the state change to complete, the
23462         pipeline already did with a sensible timeout.
23463
23464 2005-07-19  Wim Taymans  <wim@fluendo.com>
23465
23466         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23467         Make sure we never call the create function is we
23468         got deactivated.
23469
23470 2005-07-19  Andy Wingo  <wingo@pobox.com>
23471
23472         * gst/parse/parse.l: Attempt to solve bug #172815.
23473
23474 2005-07-19  Wim Taymans  <wim@fluendo.com>
23475
23476         * docs/design/part-clocks.txt:
23477         * docs/design/part-events.txt:
23478         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
23479         Small docs updates.
23480         Only update the seeking values when we are not
23481         busy streaming.
23482
23483 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
23484
23485         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23486           Oops, ignore the result of gst_pad_push_event here.
23487
23488 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
23489
23490         * gst/base/gstbasesrc.c: (gst_base_src_loop),
23491         (gst_base_src_activate_push):
23492           Send discont event from the loop function, as pads
23493           aren't activated yet in the activate_push handler.
23494
23495         * gst/gstbin.c: (bin_bus_handler):
23496           Don't leak element name.
23497
23498 2005-07-18  Andy Wingo  <wingo@pobox.com>
23499
23500         * configure.ac: Use AS_LIBTOOL_TAGS.
23501
23502 2005-07-18  Wim Taymans  <wim@fluendo.com>
23503
23504         * docs/gst/gstreamer.types:
23505         Remove deleted types.
23506
23507 2005-07-18  Wim Taymans  <wim@fluendo.com>
23508
23509         * check/elements/gstfakesrc.c: (GST_START_TEST):
23510         * configure.ac:
23511         * gst/Makefile.am:
23512         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
23513         (init_popt_callback):
23514         * gst/gst.h:
23515         * gst/gst_private.h:
23516         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
23517         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
23518         * gst/gstbin.h:
23519         * gst/gstbus.h:
23520         * gst/gstconfig.h.in:
23521         * gst/gstelement.c: (gst_element_class_init),
23522         (gst_element_set_base_time), (gst_element_get_base_time),
23523         (iterator_fold_with_resync), (gst_element_change_state),
23524         (gst_element_dispose), (gst_element_get_bus):
23525         * gst/gstelement.h:
23526         * gst/gstelementfactory.h:
23527         * gst/gsterror.c: (_gst_core_errors_init):
23528         * gst/gsterror.h:
23529         * gst/gstevent.h:
23530         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23531         * gst/gstindex.c:
23532         * gst/gstinfo.c: (_gst_debug_init):
23533         * gst/gstmessage.c: (_gst_message_copy):
23534         * gst/gstmessage.h:
23535         * gst/gstminiobject.h:
23536         * gst/gstobject.c:
23537         * gst/gstobject.h:
23538         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23539         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
23540         * gst/gstpad.h:
23541         * gst/gstparse.h:
23542         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23543         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23544         (gst_pipeline_get_last_stream_time):
23545         * gst/gstpipeline.h:
23546         * gst/gstpluginfeature.h:
23547         * gst/gstquery.h:
23548         * gst/gstscheduler.c:
23549         * gst/gstscheduler.h:
23550         * gst/gststructure.h:
23551         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
23552         (gst_task_finalize), (gst_task_func), (gst_task_create),
23553         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
23554         (gst_task_stop), (gst_task_pause):
23555         * gst/gsttask.h:
23556         * gst/gsttypefind.h:
23557         * gst/gsttypes.h:
23558         * gst/registries/gstlibxmlregistry.c: (load_feature),
23559         (gst_xml_registry_load), (gst_xml_registry_save_feature):
23560         * gst/registries/gstxmlregistry.c:
23561         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
23562         * gst/schedulers/threadscheduler.c:
23563         * libs/gst/control/dparammanager.h:
23564         * tools/gst-inspect.c: (print_element_list),
23565         (print_plugin_features), (print_element_features):
23566         * tools/gst-xmlinspect.c: (print_element_list),
23567         (print_plugin_info), (main):
23568         Removed plugable schedulers.
23569         Removed Scheduler/Manager from elements.
23570         Removed gsttypes.h, rearranged includes.
23571         Removed dependency pad<->element, element<>pipeline, and
23572         various others,  fix includes.
23573         implement gst_pad_get_parent() with gst_object_get_parent()
23574         Make GstTask sefcontained.
23575         Fix _get_state() on GstBin, it did not return ASYNC with a 0
23576         timeout.
23577         Fix endless loop in iterator_fold_with_resync.
23578
23579
23580 2005-07-18  Wim Taymans  <wim@fluendo.com>
23581
23582         * gst/Makefile.am:
23583         * gst/gstarch.h:
23584         Remove old file.
23585
23586 2005-07-18  Wim Taymans  <wim@fluendo.com>
23587
23588         * gst/Makefile.am:
23589         No more cothreads.h
23590
23591 2005-07-18  Wim Taymans  <wim@fluendo.com>
23592
23593         * gst/cothreads.c:
23594         * gst/cothreads.h:
23595         Let's remove these.
23596
23597 2005-07-18  Wim Taymans  <wim@fluendo.com>
23598
23599         * docs/design/part-dynamic.txt:
23600         * docs/design/part-events.txt:
23601         * docs/design/part-seeking.txt:
23602         Some more docs in the works.
23603
23604         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23605         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
23606         (gst_base_transform_setcaps), (gst_base_transform_get_size),
23607         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23608         (gst_base_transform_handle_buffer),
23609         (gst_base_transform_sink_activate_push),
23610         (gst_base_transform_src_activate_pull),
23611         (gst_base_transform_set_passthrough),
23612         (gst_base_transform_is_passthrough):
23613         Refcounting fixes.
23614
23615         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
23616         Cleanups.
23617
23618         * gst/gstevent.c: (gst_event_finalize):
23619         Set SRC to NULL.
23620
23621         * gst/gstutils.c: (gst_element_unlink),
23622         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
23623         (gst_pad_proxy_setcaps):
23624         * gst/gstutils.h:
23625         Add _get_parent_element() to get a pads parent as an element.
23626
23627 2005-07-18  Wim Taymans  <wim@fluendo.com>
23628
23629         * check/gst/gstbin.c: (GST_START_TEST):
23630         Remove bogus test.
23631
23632 2005-07-18  Wim Taymans  <wim@fluendo.com>
23633
23634         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23635         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23636         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23637         (gst_base_sink_event), (gst_base_sink_do_sync),
23638         (gst_base_sink_chain), (gst_base_sink_loop),
23639         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
23640         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
23641         Refcounting fixes.
23642         Fix logic for returning ASYNC when not prerolled.
23643
23644 2005-07-18  Wim Taymans  <wim@fluendo.com>
23645
23646         * gst/gstqueue.c: (gst_queue_handle_sink_event):
23647         Fix nasty refcount bug.
23648
23649 2005-07-16 Philippe Khalaf <burger@speedy.org>
23650
23651         * gst/elements/gstfdsrc.c:
23652         * gst/elements/gstfdsrc.h:
23653         * gst/elements/gstelements.c:
23654         * gst/elements/Makefile.am:
23655         Ported fdsrc to 0.9.
23656
23657 2005-07-16  Wim Taymans  <wim@fluendo.com>
23658
23659         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23660         (gst_base_sink_do_sync):
23661         Fix compile error.
23662
23663 2005-07-16  Wim Taymans  <wim@fluendo.com>
23664
23665         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23666         (gst_base_sink_event), (gst_base_sink_get_times),
23667         (gst_base_sink_do_sync), (gst_base_sink_change_state):
23668         * gst/base/gstbasesink.h:
23669         Store and use discont values when syncing buffers as described
23670         in design docs.
23671         
23672         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23673         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
23674         (gst_base_src_activate_push):
23675         Push discont event when starting.
23676
23677         * gst/elements/gstidentity.c: (gst_identity_transform):
23678         Small cleanups.
23679
23680         * gst/gstbin.c: (gst_bin_change_state):
23681         Small cleanups in base_time  distribution.
23682
23683         * gst/gstelement.c: (gst_element_set_base_time),
23684         (gst_element_get_base_time), (gst_element_change_state):
23685         * gst/gstelement.h:
23686         Added methods for the base_time of the element.
23687         Some MT fixes.
23688
23689         * gst/gstpipeline.c: (gst_pipeline_send_event),
23690         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23691         (gst_pipeline_get_last_stream_time):
23692         * gst/gstpipeline.h:
23693         MT fixes.
23694         Handle seeking as described in design doc, remove stream_time
23695         hack.
23696         Cleanups clock and stream_time selection code. Added accessors
23697         for the stream_time.
23698         
23699
23700 2005-07-16  Andy Wingo  <wingo@pobox.com>
23701
23702         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
23703         (#305291).
23704
23705 2005-07-16  Wim Taymans  <wim@fluendo.com>
23706
23707         * check/gst/gstbin.c: (GST_START_TEST):
23708         Make elements silent as the deep_notify refs the
23709         parent, which might make the test fail.
23710
23711         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23712         Don't hold the lock for too long.
23713
23714 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
23715
23716         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
23717           Don't unref the caps we passed to gst_caps_make_writable() after
23718           passing them. gst_caps_make_writable() will do that for us.
23719
23720 2005-07-15  Andy Wingo  <wingo@pobox.com>
23721
23722         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
23723         (#157311).
23724
23725         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
23726         own marshalling function for the handoff signal. Properly type the
23727         buffer as a buffer. Fixes some warnings. Should do a more general
23728         solution.
23729         (gst_identity_class_init): Plug into the right marshaller.
23730
23731 2005-07-15  Wim Taymans  <wim@fluendo.com>
23732
23733         * docs/design/part-TODO.txt:
23734         * docs/design/part-clocks.txt:
23735         * docs/design/part-element-sink.txt:
23736         * docs/design/part-events.txt:
23737         * docs/design/part-gstpipeline.txt:
23738         Updated docs, mostly DISCONT related.
23739
23740 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
23741
23742         * docs/pwg/building-pads.xml:
23743           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
23744
23745 2005-07-15  Andy Wingo  <wingo@pobox.com>
23746
23747         * tools/gst-typefind.c: Update, add copyright block.
23748
23749         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
23750         Normalize and truncate caps before fixation.
23751
23752         * gst/gstcaps.h:
23753         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
23754         discards all but the first structure from its argument.
23755
23756 2005-07-15  Wim Taymans  <wim@fluendo.com>
23757
23758         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23759         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
23760         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23761         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23762         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
23763         (gst_base_transform_chain), (gst_base_transform_change_state),
23764         (gst_base_transform_set_passthrough),
23765         (gst_base_transform_is_passthrough):
23766         * gst/base/gstbasetransform.h:
23767         Make passthrough work using the bufferpools.
23768         Changed API a bit, subclasses have to write into a buffer
23769         provided by the base class.
23770         More debug info in nego functions.
23771         
23772         * gst/elements/gstidentity.c: (gst_identity_init),
23773         (gst_identity_transform):
23774         Port to new base class.
23775
23776 2005-07-15  Wim Taymans  <wim@fluendo.com>
23777
23778         * gst/gstmessage.c: (gst_message_new_state_changed):
23779         * tools/gst-launch.c: (event_loop), (main):
23780         Totally dump messages in -launch with the -m option.
23781         Fix message name for State messages,
23782
23783 2005-07-14  Wim Taymans  <wim@fluendo.com>
23784
23785         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23786         Post error messages on errors.
23787
23788 2005-07-14  Wim Taymans  <wim@fluendo.com>
23789
23790         * gst/gstcaps.c: (gst_caps_do_simplify):
23791         Remove debug info.
23792
23793         * gst/gsterror.h:
23794         Define error for stream stopped.
23795
23796         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23797         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
23798         Do proper return values.
23799
23800         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23801         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
23802         (gst_pad_get_range):
23803         Better return values.
23804
23805         * gst/gstpad.h:
23806         Reorganise return values, add macro to check for fatal errors.
23807
23808         * gst/gstqueue.c: (gst_queue_chain):
23809         Return proper GstFlowReturn values,
23810
23811 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
23812
23813         * docs/gst/gstreamer-sections.txt:
23814         * docs/gst/gstreamer.types:
23815         * docs/gst/tmpl/gst.sgml:
23816         * docs/gst/tmpl/gstbasesink.sgml:
23817         * docs/gst/tmpl/gstbasesrc.sgml:
23818         * docs/gst/tmpl/gstbasetransform.sgml:
23819         * docs/gst/tmpl/gstbin.sgml:
23820         * docs/gst/tmpl/gstbuffer.sgml:
23821         * docs/gst/tmpl/gstcaps.sgml:
23822         * docs/gst/tmpl/gstclock.sgml:
23823         * docs/gst/tmpl/gstcompat.sgml:
23824         * docs/gst/tmpl/gstconfig.sgml:
23825         * docs/gst/tmpl/gstelement.sgml:
23826         * docs/gst/tmpl/gstelementdetails.sgml:
23827         * docs/gst/tmpl/gstelementfactory.sgml:
23828         * docs/gst/tmpl/gstenumtypes.sgml:
23829         * docs/gst/tmpl/gsterror.sgml:
23830         * docs/gst/tmpl/gstevent.sgml:
23831         * docs/gst/tmpl/gstfakesink.sgml:
23832         * docs/gst/tmpl/gstfakesrc.sgml:
23833         * docs/gst/tmpl/gstfilesink.sgml:
23834         * docs/gst/tmpl/gstfilesrc.sgml:
23835         * docs/gst/tmpl/gstfilter.sgml:
23836         * docs/gst/tmpl/gstformat.sgml:
23837         * docs/gst/tmpl/gstghostpad.sgml:
23838         * docs/gst/tmpl/gstimplementsinterface.sgml:
23839         * docs/gst/tmpl/gstindex.sgml:
23840         * docs/gst/tmpl/gstindexfactory.sgml:
23841         * docs/gst/tmpl/gstinfo.sgml:
23842         * docs/gst/tmpl/gstiterator.sgml:
23843         * docs/gst/tmpl/gstmacros.sgml:
23844         * docs/gst/tmpl/gstmemchunk.sgml:
23845         * docs/gst/tmpl/gstminiobject.sgml:
23846         * docs/gst/tmpl/gstobject.sgml:
23847         * docs/gst/tmpl/gstpad.sgml:
23848         * docs/gst/tmpl/gstpadtemplate.sgml:
23849         * docs/gst/tmpl/gstparse.sgml:
23850         * docs/gst/tmpl/gstpipeline.sgml:
23851         * docs/gst/tmpl/gstplugin.sgml:
23852         * docs/gst/tmpl/gstpluginfeature.sgml:
23853         * docs/gst/tmpl/gstquery.sgml:
23854         * docs/gst/tmpl/gstqueue.sgml:
23855         * docs/gst/tmpl/gstregistry.sgml:
23856         * docs/gst/tmpl/gstregistrypool.sgml:
23857         * docs/gst/tmpl/gstscheduler.sgml:
23858         * docs/gst/tmpl/gstschedulerfactory.sgml:
23859         * docs/gst/tmpl/gststructure.sgml:
23860         * docs/gst/tmpl/gstsystemclock.sgml:
23861         * docs/gst/tmpl/gsttaglist.sgml:
23862         * docs/gst/tmpl/gsttagsetter.sgml:
23863         * docs/gst/tmpl/gsttrace.sgml:
23864         * docs/gst/tmpl/gsttrashstack.sgml:
23865         * docs/gst/tmpl/gsttypefind.sgml:
23866         * docs/gst/tmpl/gsttypefindfactory.sgml:
23867         * docs/gst/tmpl/gsttypes.sgml:
23868         * docs/gst/tmpl/gsturihandler.sgml:
23869         * docs/gst/tmpl/gsturitype.sgml:
23870         * docs/gst/tmpl/gstutils.sgml:
23871         * docs/gst/tmpl/gstvalue.sgml:
23872         * docs/gst/tmpl/gstversion.sgml:
23873         * docs/gst/tmpl/gstxml.sgml:
23874         * docs/libs/tmpl/gstcontrol.sgml:
23875         * docs/libs/tmpl/gstdataprotocol.sgml:
23876         * docs/libs/tmpl/gstdparam.sgml:
23877         * docs/libs/tmpl/gstdplinint.sgml:
23878         * docs/libs/tmpl/gstdpman.sgml:
23879         * docs/libs/tmpl/gstdpsmooth.sgml:
23880         * docs/libs/tmpl/gstgetbits.sgml:
23881         * docs/libs/tmpl/gstunitconvert.sgml:
23882         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
23883         (gst_push_src_base_init), (gst_push_src_class_init),
23884         (gst_push_src_init), (gst_push_src_create):
23885         * gst/base/gstpushsrc.h:
23886         * gst/elements/gstelements.c:
23887         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
23888         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
23889         (gst_fake_sink_init), (gst_fake_sink_set_property),
23890         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
23891         (gst_fake_sink_event), (gst_fake_sink_preroll),
23892         (gst_fake_sink_render), (gst_fake_sink_change_state):
23893         * gst/elements/gstfakesink.h:
23894         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
23895         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
23896         (gst_fake_src_base_init), (gst_fake_src_class_init),
23897         (gst_fake_src_init), (gst_fake_src_event_handler),
23898         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
23899         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
23900         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
23901         (gst_fake_src_create_buffer), (gst_fake_src_create),
23902         (gst_fake_src_start), (gst_fake_src_stop):
23903         * gst/elements/gstfakesrc.h:
23904         * gst/elements/gstfilesink.c: (_do_init),
23905         (gst_file_sink_base_init), (gst_file_sink_class_init),
23906         (gst_file_sink_init), (gst_file_sink_dispose),
23907         (gst_file_sink_set_location), (gst_file_sink_set_property),
23908         (gst_file_sink_get_property), (gst_file_sink_open_file),
23909         (gst_file_sink_close_file), (gst_file_sink_query),
23910         (gst_file_sink_event), (gst_file_sink_render),
23911         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
23912         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
23913         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
23914         * gst/elements/gstfilesink.h:
23915         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
23916         (gst_file_src_class_init), (gst_file_src_init),
23917         (gst_file_src_finalize), (gst_file_src_set_location),
23918         (gst_file_src_set_property), (gst_file_src_get_property),
23919         (gst_file_src_map_region), (gst_file_src_map_small_region),
23920         (gst_file_src_create_mmap), (gst_file_src_create_read),
23921         (gst_file_src_create), (gst_file_src_is_seekable),
23922         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
23923         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
23924         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
23925         (gst_file_src_uri_handler_init):
23926         * gst/elements/gstfilesrc.h:
23927           more autistic cleanliness in functions/names/defines
23928
23929 2005-07-13  Andy Wingo  <wingo@pobox.com>
23930
23931         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
23932         source couldn't negotiate.
23933
23934         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
23935         connections again.
23936
23937         * gst/gstutils.h:
23938         * gst/gstutils.c (gst_element_link_pads_filtered): New old
23939         function. I am channeling Hades. Put your boots on suckers!!!
23940
23941 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23942
23943         * testsuite/caps/Makefile.am:
23944         * testsuite/caps/value_compare.c:
23945         * testsuite/caps/value_intersect.c:
23946         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
23947           move two testsuite apps over to the check dir
23948
23949 2005-07-12  Wim Taymans  <wim@fluendo.com>
23950
23951         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23952         Added more debug info in the negotiate process.
23953
23954         * gst/gstmessage.h:
23955         Prepare for segment playback.
23956
23957         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
23958         Better debugging.
23959
23960         * gst/gstutils.c:
23961         Some more docs.
23962
23963         * tools/gst-launch.c: (main):
23964         NULL pipeline on errors.
23965
23966 2005-07-12  Andy Wingo  <wingo@pobox.com>
23967
23968         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
23969         not it comes from a malloc region. Make sure our copy gets freed.
23970
23971 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23972
23973         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23974         * check/gst/gstmessage.c: (GST_START_TEST):
23975         * check/gst/gststructure.c: (GST_START_TEST),
23976         (gst_structure_suite), (main):
23977           more testing
23978         * gst/gstelement.c: (gst_element_message_full):
23979           clean up GError and debug string now that they get copied
23980         * gst/gstmessage.c: (gst_message_new_error),
23981         (gst_message_new_warning), (gst_message_parse_error),
23982         (gst_message_parse_warning):
23983           use GST_TYPE_G_ERROR for structure_new, and take copies of
23984           arguments, so that we don't mess up refcounting
23985
23986 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23987
23988         * check/Makefile.am:
23989           add per-test valgrind targets
23990         * check/gst-libs/gdp.c: (GST_START_TEST),
23991         (gst_data_protocol_suite), (main):
23992           clean up
23993
23994 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23995
23996         * check/Makefile.am:
23997           instate more valgrindable tests
23998         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23999         (GST_START_TEST), (fakesrc_suite):
24000         * check/gst/gstpad.c: (GST_START_TEST):
24001         * check/gst/gststructure.c: (GST_START_TEST):
24002           fix test leaks
24003         * docs/gst/tmpl/gstminiobject.sgml:
24004         * gst/gstpad.c: (gst_pad_finalize):
24005           fix the static mutex leak
24006
24007 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24008
24009         * check/Makefile.am:
24010           add two more tests for valgrinding
24011         * check/gst/gstvalue.c: (GST_START_TEST):
24012           test refcount of deserialized buffer, found a leak
24013         * docs/gst/gstreamer-docs.sgml:
24014         * docs/gst/gstreamer-sections.txt:
24015         * docs/gst/gstreamer.types:
24016         * docs/gst/tmpl/gstminiobject.sgml:
24017           add miniobject to docs
24018         * gst/gstminiobject.c:
24019           add some docs
24020         * gst/gstvalue.c: (gst_value_deserialize_buffer),
24021         (gst_string_unwrap):
24022           fix a hard-to-find invalid write for one of the tests
24023           fix a leak for deserialized buffers
24024
24025 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24026
24027         * docs/pwg/advanced-events.xml:
24028         * docs/pwg/advanced-request.xml:
24029         * docs/pwg/advanced-scheduling.xml:
24030         * docs/pwg/appendix-porting.xml:
24031         * docs/pwg/building-boiler.xml:
24032         * docs/pwg/intro-preface.xml:
24033         * docs/pwg/other-ntoone.xml:
24034           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
24035           of example code and explanation for pad activation, loop() and
24036           getrange() functions and a bit more. Remove old comments pointing
24037           to loop-functions.
24038         * examples/pwg/Makefile.am:
24039           Add loop/getrange examples.
24040
24041 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24042
24043         * configure.ac:
24044           check for valgrind binary + some fixes
24045         * check/gst.supp:
24046           valgrind suppressions for the tests
24047         * check/Makefile.am:
24048           add a valgrind: target that valgrinds the unit tests
24049         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
24050         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24051         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24052         * check/gst/gstghostpad.c:
24053           added some cleanup
24054         * check/gst/gstdata.c:
24055           removed
24056         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
24057         (thread_unref), (gst_mini_object_suite), (main):
24058           added
24059         * gst/gst.c: (gst_deinit):
24060         * gst/gst.h:
24061           add a method to clean up.
24062         * gst/gstsystemclock.c: (gst_system_clock_dispose),
24063         (gst_system_clock_obtain):
24064           allow for disposing the system clock.
24065         * tools/gst-launch.c: (main):
24066           deinit
24067
24068 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24069
24070         * docs/gst/tmpl/gstbasesrc.sgml:
24071         * docs/gst/tmpl/gstfakesrc.sgml:
24072         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24073         (gst_base_src_init), (gst_base_src_set_property),
24074         (gst_base_src_get_property), (gst_base_src_get_range),
24075         (gst_base_src_start):
24076         * gst/base/gstbasesrc.h:
24077           add num-buffers property
24078         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24079         (gst_fakesrc_init), (gst_fakesrc_set_property),
24080         (gst_fakesrc_get_property), (gst_fakesrc_create),
24081         (gst_fakesrc_start):
24082           remove num-buffers property
24083
24084 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24085
24086         * docs/gst/gstreamer-sections.txt:
24087         * docs/gst/tmpl/gstbasesink.sgml:
24088         * docs/gst/tmpl/gstbasesrc.sgml:
24089         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24090         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24091         (gst_base_sink_finalize), (gst_base_sink_set_clock),
24092         (gst_base_sink_set_property), (gst_base_sink_get_property),
24093         (gst_base_sink_handle_object), (gst_base_sink_event),
24094         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
24095         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
24096         (gst_base_sink_loop), (gst_base_sink_deactivate),
24097         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
24098         (gst_base_sink_change_state):
24099         * gst/base/gstbasesink.h:
24100         * gst/base/gstbasesrc.h:
24101         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
24102         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24103         (gst_filesink_init):
24104           more macro splitting
24105
24106 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24107
24108         * gst/gstelement.c: (gst_element_get_bus):
24109           add debug
24110         * tools/gst-launch.c: (check_intr), (event_loop):
24111           fix bus leaks
24112
24113 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24114
24115         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
24116           fix a caps leak
24117
24118 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24119
24120         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24121         (gst_base_src_finalize):
24122           add finalize method and clean up properly
24123         * gst/gstpipeline.c: (gst_pipeline_dispose):
24124           add debug
24125
24126 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24127
24128         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
24129         (gst_bin_suite):
24130           add more things to check
24131         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24132         * gst/gstelement.c:
24133           more debug
24134
24135 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24136
24137         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24138         (GST_START_TEST), (fakesrc_suite):
24139         * check/gst-libs/gdp.c: (GST_START_TEST):
24140         * check/gst/gst.c: (GST_START_TEST):
24141         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24142         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24143         * check/gst/gstbus.c: (GST_START_TEST):
24144         * check/gst/gstcaps.c: (GST_START_TEST):
24145         * check/gst/gstdata.c: (GST_START_TEST):
24146         * check/gst/gstelement.c: (GST_START_TEST):
24147         * check/gst/gstghostpad.c: (GST_START_TEST):
24148         * check/gst/gstiterator.c: (GST_START_TEST):
24149         * check/gst/gstmessage.c: (GST_START_TEST):
24150         * check/gst/gstobject.c: (GST_START_TEST):
24151         * check/gst/gstpad.c: (GST_START_TEST):
24152         * check/gst/gststructure.c: (GST_START_TEST):
24153         * check/gst/gstsystemclock.c: (GST_START_TEST),
24154         (gst_systemclock_suite):
24155         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24156         * check/gst/gstvalue.c: (GST_START_TEST):
24157         * check/pipelines/cleanup.c: (GST_START_TEST):
24158         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24159         * check/states/sinks.c: (GST_START_TEST):
24160         * check/gstcheck.c: (gst_check_init):
24161         * check/gstcheck.h:
24162           add debugging category
24163           use GST_START_TEST now, so we add a debug line
24164
24165 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24166
24167         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
24168           add test for state change message on a bin
24169         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
24170           add another test
24171         * gst/gstbin.c: (gst_bin_init):
24172         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
24173         * gst/gstelement.c: (gst_element_post_message),
24174         (gst_element_set_state):
24175         * gst/gstelementfactory.c: (gst_element_factory_create):
24176         * gst/gstmessage.c: (gst_message_new):
24177         * gst/gstscheduler.c:
24178           various debugging additions and cleanups
24179
24180 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24181
24182         * check/Makefile.am:
24183         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
24184         (main):
24185           adding tests for elements
24186         * gst/gstelement.c: (gst_element_dispose):
24187
24188 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24189
24190         * gst/registries/gstlibxmlregistry.c: (load_feature):
24191           plug more leaks.  A simple gst_init() now is leakfree, yay.
24192
24193 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24194
24195         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
24196         (gst_xml_registry_load):
24197           plug another memleak
24198
24199 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24200
24201         * configure.ac:
24202           use GST_SET_ERROR_CFLAGS
24203         * docs/faq/cvs.xml:
24204           change to ERROR_CFLAGS
24205
24206 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24207
24208         * configure.ac:
24209           make GST_ERROR_CFLAGS overridable and re-enable Werror
24210         * docs/faq/cvs.xml:
24211           add a note about error CFLAGS
24212         * docs/gst/tmpl/gstfakesrc.sgml:
24213         * gst/elements/gstfakesrc.c:
24214           comment out some unused code
24215         * gst/gst.c: (split_and_iterate):
24216         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
24217         (load_feature):
24218           plug some memleaks
24219
24220 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24221
24222         * common/Makefile.am:
24223         * common/gtk-doc.mak:
24224         * docs/gst/Makefile.am:
24225           factor out gtk-doc.mak
24226
24227 2005-07-07  Wim Taymans  <wim@fluendo.com>
24228
24229         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
24230         (gst_thread_scheduler_dispose):
24231         Unlock the STREAM_LOCK completely.
24232
24233 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24234
24235         * check/Makefile.am:
24236         * check/elements/.cvsignore:
24237         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24238         (START_TEST), (fakesrc_suite), (main):
24239         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24240         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24241         (gst_fakesrc_create), (gst_fakesrc_start):
24242         * gst/elements/gstfakesrc.h:
24243           adding a first element test
24244
24245 2005-07-07  Andy Wingo  <wingo@pobox.com>
24246
24247         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
24248         debug message.
24249
24250 2005-07-07  Wim Taymans  <wim@fluendo.com>
24251
24252         * gst/gstquery.c:
24253         * gst/gstquery.h:
24254         Remove old types
24255
24256 2005-07-07  Wim Taymans  <wim@fluendo.com>
24257
24258         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24259         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
24260         Allow subclasses to implement their own negotiation.
24261
24262 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24263
24264         * docs/design/part-gstbin.txt:
24265         * docs/design/part-gstpipeline.txt:
24266           Update design notes to reflect the movement of
24267           responsibility for bus handling from GstPipeline to
24268           GstBin
24269
24270 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24271
24272         * configure.ac:
24273           Remove unnecessary queue2/3/4 examples.
24274
24275 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24276
24277         * examples/Makefile.am:
24278         * examples/helloworld/helloworld.c: (event_loop), (main):
24279         * examples/queue/queue.c: (event_loop), (main):
24280         * examples/queue2/queue2.c: (main):
24281           Update a couple of the examples to work again.
24282
24283         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24284         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
24285          Spelling corrections and extra debug.
24286         
24287         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
24288         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
24289         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
24290         * gst/gstbin.h:
24291         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24292         (gst_pipeline_change_state):
24293         * gst/gstpipeline.h:
24294           Move the bus handler for children to the GstBin, and create a
24295           separate bus for receiving messages from children to the one the
24296           bus sends 'upwards' on.
24297
24298 2005-07-06  Wim Taymans  <wim@fluendo.com>
24299
24300         * gst/base/README:
24301         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24302         (gst_base_sink_handle_object), (gst_base_sink_loop),
24303         (gst_base_sink_change_state):
24304         * gst/base/gstbasesink.h:
24305         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24306         (gst_base_src_init), (gst_base_src_setcaps),
24307         (gst_base_src_getcaps), (gst_base_src_loop),
24308         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
24309         (gst_base_src_start), (gst_base_src_change_state):
24310         * gst/base/gstbasesrc.h:
24311         Make basesrc negotiate.
24312         Handle the case where preroll fails in basesink.
24313         Update README.
24314
24315 2005-07-06  Wim Taymans  <wim@fluendo.com>
24316
24317         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
24318         Implement the fixate function.
24319         Clean up acceptcaps.
24320
24321 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24322
24323         * docs/pwg/building-filterfactory.xml:
24324         * docs/pwg/pwg.xml:
24325           Remove never-written filter-factory chapter; I'll add the various
24326           base classes to part 4 ("other element types") later on.
24327
24328 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24329
24330         * docs/pwg/advanced-negotiation.xml:
24331         * docs/pwg/building-boiler.xml:
24332         * docs/pwg/building-pads.xml:
24333         * docs/pwg/pwg.xml:
24334         * examples/pwg/Makefile.am:
24335           Add a chapter on caps negotiation, simplify the original code
24336           samples a bit w.r.t. caps negotiation, add link to the advanced
24337           section. Add a bunch of examples showing different use cases of
24338           different types of caps negotiation. Upstream renegotiation isn't
24339           fully documented yet since nobody knows how that works.
24340
24341 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24342
24343         * check/gst/gstpad.c:
24344         * check/gstcheck.c:
24345         * gst/gstpad.c: (gst_pad_get_internal_links_default):
24346           if pad has no parent, return NULL as list of internal links
24347
24348 2005-07-05  Andy Wingo  <wingo@pobox.com>
24349
24350         * gst/elements/gstfilesrc.c:
24351         * gst/elements/gstfakesrc.c: 
24352         * gst/base/gstpushsrc.c:
24353         * gst/base/gstbasesrc.h: 
24354         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
24355         
24356 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
24357
24358         * Makefile.am:
24359           better report generation target (lcov needs a patch)
24360
24361 2005-07-05  Andy Wingo  <wingo@pobox.com>
24362
24363         * gst/elements, testsuite: Null if we got it...
24364
24365 2005-07-05  Wim Taymans  <wim@fluendo.com>
24366
24367         * configure.ac:
24368         * libs/gst/dataprotocol/Makefile.am:
24369         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
24370         * libs/gst/dataprotocol/dataprotocol.h:
24371         * pkgconfig/Makefile.am:
24372         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
24373         * pkgconfig/gstreamer-dataprotocol.pc.in:
24374         Ported dataprotol to 0.9. 
24375         Added pkgconfig files.
24376
24377 2005-07-05  Andy Wingo  <wingo@pobox.com>
24378
24379         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
24380         Default to returning TRUE for the case when tranform_caps returns
24381         a fixed caps, like for identity or volume.
24382
24383         * check/gst/gstbus.c (pound_bus_with_messages): 
24384         * check/gst/gstmessage.c (START_TEST): 
24385         * check/pipelines/simple_launch_lines.c (got_handoff): Application
24386         message API change.
24387
24388         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
24389         logic weaks here: always run transform_caps, trying passthrough
24390         operation only if the original caps intersects with the transform.
24391
24392         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
24393         source and sink caps.
24394
24395         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
24396         Intersect the peer caps with the pad template before going into
24397         transform_caps.
24398         (gst_base_transform_transform_caps): More debugging.
24399
24400         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
24401         src argument.
24402
24403 2005-07-04  Edward Hervey  <edward@fluendo.com>
24404
24405         * gst/gstutils.c:
24406         * gst/gstutils.h:
24407         (gst_pad_add_*_probe): now returns the signal id for better wrapping
24408         in bindings.
24409
24410 2005-07-04  Andy Wingo  <wingo@pobox.com>
24411
24412         * check/gst/gstpad.c: Only set explicit caps on pads.
24413
24414 2005-07-01  Andy Wingo  <wingo@pobox.com>
24415
24416         * tests/network-clock.scm: Commentary update.
24417
24418         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
24419         Didn't really make sense, not implementable with basetransform,
24420         etc.
24421         (gst_identity_transform): Unref inbuf via make_writable. Feeble
24422         attempt at implementing the sync property, needs an unlock method.
24423
24424         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
24425         New func, by default returns the same caps (the identity
24426         transformation).
24427         (gst_base_transform_getcaps): Uses transform_caps to return
24428         something sensible.
24429         (gst_base_transform_setcaps): Complicated logic to get caps on
24430         both pads, even if they are different, and to call set_caps once
24431         for every time both pads get their caps set.
24432         (gst_base_transform_handle_buffer): Give the ref to the transform
24433         function. Allows in-place modification of the buffer.
24434
24435         * gst/base/gstbasetransform.h (transform_caps): New class method.
24436         Given caps on one side, what can I do on the other.
24437         (set_caps): Take two caps, one for each side of the element.
24438
24439         * gst/gstpad.h:
24440         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
24441         caps in place. This is safe because we can check the mutability of
24442         the caps, and a good idea because fixate functions are just called
24443         as a matter of last resort. (Not actually implemented.)
24444         (gst_pad_set_caps): If the caps we're setting is actually the same
24445         as the existing pad caps, just update the pointer without calling
24446         setcaps. Assert that caps is either NULL or fixed, as per the
24447         docs.
24448
24449         * gst/gstghostpad.c: Update for fixate changes.
24450
24451 2005-07-02  Andy Wingo  <wingo@pobox.com>
24452
24453         * gst/gstcaps.c:
24454         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
24455         two refcounts makes it immutable, which is enough. Doc more.
24456
24457 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
24458
24459         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
24460           Put the mini_object into GValue as a mini_object,
24461           not a gpointer, since that's how we declared
24462           the signal.
24463
24464 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24465
24466         * examples/pwg/Makefile.am:
24467           Fix buildbot again.
24468
24469 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24470
24471         * docs/pwg/building-testapp.xml:
24472           Add extra check.
24473         * examples/pwg/Makefile.am:
24474           Fix buildbot.
24475
24476 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24477
24478         * configure.ac:
24479         * examples/Makefile.am:
24480         * examples/pwg/Makefile.am:
24481         * examples/pwg/extract.pl:
24482           Enable building the PWG examples.
24483         * docs/pwg/advanced-interfaces.xml:
24484           Add URI interface stub.
24485         * docs/pwg/advanced-types.xml:
24486         * docs/pwg/other-autoplugger.xml:
24487         * docs/pwg/appendix-porting.xml:
24488         * docs/pwg/pwg.xml:
24489           Add porting guide (mostly stubs), remove autoplugging (see ADM).
24490         * docs/pwg/building-boiler.xml:
24491         * docs/pwg/building-chainfn.xml:
24492         * docs/pwg/building-pads.xml:
24493         * docs/pwg/building-props.xml:
24494         * docs/pwg/building-state.xml:
24495         * docs/pwg/building-testapp.xml:
24496           Update the building-*.xml parts for 0.9 changes. All examples
24497           code blocks compile in examples/pwg/*.
24498
24499 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24500
24501         * docs/manual/advanced-autoplugging.xml:
24502         * docs/manual/appendix-checklist.xml:
24503         * docs/manual/appendix-integration.xml:
24504         * docs/manual/highlevel-components.xml:
24505           Fix playbin/decodebin examples, update docs a bit, mention bus
24506           instead of signals in various places, mention kmplayer and
24507           kaffeine since they have a working GStreamer backend in the KDE
24508           section.
24509
24510 2005-06-30  Wim Taymans  <wim@fluendo.com>
24511
24512         * CHANGES-0.9:
24513         * docs/design/draft-ghostpads.txt:
24514         * docs/design/draft-push-pull.txt:
24515         * docs/design/draft-query.txt:
24516         * docs/design/part-TODO.txt:
24517         * docs/design/part-query.txt:
24518         Added CHANGES-0.9 doc, updated status of other docs.
24519         
24520         * gst/gstquery.h:
24521         Remove "hmm" macro
24522
24523 2005-06-30  Wim Taymans  <wim@fluendo.com>
24524
24525         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24526         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24527         (gst_base_sink_change_state):
24528         * gst/base/gstbasesink.h:
24529         Some tweaks, only EOS and a buffer complete a preroll.
24530
24531 2005-06-30  Andy Wingo  <wingo@pobox.com>
24532
24533         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
24534         activate_push down to the internal pad as well.
24535
24536 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
24537
24538         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24539
24540         * gst/gsttaginterface.c:
24541           Some documentation fixes (#307394 and #307397).
24542
24543 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
24544
24545         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24546
24547         * gst/gstvalue.c: (gst_value_intersect_list):
24548           Fix memleak (#309125).
24549
24550 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24551
24552         * docs/manual/advanced-dataaccess.xml:
24553           Fix fakesrc example to compile; doesn't work, bug somewhere...?
24554         * docs/manual/basics-pads.xml:
24555           Add reference for filtered caps to above chapter.
24556
24557 2005-06-30  Wim Taymans  <wim@fluendo.com>
24558
24559         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
24560         (gst_bin_change_state):
24561         Probes are gone.
24562         Lame attempt at making the state change function a bit
24563         more readable.
24564
24565 2005-06-30  Wim Taymans  <wim@fluendo.com>
24566
24567         * docs/design/part-clocks.txt:
24568         * docs/design/part-element-sink.txt:
24569         * docs/design/part-events.txt:
24570         * docs/design/part-preroll.txt:
24571         * docs/design/part-states.txt:
24572         Some more tweeks and additions to the docs.
24573
24574 2005-06-30  Wim Taymans  <wim@fluendo.com>
24575
24576         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24577         (default_have_data), (gst_pad_class_init), (gst_pad_init),
24578         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24579         (gst_pad_check_pull_range), (gst_pad_get_range),
24580         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
24581         * gst/gstpad.h:
24582         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
24583         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24584         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24585         (gst_pad_remove_buffer_probe):
24586         Removed atomic operations, use existing LOCK.
24587         Move exception handling out of main code path.
24588
24589 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24590
24591         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24592         (silly_return_true_function), (gst_pad_class_init),
24593         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24594         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
24595         (gst_pad_send_event):
24596           Fix accumulator, add default value by using _emitv() instead
24597           of _emit() for signal emission.
24598
24599 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24600
24601         * docs/manual/advanced-dataaccess.xml:
24602         * examples/manual/Makefile.am:
24603           Add probe example.
24604         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
24605           Make work (??).
24606
24607 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
24608
24609         * gst/elements/gstfilesink.c: (gst_filesink_render):
24610           Simplify code so that we don't have to handle short
24611           writes and return GST_FLOW_ERROR if an error occured.
24612
24613 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24614
24615         * docs/gst/gstreamer-docs.sgml:
24616           Remove probes more.
24617
24618 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24619
24620         * docs/gst/gstreamer-sections.txt:
24621         * docs/gst/tmpl/gstpad.sgml:
24622         * docs/gst/tmpl/gstprobe.sgml:
24623         * gst/Makefile.am:
24624         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24625         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
24626         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24627         (gst_pad_push_event), (gst_pad_send_event):
24628         * gst/gstpad.h:
24629         * gst/gstutils.c: (gst_pad_add_data_probe),
24630         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24631         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24632         (gst_pad_remove_buffer_probe):
24633         * gst/gstutils.h:
24634           Remove old probes, add new g-signal-based probes and some utility
24635           functions.
24636
24637 2005-06-29  Edward Hervey  <edward@fluendo.com>
24638
24639         * gst/gstelementfactory.c:
24640         * gst/gstutils.h:
24641         * gst/gstutils.c:
24642         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
24643         the definition to the header file.
24644
24645 2005-06-29  Andy Wingo  <wingo@pobox.com>
24646
24647         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
24648         plugins from the source directory.
24649
24650 2005-06-29  Wim Taymans  <wim@fluendo.com>
24651
24652         * docs/gst/tmpl/gstbuffer.sgml:
24653         * docs/gst/tmpl/gstclock.sgml:
24654         Some fixings for blantently wrong text.
24655
24656 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24657
24658         * check/Makefile.am:
24659         * gst/gst.c: (add_path_func), (init_pre):
24660         * gst/gstregistry.c: (gst_registry_add_path):
24661           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
24662           only scan the GST_PLUGIN_PATH locations, and not add
24663           system locations
24664
24665 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24666
24667         * docs/gst/gstreamer-sections.txt:
24668         * docs/gst/tmpl/gstbasesrc.sgml:
24669         * gst/gstelement.c:
24670         * gst/gstelement.h:
24671         * gst/gstevent.c:
24672         * gst/gstutils.c:
24673           doc fixes
24674
24675 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24676
24677         * docs/manual/advanced-autoplugging.xml:
24678           Fix autoplugging example.
24679
24680 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24681
24682         * docs/manual/advanced-autoplugging.xml:
24683         * docs/manual/mime-world.fig:
24684           Try to get autoplugging working, fix type detection. Fix text
24685           in hello-world image.
24686
24687 2005-06-29  Wim Taymans  <wim@fluendo.com>
24688
24689         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24690         (gst_base_sink_change_state):
24691         Small debug line.
24692
24693         * gst/gstclock.h:
24694         map SIGNAL and BROADCAST to the right function.
24695
24696         * gst/gstobject.h:
24697         Remove redundant braces.
24698
24699         * gst/gstpad.c: (gst_pad_set_caps):
24700         Don't call setcaps function when reseting caps to NULL.
24701
24702         * gst/gstsystemclock.c: (gst_system_clock_dispose),
24703         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
24704         (gst_system_clock_id_unschedule):
24705         Use BROADCAST as this is what we do.
24706
24707 2005-06-29  Wim Taymans  <wim@fluendo.com>
24708
24709         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24710         We are actually prerolling before commiting the state
24711         change. 
24712
24713 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24714
24715         * docs/manual/advanced-clocks.xml:
24716         * docs/manual/advanced-interfaces.xml:
24717         * docs/manual/advanced-metadata.xml:
24718         * docs/manual/advanced-position.xml:
24719         * docs/manual/advanced-schedulers.xml:
24720         * docs/manual/advanced-threads.xml:
24721         * docs/manual/appendix-porting.xml:
24722         * docs/manual/basics-bins.xml:
24723         * docs/manual/basics-bus.xml:
24724         * docs/manual/basics-elements.xml:
24725         * docs/manual/basics-helloworld.xml:
24726         * docs/manual/basics-pads.xml:
24727         * docs/manual/highlevel-components.xml:
24728         * docs/manual/manual.xml:
24729         * docs/manual/thread.fig:
24730           Update (until threads/scheduling) Application Development Manual;
24731           remove GstThread, add GstBus, add simple porting checklist, add
24732           documentation for tag writing, clocks, make all examples until this
24733           part compile and run.
24734         * examples/manual/Makefile.am:
24735           Update from changes to Application Development Manual; add bus
24736           example, remove thread example.
24737
24738 2005-06-28  Wim Taymans  <wim@fluendo.com>
24739
24740         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
24741         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
24742         (gst_bus_source_dispatch):
24743         Add debugging messages.
24744         Make internal methods static.
24745         Handle the case where the bus is flushed in the handler.
24746         
24747         * gst/gstelement.c: (gst_element_get_bus):
24748         Fix refcount in _get_bus();
24749
24750         * gst/gstpipeline.c: (gst_pipeline_change_state),
24751         (gst_pipeline_get_clock_func):
24752         Clock refcounting fixes.
24753         Handle the case where preroll timed out more gracefully.
24754         
24755         * gst/gstsystemclock.c: (gst_system_clock_dispose):
24756         Clean up the internal thread in dispose. This is needed
24757         for subclasses that actually get disposed.
24758         
24759         * gst/schedulers/threadscheduler.c:
24760         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24761         (gst_thread_scheduler_dispose):
24762         Free thread pool in dispose.
24763
24764 2005-06-28  Andy Wingo  <wingo@pobox.com>
24765
24766         * tests/network-clock-utils.scm (debug, print-event): New utils.
24767
24768         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
24769         (*packet-loss*): Unified loss probability.
24770         (network-time): Report out-of-band events.
24771
24772         * tests/plot-data: Add support for out-of-band events. Hack it
24773         into this script instead of passing it down the pipe; should fix
24774         this later.
24775
24776 2005-06-28  Wim Taymans  <wim@fluendo.com>
24777
24778         * docs/gst/gstreamer.types:
24779         * docs/gst/tmpl/gstbasesrc.sgml:
24780         * docs/gst/tmpl/gstpad.sgml:
24781         Docs fixes.
24782
24783 2005-06-28  Wim Taymans  <wim@fluendo.com>
24784
24785         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24786         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
24787         (gst_proxy_pad_do_fixatecaps):
24788         Correctly proxy the check_pull_range function.
24789
24790 2005-06-28  Andy Wingo  <wingo@pobox.com>
24791
24792         * tests/network-clock.scm: Removed need for slib.
24793         
24794 2005-06-28  Wim Taymans  <wim@fluendo.com>
24795
24796         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
24797         (gst_basesink_preroll_queue_flush):
24798         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
24799         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
24800         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24801         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24802         (gst_proxy_pad_set_property):
24803         * gst/gstpad.c:
24804         * gst/gstpad.h:
24805         * gst/gstqueue.c: (gst_queue_init):
24806         The deprecated pad loop function is removed now.
24807
24808 2005-06-28  Andy Wingo  <wingo@pobox.com>
24809
24810         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
24811         New parameters, simulate network packet loss.
24812
24813         * tests/network-clock-utils.scm: Initialize the RNG.
24814
24815 2005-06-28  Wim Taymans  <wim@fluendo.com>
24816
24817         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
24818         (gst_basesink_event), (gst_basesink_deactivate):
24819         Flushing the preroll queue always needs to unlock the waiters.
24820
24821 2005-06-28  Edward Hervey  <edward@fluendo.com>
24822
24823         * gst/gstpipeline.c: (gst_pipeline_send_event): 
24824         Wheen a seek was successful on a pipeline, set the stream_time to the
24825         seek offset in order to have a synchronized stream_time.
24826
24827 2005-06-28  Wim Taymans  <wim@fluendo.com>
24828
24829         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24830         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
24831         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
24832         (gst_proxy_pad_do_fixatecaps):
24833         Call wrapper function instead of just calling the function
24834         pointers. This takes care of any locking and whatmore.
24835
24836 2005-06-28  Wim Taymans  <wim@fluendo.com>
24837
24838         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
24839         (gst_pad_pull_range):
24840         * gst/gstpad.h:
24841         CONNECTED -> LINKED.
24842
24843 2005-06-28  Andy Wingo  <wingo@pobox.com>
24844
24845         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
24846         source-munging commit!!!
24847
24848         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
24849         (gst_object_sink): Take gpointer arguments, not GstObject --
24850         avoids casts. Like GLib.
24851
24852         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
24853         activate.
24854
24855 2005-06-27  Andy Wingo  <wingo@pobox.com>
24856
24857         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
24858         remaining buffer.
24859
24860         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
24861         returns a sorted copy of the trace list.
24862         (gst_alloc_trace_print_live): New API, only prints traces with
24863         live objects. Sort the list.
24864         (gst_alloc_trace_print_all): Sort the list.
24865         (gst_alloc_trace_print): Align columns.
24866
24867         * gst/elements/gstttypefindelement.c:
24868         * gst/elements/gsttee.c:
24869         * gst/base/gstbasesrc.c:
24870         * gst/base/gstbasesink.c:
24871         * gst/base/gstbasetransform.c:
24872         * gst/gstqueue.c: Adapt for pad activation changes.
24873
24874         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
24875         sched.
24876         (gst_pipeline_dispose): Drop ref on sched.
24877
24878         * gst/gstpad.c (gst_pad_init): Set the default activate func.
24879         (gst_pad_activate_default): Push mode by default.
24880         (pre_activate_switch, post_activate_switch): New stubs, things to
24881         do before and after switching activation modes on pads.
24882         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
24883         the pad's activate function to choose which mode to activate.
24884         Shortcut on deactivation and call the right function directly.
24885         (gst_pad_activate_pull): New API, (de)activates a pad in pull
24886         mode.
24887         (gst_pad_activate_push): New API, same for push mode.
24888         (gst_pad_set_activate_function) 
24889         (gst_pad_set_activatepull_function) 
24890         (gst_pad_set_activatepush_function): Setters for new API.
24891
24892         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
24893         Trace all miniobjects.
24894         (gst_mini_object_make_writable): Unref the arg if we copy, like
24895         gst_caps_make_writable.
24896
24897         * gst/gstmessage.c (_gst_message_initialize): No trace init.
24898
24899         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
24900         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
24901         Adapt for new pad API.
24902
24903         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
24904
24905         * gst/gstelement.h:
24906         * gst/gstelement.c (gst_element_iterate_src_pads) 
24907         (gst_element_iterate_sink_pads): New API functions.
24908         
24909         * gst/gstelement.c (iterator_fold_with_resync): New utility,
24910         should fold into gstiterator.c in some form.
24911         (gst_element_pads_activate): Simplified via use of fold and
24912         delegation of decisions to gstpad->activate.
24913
24914         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
24915         help in debugging.
24916
24917         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
24918         class once in init, like gstmessage. Didn't run into this issue
24919         but it seems correct. Don't initialize a trace, gstminiobject does
24920         that.
24921
24922         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
24923         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
24924         to the bus.
24925         (assert_live_count): New util function, uses alloc traces to check
24926         cleanup.
24927
24928         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
24929         To be modified when unlink drops the internal pad.
24930
24931 2005-06-27  Wim Taymans  <wim@fluendo.com>
24932
24933         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
24934         (gst_bin_change_state):
24935         Cleanup the get_state() function a little, make sure it
24936         iterates the same set of elements.
24937         Added stub iterate_state_order().
24938
24939 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24940
24941         * docs/gst/gstreamer-docs.sgml:
24942         * docs/gst/gstreamer-sections.txt:
24943         * docs/gst/gstreamer.types:
24944         * docs/gst/tmpl/gstbasesink.sgml:
24945         * docs/gst/tmpl/gstbasesrc.sgml:
24946         * docs/gst/tmpl/gstbasetransform.sgml:
24947         * docs/gst/tmpl/gstelement.sgml:
24948         * docs/gst/tmpl/gstiterator.sgml:
24949         * gst/base/gstbasesrc.c:
24950         * gst/base/gstbasesrc.h:
24951         * gst/base/gstbasetransform.h:
24952         * gst/gstelement.c:
24953         * gst/gstiterator.h:
24954           adding basetransform and iterator docs
24955
24956 2005-06-27  Andy Wingo  <wingo@pobox.com>
24957
24958         * docs/design/part-activation.txt: Notes on how activation should
24959         work -- not quite implemented yet.
24960
24961 2005-06-25  Wim Taymans  <wim@fluendo.com>
24962
24963         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
24964         At least get the chain function correct, needs more
24965         fixing.
24966
24967 2005-06-25  Wim Taymans  <wim@fluendo.com>
24968
24969         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24970         (gst_basesink_handle_object), (gst_basesink_event),
24971         (gst_basesink_do_sync), (gst_basesink_handle_event),
24972         (gst_basesink_change_state):
24973         * gst/gsttask.h:
24974         Right, two problems here: ghostpads don't take locks and
24975         glib _rec_mutex_lock_full() with depth==0 still locks.
24976         Catch illegal locking and g_warn them.
24977
24978 2005-06-25  Wim Taymans  <wim@fluendo.com>
24979
24980         * check/states/sinks.c: (START_TEST), (gst_object_suite):
24981         Have to check for completion now...
24982
24983 2005-06-25  Wim Taymans  <wim@fluendo.com>
24984
24985         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24986         (gst_basesink_handle_object), (gst_basesink_event),
24987         (gst_basesink_do_sync), (gst_basesink_handle_event),
24988         (gst_basesink_change_state):
24989         * gst/gstpad.h:
24990         Unlock STREAM_LOCK whatever the recursion was.
24991
24992 2005-06-25  Wim Taymans  <wim@fluendo.com>
24993
24994         * gst/base/gstbasesink.c: (gst_basesink_set_property),
24995         (gst_basesink_preroll_queue_empty),
24996         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
24997         (gst_basesink_event), (gst_basesink_do_sync),
24998         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
24999         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
25000         (gst_basesink_change_state):
25001         Reworked the base sink, handle event and buffer serialisation
25002         correctly and removed possible deadlock.
25003         Handle EOS correctly.
25004
25005 2005-06-25  Wim Taymans  <wim@fluendo.com>
25006
25007         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
25008         (gst_pipeline_change_state):
25009         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25010         Allow elements to post EOS in the state change function.
25011         Fix up -launch, make it exit the poll loop when the
25012         pipeline actually changed state.
25013         Fix up warning parsing in -launch.
25014
25015 2005-06-25  Wim Taymans  <wim@fluendo.com>
25016
25017         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
25018         (gst_tee_sink_activate):
25019         Core takes STREAM_LOCK for us now.
25020
25021 2005-06-25  Wim Taymans  <wim@fluendo.com>
25022
25023         * gst/gstelement.c: (gst_element_get_state_func),
25024         (gst_element_set_state):
25025         * gst/gstelement.h:
25026         * gst/gstmessage.c: (gst_message_parse_error),
25027         (gst_message_parse_warning):
25028         Keep track of current target state while performing a state
25029         change so that subclasses can do something interesting.
25030         Fix parsing of warning/error messages when GError is NULL.
25031
25032 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
25033
25034         * docs/gst/Makefile.am:
25035         * docs/gst/gstreamer-docs.sgml:
25036         * docs/gst/gstreamer-sections.txt:
25037         * docs/gst/gstreamer.types:
25038         * docs/gst/tmpl/gstbasesink.sgml:
25039         * docs/gst/tmpl/gstbasesrc.sgml:
25040         * docs/gst/tmpl/gstbin.sgml:
25041         * docs/gst/tmpl/gstcompat.sgml:
25042         * docs/gst/tmpl/gstfakesink.sgml:
25043         * docs/gst/tmpl/gstfakesrc.sgml:
25044         * docs/gst/tmpl/gstfilesink.sgml:
25045         * docs/gst/tmpl/gstfilesrc.sgml:
25046         * docs/gst/tmpl/gstindex.sgml:
25047         * docs/manual/appendix-quotes.xml:
25048         * gst/base/gstbasesrc.h:
25049         * gst/elements/gstfakesrc.h:
25050         * gst/gstmessage.h:
25051           start pulling in base classes and elements in our docs
25052
25053 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
25054
25055         * docs/gst/Makefile.am:
25056         * docs/libs/Makefile.am:
25057           fixed make distcheck with gtk-doc 1.3
25058
25059 2005-06-23  Wim Taymans  <wim@fluendo.com>
25060
25061         * gst/gstelement.c: (gst_element_get_state_func),
25062         (gst_element_set_state), (gst_element_change_state):
25063         When the state did not change, also report NO_PREROLL
25064         when it matters.
25065
25066 2005-06-23  Wim Taymans  <wim@fluendo.com>
25067
25068         * gst/gstpad.c: (gst_pad_event_default):
25069         * gst/gstqueue.c: (gst_queue_loop):
25070         No unsafe task pausing please.
25071
25072 2005-06-23  Wim Taymans  <wim@fluendo.com>
25073
25074         * gst/schedulers/threadscheduler.c:
25075         (gst_thread_scheduler_task_start),
25076         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
25077         Ref the task before pushing it on the threadpool. This
25078         makes sure that we have a ref when the threadfunction is
25079         actually called.
25080
25081 2005-06-23  Andy Wingo  <wingo@pobox.com>
25082
25083         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
25084         offset is greater than the file's size.
25085
25086         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
25087         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
25088         * gst/gstobject.c (gst_object_class_init): Make the class lock
25089         recursive. Wim won't let me drop deep_notify. Decodebin works
25090         again, whoopdy doo.
25091
25092         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
25093         internal pad, and hacks accordingly. Doesn't do it on the target
25094         pad because we change its caps. Probably catches all cases of
25095         interest tho.
25096         (gst_ghost_pad_set_property): Connect to notify::caps as
25097         appropritate.
25098
25099         * tests/network-clock.scm (plot-simulation): Pipe data to the
25100         elite python skript.
25101
25102         * tests/network-clock-utils.scm (define-parameter): New macro,
25103         defines a parameter that can be set via the command line.
25104         (set-parameter!, parse-parameter-arguments): Command line args
25105         parser.
25106
25107         * tests/plot-data: Simple matplotlib-based plotter, takes input on
25108         stdin.
25109
25110 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
25111
25112         * gst/elements/gsttypefindelement.c:
25113         (gst_type_find_element_handle_event):
25114           Don't restart typefinding on a discont.
25115         * gst/gstelement.c: (gst_element_set_state):
25116           Debug spelling fix.
25117         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
25118           Allow changing mode of an active pad.
25119           Debug output fixes.
25120         * gst/registries/gstlibxmlregistry.c: (load_feature):
25121           Don't cast a static pad template to a normal pad template.
25122
25123 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
25124
25125         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25126         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25127           remove gst_strtoll completely, since it didn't actually do
25128           anything more than what g_ascii_strtoull already does.
25129           check for range errors when deserializing
25130           do a cast for the unsigned cases; but further fixing needs
25131           a decision on what the interpretation of "(int)" and
25132           deserialization should be for values that fall outside the
25133           type's boundaries (ie, refuse, or interpret as casting)
25134
25135 2005-06-23  Wim Taymans  <wim@fluendo.com>
25136
25137         * check/Makefile.am:
25138         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
25139         * docs/design/part-live-source.txt:
25140         * docs/design/part-states.txt:
25141         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25142         (gst_basesrc_set_live), (gst_basesrc_is_live),
25143         (gst_basesrc_get_range), (gst_basesrc_activate),
25144         (gst_basesrc_change_state):
25145         * gst/base/gstbasesrc.h:
25146         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25147         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25148         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
25149         * gst/gstelement.c: (gst_element_get_state_func),
25150         (gst_element_set_state):
25151         * gst/gstelement.h:
25152         * gst/gsttypes.h:
25153         * tools/gst-launch.c: (event_loop), (main):
25154         Added support for live sources and other elements that
25155         cannot do preroll.
25156         Updated design docs, added live-source design doc.
25157         Implemented live source functionality in basesrc
25158         Fix error condition in _bin_get_state()
25159         Implement live source handling in -launch.
25160         Added check for live sources.
25161         Fixed case in GstBin where elements were changed state
25162         multiple times.
25163
25164
25165 2005-06-23  Andy Wingo  <wingo@pobox.com>
25166
25167         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
25168         borken refcounting.
25169
25170         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
25171         gst_caps_replace takes care of this for us.
25172
25173         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
25174         gst_pad_set_caps on the target, not just its setcaps() function.
25175
25176         * tests/network-clock.scm: 
25177         * tests/network-clock-utils.scm: A network clock simulator.
25178         Something of an algorithmic testbed before doing something in C.
25179
25180 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25181
25182         * check/Makefile.am:
25183         * check/gst/capslist.h:
25184           copy over from 0.8, and add two with bitmasks specified with
25185           (int) 0xFF...
25186         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25187           add test to parse everything from capslist.h
25188         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
25189         (main):
25190           add test for structure deserialization
25191         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25192           add tests for deserialization of strings to int types
25193         * gst/gststructure.c: (gst_structure_nth_field_name):
25194         * gst/gststructure.h:
25195           add a way to get the name of a field referenced by index
25196         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25197           instead of checking if the resulting long long lies between
25198           min and max, we check if the long long would fit into
25199           a number of bytes for the final type.
25200           This fixes cases where a string represents 2^32 - 1, which
25201           when cast to int would be the (valid) -1, but is bigger than
25202           G_MAXINT
25203
25204 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25205
25206         * gst/parse/grammar.y:
25207           add a log line for type deserialization
25208
25209 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25210
25211         * check/gst/gstvalue.c: (START_TEST):
25212         * gst/gstvalue.c: (gst_value_deserialize):
25213           return long long, not int, so gint64 deserialization actually
25214           works.  Is there any flag that makes the compiler check this ?
25215           Fixes #308559
25216
25217 2005-06-22  Wim Taymans  <wim@fluendo.com>
25218
25219         * gst/gstbuffer.h:
25220         Added convenience macros for setting buffers in GValue.
25221
25222 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25223
25224         * check/gst/.cvsignore:
25225         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25226           add a test deserializing int64, and comment part out because
25227           it fails, yay !
25228
25229 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25230
25231         * check/Makefile.am:
25232         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
25233         * testsuite/Makefile.am:
25234         * testsuite/caps/Makefile.am:
25235         * testsuite/caps/value_serialize.c:
25236         * testsuite/test_gst_init.c:
25237           move a value_serialize test over
25238
25239 2005-06-20  Wim Taymans  <wim@fluendo.com>
25240
25241         * gst/gstpad.c:
25242         Small doc updates.
25243         
25244         * gst/gstvalue.c: (gst_value_compare_buffer),
25245         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
25246         (gst_value_compare_flags), (gst_value_serialize_flags),
25247         (gst_value_deserialize_flags), (_gst_value_initialize):
25248         Fix serialisation of buffers, they are not boxed types anymore
25249
25250 2005-06-20  Wim Taymans  <wim@fluendo.com>
25251
25252         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25253         Testcase to show error in buffer-on-caps serialisation.
25254
25255 2005-06-20  Andy Wingo  <wingo@pobox.com>
25256
25257         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
25258         will be adding to later.
25259
25260         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
25261         if its socks fill with rocks.
25262         (gst_system_clock_obtain): Set the name on object construction.
25263         Avoid double-checked locking.
25264
25265 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
25266
25267         * gst/gsturi.c: (gst_element_make_from_uri):
25268           Fix potential endless loop.
25269
25270 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25271
25272         * check/Makefile.am:
25273           add gsttag
25274         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
25275         (main):
25276           move over from testsuite dir and clean up
25277         * configure.ac:
25278         * gst/gsttag.c:
25279         * testsuite/Makefile.am:
25280         * testsuite/tags/.cvsignore:
25281         * testsuite/tags/Makefile.am:
25282         * testsuite/tags/merge.c:
25283           remove testsuite/tags
25284
25285 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25286
25287         * docs/gst/gstreamer-sections.txt:
25288         * docs/gst/tmpl/gstenumtypes.sgml:
25289         * win32/gstenumtypes.c:
25290           clean up documentation build a little
25291
25292 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25293
25294         * check/gstcheck.h:
25295           add macros for checking refcounts on objects and caps
25296         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
25297           add some more unit tests
25298         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25299         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
25300           fix leaked refcounts (I hope :)) so unittest works
25301         * gst/gstpad.h:
25302           whitespace removal
25303
25304 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25305
25306         * configure.ac: back to HEAD
25307
25308 === release 0.9.1 ===
25309
25310 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
25311
25312         * NEWS:
25313         * RELEASE:
25314           updated
25315
25316 2005-06-17  Andy Wingo  <wingo@pobox.com>
25317
25318         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
25319         assert; it's always possible that the pad gets deactivated in
25320         between the checks in gstpad.c and the implementation. Rely on
25321         finish_preroll() to return a FLUSHING or similar instead of on the
25322         assert.
25323         
25324         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
25325         clock and post an EOS message if we come out of finish_preroll in
25326         the playing state.
25327
25328 2005-06-16  David Schleef  <ds@schleef.org>
25329
25330         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25331         (gst_capsfilter_set_property): Allow NULL as possible value
25332         for filter_caps property, indicating GST_CAPS_ANY.
25333
25334 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25335
25336         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
25337           fix debug output
25338         * gst/schedulers/Makefile.am:
25339           use libgst prefix
25340         * gstreamer.spec.in:
25341           fix spec for it
25342
25343 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25344
25345         * gstreamer.spec.in:
25346           clean up
25347
25348 2005-06-08  Andy Wingo  <wingo@pobox.com>
25349
25350         * gst/gstutils.c: RPAD fixes all around.
25351         (gst_element_link_pads): Refcounting fixes.
25352
25353         * tools/gst-inspect.c:
25354         * tools/gst-xmlinspect.c:
25355         * parse/grammar.y:
25356         * gst/base/gsttypefindhelper.c:
25357         * gst/base/gstbasesink.c:
25358         * gst/gstqueue.c: RPAD fixes.
25359
25360         * gst/gstghostpad.h:
25361         * gst/gstghostpad.c: New ghost pad implementation as full proxy
25362         pads. The tricky thing is they provide both source and sink
25363         interfaces, since they proxy the internal pad for the external
25364         pad, and vice versa. Implement with lower-level ProxyPad objects,
25365         with the interior proxy pad as a child of the exterior ghost pad.
25366         Should write a doc on this.
25367         
25368         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
25369         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
25370         gst_object API.
25371         
25372         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
25373         pads are real pads. No ghost pads in this file. Not documenting
25374         the myriad s/RPAD/PAD/ and REALIZE fixes.
25375         (gst_pad_class_init): Add properties for "direction" and
25376         "template". Both are construct-only, so they can't change during
25377         the life of the pad. Fixes properly deriving from GstPad.
25378         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
25379         derived objects, just set properties when creating the objects via
25380         g_object_new.
25381         (gst_pad_get_parent): Implement as a function, return NULL if the
25382         parent is not an element.
25383         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
25384         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
25385         
25386         * gst/gstobject.c (gst_object_class_init): Make name a construct
25387         property. Don't set it in the object init.
25388
25389         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
25390         with UNKNOWN direction.
25391         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
25392         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
25393         (gst_element_remove_pad): Remove ghost-pad special cases.
25394         (gst_element_pads_activate): Remove rpad cruft.
25395
25396         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
25397         catch the pad's-parent-not-an-element case.
25398
25399         * gst/gst.h: Include gstghostpad.h.
25400
25401         * gst/gst.c (init_post): No more real, ghost pads.
25402
25403         * gst/Makefile.am: Add gstghostpad.[ch].
25404
25405         * check/Makefile.am:
25406         * check/gst/gstbin.c:
25407         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
25408         into a bin creates ghost pads, and that the refcounts are right.
25409         Partly moved from gstbin.c.
25410
25411 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25412
25413         * check/gst-libs/.cvsignore:
25414         * check/gst/.cvsignore:
25415         * check/pipelines/.cvsignore:
25416           ignore more
25417         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
25418         (START_TEST), (cleanup_suite), (main):
25419           add some tests related to cleanup after running pipelines
25420
25421 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25422
25423         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
25424           add a testsuite for GstBuffer
25425
25426 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25427
25428         * gst/gstminiobject.h:
25429           add defines for accessing the refcount
25430
25431 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
25432
25433         * Makefile.am: added support for html unit test coverage reports
25434
25435 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
25436
25437         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25438           Free existing caps if the capsfilter changes. Add a FIXME about
25439           setting those caps on the pads.
25440
25441         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
25442           Before adding a ghost pad to a parent bin, check that there isn't
25443           already one for the element on the bin. Prevents infinite recursion
25444           when using decodebin in parse pipelines. Andy says he'll rewrite the
25445           way this works anyway, so ignore the hack.
25446
25447 2005-06-02  Andy Wingo  <wingo@pobox.com>
25448
25449         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
25450         file size, pass it on to the type find helper.
25451
25452         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
25453         segment_start and segment_end properly according to the seek
25454         method. Segment_end is still a bit flaky because offset can be
25455         negative for CUR and END cases, but it takes -1 as an "unset"
25456         value.
25457
25458 2005-06-02  Wim Taymans  <wim@fluendo.com>
25459
25460         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
25461         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
25462         (gst_basesink_activate):
25463         * gst/base/gstbasesink.h:
25464         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25465         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25466         (gst_pad_query), (gst_pad_start_task):
25467         * gst/gstpad.h:
25468         * gst/gstqueue.c: (gst_queue_bufferalloc),
25469         (gst_queue_handle_sink_event), (gst_queue_chain):
25470         Bufferalloc: return GstFlowReturn to more accuratly report
25471         why allocation failed.
25472
25473 2005-06-02  Wim Taymans  <wim@fluendo.com>
25474
25475         * gst/gstpipeline.c: (gst_pipeline_send_event):
25476         Take snapshot of state without blocking.
25477
25478 2005-06-02  Wim Taymans  <wim@fluendo.com>
25479
25480         * docs/design/part-TODO.txt:
25481         * docs/design/part-caps.txt:
25482         * docs/design/part-clocks.txt:
25483         * docs/design/part-negotiation.txt:
25484         * docs/design/part-preroll.txt:
25485         Small doc updates 
25486
25487 2005-05-30  Wim Taymans  <wim@fluendo.com>
25488
25489         * gst/elements/gstidentity.c: (gst_identity_event),
25490         (gst_identity_transform), (gst_identity_get_property):
25491         Protect last_message property as it is accessed from
25492         multiple threads.
25493
25494 2005-05-30  Wim Taymans  <wim@fluendo.com>
25495
25496         * gst/gstelement.c: (gst_element_init),
25497         (gst_element_pads_activate), (gst_element_change_state):
25498         Slicker pad activation code.
25499
25500 2005-05-30  Wim Taymans  <wim@fluendo.com>
25501
25502         * gst/Makefile.am:
25503         * gst/gstelement.h:
25504         * gst/gstelementfactory.h:
25505         * gst/gsttypes.h:
25506         Move elementfactory methods to separate .h file.
25507
25508 2005-05-30  Wim Taymans  <wim@fluendo.com>
25509
25510         * docs/design/part-overview.txt:
25511         * gst/gstsystemclock.h:
25512         Small typo fixes, doc updates.
25513
25514 2005-05-30  Wim Taymans  <wim@fluendo.com>
25515
25516         * gst/gst.c: (gst_init_get_popt_table), (init_post),
25517         (init_popt_callback):
25518         Remove cpu-opt flag.
25519
25520 2005-05-30  Wim Taymans  <wim@fluendo.com>
25521
25522         * gst/gstbuffer.c: (gst_subbuffer_finalize),
25523         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
25524         * gst/gstbuffer.h:
25525         Avoid typechecking in places where not needed.
25526         Added accessor for malloc_data.
25527
25528 2005-05-30  Wim Taymans  <wim@fluendo.com>
25529
25530         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
25531         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
25532         (gst_pad_configure_sink), (gst_pad_configure_src),
25533         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
25534         (gst_pad_start_task):
25535         Propagate errors from _set_caps() in configure_src/sink
25536         functions instead of returning TRUE.
25537         FLUSH events can travel up and downstream
25538
25539
25540 2005-05-30  Wim Taymans  <wim@fluendo.com>
25541
25542         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25543         (gst_basesink_activate):
25544         Handle EOS in preroll.
25545
25546 2005-05-30  Wim Taymans  <wim@fluendo.com>
25547
25548         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25549         (gst_queue_loop), (gst_queue_handle_src_event):
25550         Remove old pieces of code
25551         Flushing the queue in an upstream event is a very bad idea.
25552
25553 2005-05-26  Andy Wingo  <wingo@pobox.com>
25554
25555         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
25556         gst_value_set_mini_object so as to add a ref on the object (which
25557         will be removed when the value is unset).
25558
25559         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
25560         arg type in ::handoff.
25561
25562         * gst/gstelement.c (gst_element_change_state): Also deactivate
25563         pads in READY->NULL, just in case the element didn't make it to
25564         PAUSED. Wingo tested, Wim approved.
25565
25566 2005-05-26  Wim Taymans  <wim@fluendo.com>
25567
25568         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25569         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25570         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
25571         A flushing pad cannot be used to alloc_buffer from.
25572
25573 2005-05-26  Wim Taymans  <wim@fluendo.com>
25574
25575         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
25576         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
25577         (gst_bus_source_dispatch), (gst_bus_source_finalize),
25578         (gst_bus_create_watch), (gst_bus_add_watch_full):
25579         * gst/gstbus.h:
25580         Implement a real GSource and use g_main_context_wakeup() to
25581         signal new messages instead of the socketpair.
25582
25583 2005-05-25  Wim Taymans  <wim@fluendo.com>
25584
25585         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
25586         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
25587         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25588         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25589         (gst_pad_send_event), (gst_pad_start_task):
25590         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
25591         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25592         (gst_queue_sink_activate), (gst_queue_src_activate),
25593         (gst_queue_change_state):
25594         * gst/gstqueue.h:
25595         Fix state changes for non sinks. We now change sinks, then elements
25596         with unconnected srcpads, then the rest.
25597         More efficient queue unlocking in flush and state changes.
25598         Set the pad activate mode even if it does not have an activate
25599         function.
25600
25601 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25602
25603         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
25604           Don't go in pull mode for non-seekable sources.
25605         * gst/elements/gsttypefindelement.h:
25606         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25607         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
25608         (free_entry), (stop_typefinding),
25609         (gst_type_find_element_handle_event), (find_peek),
25610         (gst_type_find_element_chain), (do_pull_typefind),
25611         (gst_type_find_element_change_state):
25612           Allow typefinding (w/o seeking) in push-mode, simplified version
25613           of what was in 0.8.
25614         * gst/gstutils.c: (gst_buffer_join):
25615         * gst/gstutils.h:
25616           gst_buffer_join() from 0.8.
25617
25618 2005-05-25  Wim Taymans  <wim@fluendo.com>
25619
25620         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25621         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25622         (gst_pad_send_event), (gst_pad_start_task):
25623         Disable attempt at mode switching until it is figured out.
25624
25625 2005-05-25  Wim Taymans  <wim@fluendo.com>
25626
25627         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
25628         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25629         (gst_basesink_finish_preroll), (gst_basesink_chain),
25630         (gst_basesink_loop), (gst_basesink_activate),
25631         (gst_basesink_change_state):
25632         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
25633         (gst_basesrc_get_range), (gst_basesrc_loop),
25634         (gst_basesrc_activate):
25635         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25636         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25637         (gst_real_pad_init), (gst_real_pad_set_property),
25638         (gst_real_pad_get_property), (gst_pad_set_active),
25639         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
25640         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
25641         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
25642         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
25643         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25644         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
25645         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
25646         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25647         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
25648         (gst_pad_stop_task):
25649         * gst/gstpad.h:
25650         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25651         (gst_queue_loop), (gst_queue_src_activate):
25652         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
25653         (gst_task_get_state):
25654         * gst/gsttask.h:
25655         * gst/schedulers/threadscheduler.c:
25656         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
25657         Implement gst_pad_pause/start/stop_task(), take STREAM lock
25658         in task function.
25659         Remove ACTIVE pad flag, use FLUSHING everywhere
25660         Added _pad_chain(), _pad_get_range() to call chain/getrange 
25661         functions.
25662         Add locks around IS_FLUSHING when reading.
25663         Take STREAM lock in chain(), get_range() functions so plugins
25664         don't need to take it anymore.
25665         
25666
25667
25668 2005-05-25  Wim Taymans  <wim@fluendo.com>
25669
25670         * tools/gst-launch.c: (event_loop):
25671         Unref message after using its contents instead of
25672         before.
25673
25674 2005-05-24  Wim Taymans  <wim@fluendo.com>
25675
25676         * docs/design/draft-ghostpads.txt:
25677         * docs/design/draft-push-pull.txt:
25678         * docs/design/draft-query.txt:
25679         * docs/design/part-overview.txt:
25680         Docs updates, added general overview doc.
25681
25682 2005-05-21  David Schleef  <ds@schleef.org>
25683
25684         * docs/gst/tmpl/old/GstBin.sgml:
25685         * docs/gst/tmpl/old/GstBuffer.sgml:
25686         * docs/gst/tmpl/old/GstCaps.sgml:
25687         * docs/gst/tmpl/old/GstClock.sgml:
25688         * docs/gst/tmpl/old/GstCompat.sgml:
25689         * docs/gst/tmpl/old/GstData.sgml:
25690         * docs/gst/tmpl/old/GstElement.sgml:
25691         * docs/gst/tmpl/old/GstEvent.sgml:
25692         * docs/gst/tmpl/old/GstIndex.sgml:
25693         * docs/gst/tmpl/old/GstStructure.sgml:
25694         * docs/gst/tmpl/old/GstTag.sgml:
25695         * docs/gst/tmpl/old/cothreads.sgml:
25696         * docs/gst/tmpl/old/cothreads_compat.sgml:
25697         * docs/gst/tmpl/old/gettext.sgml:
25698         * docs/gst/tmpl/old/gobject2gtk.sgml:
25699         * docs/gst/tmpl/old/grammar.tab.sgml:
25700         * docs/gst/tmpl/old/gst-i18n-app.sgml:
25701         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
25702         * docs/gst/tmpl/old/gst_private.sgml:
25703         * docs/gst/tmpl/old/gstaggregator.sgml:
25704         * docs/gst/tmpl/old/gstarch.sgml:
25705         * docs/gst/tmpl/old/gstatomic_impl.sgml:
25706         * docs/gst/tmpl/old/gstbufferstore.sgml:
25707         * docs/gst/tmpl/old/gstdata_private.sgml:
25708         * docs/gst/tmpl/old/gstdisksink.sgml:
25709         * docs/gst/tmpl/old/gstdisksrc.sgml:
25710         * docs/gst/tmpl/old/gstelementfactory.sgml:
25711         * docs/gst/tmpl/old/gstextratypes.sgml:
25712         * docs/gst/tmpl/old/gstfakesink.sgml:
25713         * docs/gst/tmpl/old/gstfakesrc.sgml:
25714         * docs/gst/tmpl/old/gstfdsink.sgml:
25715         * docs/gst/tmpl/old/gstfdsrc.sgml:
25716         * docs/gst/tmpl/old/gstfilesink.sgml:
25717         * docs/gst/tmpl/old/gstfilesrc.sgml:
25718         * docs/gst/tmpl/old/gsthttpsrc.sgml:
25719         * docs/gst/tmpl/old/gstidentity.sgml:
25720         * docs/gst/tmpl/old/gstindexfactory.sgml:
25721         * docs/gst/tmpl/old/gstmarshal.sgml:
25722         * docs/gst/tmpl/old/gstmd5sink.sgml:
25723         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
25724         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
25725         * docs/gst/tmpl/old/gstpadtemplate.sgml:
25726         * docs/gst/tmpl/old/gstpipefilter.sgml:
25727         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
25728         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
25729         * docs/gst/tmpl/old/gstshaper.sgml:
25730         * docs/gst/tmpl/old/gstspider.sgml:
25731         * docs/gst/tmpl/old/gstspideridentity.sgml:
25732         * docs/gst/tmpl/old/gststatistics.sgml:
25733         * docs/gst/tmpl/old/gsttee.sgml:
25734         * docs/gst/tmpl/old/gsttimecache.sgml:
25735         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
25736         * docs/gst/tmpl/old/gstxmlregistry.sgml:
25737         * docs/gst/tmpl/old/gthread-cothreads.sgml:
25738         * docs/gst/tmpl/old/types.sgml:
25739           I didn't intend to add these or check them in.
25740
25741 2005-05-19  David Schleef  <ds@schleef.org>
25742
25743         * configure.ac: Use -no-common everywhere.  In a sane world, it
25744           would be the default in libtool, because without it, you can't
25745           build DLLs on Windows.
25746         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
25747         * docs/gst/gstreamer-sections.txt:
25748         * docs/gst/tmpl/gstcpu.sgml:
25749         * docs/gst/tmpl/gstdata.sgml:
25750         * docs/gst/tmpl/gstthread.sgml:
25751
25752 2005-05-19  David Schleef  <ds@schleef.org>
25753
25754         * gst/gstminiobject.c: (gst_value_set_mini_object),
25755         (gst_value_take_mini_object), (gst_value_get_mini_object):
25756         * gst/gstminiobject.h: Add GValue set/get functions.
25757
25758 2005-05-19  Wim Taymans  <wim@fluendo.com>
25759
25760         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
25761         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
25762         (gst_subbuffer_init), (gst_buffer_is_span_fast):
25763         * gst/gstbuffer.h:
25764         * gst/gstbus.c: (gst_bus_post):
25765         * gst/gstelement.c: (gst_element_get_random_pad):
25766         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
25767         Make subbufer unref the parent in finalize.
25768         some more debugging info.
25769
25770
25771 2005-05-19  Wim Taymans  <wim@fluendo.com>
25772
25773         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25774         (gst_basesink_init), (gst_basesink_finalize),
25775         (gst_basesink_activate), (gst_basesink_change_state):
25776         Don't free preroll queue too early.
25777
25778 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25779
25780         * gst/Makefile.am:
25781         * gst/ROADMAP:
25782           Hi, I'm outdated. Please shoot me.
25783
25784 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25785
25786         * gst/gstpipeline.c: (gst_pipeline_send_event):
25787           Do not access variables after they have been deleted.
25788
25789 2005-05-19  Wim Taymans  <wim@fluendo.com>
25790
25791         * tools/gst-inspect.c: (print_plugin_features):
25792         A plugin feature does unfortunatly not use the
25793         object name yet...
25794
25795 2005-05-18  Wim Taymans  <wim@fluendo.com>
25796
25797         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
25798         Port _span() functions to new subbuffers.
25799
25800 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25801
25802         * gst/gstbin.c: (gst_bin_add_func):
25803           Fix clock settery in bins when adding kids after the clock has
25804           been selected.
25805
25806 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25807
25808         * gst/elements/gstidentity.c: (gst_identity_class_init):
25809           Workaround until signals support GstMiniObject.
25810
25811 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
25812
25813         * gst/gstbuffer.c:
25814         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
25815
25816 2005-05-18  Wim Taymans  <wim@fluendo.com>
25817
25818         * gst/base/Makefile.am:
25819         * gst/base/gstadapter.c: (gst_adapter_base_init),
25820         (gst_adapter_class_init), (gst_adapter_init),
25821         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
25822         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
25823         (gst_adapter_flush), (gst_adapter_available),
25824         (gst_adapter_available_fast):
25825         * gst/base/gstadapter.h:
25826         Ported and added adapter to the base classes.
25827
25828 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25829
25830         * gst/gst.c:
25831         * gst/gstmessage.c:
25832           Make sure the class is reffed/unreffed once before threads can be
25833           used.  Fixes #304551.
25834
25835 2005-05-17  Wim Taymans  <wim@fluendo.com>
25836
25837         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
25838         (gst_basesink_chain_unlocked), (gst_basesink_activate):
25839         * gst/gstminiobject.c: (gst_mini_object_get_type),
25840         (gst_mini_object_free):
25841         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
25842         (gst_pad_push), (gst_pad_push_event):
25843         * gst/gstqueue.c: (gst_queue_change_state):
25844         Don't queue buffers in basesink when we are flushing.
25845         Unref buffer when flushing in basesink.
25846         Flush queue when going to READY
25847         Unref buffer when _push() returns an error.
25848         Don't free MiniObject instance when refcount is incremented
25849         in _finalize() so that we can recover objects.
25850
25851 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
25852
25853         * docs/manual/advanced-schedulers.xml:
25854         * docs/manual/appendix-checklist.xml:
25855         * docs/pwg/advanced-clock.xml:
25856         * docs/pwg/advanced-interfaces.xml:
25857         * docs/pwg/advanced-request.xml:
25858         * docs/pwg/advanced-types.xml:
25859         * docs/pwg/intro-preface.xml:
25860         * examples/plugins/example.c: (gst_example_get_type),
25861         (gst_example_class_init), (gst_example_chain),
25862         (gst_example_set_property), (gst_example_get_property),
25863         (gst_example_change_state), (plugin_init):
25864         * examples/plugins/example.h:
25865           small doc fixes
25866
25867 2005-05-17  Wim Taymans  <wim@fluendo.com>
25868
25869         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
25870         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
25871         * gst/gstqueue.c: (gst_queue_change_state):
25872         Clear queue when going to READY.
25873         Remove IN_SETCAPS flag too.
25874
25875 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
25876
25877         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
25878           Remove implicit cast from gboolean to GstElementStateReturn;
25879           make sure we still return failure in paused => ready case if
25880           the parent class fails to change state and our own stop 
25881           vfunc succeeds.
25882
25883 2005-05-17  Wim Taymans  <wim@fluendo.com>
25884
25885         * tools/gst-launch.c: (event_loop):
25886         Message was unreffed too soon.
25887
25888 2005-05-16  Andy Wingo  <wingo@pobox.com>
25889
25890         * gst/gstbin.c (sink_iterator_filter): Err... um...
25891
25892         * check/gst/gstbin.c (test_ghost_pads): New test for the
25893         ghosting-if-elements-not-in-same-bin behavior.
25894
25895 2005-05-16  David Schleef  <ds@schleef.org>
25896
25897         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
25898         accessing refcount directly.
25899
25900 2005-05-15  David Schleef  <ds@schleef.org>
25901
25902         * check/Makefile.am: remove GstData checks
25903         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
25904         * gst/Makefile.am: add miniobject, remove data
25905         * gst/gst.h: add miniobject, remove data
25906         * gst/gstdata.c: remove
25907         * gst/gstdata.h: remove
25908         * gst/gstdata_private.h: remove
25909         * gst/gsttypes.h: remove GstEvent and GstMessage
25910         * gst/gstelement.c: (gst_element_post_message): fix for API changes
25911         * gst/gstmarshal.list: change BOXED -> OBJECT
25912
25913         Implement GstMiniObject.
25914         * gst/gstminiobject.c:
25915         * gst/gstminiobject.h:
25916
25917         Modify to be subclasses of GstMiniObject.
25918         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
25919         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
25920         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
25921         (gst_subbuffer_get_type), (gst_subbuffer_init),
25922         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
25923         (gst_buffer_span):
25924         * gst/gstbuffer.h:
25925         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
25926         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
25927         (_gst_event_copy), (gst_event_new):
25928         * gst/gstevent.h:
25929         * gst/gstmessage.c: (_gst_message_initialize),
25930         (gst_message_get_type), (gst_message_class_init),
25931         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
25932         (gst_message_new), (gst_message_new_error),
25933         (gst_message_new_warning), (gst_message_new_tag),
25934         (gst_message_new_state_changed), (gst_message_new_application):
25935         * gst/gstmessage.h:
25936         * gst/gstprobe.c: (gst_probe_perform),
25937         (gst_probe_dispatcher_dispatch):
25938         * gst/gstprobe.h:
25939         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
25940         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
25941         (_gst_query_copy), (gst_query_new):
25942
25943         Update elements for GstData -> GstMiniObject changes
25944         * gst/gstquery.h:
25945         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
25946         (gst_queue_chain), (gst_queue_loop):
25947         * gst/elements/gstbufferstore.c:
25948         (gst_buffer_store_add_buffer_func),
25949         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
25950         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25951         (gst_fakesink_render):
25952         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25953         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
25954         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
25955         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
25956         (gst_filesrc_create_read):
25957         * gst/elements/gstidentity.c: (gst_identity_class_init):
25958         * gst/elements/gsttypefindelement.c:
25959         (gst_type_find_element_src_event), (free_entry_buffers),
25960         (gst_type_find_element_handle_event):
25961         * libs/gst/dataprotocol/dataprotocol.c:
25962         (gst_dp_header_from_buffer):
25963         * libs/gst/dataprotocol/dataprotocol.h:
25964         * libs/gst/dataprotocol/dp-private.h:
25965
25966 2005-05-15  David Schleef  <ds@schleef.org>
25967
25968         * gst/elements/gstelements.c: Don't include headers that were
25969         just removed.
25970
25971 2005-05-15  David Schleef  <ds@schleef.org>
25972
25973         * gst/elements/Makefile.am: Remove some elements that don't
25974         need to be in the core (or even exist at all).
25975         * gst/elements/gstaggregator.c:
25976         * gst/elements/gstaggregator.h:
25977         * gst/elements/gstmd5sink.c:
25978         * gst/elements/gstmd5sink.h:
25979         * gst/elements/gstmultifilesrc.c:
25980         * gst/elements/gstmultifilesrc.h:
25981         * gst/elements/gstpipefilter.c:
25982         * gst/elements/gstpipefilter.h:
25983         * gst/elements/gstshaper.c:
25984         * gst/elements/gstshaper.h:
25985         * gst/elements/gststatistics.c:
25986         * gst/elements/gststatistics.h:
25987         * po/POTFILES.in: Remove above files.
25988
25989 2005-05-14  Andy Wingo  <wingo@pobox.com>
25990
25991         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
25992         so as to get the refs right.
25993         (sink_iterator_filter): New function, wraps bin_element_is_sink,
25994         unreffing objects that don't pass the filter.
25995
25996         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
25997         gst_element_set_bus.
25998         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
25999         normal cases, this will destroy the bus.
26000
26001         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
26002         object.
26003
26004         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
26005         has no sinks.
26006
26007 2005-05-13  Andy Wingo  <wingo@pobox.com>
26008
26009         * gst/gstutils.c (gst_element_link_pads): Instead of calling
26010         gst_pad_link, call pad_link_maybe_ghosting,
26011         (pad_link_maybe_ghosting): Links pads, making sure that the
26012         elements being linked are in the same bin.
26013         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
26014         Helpers for pad_link_maybe_ghosting.
26015
26016 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
26017
26018         * configure.ac:
26019           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
26020
26021 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
26022
26023         * docs/design/part-element-source.txt:
26024           Mention GstPushSrc
26025
26026 2005-05-12  Wim Taymans  <wim@fluendo.com>
26027
26028         * gst/base/gstbasesink.c: (gst_basesink_init),
26029         (gst_basesink_activate):
26030         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
26031         (gst_basesrc_is_seekable):
26032         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
26033         (bin_element_is_sink), (gst_bin_change_state):
26034         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26035         * gst/gstelement.h:
26036         Identify sinks by their flag to avoid overly complicated
26037         checks (fow now).
26038         Do state changes even for elements not reachable from the
26039         sinks.
26040         BaseSink is a sink now :)
26041         Some more debugging info in the basesrc.
26042
26043
26044 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26045
26046         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
26047           Implement _query on a bin, similar to _send_event.
26048
26049 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
26050
26051         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
26052           Discont event offset format should be GST_FORMAT_BYTES,
26053           not GST_FORMAT_TIME.
26054
26055 2005-05-12  Wim Taymans  <wim@fluendo.com>
26056
26057         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
26058         Same fix as Ronald's but without the signal. 
26059
26060 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26061
26062         * gst/gstutils.c: (gst_element_query_position):
26063           No, an element is not a pad.
26064
26065 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26066
26067         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
26068         (gst_bin_get_state):
26069           If a child is removed from a bin while we remove the child from
26070           the bin and while we're retrieving its state, signal this to the
26071           get_state function so we abort the wait (instead of waiting for
26072           a timeout) and can immediately re-iterate over all other elements.
26073
26074 2005-05-12  Wim Taymans  <wim@fluendo.com>
26075
26076         * gst/base/Makefile.am:
26077         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
26078         (gst_basesrc_start):
26079         * gst/base/gstbasesrc.h:
26080         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
26081         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
26082         (gst_pushsrc_init), (gst_pushsrc_create):
26083         * gst/base/gstpushsrc.h:
26084         Added is_seekable to BaseSrc
26085         Added simple PushSrc.
26086
26087 2005-05-11  Wim Taymans  <wim@fluendo.com>
26088
26089         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26090         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26091         (gst_element_link_pads), (gst_element_query_position),
26092         (gst_element_query_convert), (intersect_caps_func),
26093         (gst_pad_query_position), (gst_pad_query_convert):
26094         Fix refcounting in utils function.
26095         No point in trying to activate a pad when it's added, it could
26096         be added from the state change function and then we deadlock, the
26097         element has to decide what to do.
26098
26099 2005-05-10  Andy Wingo  <wingo@pobox.com>
26100
26101         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
26102         *all* the arguments.
26103
26104         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
26105         stream lock if it's a FLUSH_DONE; normal flushes don't get the
26106         lock (according to the docs -- if this is wrong change the docs).
26107
26108         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
26109         flush messages in the NULL state.
26110
26111         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
26112         message immediately and return.
26113         (gst_bus_set_flushing): New function. If a bus is flushing, it
26114         flushes out any queued messages and immediately unrefs new
26115         messages. This is so when an element goes to NULL, all of the
26116         unhandled messages coming from it can be freed, and their
26117         references to the element dropped. In other words: message source
26118         ref considered harmful :P
26119
26120         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
26121         we're finished with it.
26122
26123         * gst/gstmessage.c (gst_message_new_state_changed): 
26124
26125 2005-05-10  Wim Taymans  <wim@fluendo.com>
26126
26127         * gst/gstvalue.c: (gst_value_compare_flags),
26128         (gst_value_serialize_flags), (gst_value_deserialize_flags),
26129         (_gst_value_initialize):
26130         Added flags serialize/deserialize/compare code.
26131
26132 2005-05-09  Andy Wingo  <wingo@pobox.com>
26133
26134         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
26135         Intersect the peer's caps with our caps.
26136
26137 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26138
26139         * gst/base/gsttypefindhelper.c: (helper_find_peek):
26140         * gst/elements/gsttypefindelement.c: (find_peek):
26141           Handle negative offsets better. Fixes decodebin.
26142
26143 2005-05-09  Wim Taymans  <wim@fluendo.com>
26144
26145         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
26146         (gst_base_transform_event):
26147         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
26148         Implement accept_caps.
26149         Fix silly lock/unlock mismatch in base class.
26150
26151 2005-05-09  Wim Taymans  <wim@fluendo.com>
26152
26153         * docs/design/draft-push-pull.txt:
26154         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
26155         * gst/elements/gstfilesink.c: (gst_filesink_init),
26156         (gst_filesink_query):
26157         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26158         (gst_type_find_handle_src_query), (find_element_get_length):
26159         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
26160         * gst/gstelement.h:
26161         * gst/gstmessage.c:
26162         * gst/gstmessage.h:
26163         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
26164         (gst_real_pad_get_caps_unlocked),
26165         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
26166         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26167         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
26168         (gst_real_pad_dispose), (gst_real_pad_finalize),
26169         (gst_pad_load_and_link), (gst_pad_save_thyself),
26170         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
26171         (gst_pad_check_pull_range), (gst_pad_pull_range),
26172         (gst_pad_template_get_type), (gst_pad_template_class_init),
26173         (gst_pad_template_init), (gst_pad_template_dispose),
26174         (name_is_valid), (gst_static_pad_template_get),
26175         (gst_pad_template_new), (gst_static_pad_template_get_caps),
26176         (gst_pad_template_get_caps), (gst_pad_set_element_private),
26177         (gst_pad_get_element_private), (gst_pad_start_task),
26178         (gst_pad_pause_task), (gst_pad_stop_task),
26179         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
26180         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
26181         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
26182         (gst_ghost_pad_new):
26183         * gst/gstpad.h:
26184         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
26185         (gst_query_new_position), (gst_query_set_position),
26186         (gst_query_parse_position), (gst_query_new_convert),
26187         (gst_query_set_convert), (gst_query_parse_convert):
26188         * gst/gstquery.h:
26189         * gst/gstqueryutils.c:
26190         * gst/gstqueryutils.h:
26191         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26192         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26193         (gst_queue_handle_src_query):
26194         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26195         (gst_element_query_position), (gst_element_query_convert),
26196         (intersect_caps_func), (gst_pad_query_position),
26197         (gst_pad_query_convert):
26198         * gst/gstutils.h:
26199         * tools/gst-inspect.c: (print_pad_info):
26200         * tools/gst-xmlinspect.c: (print_element_info):
26201         Remove old query functions. Ported old code.
26202         Added position/convert helper functions to gstutils.
26203         Reordered gstpad.c code, grouping relevant things.
26204         Remove gst_message_new(), always need to speficy a specific
26205         message.
26206
26207
26208 2005-05-09  Andy Wingo  <wingo@pobox.com>
26209
26210         * gst/gstiterator.h: Add some includes.
26211
26212         * gst/gstqueryutils.h: Include more headers.
26213
26214         * gst/gstpad.h:
26215         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
26216         some uses of gst_pad_query.
26217
26218         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
26219         NULL out parameters.
26220         (gst_query_new_position): New proc, allocates a new position
26221         query.
26222
26223         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
26224         gstqueryutils.c to the build.
26225
26226         * gst/gststructure.c (gst_structure_set_valist): Implement with
26227         the generic G_VALUE_COLLECT.
26228         
26229 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
26230
26231         * gst/Makefile.am: (gst_headers):
26232         Added gstqueryutils.h to the list of headers to install, that was
26233         a 'nachty' move wingo :)
26234
26235 2005-05-06  Andy Wingo  <wingo@pobox.com>
26236
26237         * gst/gstquery.h
26238         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
26239         GstData, init a memchunk.
26240         (standard_definitions): Add a few query types, deprecate a few.
26241         (gst_query_get_type): New proc.
26242         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
26243         implementation.
26244         (gst_query_new_application, gst_query_get_structure): New public
26245         procs.
26246
26247         * docs/design/draft-query.txt: Removed LINKS from the query types,
26248         because all the rest can be dispatched to other pads -- seemed
26249         ugly to have a query that couldn't be dispatched. internal_links
26250         is fine as a pad method.
26251
26252         * gst/gstpad.h: Add query2 as a pad method, add the new functions
26253         in gstpad.c, but maintain binary compatibility for the moment.
26254         Will fix before 0.9 is out.
26255
26256         * gst/gstqueryutils.c: 
26257         * gst/gstqueryutils.h: New files, implement 3 methods for each
26258         query type: parse_query, parse_response, and set. Probably need an
26259         allocator as well.
26260
26261         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
26262
26263         * gst/elements/gstfilesink.c (gst_filesink_query2):
26264         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
26265         query_types, and formats methods.
26266
26267         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
26268         (gst_pad_set_query2_function): New functions.
26269         (gst_real_pad_init): Set query2_default as the default query2
26270         function. Basically just dispatches to internally linked pads.
26271
26272         Needs review!
26273         
26274         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
26275         without using the atomic operations. Only one thread can possibly
26276         be accessing the data at this point. Changed so as to avoid
26277         gst_atomic operations.
26278
26279 2005-05-06  Wim Taymans  <wim@fluendo.com>
26280
26281         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
26282         Also set caps if we use the fallback buffer alloc.
26283
26284 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
26285
26286         * docs/gst/Makefile.am:
26287         * docs/gst/gstreamer-docs.sgml:
26288         * docs/gst/gstreamer-sections.txt:
26289         * docs/gst/tmpl/gstatomic.sgml:
26290         * docs/gst/tmpl/gstmemchunk.sgml:
26291         * testsuite/elements/struct_i386.h:
26292         * win32/GStreamer.vcproj:
26293         * win32/Makefile:
26294           Purge GstAtomic stuff from docs and win32 makefiles as well
26295
26296 2005-05-06  Wim Taymans  <wim@fluendo.com>
26297
26298         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
26299         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
26300         * gst/gstpad.c: (gst_pad_peer_get_caps):
26301         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26302         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26303         (gst_queue_src_activate), (gst_queue_change_state):
26304         * gst/gstqueue.h:
26305         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26306         (intersect_caps_func):
26307         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
26308         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
26309         Some fixes for the peer_get_caps() change.
26310
26311 2005-05-06  Wim Taymans  <wim@fluendo.com>
26312
26313         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26314         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
26315         (gst_basesink_activate):
26316         Actually do something with error codes returned from the push
26317         functions.
26318
26319 2005-05-06  Wim Taymans  <wim@fluendo.com>
26320
26321         * docs/design/part-element-sink.txt:
26322         * docs/design/part-element-source.txt:
26323         * gst/base/gstbasesink.c: (gst_basesink_class_init),
26324         (gst_basesink_event), (gst_basesink_activate):
26325         * gst/base/gstbasesink.h:
26326         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
26327         (gst_basesrc_activate):
26328         * gst/base/gstbasesrc.h:
26329         * gst/gstelement.c: (gst_element_pads_activate):
26330         Some more documentation.
26331         Fixed scheduling decision in _pads_activate().
26332
26333 2005-05-05  Andy Wingo  <wingo@pobox.com>
26334
26335         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
26336         the test suite.
26337
26338 2005-05-05  Wim Taymans  <wim@fluendo.com>
26339
26340         * gst/base/Makefile.am:
26341         * gst/base/gstbasesink.h:
26342         * gst/base/gstbasesrc.c: (gst_basesrc_init),
26343         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
26344         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
26345         (gst_collectpads_class_init), (gst_collectpads_init),
26346         (gst_collectpads_finalize), (gst_collectpads_new),
26347         (gst_collectpads_set_function), (gst_collectpads_add_pad),
26348         (find_pad), (gst_collectpads_remove_pad),
26349         (gst_collectpads_is_active), (gst_collectpads_collect),
26350         (gst_collectpads_collect_range), (gst_collectpads_start),
26351         (gst_collectpads_stop), (gst_collectpads_peek),
26352         (gst_collectpads_pop), (gst_collectpads_available),
26353         (gst_collectpads_read), (gst_collectpads_flush),
26354         (gst_collectpads_chain):
26355         * gst/base/gstcollectpads.h:
26356         * gst/elements/Makefile.am:
26357         * gst/elements/gstelements.c:
26358         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26359         (gst_fakesink_get_times), (gst_fakesink_event),
26360         (gst_fakesink_preroll), (gst_fakesink_render):
26361         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26362         (gst_filesink_init), (gst_filesink_set_location),
26363         (gst_filesink_open_file), (gst_filesink_close_file),
26364         (gst_filesink_pad_query), (gst_filesink_event),
26365         (gst_filesink_render), (gst_filesink_change_state):
26366         * gst/elements/gstfilesink.h:
26367         Added object to help in making collect pad based elements.
26368         Ported filesink.
26369         Make event function in sink baseclass return gboolean.
26370
26371 2005-05-05  Wim Taymans  <wim@fluendo.com>
26372
26373         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
26374         (gst_bin_get_by_name):
26375         * gst/gstbuffer.h:
26376         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
26377         (gst_clock_finalize):
26378         * gst/gstdata.c: (gst_data_replace):
26379         * gst/gstdata.h:
26380         * gst/gstelement.c: (gst_element_request_pad),
26381         (gst_element_pads_activate):
26382         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
26383         (gst_object_unref):
26384         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26385         (gst_pad_set_checkgetrange_function),
26386         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
26387         (gst_pad_check_pull_range), (gst_pad_pull_range),
26388         (gst_static_pad_template_get_caps), (gst_pad_start_task),
26389         (gst_pad_pause_task), (gst_pad_stop_task):
26390         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26391         (gst_element_request_pad), (gst_pad_proxy_getcaps):
26392         Fix name lookup in GstBin.
26393         Added _data_replace() function and _buffer_replace()
26394         Use finalize method to clean up clock.
26395         Fix refcounting on request pads.
26396         Fix pad schedule mode error.
26397         Some more object refcounting debug info,
26398
26399
26400 2005-05-04  Andy Wingo <wingo@pobox.com>
26401
26402         * check/Makefile.am:
26403         * docs/gst/tmpl/gstatomic.sgml:
26404         * docs/gst/tmpl/gstplugin.sgml:
26405         * gst/base/gstbasesink.c: (gst_basesink_activate):
26406         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
26407         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
26408         (gst_basesrc_query), (gst_basesrc_set_property),
26409         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
26410         (gst_basesrc_activate):
26411         * gst/base/gstbasesrc.h:
26412         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
26413         (gst_base_transform_src_activate):
26414         * gst/elements/gstelements.c:
26415         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26416         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
26417         * gst/elements/gsttee.c: (gst_tee_sink_activate):
26418         * gst/elements/gsttypefindelement.c: (find_element_get_length),
26419         (gst_type_find_element_checkgetrange),
26420         (gst_type_find_element_activate):
26421         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
26422         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
26423         (gst_caps_load_thyself):
26424         * gst/gstelement.c: (gst_element_pads_activate),
26425         (gst_element_save_thyself), (gst_element_restore_thyself):
26426         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
26427         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
26428         * gst/gstpad.h:
26429         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
26430         (gst_xml_parse_file), (gst_xml_parse_memory),
26431         (gst_xml_get_element), (gst_xml_make_element):
26432         * gst/indexers/gstfileindex.c: (gst_file_index_load),
26433         (_file_index_id_save_xml), (gst_file_index_commit):
26434         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
26435         (read_enum), (load_pad_template), (load_feature), (load_plugin),
26436         (load_paths):
26437         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
26438         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
26439         * tools/gst-complete.c: (main):
26440         * tools/gst-compprep.c: (main):
26441         * tools/gst-inspect.c: (print_element_properties_info):
26442         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
26443         * tools/gst-xmlinspect.c: (print_element_properties):
26444         GCC 4 fixen.
26445         
26446 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
26447
26448         * gst/gstplugin.c: (gst_plugin_check_module),
26449         (gst_plugin_check_file), (gst_plugin_load_file):
26450             apply patch from #172526 to make register work on MacOSX
26451
26452 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26453
26454         * docs/gst/tmpl/gstconfig.sgml:
26455         * gst/gstconfig.h.in:
26456           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
26457         * testsuite/debug/printf_extension.c: (main):
26458           Do not use GST_PTR_FORMAT on pointers to types with
26459           sizeof < sizeof(gpointer).  Fixes test on 64-bit
26460         * testsuite/elements/property.h:
26461           use correct printf format
26462
26463 2005-05-02  Wim Taymans  <wim@fluendo.com>
26464
26465         * docs/design/draft-push-pull.txt:
26466         * docs/design/draft-query.txt:
26467         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
26468         (gst_basesrc_start):
26469         Added draft for new query API.
26470         Added draft for better selecting scheduling methods.
26471         Make basesrc ignore length if the subclass does not support
26472         it.
26473
26474 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26475
26476         * gst/Makefile.am:
26477           possible fixes for automake-1.5 - _LIBADD is reserved
26478
26479 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26480
26481         * docs/faq/Makefile.am:
26482         * docs/manual/Makefile.am:
26483         * docs/manuals.mak:
26484         * docs/pwg/Makefile.am:
26485         * gst/Makefile.am:
26486           possible fixes for automake-1.5
26487
26488 2005-04-28  Wim Taymans  <wim@fluendo.com>
26489
26490         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26491         (gst_basesink_pad_getcaps), (gst_basesink_init),
26492         (gst_basesink_do_sync):
26493         * gst/gstclock.c: (gst_clock_entry_new):
26494         * gst/gstevent.c: (gst_event_discont_get_value):
26495         * gst/gstpipeline.c: (pipeline_bus_handler),
26496         (gst_pipeline_change_state):
26497         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
26498         Better debugging of clocking info.
26499         Allow NULL values when getting discont values.
26500
26501 2005-04-27  Wim Taymans  <wim@fluendo.com>
26502
26503         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26504         * check/gst/gstpad.c: (gst_pad_suite):
26505         Increase timeout for checks.
26506
26507 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
26508
26509         * check/Makefile.am:
26510           fix the broken rule for cleanup.  Apparently this rule is
26511           only needed on FC2, so maybe this warrants further autotool
26512           inspection.
26513
26514 2005-04-26  Wim Taymans  <wim@fluendo.com>
26515
26516         * gst/gsttrashstack.h:
26517         Ooohh. a nasty one! After having a failed pop() from the stack,
26518         it's possible that the stack is empty. In that case, don't
26519         follow the NULL pointer.
26520
26521 2005-04-25  Wim Taymans  <wim@fluendo.com>
26522
26523         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26524         (gst_pad_set_checkgetrange_function),
26525         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
26526         (gst_pad_check_pull_range), (gst_pad_pull_range),
26527         (gst_static_pad_template_get_caps), (gst_pad_start_task),
26528         (gst_pad_pause_task), (gst_pad_stop_task):
26529         * gst/gstplugin.c: (gst_plugin_load):
26530         * gst/gstplugin.h:
26531         Remove gst_library_load as it does more harm than good with
26532         the new g_module flags.
26533         Revert bogus caps template check in pad linking, pad caps
26534         are important when linking not the template, which is more
26535         general than the current caps.
26536
26537 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26538
26539         * gst/autoplug/.cvsignore:
26540         * gst/autoplug/Makefile.am:
26541         * gst/autoplug/gstsearchfuncs.c:
26542         * gst/autoplug/gstsearchfuncs.h:
26543         * gst/autoplug/gstspider.c:
26544         * gst/autoplug/gstspider.h:
26545         * gst/autoplug/gstspideridentity.c:
26546         * gst/autoplug/gstspideridentity.h:
26547         * gst/autoplug/spidertest.c:
26548           Die, spider, die.
26549
26550 2005-04-25  Wim Taymans  <wim@fluendo.com>
26551
26552         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26553         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26554         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
26555         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
26556         * gst/gstpad.h:
26557         Added stubs for unimplemented functions. 
26558
26559 2005-04-24  David Schleef  <ds@schleef.org>
26560
26561         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
26562         please fix.
26563
26564 2005-04-24  David Schleef  <ds@schleef.org>
26565
26566         Convert everything from GstAtomicInt to g_atomic_int_*, and
26567         remove gstatomic.
26568         * gst/Makefile.am:
26569         * gst/gstatomic.c:
26570         * gst/gstatomic.h:
26571         * gst/gstatomic_impl.h:
26572         * gst/gstbuffer.c:
26573         * gst/gstcaps.c:
26574         * gst/gstcaps.h:
26575         * gst/gstclock.c:
26576         * gst/gstclock.h:
26577         * gst/gstdata.c:
26578         * gst/gstdata.h:
26579         * gst/gstdata_private.h:
26580         * gst/gstevent.c:
26581         * gst/gstinfo.c:
26582         * gst/gstinfo.h:
26583         * gst/gstmessage.c:
26584         * gst/gstobject.c:
26585         * gst/gstobject.h:
26586         * gst/gststructure.c:
26587         * gst/gststructure.h:
26588         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
26589         * gst/gstutils.h:
26590
26591 2005-04-24  David Schleef  <ds@schleef.org>
26592
26593         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
26594         make the regressions tests work.  Remove some code that is no
26595         longer true.
26596         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
26597         Disable warning for pads without templates.
26598
26599 2005-04-24  David Schleef  <ds@schleef.org>
26600
26601         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
26602         functions that handle filtered links.
26603         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
26604         removed functions.
26605         * gst/gstutils.c: Fix/remove utility functions that handle
26606         filtered caps.
26607         * gst/gstutils.h:
26608         * gst/gstvalue.c: Add serialization/deserialization of caps
26609         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
26610         requires fixing so that the filter caps notation creates
26611         a capsfilter element and sets the filter_caps property.  I
26612         think everyone probably wants to keep the shorthand notation.
26613         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
26614         * docs/gst/tmpl/gstpad.sgml:
26615
26616         * gst/elements/gstelements.c: Register capsfilter element.
26617         * gst/Makefile.am: fix spacing
26618         * docs/random/ds/0.9-suggested-changes: random
26619
26620 2005-04-23  David Schleef  <ds@schleef.org>
26621
26622         * gst/elements/Makefile.am:
26623         * gst/elements/gstcapsfilter.c: New element that acts like an
26624         identity, but filters caps.  Will eventually replace filtered
26625         caps in pad linking.
26626         * gst/gstutils.c: (gst_element_create_all_pads): New function
26627         to create all the ALWAYS pads that are registered with an
26628         element class.  This functionality should eventually be
26629         merged in with GstElement initialization.
26630         * gst/gstutils.h:
26631         * testsuite/trigger/README: part of trigger test code that should
26632         have been checked in a long time ago.
26633
26634 2005-04-23  David Schleef  <ds@schleef.org>
26635
26636         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
26637         needed with new versions of libtool (nobody will confirm this),
26638         and hard to carry around.
26639         * gst/autoplug/Makefile.am:
26640         * gst/base/Makefile.am:
26641         * gst/elements/Makefile.am:
26642         * gst/indexers/Makefile.am:
26643         * gst/schedulers/Makefile.am:
26644         * libs/gst/bytestream/Makefile.am:
26645         * libs/gst/control/Makefile.am:
26646         * libs/gst/dataprotocol/Makefile.am:
26647         * libs/gst/getbits/Makefile.am:
26648
26649 2005-04-21  Wim Taymans  <wim@fluendo.com>
26650
26651         * docs/design/draft-push-pull.txt:
26652         * docs/design/part-MT-refcounting.txt:
26653         * docs/design/part-TODO.txt:
26654         * docs/design/part-caps.txt:
26655         * docs/design/part-events.txt:
26656         * docs/design/part-gstbus.txt:
26657         * docs/design/part-gstpipeline.txt:
26658         * docs/design/part-messages.txt:
26659         * docs/design/part-push-pull.txt:
26660         * docs/design/part-query.txt:
26661         Some more docs.
26662
26663 2005-04-21  Wim Taymans  <wim@fluendo.com>
26664
26665         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
26666         (gst_message_new), (gst_message_new_error),
26667         (gst_message_new_warning), (gst_message_new_tag),
26668         (gst_message_new_state_changed), (gst_message_new_application),
26669         (gst_message_get_structure):
26670         * gst/gstmessage.h:
26671         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26672         (gst_structure_copy_conditional):
26673         Use parent refcount in GstMessage to ensure GstStructure
26674         consistency.
26675         Cleaned up headers a bit.
26676         
26677
26678 2005-04-20  Wim Taymans  <wim@fluendo.com>
26679
26680         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26681         (gst_basesink_pad_getcaps), (gst_basesink_init),
26682         (gst_basesink_chain_unlocked):
26683         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
26684         (gst_type_find_helper):
26685         * gst/elements/gsttypefindelement.c:
26686         (gst_type_find_element_have_type), (gst_type_find_element_init),
26687         (stop_typefinding), (gst_type_find_element_handle_event),
26688         (find_suggest), (gst_type_find_element_chain),
26689         (gst_type_find_element_checkgetrange),
26690         (gst_type_find_element_getrange), (do_typefind),
26691         (gst_type_find_element_activate):
26692         * gst/gstbuffer.c: (_gst_buffer_sub_free),
26693         (gst_buffer_default_free), (gst_buffer_default_copy),
26694         (gst_buffer_set_caps):
26695         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
26696         (gst_caps_replace):
26697         * gst/gstmessage.c: (gst_message_new),
26698         (gst_message_new_state_changed):
26699         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26700         (gst_pad_set_checkgetrange_function),
26701         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
26702         (gst_pad_set_caps), (gst_pad_check_pull_range),
26703         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
26704         * gst/gstpad.h:
26705         * gst/gsttypefind.c: (gst_type_find_register):
26706         Make gst_caps_replace() work like other _replace() functions.
26707         Use _caps_replace() where possible.
26708         Make sure _message_new() initialises its field.
26709         Add gst_static_pad_template_get_caps()
26710
26711
26712 2005-04-18  Andy Wingo  <wingo@pobox.com>
26713
26714         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
26715         on the peer, not the pad. I think that was a typo. Pass an extra
26716         arg to see if random access is possible. Activate the pads as
26717         PULL_RANGE if possible.
26718
26719         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
26720
26721         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
26722         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
26723         to PROP_....
26724
26725 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26726
26727         * docs/faq/using.xml:
26728           Add note on gstreamer-properties (#154996).
26729
26730 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26731
26732         * docs/random/bbb/optional-properties:
26733           Some analysis on optional properties.
26734
26735 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26736
26737         * docs/gst/tmpl/gstelementfactory.sgml:
26738         * gst/gstelement.h:
26739         * gst/gstelementfactory.c: (gst_element_factory_init),
26740         (gst_element_factory_cleanup), (gst_element_register),
26741         (__gst_element_factory_add_static_pad_template),
26742         (gst_element_factory_get_static_pad_templates),
26743         (gst_element_factory_can_src_caps),
26744         (gst_element_factory_can_sink_caps):
26745         * gst/registries/Makefile.am:
26746         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
26747         (gst_xml_registry_class_init), (gst_xml_registry_init),
26748         (gst_xml_registry_new), (gst_xml_registry_set_property),
26749         (gst_xml_registry_get_property), (get_time), (make_dir),
26750         (gst_xml_registry_get_perms_func),
26751         (plugin_times_older_than_recurse), (plugin_times_older_than),
26752         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
26753         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
26754         (add_to_char_array), (read_string), (read_uint), (read_enum),
26755         (load_pad_template), (load_feature), (load_plugin), (load_paths),
26756         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
26757         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
26758         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
26759         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
26760         (gst_xml_registry_rebuild):
26761         * gst/registries/gstlibxmlregistry.h:
26762         * tools/gst-compprep.c: (main):
26763         * tools/gst-inspect.c: (print_pad_templates_info):
26764         * tools/gst-xmlinspect.c: (print_element_info):
26765           Use libxml2 for registry parsing, use staticpadtemplates in
26766           elementfactories. Makes gst_init() +/- 10x faster.
26767
26768 2005-04-12  Wim Taymans  <wim@fluendo.com>
26769
26770         * gst/base/Makefile.am:
26771         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26772         (gst_basesink_pad_getcaps), (gst_basesink_init),
26773         (gst_basesink_event), (gst_basesink_change_state):
26774         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26775         (gst_basesrc_init), (gst_basesrc_query),
26776         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26777         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26778         (gst_basesrc_check_get_range), (gst_basesrc_loop),
26779         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26780         (gst_basesrc_stop), (gst_basesrc_activate),
26781         (gst_basesrc_change_state):
26782         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26783         (helper_find_suggest), (gst_type_find_helper):
26784         * gst/base/gsttypefindhelper.h:
26785         * gst/elements/Makefile.am:
26786         * gst/elements/gstelements.c:
26787         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26788         (gst_fakesink_get_times), (gst_fakesink_event),
26789         (gst_fakesink_preroll), (gst_fakesink_render):
26790         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26791         (gst_fakesrc_init), (gst_fakesrc_event_handler),
26792         (gst_fakesrc_get_property), (gst_fakesrc_create),
26793         (gst_fakesrc_start), (gst_fakesrc_stop):
26794         * gst/elements/gstfakesrc.h:
26795         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
26796         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26797         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26798         (gst_filesrc_create_read), (gst_filesrc_create),
26799         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
26800         (gst_filesrc_start):
26801         * gst/elements/gsttypefindelement.c:
26802         (gst_type_find_element_have_type), (gst_type_find_element_init),
26803         (start_typefinding), (stop_typefinding), (push_buffer_store),
26804         (gst_type_find_element_handle_event),
26805         (gst_type_find_element_chain),
26806         (gst_type_find_element_checkgetrange),
26807         (gst_type_find_element_getrange), (do_typefind),
26808         (gst_type_find_element_activate),
26809         (gst_type_find_element_change_state):
26810         * gst/elements/gsttypefindelement.h:
26811         * gst/gstpipeline.c: (pipeline_bus_handler):
26812         Added typefind helper.
26813         Small preroll fix in the base sink.
26814         Disable typefind code in basesrc.
26815         Crude port of typefindelement.
26816         Fakesrc cleanups.
26817
26818
26819 2005-04-11  Wim Taymans  <wim@fluendo.com>
26820
26821         * check/gst/gstbus.c: (gstbus_suite):
26822         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
26823         * check/gstcheck.h:
26824           Fix up the timeout so that the test does not fail.
26825
26826 2005-04-06  Wim Taymans  <wim@fluendo.com>
26827
26828         * gst/base/README:
26829         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26830         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
26831         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26832         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26833         (gst_basesrc_check_get_range), (gst_basesrc_loop),
26834         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26835         (gst_basesrc_stop), (gst_basesrc_activate),
26836         (gst_basesrc_change_state), (basesrc_find_peek),
26837         (basesrc_find_suggest), (gst_basesrc_type_find):
26838         * gst/base/gstbasesrc.h:
26839         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
26840         (gst_filesrc_class_init), (gst_filesrc_init),
26841         (gst_filesrc_finalize), (gst_filesrc_set_location),
26842         (gst_filesrc_set_property), (gst_filesrc_get_property),
26843         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26844         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26845         (gst_filesrc_create_read), (gst_filesrc_create),
26846         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
26847         * gst/elements/gstfilesrc.h:
26848         * gst/gstelement.c: (gst_element_get_state_func),
26849         (gst_element_lost_state), (gst_element_pads_activate):
26850         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26851         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26852         (gst_pad_pull_range):
26853         * gst/gstpad.h:
26854         More work on the generic source base class, implement seeking,
26855         query.
26856         Make filesrc extend the base source class.
26857         Added gst_pad_set_checkgetrange_function to GstPad.
26858
26859 2005-04-06  Andy Wingo  <wingo@pobox.com>
26860
26861         * pkgconfig/gstreamer-base.pc.in:
26862         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
26863
26864         * pkgconfig/Makefile.am:
26865         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
26866
26867 2005-04-04  Wim Taymans  <wim@fluendo.com>
26868
26869         * gst/base/Makefile.am:
26870         * gst/base/README:
26871         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26872         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
26873         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
26874         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
26875         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26876         (gst_basesrc_base_init), (gst_basesrc_class_init),
26877         (gst_basesrc_init), (gst_basesrc_get_formats),
26878         (gst_basesrc_get_query_types), (gst_basesrc_query),
26879         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
26880         (gst_basesrc_set_property), (gst_basesrc_get_property),
26881         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
26882         (gst_basesrc_loop), (gst_basesrc_activate),
26883         (gst_basesrc_change_state):
26884         * gst/base/gstbasesrc.h:
26885         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
26886         (gst_fakesrc_class_init), (gst_fakesrc_init),
26887         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
26888         (gst_fakesrc_get_property), (gst_fakesrc_create):
26889         * gst/elements/gstfakesrc.h:
26890         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
26891         (gst_filesrc_open_file), (gst_filesrc_loop),
26892         (gst_filesrc_activate), (filesrc_find_peek),
26893         (gst_filesrc_type_find):
26894         Made base source class, make fakesrc extend it.
26895         Add comments to basesink class.
26896         Some filesrc cleanup.
26897
26898 2005-03-31  David Schleef  <ds@schleef.org>
26899
26900         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
26901         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
26902         expected to link against libgstreamer.
26903         * gst/base/Makefile.am: link against libgstreamer
26904         * gst/elements/Makefile.am: same
26905
26906 2005-03-31  Andy Wingo  <wingo@pobox.com>
26907
26908         * tests/instantiate/Makefile.am:
26909         * tests/instantiate/caps.c: Add test to test speed of caps copy
26910         and free.
26911
26912         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
26913         GMemChunk to be fair.
26914
26915         * gst/gsttrashstack.h: Remove warning about using the fallback
26916         trash stack implementation, it's still faster than malloc.
26917
26918 2005-03-30  Andy Wingo  <wingo@pobox.com>
26919
26920         * tests/complexity.c: Add a copyright.
26921
26922 2005-03-31  Wim Taymans  <wim@fluendo.com>
26923
26924         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
26925         (gst_base_transform_class_init), (gst_base_transform_init),
26926         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26927         (gst_base_transform_get_property),
26928         (gst_base_transform_sink_activate),
26929         (gst_base_transform_src_activate),
26930         (gst_base_transform_change_state):
26931         * gst/base/gstbasetransform.h:
26932         * gst/elements/gstidentity.c: (gst_identity_class_init),
26933         (gst_identity_event), (gst_identity_check_perfect),
26934         (gst_identity_transform), (gst_identity_start),
26935         (gst_identity_stop):
26936         Added start/stop methods to transform base class so subclasses 
26937         don't need to deal with state changes even.
26938
26939 2005-03-31  Wim Taymans  <wim@fluendo.com>
26940
26941         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
26942         (gst_event_new_discontinuous), (gst_event_discont_get_value):
26943         * gst/gstevent.h:
26944         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26945         (gst_pad_pull_range):
26946         Added rate to the discont event to prepare for variable speed
26947         and reverse playback.
26948
26949 2005-03-29  David Schleef  <ds@schleef.org>
26950
26951         * configure.ac:
26952         * testsuite/trigger/Makefile.am:
26953         * testsuite/trigger/trigger.c: A little example program to show
26954         how trigger-based elements can work.
26955
26956 2005-03-29  Wim Taymans  <wim@fluendo.com>
26957
26958         * gst/base/Makefile.am:
26959         * gst/base/README:
26960         * gst/base/gstbasesink.c: (gst_basesink_get_type),
26961         (gst_basesink_base_init), (gst_basesink_class_init),
26962         (gst_basesink_pad_getcaps), (gst_basesink_init),
26963         (gst_basesink_activate), (gst_basesink_change_state):
26964         * gst/base/gstbasesink.h:
26965         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
26966         (gst_base_transform_base_init), (gst_base_transform_finalize),
26967         (gst_base_transform_class_init), (gst_base_transform_init),
26968         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
26969         (gst_base_transform_event), (gst_base_transform_getrange),
26970         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
26971         (gst_base_transform_set_property),
26972         (gst_base_transform_get_property),
26973         (gst_base_transform_sink_activate),
26974         (gst_base_transform_src_activate),
26975         (gst_base_transform_change_state):
26976         * gst/base/gstbasetransform.h:
26977         * gst/elements/gstidentity.c: (gst_identity_finalize),
26978         (gst_identity_class_init), (gst_identity_init),
26979         (gst_identity_event), (gst_identity_check_perfect),
26980         (gst_identity_transform), (gst_identity_set_property),
26981         (gst_identity_get_property), (gst_identity_change_state):
26982         * gst/elements/gstidentity.h:
26983         * gst/gstelement.c: (gst_element_get_state_func),
26984         (gst_element_lost_state), (gst_element_pads_activate):
26985         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26986         (gst_pad_check_pull_range), (gst_pad_pull_range):
26987         * gst/gstpad.h:
26988         Simplify pad activation.
26989         Added function to check if pull_range can be performed.
26990         Error out when pulling inactive or flushing pads.
26991         Removed const from refcounted types as it does not make sense.
26992         Simplify pad templates in basesink
26993         Added base class for simple 1-to-1 transforms.
26994         Make identity subclass the base transform.
26995
26996 2005-03-29  Andy Wingo  <wingo@pobox.com>
26997
26998         * docs/libs/gstreamer-libs-overrides.txt: 
26999         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
27000         really don't understand what's going on, but like whatever. I want
27001         green buildbot!
27002
27003         * docs/gst/Makefile.am:
27004         * docs/libs/Makefile.am: Dist the overrides files.
27005
27006         * check/Makefile.am (clean-local): Remove .libs directories.
27007
27008         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
27009         elements to EXTRA_DIST, so po/ files are happy.
27010
27011         * po/POTFILES.in: Er, remove it here.
27012
27013         * po/POTFILES: Remove gstspider.c.
27014
27015         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
27016
27017         * docs/libs/gstreamer-libs-docs.sgml: 
27018         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
27019         bytestream.
27020
27021         * tests/complexity.c (main): Set the length of the preroll queue
27022         on the sinks to prevent a lockup.
27023
27024         * libs/gst/dataprotocol/Makefile.am: 
27025         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
27026         the same as the one in check/gst-libs/gdp.c.
27027
27028         * po/, docs/gst/: Commit automatic changes to docs and po files.
27029
27030         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
27031         the versioned libgstbase.
27032
27033         * check/Makefile.am: Depend on an unversioned gst-register, seems
27034         to make autoconf happier.
27035
27036         * gst/base/Makefile.am: Make libgstbase a versioned lib.
27037
27038 2005-03-28  Wim Taymans  <wim@fluendo.com>
27039
27040         * configure.ac:
27041         * docs/design/part-gstelement.txt:
27042         * docs/design/part-negotiation.txt:
27043         * docs/design/part-preroll.txt:
27044         * docs/design/part-scheduling.txt:
27045         * docs/design/part-states.txt:
27046         * gst/Makefile.am:
27047         * gst/base/Makefile.am:
27048         * gst/base/README:
27049         * gst/base/gstbasesink.c: (gst_basesink_get_template),
27050         (gst_basesink_base_init), (gst_basesink_class_init),
27051         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27052         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27053         (gst_basesink_set_pad_functions),
27054         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
27055         (gst_basesink_set_property), (gst_basesink_get_property),
27056         (gst_base_sink_get_template), (gst_base_sink_get_caps),
27057         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
27058         (gst_basesink_preroll_queue_push),
27059         (gst_basesink_preroll_queue_empty),
27060         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
27061         (gst_basesink_event), (gst_basesink_get_times),
27062         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
27063         (gst_basesink_chain_unlocked), (gst_basesink_chain),
27064         (gst_basesink_loop), (gst_basesink_activate),
27065         (gst_basesink_change_state):
27066         * gst/base/gstbasesink.h:
27067         * gst/elements/Makefile.am:
27068         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
27069         (gst_fakesink_class_init), (gst_fakesink_init),
27070         (gst_fakesink_set_property), (gst_fakesink_get_property),
27071         (gst_fakesink_get_times), (gst_fakesink_event),
27072         (gst_fakesink_preroll), (gst_fakesink_render),
27073         (gst_fakesink_change_state):
27074         * gst/elements/gstfakesink.h:
27075         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27076         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
27077         * gst/gstelement.c: (gst_element_add_pad),
27078         (gst_element_get_state_func), (gst_element_abort_state),
27079         (gst_element_commit_state), (gst_element_lost_state),
27080         (gst_element_set_state), (gst_element_pads_activate):
27081         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
27082         * gst/gstpipeline.c: (gst_pipeline_send_event),
27083         (gst_pipeline_change_state):
27084         Added state change code.
27085         Added/updated docs.
27086         Added sink base class, make fakesink extend the base class.
27087         Small cleanups in GstPipeline.
27088
27089 2005-03-26  David Schleef  <ds@schleef.org>
27090
27091         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
27092         is broken and should be implemented in a different library.
27093         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
27094         * gst/gst.h: remove gstcpu.h
27095         * gst/gstcpu.c: remove
27096         * gst/gstcpu.h: remove
27097         * gst/Makefile.am.future: Remove this file.  It's ancient.
27098
27099 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27100
27101         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27102         (gst_bin_send_event):
27103           Add default event/set_manager handlers. The set_manager handler
27104           takes care that the manager is distributed over kids that were
27105           already in the bin before the manager was set. The event handler
27106           is a utility virtual function that sends the event over all sinks,
27107           so that gst_element_send_event (bin, event); has the expected
27108           behaviour.
27109         * gst/gstpad.c: (gst_pad_event_default):
27110           Re-install default event handling for discontinuities, so that
27111           seeking works without requiring hacks in applications or extra
27112           code in sinks.
27113         * gst/gstpipeline.c: (gst_pipeline_class_init),
27114         (gst_pipeline_send_event):
27115           Half hack, half utility: set a pipeline to PAUSED for seek events,
27116           since that is the only way we can guarantee a/v sync. Means that
27117           you can do gst_element_seek (pipeline, method, pos); on a pipeline
27118           and it "just works".
27119
27120 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27121
27122         * gst/gstpipeline.c: (gst_pipeline_use_clock):
27123           Lock/unlock mismatch.
27124
27125 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
27126
27127         * docs/faq/gst-uninstalled:
27128           add gst-plugins-base
27129         * docs/gst/Makefile.am:
27130           don't error out until docs are fixed
27131         * docs/gst/gstreamer.types:
27132           remove thread
27133
27134 2005-03-22  Wim Taymans  <wim@fluendo.com>
27135
27136         * check/Makefile.am:
27137         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
27138         * gst/gststructure.c: (gst_structure_set_valist),
27139         (gst_structure_copy_conditional):
27140         Activated more tests.
27141         Added message test.
27142         Added G_TYPE_POINTER to GstStructure.
27143         
27144
27145 2005-03-22  Wim Taymans  <wim@fluendo.com>
27146
27147         * docs/design/part-TODO.txt:
27148         * docs/design/part-events.txt:
27149         * docs/design/part-gstbin.txt:
27150         * docs/design/part-gstbus.txt:
27151         * docs/design/part-gstpipeline.txt:
27152         * docs/design/part-messages.txt:
27153         * gst/gstbus.c:
27154         * gst/gstmessage.c:
27155         Docs updates
27156
27157 2005-03-21  Wim Taymans  <wim@fluendo.com>
27158
27159         * gst/gstbus.c: (gst_bus_post):
27160         Fix copy-and-paste error.
27161
27162 2005-03-21  Wim Taymans  <wim@fluendo.com>
27163
27164         * check/Makefile.am:
27165         * gst/Makefile.am:
27166         * gst/elements/Makefile.am:
27167         * gst/elements/gstelements.c:
27168         * gst/elements/gstfakesink.c: (gst_fakesink_init),
27169         (gst_fakesink_event), (gst_fakesink_chain):
27170         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27171         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
27172         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
27173         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
27174         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27175         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
27176         (gst_fakesrc_loop), (gst_fakesrc_activate),
27177         (gst_fakesrc_change_state):
27178         * gst/elements/gstfakesrc.h:
27179         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
27180         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
27181         (gst_filesrc_open_file), (gst_filesrc_loop),
27182         (gst_filesrc_activate), (gst_filesrc_change_state),
27183         (filesrc_find_peek), (filesrc_find_suggest),
27184         (gst_filesrc_type_find):
27185         * gst/elements/gstidentity.c: (gst_identity_finalize),
27186         (gst_identity_class_init), (gst_identity_init),
27187         (gst_identity_proxy_getcaps), (identity_queue_push),
27188         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
27189         (gst_identity_getrange), (gst_identity_chain),
27190         (gst_identity_sink_loop), (gst_identity_src_loop),
27191         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
27192         (gst_identity_set_property), (gst_identity_get_property),
27193         (gst_identity_change_state):
27194         * gst/elements/gstidentity.h:
27195         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
27196         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
27197         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
27198         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
27199         (gst_tee_sink_activate):
27200         * gst/elements/gsttee.h:
27201         * gst/gst.c: (gst_register_core_elements), (init_post):
27202         * gst/gst.h:
27203         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
27204         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
27205         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
27206         (gst_bin_change_state):
27207         * gst/gstbin.h:
27208         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
27209         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
27210         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
27211         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
27212         (gst_bus_set_sync_handler), (gst_bus_create_watch),
27213         (bus_watch_callback), (bus_watch_destroy),
27214         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
27215         (poll_timeout), (gst_bus_poll):
27216         * gst/gstbus.h:
27217         * gst/gstcaps.h:
27218         * gst/gstdata.h:
27219         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27220         (gst_element_post_message), (gst_element_message_full),
27221         (gst_element_get_state_func), (gst_element_get_state),
27222         (gst_element_abort_state), (gst_element_commit_state),
27223         (gst_element_lost_state), (gst_element_set_state),
27224         (gst_element_pads_activate), (gst_element_change_state),
27225         (gst_element_dispose), (gst_element_set_manager_func),
27226         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
27227         (gst_element_set_manager), (gst_element_get_manager),
27228         (gst_element_set_bus), (gst_element_get_bus),
27229         (gst_element_set_scheduler), (gst_element_get_scheduler):
27230         * gst/gstelement.h:
27231         * gst/gstevent.c: (gst_event_new_segment_seek),
27232         (gst_event_new_flush):
27233         * gst/gstevent.h:
27234         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
27235         (_gst_message_free), (gst_message_get_type), (gst_message_new),
27236         (gst_message_new_eos), (gst_message_new_error),
27237         (gst_message_new_warning), (gst_message_new_tag),
27238         (gst_message_new_state_changed), (gst_message_new_application),
27239         (gst_message_get_structure), (gst_message_parse_tag),
27240         (gst_message_parse_state_changed), (gst_message_parse_error),
27241         (gst_message_parse_warning):
27242         * gst/gstmessage.h:
27243         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
27244         (gst_real_pad_set_property), (gst_pad_set_active),
27245         (gst_pad_is_active), (gst_pad_set_blocked_async),
27246         (gst_pad_set_blocked), (gst_pad_is_blocked),
27247         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
27248         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
27249         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
27250         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
27251         (gst_pad_link_filtered), (gst_pad_relink_filtered),
27252         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
27253         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
27254         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
27255         (gst_pad_set_caps), (gst_pad_configure_sink),
27256         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
27257         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
27258         (gst_real_pad_dispose), (gst_real_pad_finalize),
27259         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
27260         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27261         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
27262         * gst/gstpad.h:
27263         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
27264         (pipeline_bus_handler), (gst_pipeline_change_state),
27265         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
27266         * gst/gstpipeline.h:
27267         * gst/gstprobe.h:
27268         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
27269         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
27270         (gst_queue_link_src), (gst_queue_bufferalloc),
27271         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
27272         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
27273         (gst_queue_loop), (gst_queue_handle_src_event),
27274         (gst_queue_handle_src_query), (gst_queue_src_activate),
27275         (gst_queue_change_state):
27276         * gst/gstqueue.h:
27277         * gst/gstscheduler.c: (gst_scheduler_init),
27278         (gst_scheduler_dispose), (gst_scheduler_create_task),
27279         (gst_scheduler_factory_create):
27280         * gst/gstscheduler.h:
27281         * gst/gststructure.c: (gst_structure_get_type),
27282         (gst_structure_copy_conditional):
27283         * gst/gststructure.h:
27284         * gst/gsttaginterface.h:
27285         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27286         (gst_task_init), (gst_task_dispose), (gst_task_create),
27287         (gst_task_get_state), (gst_task_start), (gst_task_stop),
27288         (gst_task_pause):
27289         * gst/gsttask.h:
27290         * gst/gstthread.c:
27291         * gst/gstthread.h:
27292         * gst/gsttypes.h:
27293         * gst/schedulers/Makefile.am:
27294         * gst/schedulers/cothreads_compat.h:
27295         * gst/schedulers/entryscheduler.c:
27296         * gst/schedulers/faircothreads.c:
27297         * gst/schedulers/faircothreads.h:
27298         * gst/schedulers/fairscheduler.c:
27299         * gst/schedulers/gstbasicscheduler.c:
27300         * gst/schedulers/gstoptimalscheduler.c:
27301         * gst/schedulers/gthread-cothreads.h:
27302         * gst/schedulers/threadscheduler.c:
27303         (gst_thread_scheduler_task_get_type),
27304         (gst_thread_scheduler_task_class_init),
27305         (gst_thread_scheduler_task_init),
27306         (gst_thread_scheduler_task_start),
27307         (gst_thread_scheduler_task_stop),
27308         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
27309         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27310         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
27311         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
27312         (plugin_init):
27313         * libs/gst/Makefile.am:
27314         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
27315         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
27316         (gst_file_pad_parent_set):
27317         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27318         (gst_dp_event_from_packet):
27319         * tests/complexity.c: (main):
27320         * tests/mass_elements.c: (main):
27321         * testsuite/states/locked.c: (message_received), (main):
27322         * testsuite/states/parent.c: (main):
27323         * tools/gst-inspect.c: (print_element_flag_info),
27324         (print_implementation_info), (print_pad_info):
27325         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
27326         (main):
27327         * tools/gst-md5sum.c: (event_loop), (main):
27328         * tools/gst-typefind.c: (main):
27329         * tools/gst-xmlinspect.c: (print_element_info):
27330         Next big merge.
27331         Added GstBus for mainloop integration.
27332         Added GstMessage for sending notifications on the bus.
27333         Added GstTask as an abstraction for pipeline entry points.
27334         Removed GstThread.
27335         Removed Schedulers.
27336         Simplified GstQueue for multithreaded core.
27337         Made _link threadsafe, removed old capsnego.
27338         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
27339         Added pad blocking functions.
27340         Reworked scheduling functions in GstPad to prepare for
27341         scheduling updates soon.
27342         Moved events out of data stream.
27343         Simplified GstEvent types.
27344         Added return values to push/pull.
27345         Removed clocking from GstElement.
27346         Added prototypes for state change function for next merge.
27347         Removed iterate from bins and state change management.
27348         Fixed some elements, disabled others for now.
27349         Fixed -inspect and -launch.
27350         Added check for GstBus.
27351
27352 2005-03-10  Wim Taymans  <wim@fluendo.com>
27353
27354         * docs/design/part-MT-refcounting.txt:
27355         * docs/design/part-clocks.txt:
27356         * docs/design/part-gstelement.txt:
27357         * docs/design/part-gstobject.txt:
27358         * docs/design/part-standards.txt:
27359         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27360         (gst_bin_remove_func), (gst_bin_remove):
27361         * gst/gstbin.h:
27362         * gst/gstbuffer.c:
27363         * gst/gstcaps.h:
27364         * testsuite/clock/clock1.c: (main):
27365         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
27366         (main):
27367         * testsuite/dlopen/loadgst.c: (do_test):
27368         * testsuite/refcounting/bin.c: (add_remove_test1),
27369         (add_remove_test2), (main):
27370         * testsuite/refcounting/element.c: (main):
27371         * testsuite/refcounting/element_pad.c: (main):
27372         * testsuite/refcounting/pad.c: (main):
27373         * tools/gst-launch.c: (sigint_handler_sighandler):
27374         * tools/gst-typefind.c: (main):
27375         Doc updates.
27376         Added doc about clock.
27377         removed gst_bin_iterate_recurse_up(), marked methods
27378         for removal.
27379         Fix more testsuites.
27380
27381 2005-03-09  Wim Taymans  <wim@fluendo.com>
27382
27383         * gst/gstpad.c: (gst_pad_get_direction),
27384         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
27385         (gst_pad_collect_valist):
27386         * testsuite/bins/interface.c: (main):
27387         * testsuite/caps/audioscale.c: (test_caps):
27388         * testsuite/caps/caps.c: (test1), (test2), (test3):
27389         * testsuite/caps/deserialize.c: (main):
27390         * testsuite/caps/enumcaps.c: (main):
27391         * testsuite/caps/filtercaps.c: (main):
27392         * testsuite/caps/intersect2.c: (main):
27393         * testsuite/caps/random.c: (main):
27394         * testsuite/caps/renegotiate.c: (my_fixate), (main):
27395         * testsuite/caps/sets.c: (check_caps):
27396         * testsuite/caps/simplify.c: (check_caps), (main):
27397         * testsuite/caps/subtract.c: (check_caps):
27398         Fix _pad_get_direction wrt ghostpads.
27399         Fix caps testsuite.
27400
27401 2005-03-09  Wim Taymans  <wim@fluendo.com>
27402
27403         * check/Makefile.am:
27404         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
27405         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
27406         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
27407         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
27408         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
27409         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
27410         (gst_bin_remove), (gst_bin_iterate_recurse_up),
27411         (bin_element_is_sink), (gst_bin_iterate_sinks),
27412         (gst_bin_iterate_all_by_interface):
27413         * gst/gstbin.h:
27414         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
27415         (gst_element_change_state), (gst_element_dispose),
27416         (gst_element_finalize), (gst_element_set_loop_function):
27417         * gst/gstelement.h:
27418         * gst/gstiterator.c: (find_custom_fold_func):
27419         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27420         (gst_pad_collectv), (gst_pad_collect_valist),
27421         (gst_pad_template_new):
27422         * gst/gstpipeline.c: (gst_pipeline_class_init),
27423         (gst_pipeline_dispose), (gst_pipeline_set_property),
27424         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
27425         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
27426         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
27427         * gst/gstutils.h:
27428         * gst/schedulers/entryscheduler.c:
27429         * gst/schedulers/gstbasicscheduler.c:
27430         (gst_basic_scheduler_cothreaded_chain),
27431         (gst_basic_scheduler_chain_add_element):
27432         * testsuite/bins/interface.c: (main):
27433         Added GstBin test.
27434         Added GstSystemClock test.
27435         Implemented clock distribution code in GstBin.
27436         Implemented iterate sinks method for future use.
27437         Rearranged gstelement.h
27438         Fix GstIterator comparison bug.
27439         Moved some code to GstPipeline, mostly clocking related.
27440
27441 2005-03-09  Wim Taymans  <wim@fluendo.com>
27442
27443         * configure.ac:
27444         * gst/gst_private.h:
27445         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27446         (gst_bin_remove_func), (gst_bin_remove),
27447         (gst_bin_get_by_name_recurse_up):
27448         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
27449         (gst_clock_id_compare_func), (gst_clock_id_wait),
27450         (gst_clock_id_wait_async), (gst_clock_init),
27451         (gst_clock_adjust_unlocked), (gst_clock_get_time):
27452         * gst/gstelement.h:
27453         * gst/gstinfo.c: (_gst_debug_init):
27454         * gst/gstobject.h:
27455         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27456         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
27457         * gst/gstpad.h:
27458         Bump version number, we're now 0.9.0
27459         Add future debugging category.
27460         Fix NULL _unref() in _get_by_name_recurse_up
27461         Rearrange gstpad.h.
27462         Update some docs.
27463
27464 2005-03-08  Wim Taymans  <wim@fluendo.com>
27465
27466         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
27467         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
27468         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27469         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
27470         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
27471         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
27472         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
27473         * gst/elements/gstidentity.c: (gst_identity_class_init):
27474         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
27475         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
27476         * gst/elements/gstshaper.c: (gst_shaper_class_init):
27477         * gst/elements/gststatistics.c: (gst_statistics_class_init):
27478         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
27479         (gst_tee_link):
27480         * gst/gstelement.c: (gst_element_class_init),
27481         (gst_element_base_class_init), (gst_element_init),
27482         (gst_element_get_random_pad), (gst_element_wait_state_change),
27483         (gst_element_change_state), (gst_element_dispose),
27484         (gst_element_finalize), (gst_element_set_loop_function):
27485         * gst/gstelement.h:
27486         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
27487         * gst/gstthread.c: (gst_thread_class_init),
27488         (gst_thread_release_children_locks), (gst_thread_change_state):
27489         * gst/schedulers/gstbasicscheduler.c:
27490         (gst_basic_scheduler_loopfunc_wrapper),
27491         (gst_basic_scheduler_chain_wrapper),
27492         (gst_basic_scheduler_src_wrapper),
27493         (gst_basic_scheduler_remove_element):
27494         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
27495         Remove threadsafe properties. Fix elements because GObject
27496         complains when installing a property before declaring a
27497         set/get_property handler.
27498         Rearrange gstelement.h file, use STATE macros for state locks.
27499         Free mutexes in the finalize method instead of dispose.
27500
27501 2005-03-08  Wim Taymans  <wim@fluendo.com>
27502
27503         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27504         * gst/gstthread.c: (gst_thread_release_children_locks):
27505         Added parentage check.
27506         Fix build og GstThread again.
27507
27508 2005-03-08  Wim Taymans  <wim@fluendo.com>
27509
27510         * docs/design/part-MT-refcounting.txt:
27511         * docs/design/part-conventions.txt:
27512         * docs/design/part-gstobject.txt:
27513         * docs/design/part-relations.txt:
27514         * docs/design/part-standards.txt:
27515         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27516         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
27517         (gst_bin_get_by_name), (gst_bin_get_by_interface),
27518         (gst_bin_iterate_all_by_interface):
27519         * gst/gstbuffer.h:
27520         * gst/gstclock.h:
27521         * gst/gstelement.c: (gst_element_class_init),
27522         (gst_element_change_state), (gst_element_set_loop_function):
27523         * gst/gstelement.h:
27524         * gst/gstiterator.c:
27525         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
27526         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
27527         (gst_object_dispatch_properties_changed), (gst_object_set_name),
27528         (gst_object_set_parent), (gst_object_unparent),
27529         (gst_object_check_uniqueness):
27530         * gst/gstobject.h:
27531         Docs updates, clean up some headers.
27532
27533 2005-03-07  Wim Taymans  <wim@fluendo.com>
27534
27535         * check/.cvsignore:
27536         * check/Makefile.am:
27537         * check/gst-libs/.cvsignore:
27538         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
27539         * check/gst/.cvsignore:
27540         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
27541         (START_TEST), (gstbus_suite), (main):
27542         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
27543         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
27544         (gst_data_suite), (main):
27545         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
27546         (add_fold_func), (gstiterator_suite), (main):
27547         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
27548         (thread_name_object), (thread_name_object_default),
27549         (gst_object_name_compare), (gst_object_suite), (main):
27550         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
27551         (gst_pad_suite), (main):
27552         * check/gstcheck.c: (gst_check_log_message_func),
27553         (gst_check_log_critical_func), (gst_check_init):
27554         * check/gstcheck.h:
27555         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
27556         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
27557         Added checks.
27558
27559 2005-03-07  Wim Taymans  <wim@fluendo.com>
27560
27561         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
27562         (gst_list_iterator_next), (gst_list_iterator_resync),
27563         (gst_list_iterator_free), (gst_iterator_new_list),
27564         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
27565         (gst_iterator_free), (gst_iterator_push), (filter_next),
27566         (filter_resync), (filter_uninit), (filter_free),
27567         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
27568         (gst_iterator_foreach), (find_custom_fold_func),
27569         (gst_iterator_find_custom):
27570         * gst/gstiterator.h:
27571         Added missing files.
27572
27573 2005-03-07  Wim Taymans  <wim@fluendo.com>
27574
27575         * Makefile.am:
27576         * configure.ac:
27577         * docs/design/part-MT-refcounting.txt:
27578         * docs/design/part-conventions.txt:
27579         * docs/design/part-gstobject.txt:
27580         * docs/design/part-relations.txt:
27581         * examples/mixer/mixer.c: (main):
27582         * examples/thread/thread.c: (eos), (main):
27583         * gst/Makefile.am:
27584         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
27585         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
27586         (gst_spider_plug_from_srcpad):
27587         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
27588         (gst_spider_identity_change_state),
27589         (gst_spider_identity_sink_loop_type_finding):
27590         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
27591         * gst/elements/gstidentity.c: (gst_identity_init):
27592         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
27593         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
27594         * gst/elements/gsttypefindelement.c: (free_entry):
27595         * gst/gst.c:
27596         * gst/gst.h:
27597         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
27598         (gst_bin_set_clock_func), (gst_bin_auto_clock),
27599         (gst_bin_set_index), (gst_bin_set_element_sched),
27600         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
27601         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
27602         (gst_bin_iterate_elements), (iterate_child_recurse),
27603         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
27604         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
27605         (compare_interface), (gst_bin_get_by_interface),
27606         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
27607         * gst/gstbin.h:
27608         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
27609         (gst_buffer_default_free), (gst_buffer_default_copy),
27610         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
27611         (gst_buffer_create_sub):
27612         * gst/gstbuffer.h:
27613         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
27614         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
27615         (gst_caps_unref), (gst_static_caps_get),
27616         (gst_caps_remove_and_get_structure), (gst_caps_append),
27617         (gst_caps_append_structure), (gst_caps_remove_structure),
27618         (gst_caps_copy_nth), (gst_caps_set_simple),
27619         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
27620         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
27621         (gst_caps_structure_intersect_field), (gst_caps_intersect),
27622         (gst_caps_structure_subtract_field), (gst_caps_subtract),
27623         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
27624         (gst_caps_structure_figure_out_union),
27625         (gst_caps_switch_structures), (gst_caps_do_simplify),
27626         (gst_caps_replace), (gst_caps_from_string),
27627         (gst_caps_copy_conditional):
27628         * gst/gstcaps.h:
27629         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
27630         (_gst_clock_id_free), (gst_clock_id_unref),
27631         (gst_clock_id_compare_func), (gst_clock_id_wait),
27632         (gst_clock_id_wait_async), (gst_clock_class_init),
27633         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
27634         (gst_clock_get_time), (gst_clock_set_time_adjust),
27635         (gst_clock_set_property), (gst_clock_get_property):
27636         * gst/gstclock.h:
27637         * gst/gstcompat.h:
27638         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
27639         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
27640         * gst/gstdata.h:
27641         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27642         (gst_element_requires_clock), (gst_element_provides_clock),
27643         (gst_element_set_clock), (gst_element_clock_wait),
27644         (gst_element_wait), (gst_element_set_time_delay),
27645         (gst_element_is_indexable), (gst_element_add_pad),
27646         (gst_element_add_ghost_pad), (gst_element_remove_pad),
27647         (pad_compare_name), (gst_element_get_static_pad),
27648         (gst_element_request_pad), (gst_element_get_request_pad),
27649         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
27650         (gst_element_class_get_pad_template_list),
27651         (gst_element_class_get_pad_template), (gst_element_error_func),
27652         (gst_element_get_random_pad), (gst_element_get_event_masks),
27653         (gst_element_send_event), (gst_element_seek),
27654         (gst_element_get_query_types), (gst_element_query),
27655         (gst_element_get_formats), (gst_element_convert),
27656         (gst_element_is_locked_state), (gst_element_set_locked_state),
27657         (gst_element_sync_state_with_parent), (gst_element_change_state),
27658         (gst_element_finalize), (gst_element_yield),
27659         (gst_element_interrupt), (gst_element_set_scheduler),
27660         (gst_element_get_scheduler), (gst_element_set_loop_function):
27661         * gst/gstelement.h:
27662         * gst/gstevent.h:
27663         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
27664         (gst_format_get_by_nick), (gst_format_get_details),
27665         (gst_format_iterate_definitions):
27666         * gst/gstformat.h:
27667         * gst/gstindex.c: (gst_index_gtype_resolver):
27668         * gst/gstinfo.c:
27669         * gst/gstinfo.h:
27670         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
27671         (gst_mem_chunk_free):
27672         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
27673         (gst_object_ref), (gst_object_unref), (gst_object_sink),
27674         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
27675         (gst_object_dispatch_properties_changed),
27676         (gst_object_set_name_default), (gst_object_set_name),
27677         (gst_object_get_name), (gst_object_set_name_prefix),
27678         (gst_object_get_name_prefix), (gst_object_set_parent),
27679         (gst_object_get_parent), (gst_object_unparent),
27680         (gst_object_check_uniqueness), (gst_object_save_thyself),
27681         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
27682         (gst_object_set_property), (gst_object_get_property),
27683         (gst_object_get_path_string):
27684         * gst/gstobject.h:
27685         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27686         (gst_real_pad_init), (gst_real_pad_get_property),
27687         (gst_pad_custom_new), (gst_pad_get_direction),
27688         (gst_pad_set_active), (gst_pad_is_active),
27689         (gst_pad_set_event_function), (gst_pad_is_linked),
27690         (gst_pad_link_free), (gst_pad_link_intersect),
27691         (gst_pad_link_fixate), (gst_pad_set_caps),
27692         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
27693         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
27694         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
27695         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
27696         (gst_pad_get_caps), (gst_pad_peer_get_caps),
27697         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
27698         (gst_pad_realize), (gst_pad_get_allowed_caps),
27699         (gst_real_pad_dispose), (gst_real_pad_finalize),
27700         (gst_pad_collectv), (gst_pad_collect_valist),
27701         (gst_pad_template_dispose), (gst_pad_template_new),
27702         (gst_pad_get_internal_links):
27703         * gst/gstpad.h:
27704         * gst/gstpipeline.c: (gst_pipeline_dispose),
27705         (gst_pipeline_change_state):
27706         * gst/gstpipeline.h:
27707         * gst/gstplugin.c:
27708         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
27709         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
27710         * gst/gstpluginfeature.h:
27711         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
27712         * gst/gstquery.c: (_gst_query_type_initialize),
27713         (gst_query_type_register), (gst_query_type_get_by_nick),
27714         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
27715         * gst/gstquery.h:
27716         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
27717         * gst/gstscheduler.c: (gst_scheduler_add_element),
27718         (gst_scheduler_factory_create):
27719         * gst/gststructure.c: (gst_structure_set_parent_refcount),
27720         (gst_structure_free), (gst_structure_set_name),
27721         (gst_structure_id_set_value), (gst_structure_set_value),
27722         (gst_structure_set_valist), (gst_structure_remove_field),
27723         (gst_structure_remove_fields),
27724         (gst_structure_remove_fields_valist),
27725         (gst_structure_remove_all_fields), (gst_structure_foreach),
27726         (gst_structure_map_in_place),
27727         (gst_caps_structure_fixate_field_nearest_int),
27728         (gst_caps_structure_fixate_field_nearest_double):
27729         * gst/gststructure.h:
27730         * gst/gstsystemclock.c: (gst_system_clock_class_init),
27731         (gst_system_clock_init), (gst_system_clock_dispose),
27732         (gst_system_clock_async_thread),
27733         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
27734         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
27735         * gst/gstsystemclock.h:
27736         * gst/gsttag.c: (gst_tag_list_add_value_internal),
27737         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
27738         * gst/gsttaginterface.c:
27739         * gst/gstthread.c: (gst_thread_dispose),
27740         (gst_thread_release_children_locks), (gst_thread_change_state),
27741         (gst_thread_main_loop):
27742         * gst/gsttrashstack.h:
27743         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
27744         * gst/gsttypes.h:
27745         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27746         (gst_element_request_pad), (gst_element_get_pad_from_template),
27747         (gst_element_request_compatible_pad),
27748         (gst_element_get_compatible_pad_filtered),
27749         (gst_element_get_compatible_pad), (gst_element_state_get_name),
27750         (gst_element_link_pads_filtered), (gst_element_link_filtered),
27751         (gst_element_link_many), (gst_element_link),
27752         (gst_element_link_pads), (gst_element_unlink_pads),
27753         (gst_element_unlink_many), (gst_element_unlink),
27754         (gst_pad_can_link_filtered), (gst_pad_can_link),
27755         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
27756         (gst_object_default_error), (gst_bin_add_many),
27757         (gst_bin_remove_many), (gst_element_populate_std_props),
27758         (gst_element_class_install_std_props), (gst_buffer_merge),
27759         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
27760         (link_fold_func), (gst_pad_proxy_setcaps):
27761         * gst/gstutils.h:
27762         * gst/gstvalue.c: (gst_value_deserialize_string):
27763         * gst/parse/grammar.y:
27764         * gst/schedulers/gstbasicscheduler.c:
27765         (gst_basic_scheduler_cothreaded_chain),
27766         (gst_basic_scheduler_chain_recursive_add),
27767         (gst_basic_scheduler_pad_link):
27768         * gst/schedulers/gstoptimalscheduler.c:
27769         (get_group_schedule_function),
27770         (gst_opt_scheduler_state_transition),
27771         (gst_opt_scheduler_add_element), (element_get_reachables_func):
27772         * libs/gst/bytestream/bytestream.c:
27773         * libs/gst/dataprotocol/dataprotocol.c:
27774         (gst_dp_header_from_buffer):
27775         * po/nb.po:
27776         * po/ru.po:
27777         * tests/threadstate/threadstate2.c: (eos):
27778         * tools/gst-compprep.c: (main):
27779         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
27780         (print_pad_info), (print_children_info):
27781         * tools/gst-launch.c: (idle_func), (main):
27782         * tools/gst-md5sum.c: (idle_func), (main):
27783         * tools/gst-xmlinspect.c: (print_element_info):
27784         First THREADED backport attempt, focusing on adding locks and
27785         making sure the API is threadsafe. Needs more work. More docs
27786         follow this week.
27787
27788 2005-02-24  Andy Wingo  <wingo@pobox.com>
27789
27790         * tests/bench-complexity.scm:
27791         * tests/complexity.gnuplot: New files, good for running complexity
27792         benchmarks.
27793
27794         * tests/Makefile.am:
27795         * tests/complexity.c: New test, sets up N elements, at each level
27796         teeing into M streams per element. Eeeenteresting.
27797
27798         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
27799         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
27800         running bench-mass_elements.scm.
27801
27802         * tests/bench-mass_elements.scm: New script, runs mass_elements
27803         for various numbers of identities, outputting the results to a
27804         file. Requires guile 1.6. Just for testing.
27805
27806 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27807
27808         * gst/schedulers/fairscheduler.c:
27809           compile with debug disabled
27810
27811 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27812
27813         * configure.ac:
27814           hunting season on 0.9 is now OPEN