Fix broken use of config.h-defined preprocessor directive in a public header file...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * configure.ac:
4         * gst/gstconfig.h.in:
5         * gst/gstregistry.h:
6           Fix broken use of config.h-defined preprocessor directive in a public
7           header file. Add a corresponding define to gstconfig.h, since we can't
8           really remove those function declarations from the header file now
9           (or can we? and why are they there in the first place?).
10
11 2008-03-03  Andy Wingo  <wingo@pobox.com>
12
13         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
14         the new warning.
15
16         * gst/gststructure.c (gst_structure_from_string): Warn if
17         structure_from_string didn't consume the whole string, but the
18         caller did not provide an end pointer.
19
20 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
21
22         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
23
24         * gst/gstregistryxml.c: (read_string), (load_feature):
25           Strings allocated by libxml2 should be freed with xmlFree(), not
26           with g_free(). Fixes issues on windows in certain contexts (#519698).
27
28 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
29
30         * gst/gstinterface.c: (gst_element_implements_interface):
31           Don't crash if the element supports the interface queried, but does
32           not implement GstImplementsInterface. Fixes #519584.
33
34         * tests/check/Makefile.am:
35         * tests/check/gst/.cvsignore:
36         * tests/check/gst/gstinterface.c:
37           Add unit test for the above.
38
39 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
40
41         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
42         Small doc update.
43
44 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
45
46         * gst/gstsegment.c: (gst_segment_set_seek),
47         (gst_segment_to_stream_time):
48         Improve some comment.
49         Update variables where it makes more sense.
50
51 2008-02-29  Rene Stadler  <mail@renestadler.de>
52
53         * gst/gsturi.c: (gst_uri_handler_get_protocols):
54         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
55         URIHandlers implemented using language bindings.
56
57 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
58
59         * gst/gstelementfactory.h:
60         * tests/check/elements/fakesink.c:
61         * tests/check/elements/fakesrc.c: (setup_fakesrc):
62         * tests/check/elements/fdsrc.c: (setup_fdsrc):
63         * tests/check/elements/filesink.c: (setup_filesink):
64         * tests/check/elements/filesrc.c: (setup_filesrc):
65         * tests/check/elements/identity.c: (setup_identity):
66         * tests/check/elements/tee.c:
67         * tests/check/generic/sinks.c:
68         * tests/check/generic/states.c: (setup), (teardown):
69         * tests/check/gst/gst.c:
70         * tests/check/gst/gstabi.c:
71         * tests/check/gst/gstbin.c:
72         * tests/check/gst/gstbus.c: (pull_messages):
73         * tests/check/gst/gstcaps.c:
74         * tests/check/gst/gstelement.c:
75         * tests/check/gst/gstevent.c:
76         * tests/check/gst/gstghostpad.c:
77         * tests/check/gst/gstiterator.c:
78         * tests/check/gst/gstmessage.c:
79         * tests/check/gst/gstminiobject.c: (my_foo_init):
80         * tests/check/gst/gstobject.c: (thread_name_object),
81         (gst_object_suite):
82         * tests/check/gst/gstpad.c:
83         * tests/check/gst/gstplugin.c:
84         * tests/check/gst/gstpoll.c:
85         * tests/check/gst/gstquery.c:
86         * tests/check/gst/gstsegment.c:
87         * tests/check/gst/gststructure.c:
88         * tests/check/gst/gstsystemclock.c:
89         * tests/check/gst/gsttask.c:
90         * tests/check/gst/gstutils.c:
91         * tests/check/gst/gstvalue.c:
92         * tests/check/gst/struct_hppa.h:
93         * tests/check/gst/struct_i386.h:
94         * tests/check/gst/struct_ppc32.h:
95         * tests/check/gst/struct_ppc64.h:
96         * tests/check/gst/struct_x86_64.h:
97         * tests/check/libs/adapter.c: (create_and_fill_adapter):
98         * tests/check/libs/basesrc.c:
99         * tests/check/libs/controller.c: (GST_START_TEST):
100         * tests/check/libs/gdp.c:
101         * tests/check/libs/gstnetclientclock.c:
102         * tests/check/libs/gstnettimeprovider.c:
103         * tests/check/libs/libsabi.c:
104         * tests/check/libs/struct_hppa.h:
105         * tests/check/libs/struct_i386.h:
106         * tests/check/libs/struct_ppc32.h:
107         * tests/check/libs/struct_ppc64.h:
108         * tests/check/libs/struct_x86_64.h:
109         * tests/check/pipelines/cleanup.c:
110         * tests/check/pipelines/simple-launch-lines.c:
111         * tests/check/pipelines/stress.c:
112         And correct even more valid sparse warnings.
113
114         * win32/common/libgstreamer.def:
115         Add gst_poll_fd_init to the list of symbols.
116
117 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
118
119         * gst/gstconfig.h.in:
120         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
121         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
122         (gst_check_log_critical_func), (gst_check_drop_buffers),
123         (gst_check_element_push_buffer_list):
124         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
125         (gst_controller_get_type):
126         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
127         (gst_object_get_controller), (gst_object_get_control_source):
128         * libs/gst/controller/gstinterpolationcontrolsource.c:
129         (gst_interpolation_control_source_new):
130         * libs/gst/controller/gstlfocontrolsource.c:
131         (gst_lfo_control_source_new):
132         * libs/gst/dataprotocol/dataprotocol.c:
133         (gst_dp_event_from_packet_0_2):
134         * plugins/elements/gstfdsrc.c:
135         * plugins/elements/gstmultiqueue.c:
136         * plugins/elements/gsttee.c:
137         * plugins/elements/gsttypefindelement.c:
138         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
139         (gst_file_index_add_association):
140         * plugins/indexers/gstmemindex.c:
141         * tests/benchmarks/gstpollstress.c: (mess_some_more):
142         * tests/check/elements/queue.c: (setup_queue):
143         * tests/check/gst/gstpipeline.c:
144         * tests/check/libs/collectpads.c: (setup), (teardown),
145         (gst_collect_pads_suite):
146         * tests/examples/adapter/adapter_test.c:
147         * tests/examples/metadata/read-metadata.c: (make_pipeline):
148         * tests/examples/xml/createxml.c:
149         * tests/examples/xml/runxml.c:
150         * tools/gst-inspect.c:
151         * tools/gst-run.c:
152         Correct all relevant warnings found by the sparse semantic code
153         analyzer. This include marking several symbols static, using
154         NULL instead of 0 for pointers, not using variable sized arrays
155         on the stack, moving variable declarations to the beginning of
156         a block and using "foo (void)" instead of "foo ()" for declarations.
157
158 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
159
160         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
161         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
162         Don't reset GstPollFDs, this is not necessary at all.
163
164         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
165         (delayed_restart), (delayed_control):
166         Use GST_POLL_FD_INIT.
167
168 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
169
170         * gst/gstpoll.c: (gst_poll_fd_init):
171         * gst/gstpoll.h:
172         Added Since tags.
173
174         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
175         Use some more init macros.
176
177 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
178
179         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
180         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
181         Use init macros and functions.
182
183 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
184
185         * docs/gst/gstreamer-sections.txt:
186         * gst/gstpoll.c: (gst_poll_fd_init):
187         * gst/gstpoll.h:
188         Add INIT macro and _init method for initializing the GstPollFD.
189
190 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
191
192         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
193         (gst_fd_sink_update_fd):
194         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
195         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
196         (delayed_restart), (delayed_control):
197         Initialize some uninitialized variables as spotted by valgrind.
198
199 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
200
201         * tests/benchmarks/Makefile.am:
202         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
203         (main):
204         Add poll stress test.
205
206 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
207
208         Patch by: Peter Kjellerstedt <pkj at axis dot com>
209
210         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
211         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
212         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
213         * plugins/elements/gstfdsink.h:
214         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
215         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
216         (gst_fd_src_unlock_stop), (gst_fd_src_create),
217         (gst_fd_src_uri_set_uri):
218         * plugins/elements/gstfdsrc.h:
219         Port to GstPoll. See #505417.
220
221 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
222
223         * win32/common/libgstreamer.def:
224         Add new gst_poll_ symbols to win32 defs.
225
226 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
227
228         * docs/libs/gstreamer-libs-sections.txt:
229         * libs/gst/net/gstnetclientclock.c:
230         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
231         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
232         (gst_net_client_clock_thread), (gst_net_client_clock_start),
233         (gst_net_client_clock_stop), (gst_net_client_clock_new):
234         * libs/gst/net/gstnetclientclock.h:
235         * libs/gst/net/gstnettimeprovider.c:
236         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
237         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
238         (gst_net_time_provider_start), (gst_net_time_provider_stop),
239         (gst_net_time_provider_new):
240         * libs/gst/net/gstnettimeprovider.h:
241         Use a private stuct to not break ABI.
242
243 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
244
245         Patch by: Peter Kjellerstedt <pkj at axis dot com>
246
247         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
248         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
249         (gst_net_client_clock_thread), (gst_net_client_clock_start),
250         (gst_net_client_clock_stop), (gst_net_client_clock_new):
251         * libs/gst/net/gstnetclientclock.h:
252         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
253         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
254         (gst_net_time_provider_start), (gst_net_time_provider_stop),
255         (gst_net_time_provider_new):
256         * libs/gst/net/gstnettimeprovider.h:
257         Massive code removal and cleanups because of GstPoll.
258         Fixes #505417.
259
260 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
261
262         * configure.ac:
263         Add checks for poll, ppoll and pselect.
264
265         * docs/gst/gstreamer-docs.sgml:
266         * docs/gst/gstreamer-sections.txt:
267         Add docs for GstPoll.
268
269         * gst/Makefile.am:
270         * gst/gst.h:
271         * gst/gstpoll.c: (find_index), (selectable_fds),
272         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
273         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
274         (gst_poll_set_mode), (gst_poll_get_mode),
275         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
276         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
277         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
278         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
279         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
280         (gst_poll_fd_can_write), (gst_poll_wait),
281         (gst_poll_set_controllable), (gst_poll_restart),
282         (gst_poll_set_flushing):
283         * gst/gstpoll.h:
284         Add generic poll abstraction. We ideally don't want to have this in core
285         here but in glib intead...
286         This code will be used in various network elements and ultimately for
287         the nanosecond precision monotonic clock (that's why it's here in core).
288         It'll allow us to implement cancelable socket operations for windows too.
289
290         * tests/check/Makefile.am:
291         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
292         (delayed_stop), (delayed_restart), (delayed_flush),
293         (delayed_control), (gst_poll_suite):
294         Add GstPoll unit test.
295
296 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
297
298         * gst/gstfilter.c:
299           Improve documentation of gst_filter_run(). Fixes #518627.
300
301 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
302
303         * docs/README:
304           Add a few lines about the new 'check-inspected-versions' target.
305
306 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
307
308         * tests/check/gst/gstevent.c:
309           Add qos to the event test. Rename tcase/tsuite; is not only about
310           custom events.
311
312 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
313
314         * plugins/elements/gstqueue.c:
315           Ensure that buffer metadata is writeable, before modifying. Spotted by
316           Mike.
317
318 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
319
320         * plugins/elements/gstqueue.c:
321         * plugins/elements/gstqueue.h:
322           When dropping buffers in leaky modes, mark next buffers we sent as
323           DISCONT.
324
325 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
326
327         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
328           Also, if mmap() fails that would be a READ error, not OPEN_READ.
329
330 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
331
332         * plugins/elements/Makefile.am:
333         * plugins/elements/gstbufferstore.c:
334         * plugins/elements/gstbufferstore.h:
335         * plugins/elements/gsttypefindelement.h:
336           Remove GstBufferStore, no idea why we were still building it.
337           It's not used anywhere and superseded by GstAdapter.
338
339         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
340           (gst_file_src_create_mmap):
341         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
342           Printf format fixes for 64-bit integers.
343
344 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
345
346         * configure.ac:
347         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
348         We're not in 0.8 times anymore.
349
350 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
351
352         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
353         (gst_check_element_push_buffer_list):
354         * libs/gst/check/gstcheck.h:
355         Make the declaration in the header for
356         gst_check_element_push_buffer_list match the implementation.
357
358         Fix up spelling, grammar and wording of the documentation in a few
359         places, and add the Since keyword to new API functions.
360         Use g_list_delete_link instead of g_list_remove in
361         gst_check_drop_buffers, since it's immeasurably more efficient.
362
363         * tests/check/elements/fakesrc.c: (GST_START_TEST):
364         Use new gst_check_drop_buffers function where appropriate.
365
366         * win32/common/libgstbase.def:
367         * win32/common/libgstreamer.def:
368         Add new symbols gst_collect_pads_take_buffer, 
369         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
370         exports
371
372         Changelog surgery to add API keyword to new gst_check API.
373
374 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
375
376         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
377         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
378         Update pre-generated flex files with flex 2.3.34.
379
380 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
381
382         * gst/gstminiobject.c:
383           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
384           friendly to subclasses and not require them to know all internals
385           of their parent class.
386
387 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
388
389         * docs/libs/gstreamer-libs-sections.txt:
390         * libs/gst/base/gstcollectpads.c:
391         * libs/gst/base/gstcollectpads.h:
392           Add sub-buffer functions to collectpads. Fixes #516187.
393           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
394
395 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
396
397         * gst/gstbuffer.c:
398           Copy selected buffer-flags when creating subbuffers.
399           Fixes #516395.
400
401 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
402
403         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
404         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
405         * gst/gstmessage.c: (gst_message_class_init),
406         (gst_message_finalize):
407         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
408         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
409         (gst_mmap_buffer_finalize):
410         Properly chain up finalize functions to the parent class.
411
412 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
413
414         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
415
416         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
417         (gst_index_set_resolver_full):
418         * gst/gstindex.h:
419         Add new function with option to dispose of user_data in resolver.
420         Actually call the dispose function when finalizing the object and not
421         just when changing the resolver/filter.
422         API: GstIndex::gst_index_set_resolver_full()
423
424         * docs/gst/gstreamer-sections.txt:
425         Add new function to docs. Fixes #515469.
426
427 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
428
429         * gst/gstindex.c: (gst_index_finalize):
430         Chain up finalize to the parent class. Fixes leaking the GstObject
431         name and other things.
432
433 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
434
435         * configure.ac:
436         Make DISABLE_DEPRECATED defined *only* during CVS, not during
437         pre-releases or releases.
438
439         * docs/faq/gst-uninstalled:
440         Add gst-plugins-gl
441
442         * docs/random/release:
443         Change one of the steps - we only upload core & base to Gnome FTP
444
445 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
446
447         * gst/gstconfig.h.in:
448           Add 'id' for example.
449
450         * gst/gstpad.c:
451         * gst/gstutils.c:
452         * plugins/elements/gstfdsink.c:
453           Link to signals. Doc and comment fixes.
454
455 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
456
457         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
458         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
459           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
460           unused and unimplemented; finally, it is plugin features, not
461           plugins, that have ranks.
462           
463 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
464
465         * gst/gstpluginfeature.h:
466           Clarify GstRank range docs.
467
468 2008-02-05  David Schleef  <ds@schleef.org>
469
470         * gst/gst.c: Add a separate gst_deinitialized that prevents
471           gst_init() from being called after gst_deinit().  Fixes #509559
472
473 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
474
475         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
476         (gst_bin_class_init):
477         * gst/gstelement.c: (gst_element_base_class_init),
478         (gst_element_class_add_pad_template):
479         * gst/gstpadtemplate.c: (gst_pad_template_init):
480         * gst/gstpipeline.c: (gst_pipeline_get_type),
481         (gst_pipeline_base_init), (gst_pipeline_class_init):
482         * libs/gst/base/gstbasesink.c:
483         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
484         (gst_base_src_base_init), (gst_base_src_class_init):
485         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
486         (gst_capsfilter_class_init):
487         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
488         (gst_fake_sink_class_init):
489         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
490         (gst_fake_src_class_init):
491         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
492         (gst_fd_sink_class_init):
493         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
494         (gst_fd_src_class_init):
495         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
496         (gst_file_sink_class_init):
497         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
498         (gst_file_src_class_init):
499         * plugins/elements/gstidentity.c: (gst_identity_base_init),
500         (gst_identity_class_init):
501         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
502         (gst_multi_queue_class_init):
503         * plugins/elements/gstqueue.c: (gst_queue_base_init),
504         (gst_queue_class_init):
505         * plugins/elements/gsttee.c: (gst_tee_base_init),
506         (gst_tee_class_init):
507         * plugins/elements/gsttypefindelement.c:
508         (gst_type_find_element_base_init),
509         (gst_type_find_element_class_init):
510         * tests/check/gst/gstelement.c: (gst_element_suite):
511         Revert previous changes to the behaviour of GstPadTemplates, etc
512         and the possiblity to call them in class_init as it breaks too
513         many elements. Reopens bug #491501.
514
515         Should be applied again for 0.11, thus added a few FIXME 0.11 at
516         several places.
517
518 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
519
520         * tools/gst-launch.c:
521         Dump one graph per pipeline state-change and state change name
522         (if GST_DEBUG_DUMP_DOT_DIR is set).
523
524 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
525
526         * gst/gstpad.c:
527         * tests/check/gst/gstpad.c:
528         Be sure that we have a new copy of the caps and not
529         reffed caps from a template
530
531 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
532
533         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
534         * gst/gstpipeline.c: (gst_pipeline_get_type),
535         (gst_pipeline_class_init):
536         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
537         (gst_base_sink_class_init):
538         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
539         (gst_base_src_class_init):
540         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
541         (gst_base_transform_class_init):
542         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
543         (gst_collect_pads_class_init):
544         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
545         * libs/gst/net/gstnettimeprovider.c:
546         (gst_net_time_provider_base_init),
547         (gst_net_time_provider_class_init):
548         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
549         (gst_capsfilter_class_init):
550         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
551         (gst_fake_sink_class_init):
552         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
553         (gst_fake_src_class_init):
554         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
555         (gst_fd_sink_class_init):
556         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
557         (gst_fd_src_class_init):
558         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
559         (gst_file_sink_class_init):
560         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
561         (gst_file_src_class_init):
562         * plugins/elements/gstidentity.c: (gst_identity_base_init),
563         (gst_identity_class_init):
564         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
565         (gst_multi_queue_class_init):
566         * plugins/elements/gstqueue.c: (gst_queue_base_init),
567         (gst_queue_class_init):
568         * plugins/elements/gsttee.c: (gst_tee_base_init),
569         (gst_tee_class_init):
570         * plugins/elements/gsttypefindelement.c:
571         (gst_type_find_element_base_init),
572         (gst_type_find_element_class_init):
573         Don't use base_init where not absolutely necessary. For example it's
574         not necessary anymore for adding pad templates or setting element
575         details.
576
577         Leave empty base_init functions in several places as GST_BOILERPLATE
578         still defines and uses them.
579
580 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
581
582         * gst/gstelement.c: (gst_element_base_class_init),
583         (gst_element_class_add_pad_template):
584         * gst/gstpadtemplate.c:
585         Make it possible (and recommended) to set element details and add
586         pad templates in the class_init functions by copying the details/pad
587         templates in GstElement's base_init.
588
589         Also make it possible to replace existing pad templates by adding
590         a new one with the same name. This was done in a hackish fashion
591         in same elements before already.
592
593         Don't reference pad templates that are added a second time. A
594         new pad template has a refcount of one and is not floating anymore
595         and to be owned by the element's class. Make this more explicit by
596         mentioning it in the docs of gst_element_class_add_pad_template().
597
598         These changes are backwards compatible. Fixes bug #491501.
599
600         * tests/check/gst/gstelement.c:
601         Add unit test for setting element details, adding pad templates and
602         replacing them in a subclass.
603
604 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
605
606         * tools/gst-inspect.c: (print_interfaces),
607         (print_element_properties_info), (print_pad_info),
608         (print_signal_info), (print_element_info):
609         Fix a few memory leaks.
610
611 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
612
613         * docs/libs/gstreamer-libs-sections.txt:
614         * libs/gst/check/gstcheck.c:
615         * libs/gst/check/gstcheck.h:
616         Add more functions for unit testing: gst_check_drop_buffers,
617         gst_check_caps_equal, gst_check_element_push_buffer_list,
618         gst_check_element_push_buffer
619         API: gst_check_drop_buffers
620         API: gst_check_caps_equal
621         API: gst_check_element_push_buffer_list
622         API: gst_check_element_push_buffer
623
624 2008-02-01  Julien Moutte  <julien@fluendo.com>
625
626         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
627         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
628         (gst_index_finalize), (gst_index_entry_free),
629         (gst_index_add_association): Fix memory leaks.
630         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
631         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
632         (gst_mem_index_free_format), (gst_mem_index_free_id),
633         (gst_mem_index_finalize): Fix memory leaks.
634         * win32/common/config.h: Updated to CVS HEAD.
635
636 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
637
638         * docs/README:
639           Some more details about how the plugin docs works.
640
641         * docs/plugins/gstreamer-plugins-sections.txt:
642           Whitespace cleanup.
643
644 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
645
646         * gst/parse/grammar.tab.pre.c:
647         * gst/parse/grammar.tab.pre.h:
648         * gst/parse/grammar.y:
649         * gst/parse/lex._gst_parse_yy.pre.c:
650           Add delayed set-property. This allows to set properties on dynamicaly
651           created objects (pads in videomxer).
652
653 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
654
655         * gst/gstutils.c:
656         Check if caps are not NULL (fix bug #510194)
657
658 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
659
660         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
661         (gst_base_sink_get_position_paused):
662         Add fixme regarding EOS in pull mode.
663         Fix position reporting in PAUSED for negative rates.
664
665 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
666
667         * gst/gstminiobject.c: (gst_mini_object_replace):
668         When replacing a miniobject, do a quick equality check first so that we
669         can avoid a ref/unref pair.
670
671 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
672
673         * docs/design/part-synchronisation.txt:
674         Update some docs.
675
676         * docs/plugins/Makefile.am:
677         * docs/plugins/gstreamer-plugins-docs.sgml:
678         * docs/plugins/gstreamer-plugins-sections.txt:
679         * plugins/elements/gstmultiqueue.c:
680         Add multiqueue to the docs.
681
682 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
683
684         * configure.ac:
685           Back to CVS
686
687 === release 0.10.17 ===
688
689 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
690
691         * configure.ac:
692           releasing 0.10.17, "Due Negligence"
693
694 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
695
696         * gst/gstutils.c:
697         Revert caps != NULL check temporarily for 0.10.17 release.
698
699 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
700
701         * gst/gstutils.c:
702         Check if caps are not NULL (fix bug #510194)
703
704 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
705
706         * gst/gstutils.c:
707         Fix compilation on systems that have posix timers but no
708         monotonic clock.
709         Fixes: #512715
710         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
711         dot net>
712
713 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
714
715         * tools/gst-inspect.c:
716         Revert previous commit in preparation for an impromptu 0.10.17 release
717
718 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
719
720         * tools/gst-inspect.c: (print_interfaces),
721         (print_element_properties_info), (print_pad_info),
722         (print_signal_info), (print_element_info):
723         Fix a few memory leaks.
724
725 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
726
727         * configure.ac:
728         Back to CVS
729
730 === release 0.10.16 ===
731
732 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
733
734         * configure.ac:
735           releasing 0.10.16, "Special Dispensation"
736
737 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
738
739         * configure.ac:
740           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
741           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
742           not fail when trying to crosscompile on OpenEmbedded (#511750).
743
744 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
745
746         * docs/manuals.mak:
747         Use $(MAKE) instead of make to fix the build if GNU make is
748         called different. Fixes bug #510747.
749
750 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
751
752         * gst/gstplugin.c: (_gst_plugin_initialize):
753           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
754           again, which I broke two commits ago when changing the API
755           of gst_plugin_register_static(): the g_list_foreach() in
756           _gst_plugin_register_static still assumed the old function
757           signature and would therefore fail (re-fixes #510187).
758
759         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
760           (_gst_plugin_register_static), (gst_plugin_register_static):
761           Revert the (technically correct) change to call g_thread_init() from
762           the pre-main() constructor. This will break programs which call
763           g_thread_init() without an if (!g_thread_supported()) guard in their
764           main function. We could just blame it on GLib or the application, but
765           it's probably best to just avoid this altogether and simply not use
766           any GLib functions here and use plain old malloc() with a simple
767           array to store the plugins to register later when gst_init() is
768           finally called (re-fixes #510187).
769
770         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
771           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
772           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
773           (GST_START_TEST), (gst_plugin_suite):
774           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
775           works.
776
777 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
778
779         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
780           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
781           This makes gtk-doc complain, but results in slightly better
782           compiler errors. The old _gst_plugin_register_static() is
783           still guarded, so there'll be a compiler warning about that
784           instead. Fixes #510187 too.
785
786 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
787
788         * gst/gst.c: (init_post):
789         * gst/gstplugin.c: (_gst_plugin_register_static),
790           (gst_plugin_register_static), (_gst_plugin_initialize):
791         * gst/gstplugin.h: (GstPluginFilter):
792           Change API of gst_plugin_register_static() to not take
793           a GstPluginDesc, but rather just take all the arguments
794           in a GstPluginDesc directly. This is more intuitive and
795           avoids certain mistakes when porting code from
796           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
797           Fixes #510187.
798
799         * tests/check/gst/gstplugin.c:
800           Fix up for changed API.
801
802 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
803
804         * docs/faq/legal.xml:
805           Update FAQ, Totem actually has an exception these days.
806
807 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
808
809         * win32/common/libgstreamer.def:
810         Add new API declarations
811
812 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
813
814         * gst/gstminiobject.c:
815           Spelling fixes for the API docs.
816
817 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
818
819         * libs/gst/base/gstbasetransform.c:
820           Fix long property description for QoS.
821
822 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
823
824         * gst/gst.c:
825         _gst_trace_on is already provided by gsttrace.h, no need to declare
826         it ourselves.
827
828         * docs/libs/gstreamer-libs-sections.txt:
829         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
830         and remove strange tcase_add_test which is outputting a warning.
831
832         * libs/gst/check/gstcheck.c:
833         * libs/gst/check/gstcheck.h:
834         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
835         and define them in gstcheck.c instead of having every .c file whcih
836         includes gstcheck.h be defining its own copy and relying on symbol
837         interposing to marry them all, which doesn't work on Solaris.
838
839         * tests/check/elements/identity.c: (GST_START_TEST):
840         Don't define 'buffers' locally, it comes from libgstcheck.
841
842         * tests/check/generic/sinks.c: (send_buffer):
843         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
844
845         * tests/check/gst/gststructure.c: (GST_START_TEST):
846         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
847         * tests/check/gst/gstutils.c: (GST_START_TEST):
848         * tests/check/gst/gstvalue.c: (GST_START_TEST):
849         Add a bunch of casts to make various constants fit the types
850         they're being assigned to.
851
852 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
853
854         * gst/gstchildproxy.c:
855           Improve docs and add some ideas for making this more general-purpose.
856
857 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
858
859         * gst/gst_private.h: (GST_CAT_TYPES):
860           Add GST_CAT_TYPES, for consistency, and so that the other
861           debug categories don't make fun of it. Spotted by Saur on IRC.
862
863 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
864
865         * gst/parse/Makefile.am:
866           Move types.h from EXTRA_DIST to noinst_HEADERS.
867
868 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
869
870         * autogen.sh:
871           Add -Wno-portability to the automake parameters to stop warnings
872           about GNU make extensions being used. We require GNU make in almost
873           every Makefile anyway.
874
875         * configure.ac:
876           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
877           at the same time is required for per target flags.
878
879 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
880
881         * gst/gstmacros.h:
882           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
883           __GNUC__ is defined before using it.
884
885 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
886
887         * docs/gst/gstreamer-sections.txt:
888         * gst/gst.c: (init_post):
889         * gst/gstplugin.c: (_gst_plugin_register_static),
890           (gst_plugin_register_static), (_gst_plugin_initialize),
891           (gst_plugin_register_func):
892         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
893           API: add gst_plugin_register_static() and deprecate
894           GST_PLUGIN_DEFINE_STATIC, since it's not portable
895           (#498924).
896           Also, in _gst_plugin_register_static(), make sure to call
897           g_thread_init() before calling GLib functions such as
898           g_list_append() if we're not initialised yet, since that
899           may lead to random crashes with older GSlice/GLib versions.
900
901         * tests/check/gst/gstplugin.c:
902           Adapt unit test to above changes.
903
904 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
905
906         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
907         * gst/gstcaps.c: (gst_caps_to_string):
908         * gst/gststructure.c: (GST_ASCII_IS_STRING),
909           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
910           Yet another gratuitous GString micro-optimisation: add a (private)
911           function that serialises a structure appending to an existing
912           GString, so that when we serialise caps we don't need to alloc+free
913           a throwaway GString for each structure (each of which also entailing
914           multiple reallocs on the way); also use g_string_sized_new() in
915           various places with an approximate string length to avoid reallocs
916           within GString. See #500143.
917
918 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
919
920         * gst/gststructure.c: (gst_structure_id_set_value):
921           Always check UTF-8 conformance of structure strings and not only
922           if the debugging system is enabled; reasoning: the behaviour of
923           the actual code shouldn't really change depending on whether the
924           debugging system is enabled or not (#508291).
925
926 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
927
928         * Makefile.am:
929           Remove old coverage target in favour of "make lcov".
930
931 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
932
933         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
934         (gst_base_src_loop):
935         The start segment for reverse playback goes from start to last_stop.
936
937 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
938
939         Patch by: Peter Kjellerstedt <pkj axis com>
940
941         * gst/gstclock.h:
942         Cast the results from the timeval/spec_to_time macros to what the
943         docs say it casts to, a GstClockTime. fixes #508175.
944
945 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
946
947         * gst/gstbuffer.c:
948         Update some comments.
949
950         * tools/gst-inspect.c: (print_element_properties_info):
951         Improve printing of flags.
952
953 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
954
955         * libs/gst/base/gstbasetransform.c:
956           (gst_base_transform_transform_size):
957           Print element name with g_warning() if there's a problem
958           with the unit size.
959
960 2008-01-07  David Schleef  <ds@schleef.org>
961
962         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
963
964         * libs/gst/controller/gstcontroller.h:
965         * libs/gst/controller/gstcontrolsource.h:
966         * libs/gst/controller/gstinterpolationcontrolsource.h:
967         * libs/gst/controller/gstlfocontrolsource.h:
968         * libs/gst/dataprotocol/dataprotocol.h:
969           Fix empty prototypes.  Fixes bug #507957.
970
971 2008-01-07  David Schleef  <ds@schleef.org>
972
973         * docs/faq/dependencies.xml: Fix typo.
974
975 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
976
977         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
978         (gst_base_src_loop):
979         Don't update the last_stop position in do_seek, that's the position we
980         did a seek to.
981         Read backwards when we have a negative rate.
982
983         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
984         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
985         (filesrc_suite):
986         Add check for reverse reading.
987
988 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
989
990         Patch by: Alexis Ballier <aballier at gentoo org>
991
992         * tests/check/gst/gstabi.c:
993         * tests/check/gst/struct_ppc64.h:
994         * tests/check/libs/libsabi.c:
995         * tests/check/libs/struct_ppc64.h:
996           Decide which header to include based on the userland ABI target
997           and not the kernel/cpu. Fix up structure sizes of ppc64 header
998           for 64-bit userland (#503590).  Might need something similar for
999           x86 too.
1000
1001 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1002
1003         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
1004           Log the reason why fopen fails in addition to the fact that it failed.
1005           
1006 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
1007
1008         * gst/parse/parse.l:
1009         Use "%option never-interactive" to prevent useless calls to isatty()
1010         on every input when parsing. Also use "%option noinput" to not define
1011         the static input/yyinput functions which we don't use anyway. This
1012         removes a compiler warning with gcc 4.3 and saves some bytes in the
1013         library.
1014         
1015         * gst/parse/lex._gst_parse_yy.pre.c:
1016         Regenerated for the above change.
1017
1018 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1019
1020         * gst/gstpad.c: (fixate_value):
1021         Don't crash when trying to fixate and empty list.
1022         Fixes #506643.
1023
1024 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
1025
1026         * docs/faq/gst-uninstalled:
1027         Clarify the comments to make the usage of this script and what it
1028         does easier to understand.
1029
1030 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
1031
1032         * tools/gst-plot-timeline.py:
1033         Add more options to gst-plot-timeline
1034
1035 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1036
1037         * docs/design/part-synchronisation.txt:
1038         Some more info on how the stream_time in GstBaseSink is done.
1039
1040 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
1041
1042         * tests/check/generic/sinks.c: (gst_sinks_suite):
1043           Put back the tcase_set_timeout(), apparently it's needed after
1044           all; fix it up in a way that makes things work with valgrind too.
1045
1046 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
1047
1048         * gst/gstdebugutils.c:
1049           Add warning when failed to open file for writing.
1050
1051 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1052
1053         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
1054
1055         * gst/gstvalue.c: (gst_value_is_fixed):
1056           Optimisation: bail out of the loop as early as possible (#500143).
1057
1058 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1059
1060         * gst/gstcaps.c: (gst_caps_to_string):
1061         * gst/gstinfo.c: (gst_debug_construct_term_color):
1062         * gst/gstparse.c: (gst_parse_launchv):
1063         * gst/gstutils.c: (gst_util_dump_mem):
1064         * gst/gstvalue.c: (gst_value_serialize_any_list),
1065           (gst_value_transform_any_list_string):
1066           Bunch of gratuitous nano-optimisations.
1067
1068 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1069
1070         * tests/check/generic/sinks.c: (async_done_func),
1071           (async_done_eos_func):
1072           Fix leak in unit test (bus sync handler must unref the message
1073           if it returns GST_BUS_DROP). Don't fiddle with the default test
1074           timeout, this is smaller than the current preconfigured value
1075           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
1076           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
1077
1078 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1079
1080         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1081
1082         * configure.ac:
1083         Check for stdio_ext.h for the filesink changes.
1084
1085         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
1086         (gst_file_sink_class_init), (gst_file_sink_init),
1087         (gst_file_sink_dispose), (gst_file_sink_set_property),
1088         (gst_file_sink_get_property), (gst_file_sink_open_file),
1089         (gst_file_sink_close_file):
1090         * plugins/elements/gstfilesink.h:
1091         Add two properties to control the buffering mode and size.
1092         API: GstFileSink::buffer-mode
1093         API: GstFileSink::buffer-size
1094         Fixes #500150.
1095
1096 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1097
1098         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
1099         Add some more docs to explain why a FIXME was wrongly added. 
1100
1101 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
1102
1103         * gst/gstobject.c:
1104           Fix typo in the gst_object_{ref,unref} documentation.
1105
1106 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
1107
1108         * tests/check/libs/controller.c:
1109         * tests/check/libs/typefindhelper.c:
1110         * tests/check/pipelines/parse-launch.c:
1111           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
1112           going to be deprecated (see #498924).
1113
1114 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
1115
1116         * gst/gsttypefind.c: (gst_type_find_register):
1117           Make gst_type_find_register work for static typefind functions,
1118           ie. allow passing plugin == NULL (prerequisite for #498924).
1119
1120         * gst/gstelementfactory.c: (gst_element_register):
1121           Small docs addition.
1122
1123 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1124
1125         * gst/gstpad.c: (gst_pad_dispose):
1126         Really unlink the peer pad instead of setting the peer pointer to NULL
1127         when we dispose the pad.
1128         This correctly calls the unlink functions and makes sure that the peer
1129         does not have a handle to invalid memory. See #504671.
1130
1131         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1132         Add testsuite for above case.
1133
1134 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
1135
1136         Patch by: Peter Kjellerstedt <pkj axis com>
1137
1138         * libs/gst/check/gstcheck.h:
1139           Fix detection of the check version we're compiling against (would
1140           otherwise break if check goes v0.10.0); correctly report the
1141           name of the failed test again in case of failure, instead of
1142           just 'tf' (fixes #504499).
1143
1144 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1145
1146         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1147         (gst_base_src_get_range), (gst_base_src_pad_get_range),
1148         (gst_base_src_loop), (gst_base_src_set_flushing),
1149         (gst_base_src_change_state):
1150         Allow sending EOS to the source to make it send out an EOS event from
1151         the streaming thread.
1152         Update docs and deprecate the old NULL/READY shutdown method.
1153
1154         * tests/check/libs/basesrc.c: (GST_START_TEST),
1155         (gst_basesrc_suite):
1156         Add unit test for controlled shutdown.
1157
1158 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1159
1160         * docs/design/part-synchronisation.txt:
1161         Small updates.
1162
1163         * gst/gstsegment.c: (gst_segment_set_seek),
1164         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1165         (gst_segment_to_running_time):
1166         The seek format can be different from the segment format when the start
1167         and stop values are not to be updated, when we only do a rate change for
1168         example.
1169
1170         * tests/check/gst/gstsegment.c: (GST_START_TEST),
1171         (gst_segment_suite):
1172         Add a testcase for the rate-only seeks, checking that the format is
1173         correctly ignored when start and stop are not updated.
1174
1175 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
1176
1177         Patch by: Matthias Bolte <photon at mail dot upb dot de>
1178
1179         * win32/vs8/grammar.vcproj:
1180         * win32/vs8/libgstcontroller.vcproj:
1181         * win32/vs8/libgstreamer.vcproj:
1182         Fix compilation with VS8 and include some missing files.
1183
1184 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
1185
1186         * gst/gsttaglist.c:
1187           Small docs addition: mention that the strings returned by
1188           gst_tag_list_get_string*() are in UTF-8 encoding.
1189
1190 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
1191
1192         * Makefile.am:
1193           The check-exports stuff moved to common/win32.mak, so include that.
1194
1195 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1196
1197         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1198         (gst_base_src_perform_seek), (gst_base_src_get_range),
1199         (gst_base_src_set_playing), (gst_base_src_change_state):
1200         Make _wait_playing() not check any variables so that we can call this
1201         function from subclasses. Move the checks elsewhere similar to
1202         _wait_preroll() in basesink.
1203         Add some debugging.
1204         Only signal the LIVE cond when we are going back to PLAYING.
1205
1206 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1207
1208         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1209           Use g_remove() and g_rename(). Check result of g_rename(), and
1210           don't leak the open file descriptor if we error out when writing.
1211
1212         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
1213           Must check the return value of close() after writing out the new
1214           registry file.  Sometimes write problems such as out-of-diskspace
1215           are only reported when the file is closed and not already during
1216           the write.  This may have caused partial/broken registry files in
1217           some rare circumstances. Should fix #503675.
1218
1219 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
1220
1221         * docs/gst/.cvsignore:
1222         * docs/libs/.cvsignore:
1223         * docs/plugins/.cvsignore:
1224         Ignore files generated by new common/* modifications
1225
1226 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1227
1228         * win32/common/libgstbase.def:
1229           Yes, you can also have a <TAB> if you want.
1230
1231 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1232
1233         * win32/common/libgstbase.def:
1234           Add new basetransform API to win export file.
1235
1236 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1237
1238         * tests/check/gst/gstbin.c:
1239           Adjust the test to the refcount change two days ago.
1240
1241 2007-12-14  David Schleef  <ds@schleef.org>
1242
1243         * docs/faq/getting.xml: Fix typo.
1244
1245 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
1246
1247         * docs/libs/gstreamer-libs-sections.txt:
1248         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1249           (gst_base_transform_prepare_output_buffer),
1250           (gst_base_transform_set_gap_aware):
1251         * libs/gst/base/gstbasetransform.h:
1252           API: Add gst_base_transform_set_gap_aware() to control whether
1253           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
1254           get buffers with this flag at all. Fixes #503231.
1255
1256 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
1257
1258         * libs/gst/base/gstbasesink.c:
1259         * libs/gst/base/gstbasesrc.c:
1260         * libs/gst/base/gstbasetransform.c:
1261           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
1262           thread. Correct log message in gstbasesrc.c.
1263
1264 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1265
1266         * gst/gstutils.c: (element_find_unconnected_pad):
1267           Fix possible compiler warning (#503417).
1268
1269 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1270
1271         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
1272           Don't use GST_CAT_EVENT here for logging, it makes no sense.
1273
1274 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
1275
1276         * tools/gst-inspect.c: (print_element_properties_info):
1277           Add support for GstFraction properties.
1278
1279 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
1280
1281         * Makefile.am:
1282           Add check-exports target and run it as part of 'make check'
1283           (see #499140 and #493983).
1284
1285         * gst/gst_private.h:
1286         * gst/gstelementfactory.h:
1287         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
1288         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
1289           (_priv_gst_in_valgrind):
1290         * gst/gstinfo.h: (GstLogFunction):
1291         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
1292           (gst_type_find_register):
1293         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
1294           (gst_type_find_factory_get_type):
1295         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
1296           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
1297           (gst_controller_new_valist), (gst_controller_new_list),
1298           (_gst_controller_dispose), (_gst_controller_class_init):
1299         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
1300         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
1301           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
1302           (gst_object_get_controller), (gst_object_set_controller),
1303           (gst_object_suggest_next_sync), (gst_object_sync_values),
1304           (gst_object_set_control_source), (gst_object_get_control_source),
1305           (gst_object_get_value_arrays), (gst_object_get_value_array),
1306           (gst_object_get_control_rate), (gst_object_set_control_rate):
1307         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
1308         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
1309           Make some functions that should be static static; rename some
1310           private symbols so that they don't get exported; add some FIXME
1311           comments so we can move accidentally exported functions into
1312           our private section in 0.11.
1313
1314         * win32/common/libgstreamer.def:
1315           Add gst_utils_get_timestamp().
1316
1317 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
1318
1319         * gst/gstvalue.c:
1320         * gst/gstvalue.h:
1321           Add more missing "Since:" tags to docs.
1322
1323 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
1324
1325         * gst/gstutils.c:
1326           Add mising "Since:" to docs.
1327
1328 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1329
1330         * gst/gstplugin.c:
1331           Include "glib-compat-private.h" to fix the build on system with
1332           glib < 2.10. Fixes #503131.
1333
1334 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1335
1336         * gst/gstutils.c:
1337         * gst/gstutils.h:
1338           Actually its not PURE as it gets the time from elsewhere.
1339
1340 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1341
1342         * docs/gst/gstreamer-sections.txt:
1343         * gst/gstclock.h:
1344         * gst/gstdebugutils.c:
1345         * gst/gstinfo.c:
1346         * gst/gstutils.c:
1347         * gst/gstutils.h:
1348         * libs/gst/base/gstbasesink.c:
1349         * tools/gst-launch.c:
1350           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
1351           uses as we don't have HAVE_POSIX_TIMERS in public headers.
1352           Thanks Tim for spotting.
1353           API: gst_util_get_timestamp
1354
1355 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
1356
1357         * configure.ac:
1358           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
1359
1360 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
1361
1362         * gst/gststructure.c: (gst_structure_validate_name),
1363           (gst_structure_new_valist), (gst_structure_parse_value),
1364           (gst_structure_from_string):
1365           Don't crash in _from_string() if the structure name is not valid
1366           (fixes #501560).  Allow structure names to start with a number
1367           again (this apparently broke the ubuntu codec installer).
1368
1369         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
1370           (GST_START_TEST):
1371           Add unit test for the crash; update unit tests for new behaviour.
1372
1373 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
1374
1375         * gst/gstutils.c:
1376         Clarify gst_element_get_compatible_pad() documentation.
1377         Fixes #500919.
1378
1379 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
1380
1381         * tests/check/Makefile.am:
1382           Don't forget to dist {gst,libs}/struct_hppa.h.
1383
1384 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1385
1386         * libs/gst/base/gstbasesink.c:
1387           Use new API to get elapsed time.
1388
1389 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1390
1391         * gst/gstdebugutils.c:
1392         * gst/gstinfo.c:
1393           Fix wrong order of args in GST_CLOCK_DIFF() usage.
1394
1395         * tools/gst-launch.c:
1396           Use new API to get elapsed time.
1397
1398 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1399
1400         * docs/gst/gstreamer-sections.txt:
1401         * gst/gstclock.h:
1402         * gst/gstdebugutils.c:
1403         * gst/gstinfo.c:
1404           Rename new API + ChangeLog surgery to remove old name from last entry..
1405
1406 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1407
1408         * docs/gst/gstreamer-sections.txt:
1409         * gst/gstclock.h:
1410         * gst/gstdebugutils.c:
1411         * gst/gstinfo.c:
1412           Now hide the different clock stuff behind a macro.
1413
1414 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1415
1416         * configure.ac:
1417         * gst/gstdebugutils.c:
1418         * gst/gstinfo.c:
1419           Apply the posix-timer check from #361155. Conditionally use the posix
1420           timer for logging. This gives better timestamp precission, less
1421           overhead and no ntp jitter.
1422
1423 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
1424
1425         * gst/gstminiobject.c: (gst_mini_object_get_type),
1426         (gst_mini_object_class_init), (gst_mini_object_copy_default),
1427         (gst_mini_object_finalize), (gst_mini_object_copy),
1428         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
1429         (gst_mini_object_replace), (param_mini_object_validate),
1430         (gst_param_spec_mini_object_get_type):
1431         Some cleanup and checking against invalid function parameters.
1432
1433 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
1434
1435         * docs/gst/gstreamer-sections.txt:
1436         * gst/gstclock.h:
1437         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1438         (gst_systemclock_suite):
1439         Start merging in the easy bits of #361155, the monotonic clock patch.
1440         This one adds a few handy macros with docs and a testsuite.
1441
1442 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
1443
1444         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
1445         Be a bit smarter when seeking, like, don't try to do a seek when it's
1446         not needed. This avoids errors when the file is not seekable.
1447         Fixes #499771.
1448
1449 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
1450
1451         * docs/gst/gstreamer-docs.sgml:
1452         * docs/gst/gstreamer-sections.txt:
1453         * docs/gst/gstreamer.types.in:
1454         * gst/Makefile.am:
1455         * gst/gst.h:
1456         * gst/gstpreset.c:
1457         * gst/gstpreset.h:
1458         * plugins/elements/gstqueue.c:
1459           Due to popular request remove preset interface again. :-(.
1460
1461 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
1462
1463         * tools/gst-inspect.c:
1464           Print 'default value' for enums and flags too.
1465
1466 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
1467
1468         * docs/random/ensonic/profiling.txt:
1469           More ideas.
1470
1471         * gst/gstbin.c:
1472           Fix typo and give better log output.
1473
1474         * gst/gstdebugutils.c:
1475         * gst/gstdebugutils.h:
1476           More ideas, make graphs a bit smaller and fix param name in macro.
1477
1478 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
1479
1480         * gst/gstpreset.c:
1481           Try harder to use the return value from fgets().
1482
1483 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
1484
1485         * gst/gstpreset.c:
1486           For theses two fgets we handle the error below.
1487
1488 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
1489
1490         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1491         Only send upstream events upstream. Fixes #498746.
1492
1493 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
1494
1495         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1496
1497         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1498         (gst_identity_init), (gst_identity_transform_ip),
1499         (gst_identity_set_property), (gst_identity_get_property):
1500         * plugins/elements/gstidentity.h:
1501         Add property to disable handoff signal emission. Fixes #498694.
1502         API: GstIdentity::signal-handoffs
1503
1504 2007-11-21  Julien Moutte  <julien@fluendo.com>
1505
1506         * docs/faq/gst-uninstalled: Yet another missing library for the
1507         uninstalled script (fft)
1508
1509 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
1510
1511         * docs/faq/developing.xml:
1512         Add a question about how to submit new translations.
1513
1514         * docs/random/release:
1515         Update the contact email address for the Translation Project
1516
1517         * plugins/elements/gstfdsrc.c:
1518         The parent_class for fdsrc is pushsrc, not GstElement.
1519
1520 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
1521
1522         * gst/gstpreset.c:
1523           Plug a leak and fix saving.
1524
1525 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
1526
1527         * docs/gst/gstreamer-sections.txt:
1528         Add new gst_preset__get_property_names() function to the docs
1529         to fix the build.
1530
1531 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
1532
1533         * gst/gstpreset.c:
1534         * gst/gstpreset.h:
1535           Change _get_preset_names API to return a strv with copies. Add
1536           _get_property_names to allow implementations to filter and provide
1537           good default implementation.
1538
1539 2007-11-20  Julien MOUTTE  <julien@moutte.net>
1540
1541         * docs/faq/gst-uninstalled: Add another library to the uninstalled
1542         script (sdp).
1543
1544 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
1545
1546         * gst/gstpreset.c:
1547           More cleanups, docs, and TODOs from comments that now slowly come in.
1548
1549 2007-11-19  Julien MOUTTE  <julien@moutte.net>
1550
1551         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
1552         search path.
1553
1554 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
1555
1556         * gst/gstpreset.c:
1557           Fix bogus warning and make the property type specific code more
1558           similar.
1559
1560 2007-11-19  Julien MOUTTE  <julien@moutte.net>
1561
1562         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
1563         it build on OS X.
1564
1565 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
1566
1567         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1568         (gst_bin_add_func), (gst_bin_remove_func),
1569         (gst_bin_change_state_func), (gst_bin_continue_func):
1570         Change email, cleanups add some more debug and comments.
1571         Also set bus and clock on new elements when the pipeline was in error.
1572
1573 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
1574
1575         * gst/gstbin.c:
1576         * gst/gstdebugutils.c:
1577           Fix build with --disable-gst-debug. Fixes #497859.
1578           Spotted by Sameer Naik.
1579
1580 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
1581
1582         * gst/gstevent.c:
1583           Little documentation improvment.
1584
1585         * gst/gstpreset.c:
1586           More TODO cleanups. Remove c++ comments.
1587
1588         * libs/gst/controller/gstcontroller.c:
1589           Add TODO and use quark from static string.
1590
1591         * tests/check/gst/gstmessage.c:
1592         * tests/check/gst/gststructure.c:
1593           Use quark from static string.
1594
1595 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
1596
1597         * gst/gstpreset.c:
1598           Add some comments and TODOs.
1599
1600         * gst/gstpreset.h:
1601           Add padding for future changes.
1602
1603         * plugins/elements/gstqueue.c:
1604           Implement the iface.    
1605
1606 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
1607
1608         * docs/gst/gstreamer-docs.sgml:
1609         * docs/gst/gstreamer-sections.txt:
1610         * docs/gst/gstreamer.types.in:
1611         * gst/Makefile.am:
1612         * gst/gst.h:
1613         * gst/gstpreset.c:
1614         * gst/gstpreset.h:
1615           Add the preset interface (Fixes #396779). Do some doc cleanups along.
1616
1617 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
1618
1619         * configure.ac:
1620
1621         Back to CVS
1622
1623 === release 0.10.15 ===
1624
1625 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
1626
1627         * configure.ac:
1628           releasing 0.10.15, "October"
1629
1630 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
1631
1632         * win32/vs6/libgstreamer.dsp:
1633         Convert line endings back to DOS.
1634
1635 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
1636
1637         * docs/design/draft-tagreading.txt:
1638         * docs/random/ensonic/profiling.txt:
1639         Update fast tagreading draft and performance profiling ideas.
1640
1641 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
1642
1643         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
1644         Don't hold the object lock when unreffing a buffer because it could
1645         cause a deadlock when the finalize function wants to grab the object
1646         lock too. Fixes #495133.
1647
1648 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
1649
1650         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
1651         (gst_segment_to_stream_time), (gst_segment_to_running_time):
1652         Also accumulate time correctly when doing reverse playback. Fixes
1653         #488201,
1654         When converting to running and stream time, use default values for
1655         start/stop/time/accum when comparing different formats. Fixes #494245.
1656
1657         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1658         Do running/stream time in TIME format.
1659
1660         * tests/check/gst/gstsegment.c: (GST_START_TEST),
1661         (gst_segment_suite):
1662         2 new unit tests for segment accumulation.
1663
1664 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1665
1666         * gst/gst.c: (init_pre):
1667         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
1668           (_gst_debug_bin_to_dot_file):
1669           Move getenv() back into gst_init, so everyone can live happily
1670           ever after. Make sure the symbol isn't exported though.
1671
1672 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1673
1674         Patch by: Sebastien Moutte  <sebastien moutte net>
1675
1676         * win32/common/gstenumtypes.c:
1677         * win32/common/gstenumtypes.h:
1678           Update enum types.
1679
1680         * win32/vs6/libgstreamer.dsp:
1681           Update vs6 project files (#494343).
1682
1683 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1684
1685         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
1686         (gst_base_src_perform_seek), (gst_base_src_default_event),
1687         (gst_base_src_set_flushing), (gst_base_src_activate_push),
1688         (gst_base_src_activate_pull):
1689         Unify flushing code, remove some old unlock code that is no longer used.
1690         Take the streaming lock when seeking to avoid races. Fixes #492729.
1691         Added some more comments.
1692
1693 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1694
1695         * gst/gst.c: (_gst_disable_segtrap):
1696           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
1697           we can use gst_segtrap_is_enabled() there now that we have that API.
1698           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
1699           to do the getenv here (and export the variable).
1700
1701         * gst/gstdebugutils.c: (debug_dump_element),
1702           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
1703           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
1704
1705         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
1706           (gst_debug_log_default):
1707           Rename _gst_info_start_time to priv_gst_info_start_time so it
1708           doesn't get exported (was never in any header).
1709
1710         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
1711           (gst_plugin_loading_mutex):
1712           Make static mutex gst_plugin_loading_mutex really static (was never
1713           in any header), and use gst_segtrap_is_enabled() instead of
1714           _gst_disable_segtrap.
1715
1716         * gst/gsttrace.c: (_gst_trace_default):
1717           Make local _gst_trace_default static (was never in any header).
1718
1719 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1720
1721         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
1722
1723         * win32/common/libgstbase.def:
1724         * win32/common/libgstcontroller.def:
1725         * win32/common/libgstdataprotocol.def:
1726         * win32/common/libgstnet.def:
1727         * win32/common/libgstreamer.def:
1728           Add more missing symbols, remove some duplicates, and sort
1729           as the 'sort' command sorts it (partially fixes #493983).
1730
1731 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1732
1733         * gst/gstelement.c: (gst_element_set_state_func):
1734         Only change the state cookie if a different state was set on the
1735         element. See #492729.
1736
1737 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1738
1739         * gst/gstvalue.c:
1740           Remove unused and uninitialised type variables that were still
1741           exported for some reason (they were never in any header files
1742           though).
1743
1744 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1745
1746         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1747         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
1748         (gst_base_sink_event), (gst_base_sink_get_position_last),
1749         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1750         (gst_base_sink_change_state):
1751         Don't try to report a 0 position when we don't know, return -1 and FALSE
1752         instead. This mostly happens when we are prerolling.
1753         Make sure we can report the right position before we post the ASYNC_DONE
1754         message so that a message handler can query position without races.
1755
1756         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1757         (async_done_handoff), (async_done_func), (send_buffer),
1758         (async_done_eos_func), (gst_sinks_suite):
1759         Add two tests for the above.
1760
1761 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1762
1763         * MAINTAINERS:
1764         Update with new email address.
1765
1766         * docs/design/part-TODO.txt:
1767         Add some more info about future pad-block and negotiation changes.
1768
1769         * docs/design/part-buffering.txt:
1770         Add some ideas about buffering reporting.
1771
1772 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
1773
1774         * tests/check/gst/gstobject.c:
1775         Disable silly racy test that always fails on this combination of CPU
1776         and kernel.
1777
1778 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1779
1780         Patch by: Murray Cumming  <murrayc@murrayc.com>
1781
1782         * gst/gstobject.c:
1783           Corrected the registration of the parent-set and parent-unset
1784           signals: The parameter is a GstObject, not a GObject (#493134).
1785
1786 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1787
1788         * gst/gst_private.h:
1789         * gst/gstbuffer.h:
1790         * gst/gstevent.h:
1791         * gst/gstformat.h:
1792         * gst/gstmessage.h:
1793         * gst/gstplugin.h:
1794         * gst/gstquery.h:
1795         * gst/gsttaglist.h:
1796         * gst/gstvalue.h:
1797           Move declaration of private _gst_foo_initialize() functions into
1798           our private header file where they should have been all along.
1799
1800 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1801
1802         * docs/plugins/gstreamer-plugins-sections.txt:
1803         * gst/gstdebugutils.h:
1804         * gst/gstxml.h:
1805         * plugins/elements/gstqueue.c:
1806           gtk-doc fixes; trailing-comma-in-enum fix.
1807
1808 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1809
1810         * gst/gst.c: (gst_deinit):
1811           Clean up on deinit (not the external ones though, doesn't seem to be
1812           needed for some reason).
1813
1814 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1815
1816         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
1817           Remove __declspec(dllimport) for MSVC that was copied over into core
1818           from a plugin, obviously without ever having been tested (note the
1819           single underscore in _declspec in the initial commit), and that doesn't
1820           really make sense.  See #492077.
1821
1822 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1823
1824         * gst/gst.c: (init_post):
1825         * gst/gstevent.c: (_gst_event_initialize):
1826         * gst/gstquery.c: (_gst_query_initialize):
1827         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
1828           g_type_class_ref() other types as well, see #349410 and #64764.
1829
1830         * gst/gstbuffer.c: (_gst_buffer_initialize):
1831         * gst/gstmessage.c: (_gst_message_initialize):
1832           Simplify existing g_type_class_ref().
1833
1834 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1835
1836         * gst/gstformat.c: (_gst_format_initialize):
1837           g_type_class_ref() our GstFormat type to make sure we avoid the
1838           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
1839           bug #64764. Should fix intermittent tee unit test failures (#474823).
1840
1841 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1842
1843         * tests/check/elements/tee.c: (test_num_buffers):
1844           Simplify, simplify, simplify - or not.  Rewrite unit test
1845           not to use gst_parse_launch(); allow N sub-streams. Increasing
1846           the number of sub-streams seems to reproduce #474823 more easily.
1847
1848 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
1849
1850         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
1851
1852         * gst/gsttrace.c:
1853         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1854         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1855         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
1856           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
1857           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
1858           so use _pipe() directly (#492077).
1859
1860         * win32/common/dirent.c: (_treaddir):
1861           Add a couple of casts to make it build without warnings with MSVC.
1862
1863         * win32/common/libgstreamer.def:
1864           Add some more symbols that need to be exported.
1865
1866 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
1867
1868         * tests/examples/metadata/read-metadata.c: (message_loop):
1869           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
1870           arriving in a second or third tag message are added to
1871           the tag list as well.
1872
1873 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
1874
1875         * libs/gst/base/gstbasesrc.c:
1876           Its "Since:" and not "@Since:". And remove an superflous cast.
1877
1878 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
1879
1880         * docs/libs/gstreamer-libs-sections.txt:
1881         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1882         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
1883         (gst_base_sink_get_property), (gst_base_sink_render_object),
1884         (gst_base_sink_preroll_object),
1885         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1886         (gst_base_sink_change_state):
1887         * libs/gst/base/gstbasesink.h:
1888         Add a new last-buffer property that contains the last buffer used in
1889         basesink for preroll or rendering. useful for making snapshots.
1890         API: gst_base_sink_get_last_buffer()
1891         API: GstBaseSink::last-buffer
1892
1893 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
1894
1895         * docs/gst/running.xml:
1896         * gst/gst.c:
1897         * gst/gstdebugutils.c:
1898         * gst/gstdebugutils.h:
1899         * tools/gst-launch.c:
1900           Improve bin graph dumping, by using the envvar to specify a path.
1901           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
1902
1903 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
1904
1905         * plugins/elements/gsttypefindelement.c:
1906           (gst_type_find_element_handle_event),
1907           (gst_type_find_element_activate):
1908           Post special error message if we can't determine the type of a stream
1909           because it's empty.
1910
1911 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
1912
1913         * docs/gst/running.xml:
1914         * gst/gstdebugutils.c:
1915           Document new env-var. Add one log-line after dumpng a graph.
1916
1917 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
1918
1919         * configure.ac:
1920           Ugly hack to put the (recently removed and non-portable, apparently)
1921           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
1922           GNU ld, because without that 'make check' fails miserably on my debian
1923           stable box.  Someone with more knowledge of linker intricacies and
1924           portability issues than me fix this properly please.
1925
1926 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
1927
1928         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1929         Reset last seen position after flushing so that we don't report the old
1930         position anymore.
1931
1932 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
1933
1934         * gst/gstelementfactory.c: (gst_element_register):
1935         * gst/gsturi.h:
1936         Patch from Alessandro Decina adding get_type_full and
1937         get_protocols_full private vfuncs to the URIHandler interface
1938         to allow bindings to support creating URI handlers. 
1939         Partially fixes: #339279
1940         API: GstURIHandlerInterface::get_type_full
1941         API: GstURIHandlerInterface::get_protocols_full
1942
1943 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
1944
1945         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1946         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
1947         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
1948         Make it so that pads are considered linked until a buffer is pushed
1949         and discovered otherwise. This avoids problems with decodebin2 hanging
1950         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
1951         case.
1952
1953         Make sure we lock the multiqueue when updating the max-size properties.
1954         
1955         Fix a crash on Solaris in a debug statement in get_request_pad that
1956         passes a NULL string to GST_DEBUG. 
1957
1958         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1959         (run_output_order_test):
1960         Fix the test to allow the first buffer on not-linked pads to come out
1961         of sequence while multiqueue discovers that they are not-linked.
1962
1963 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
1964
1965         * configure.ac:
1966         * libs/gst/check/Makefile.am:
1967         Use a custom export symbol regex for libgstcheck, as it needs
1968         to export symbols that don't match the standard GStreamer gst_*
1969         pattern, and  --export-dynamic is not portable (only works on 
1970         GNU ld)
1971
1972         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1973         (gst_check_setup_sink_pad):
1974         Make sure to pass a message parameter to the fail_* macros.
1975
1976         * tests/check/gst/gstinfo.c: (GST_START_TEST):
1977         Fix some compiler warnings.
1978
1979 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
1980
1981         * tests/check/gst/gststructure.c: (test_to_string):
1982           Disable test that checks that white spaces are not allowed
1983           in structure names or field names, since we need to
1984           support that for now for backwards compatibility reasons.
1985
1986 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
1987
1988         * docs/gst/gstreamer-sections.txt:
1989         * gst/gsttaglist.c:
1990         * gst/gsttaglist.h:
1991           API: add GST_TAG_ARTIST_SORTNAME
1992           API: add GST_TAG_ALBUM_SORTNAME
1993           API: add GST_TAG_TITLE_SORTNAME
1994           Add tag variants for sorting (#414539).
1995
1996 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
1997
1998         * gst/gststructure.c:
1999           Also allow white space for names so we don't break
2000           backwards compatibility.
2001
2002 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
2003
2004         * docs/design/part-TODO.txt:
2005         * docs/design/part-segments.txt:
2006         * docs/design/part-streams.txt:
2007         Small updates.
2008
2009 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
2010
2011         * docs/gst/gstreamer-sections.txt:
2012          Fixed documentation from my previous commit (added new API add
2013          gst_value_set_structure(), add gst_value_get_structure() and
2014          GST_VALUE_HOLDS_STRUCTURE).
2015
2016 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
2017
2018         * gst/gstdebugutils.c:
2019           Reflow code to fix uninitialized variable warning.
2020
2021 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
2022
2023         * gst/gstcaps.c: (gst_caps_to_string),
2024         (gst_caps_from_string_inplace):
2025         * gst/gststructure.c: (gst_structure_get_abbrs),
2026         (gst_structure_to_string), (gst_structure_from_string):
2027         * gst/gstvalue.c: (gst_value_set_structure),
2028         (gst_value_get_structure), (gst_value_serialize_structure),
2029         (gst_value_deserialize_structure), (_gst_value_initialize):
2030         * gst/gstvalue.h:
2031         * tests/check/gst/gststructure.c: (GST_START_TEST),
2032         (gst_structure_suite):
2033         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2034          Added GstStructure to gst_value_table and its related functions.
2035          Changed gst_structure_to_string to print ';' in the end.
2036          Changed gst_caps_to_string to not print ';' beteween its
2037          fields (structures) anymore and remove the lastes ';' from latest
2038          structure. Now it is possible to have nested structures.
2039          In addition, backward compatibilty is assured by accepting '\0' as
2040          end delimiter. Fixes: #487969.
2041          API: add gst_value_set_structure()
2042          API: add gst_value_get_structure()
2043          API: add GST_VALUE_HOLDS_STRUCTURE
2044
2045 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
2046
2047         * gst/gstbus.c:
2048           When no GSource callback has been set up, tell developer
2049           to use a function that actually exists.
2050
2051 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
2052
2053         * docs/gst/gstreamer-sections.txt:
2054         * gst/Makefile.am:
2055         * gst/gst.c:
2056         * gst/gst.h:
2057         * gst/gstdebugutils.c:
2058         * gst/gstdebugutils.h:
2059         * gst/gstinfo.c:
2060         * gst/gstinfo.h:
2061         * tools/gst-launch.c:
2062           Allow dumping pipelines as dot graphs. Fixes #456573.
2063
2064 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2065
2066         * gst/gststructure.c:
2067           Allow '+' as well, it can be part of media or mime types
2068           such as image/svg+xml.
2069
2070 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2071
2072         * docs/gst/gstreamer-sections.txt:
2073         * gst/gstbus.c:
2074         * gst/gstbus.h:
2075           API: add gst_bus_pop_filtered
2076           API: add gst_bus_timed_pop_filtered
2077           Two new functions for waiting for specific message types on the
2078           bus for a specified amount of time without iterating any main
2079           loops or main contexts.
2080
2081         * tests/check/gst/gstbus.c:
2082           Some tests for the new functions.
2083
2084 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2085
2086         * docs/libs/gstreamer-libs-sections.txt:
2087           Make gtk-doc ignore stuff it should ignore.
2088
2089 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2090
2091         * libs/gst/check/gstcheck.c:
2092         * libs/gst/check/gstcheck.h:
2093           Allow runtime selection of unit tests to run via the GST_CHECKS
2094           environment variable (test case function names, comma-separated).
2095
2096 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
2097
2098         * gst/gststructure.c:
2099         * tests/check/gst/gststructure.c:
2100           Revert serialisation change and constrain structure-names after
2101           consensus on irc. Update api documentation to reflect the change.
2102
2103 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
2104
2105         * gst/gststructure.c:
2106           Improve serialization and fix tests.
2107
2108         * tests/check/gst/gststructure.c:
2109           Add another test that covers why I actually did the previous structure
2110           change.
2111
2112 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
2113
2114         * tools/gst-inspect.c: (print_element_info):
2115         Don't crash when inspecting an element.
2116
2117 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2118
2119         * tests/check/gst/gststructure.c:
2120           Add unit test for escaping of structure name when serialising
2121           and deserialising to/from strings.
2122
2123 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
2124
2125         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2126         (gst_single_queue_new):
2127         * plugins/elements/gstqueue.c: (gst_queue_init),
2128         (gst_queue_push_one):
2129         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
2130         upstream is tricked into thinking it can suggest a format downstream
2131         while downstream does not support that format. The real problem is that
2132         core calls acceptcaps when pushing a buffer with new caps, for which we
2133         do a little workaround by setting the caps on the srcpad ourselves
2134         before pushing the buffer (until this is figured out). Fixes #486758.
2135
2136 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2137
2138         * gst/gststructure.c:
2139         * gst/gstvalue.c:
2140           Add some more comments and debug output. Quote structure name to fix
2141           deserialisation of some strings.
2142
2143 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2144
2145         * gst/gstbuffer.h:
2146           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
2147           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
2148
2149 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2150
2151         * tools/gst-inspect.c:
2152           Save approx. 400 1 byte allocs when printing. Use API to acces element
2153           details.
2154
2155         * tools/gst-run.c:
2156           Avoid a strdup.
2157
2158         * tools/gst-xmlinspect.c:
2159           Use API to acces element details.
2160
2161 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2162
2163         * gst/gstinfo.c:
2164           Fix some spelling errors.
2165
2166 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
2167
2168         * gst/gstbin.c: (bin_handle_async_done):
2169         Correctly set the next state if all of our async children commited their
2170         state. This makes sure we can actually cancel the state change in
2171         progress. Fixes a regression in Rhythmbox when seeking.
2172
2173 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2174
2175         * gst/gstbin.c:
2176           Don't shadow local variable.
2177
2178         * gst/gstinfo.c:
2179           Don't shadow global function name.
2180
2181 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2182
2183         * gst/gstelementfactory.c:
2184         * gst/gstpluginfeature.c:
2185         * gst/gstpluginfeature.h:
2186         * gst/gstregistrybinary.c:
2187         * gst/gstregistryxml.c:
2188         * gst/gsttypefind.c:
2189           Use already-interned string for the private GstPluginFeature
2190           plugin_name field.
2191
2192 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2193
2194         * docs/libs/gstreamer-libs-sections.txt:
2195           Add new API to docs; fixes the build.
2196
2197 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
2198         
2199         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
2200
2201         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
2202         (gst_base_sink_event):
2203         * libs/gst/base/gstbasesink.h:
2204         Add function to wait for EOS, subclasses can use this to correctly wait
2205         for devices to drain before performing the EOS logic. Fixes #485343.
2206         API: gst_base_sink_wait_eos()
2207
2208 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2209
2210         * gst/gstplugin.h:
2211           Cast description string constants in GST_PLUGIN_DEFINE macros
2212           to a (gchar*) to make C++ code using these macros compile
2213           without warning with g++-4.2 (see #462737).  Even if slightly
2214           ugly, this seems preferable to putting the description strings
2215           into the GLib quark table or making the structure member a
2216           const gchar * and doing casts in core code that allocs and
2217           frees these strings, or requiring a cast in the C++ code.
2218
2219 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2220
2221         * gst/gstinfo.h:
2222           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
2223           to print the entire class/function signature into the log
2224           file for C++ code.  This only affects C++ code, for C code
2225           everything remains the same.
2226
2227 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
2228
2229         * gst/gstbin.c: (remove_from_queue):
2230         Work around a problem with pipelines containing (semi)loops until a
2231         proper, more complicated solution is ready. See #475455.
2232
2233 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2234
2235         * gst/gstplugin.c:
2236         * gst/gstplugin.h:
2237         * gst/gstregistrybinary.c:
2238         * gst/gstregistryxml.c:
2239           Put more strings into the GLib quark table. No need to keep
2240           a hundred-something copies of identical version strings,
2241           license strings, package name strings and package origin
2242           strings around. 
2243
2244 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2245
2246         * docs/manual/advanced-dataaccess.xml:
2247           Don't imply that it's okay to unconditionally change
2248           buffer data or buffer metadata in a pad probe callback,
2249           and a bunch of other comments. Fixes #430031.
2250
2251 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2252
2253         * win32/common/gstenumtypes.c:
2254         * win32/common/gstenumtypes.h:
2255         * win32/common/gstversion.h:
2256           Update generated files.
2257
2258 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2259
2260         * docs/manual/advanced-autoplugging.xml:
2261           Prefix section with broken code with a warning (see #342432).
2262
2263 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2264
2265         * docs/manual/appendix-integration.xml:
2266         * docs/manual/basics-init.xml:
2267           Call g_thread_init() before g_option_context_new() to
2268           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
2269
2270 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2271
2272         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2273         (gst_base_sink_queue_object_unlocked),
2274         (gst_base_sink_queue_object), (gst_base_sink_event),
2275         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
2276         When we received EOS and are waiting for when to post the EOS message,
2277         our state is prerolled and we should not return ASYNC.
2278         Reorganize some code paths to implement this behavior.
2279
2280         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2281         (gst_sinks_suite):
2282         Add unit test to verify above EOS fix.
2283
2284 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2285
2286         * plugins/elements/gsttypefindelement.c:
2287         (gst_type_find_element_have_type), (gst_type_find_element_init),
2288         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
2289         Move detecting the input caps of the sinkpad to the setcaps function.
2290         This allows us to update the output caps when we receive new input caps
2291         instead of always using the first detected caps.
2292
2293 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2294
2295         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2296         (gst_base_sink_get_position):
2297         Don't try to preroll non-async elements after a flush.
2298         Subtract latency form clock times when reporting position.
2299
2300 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2301
2302         * gst/gstpad.c: (gst_pad_pause_task):
2303         * gst/gstutils.c:
2304         Small comment and documentation update.
2305
2306 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2307
2308         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2309         (gst_base_src_set_live), (gst_base_src_is_live),
2310         (gst_base_src_query_latency), (gst_base_src_perform_seek),
2311         (gst_base_src_default_event), (gst_base_src_wait),
2312         (gst_base_src_do_sync), (gst_base_src_get_range),
2313         (gst_base_src_pad_get_range), (gst_base_src_loop),
2314         (gst_base_src_unlock), (gst_base_src_unlock_stop),
2315         (gst_base_src_set_flushing), (gst_base_src_set_playing),
2316         (gst_base_src_activate_push), (gst_base_src_activate_pull),
2317         (gst_base_src_change_state):
2318         Rework the locking of basesrc in a similar fashion to basesink. We
2319         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
2320         us to handle live sources and semi live ones much better.
2321         Simplify flushing.
2322         Fix unlocking when seeking, shutting down and pausing in live sources.
2323
2324 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2325
2326         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
2327         Fix compilation again.
2328
2329 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2330
2331         * gst/gstelement.c:
2332           Use meaningful categories for the logs to clean the default one.
2333
2334 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2335
2336         * tests/check/pipelines/cleanup.c:
2337           Print message name and not just number.
2338
2339 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2340
2341         * docs/design/draft-tagreading.txt:
2342           Add some more thoughts.
2343
2344 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2345
2346         * tests/check/pipelines/simple-launch-lines.c:
2347           Print message name and not just number.
2348
2349 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2350
2351         * libs/gst/base/gsttypefindhelper.c:
2352           Speedup typefinding. This is work in progress (see #459862).
2353
2354 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2355
2356         * gst/gstplugin.c:
2357           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
2358           Spotted by Josep Torra Valles <josep@fluendo.com>.
2359
2360 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
2361
2362         * gst/gstclock.h:
2363           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
2364           field has moved to GstObject.
2365
2366 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
2367
2368         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
2369         (gst_base_src_get_range), (gst_base_src_change_state):
2370         Call unlock for live sources so that they can't get stuck in _create and
2371         produce a buffer before they are set back to PLAYING.
2372
2373 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
2374
2375         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2376         (gst_queue_locked_dequeue):
2377         Comment the segment-related code... in the PROPER function.
2378         See #482147 and my commit from yesterday.
2379
2380 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
2381
2382         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2383         Also initialize the counter that calculates the first timestamp on a
2384         buffer correctly for non-live sources.
2385
2386 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
2387
2388         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
2389         Disable code that's breaking the current-time-level reporting.
2390         See #482147
2391
2392 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
2393
2394         * docs/gst/gstreamer-sections.txt:
2395         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
2396         as they shouldn't show up. Fixes the docs build.
2397
2398 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
2399         
2400         * gst/gstinfo.h:
2401         Add an explicit variable importation needed on VS6 (only for MSC_VER)
2402         Define M_PI which is used in files which are including gstinfo.h. 
2403         VS6 includes doesn't define it.
2404         * win32/common/libgstbase.def:
2405         * win32/common/libgstcontroller.def:
2406         * win32/common/libgstreamer.def:
2407         Add new exported functions and variables.
2408         * win32/vs6/libgstcontroller.dsp:
2409         * win32/vs6/libgstreamer.dsp:
2410         Update the list of files to build.
2411         
2412 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
2413
2414         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2415
2416         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
2417         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
2418         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
2419         Improve debugging. Fixes #480858.
2420
2421 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
2422
2423         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2424
2425         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2426         First patch of code cleanups, use the macros and right arguments in the
2427         macros to signal and lock the queue. See #480858.
2428
2429 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
2430
2431         * gst/gstbus.c: (poll_func):
2432         Improve debugging when dealing with _poll().
2433
2434 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
2435
2436         * gst/gstregistryxml.c:
2437           Fix memory leak I introduced a few days ago.
2438
2439 2007-09-26  Michael Smith <msmith@fluendo.com>
2440
2441         * gst/gstbuffer.c: (gst_buffer_finalize):
2442           Make it once again possible to free GstBuffers in the default
2443           build.
2444           The poisoning scribbles on parts of the miniobject we need in
2445           order to free it.
2446           Fixes #480341
2447
2448 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
2449
2450         * docs/gst/gstreamer-sections.txt:
2451         * gst/gsttaglist.c:
2452         * gst/gsttaglist.h:
2453         API: add GST_TAG_COMPOSER, fixes #459809.
2454
2455 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
2456
2457         * gst/gstplugin.c:
2458         * gst/gstplugin.h:
2459         Add the 3-clause BSD license and the MIT/X11 license to the license
2460         list. Fixes #479784.
2461
2462 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
2463
2464         * docs/faq/getting.xml:
2465           Add Q+A about different GStreamer versions (#364056).
2466
2467 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2468
2469         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2470         (gst_base_sink_event), (gst_base_sink_change_state):
2471         Return correct gboolean from query function.
2472
2473 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2474
2475         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2476         (gst_base_sink_event), (gst_base_sink_query),
2477         (gst_base_sink_change_state):
2478         Simplify latency query.
2479         When not synchronizing, we can report latency without querying the peer
2480         element.
2481
2482 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2483
2484         * gst/gstobject.h:
2485         * gst/gstvalue.c:
2486         Fix small typos in the docs.
2487
2488 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2489
2490         * docs/design/draft-latency.txt:
2491         * docs/design/draft-push-pull.txt:
2492         * docs/design/draft-tagreading.txt:
2493         * docs/design/part-MT-refcounting.txt:
2494         * docs/design/part-activation.txt:
2495         * docs/design/part-block.txt:
2496         * docs/design/part-element-source.txt:
2497         * docs/design/part-events.txt:
2498         * docs/design/part-gstbin.txt:
2499         * docs/design/part-gstelement.txt:
2500         * docs/design/part-gstobject.txt:
2501         * docs/design/part-gstpipeline.txt:
2502         * docs/design/part-messages.txt:
2503         * docs/design/part-preroll.txt:
2504         * docs/design/part-push-pull.txt:
2505         * docs/design/part-qos.txt:
2506         * docs/design/part-query.txt:
2507         * docs/design/part-scheduling.txt:
2508         * docs/design/part-seeking.txt:
2509         * docs/design/part-segments.txt:
2510         * docs/design/part-states.txt:
2511         Documentation updates and typo fixes.
2512
2513 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
2514
2515         * plugins/elements/gstfakesink.c:
2516           Add some debug text to error message to indicate that
2517           we errored out on request.
2518
2519         * tools/gst-launch.c:
2520           When the state change to PLAYING fails, check for an
2521           error message on the bus and print it.
2522
2523 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2524
2525         translated by: Jorge González González <aloriel@gmail.com>
2526
2527         * po/LINGUAS:
2528         * po/es.po:
2529           Added Spanish translation.
2530
2531 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
2532
2533         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2534         Fix printf arguments.
2535
2536 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
2537
2538         * tests/check/generic/states.c:
2539           Improved state change unit test.
2540
2541 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
2542
2543         * gst/gstbin.h:
2544           Move priv to the right place.
2545
2546         * gst/gstsystemclock.c:
2547           Add FIXME: and improve log.
2548
2549         * tests/check/Makefile.am:
2550         * tests/examples/manual/Makefile.am:
2551           Work with all types of registries.
2552
2553 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
2554
2555         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2556         Don't unref the event after pushing it. Fixes #478401.
2557
2558 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
2559
2560         * .cvsignore:
2561         * tests/examples/manual/.cvsignore:
2562           Ignore registries in any format.
2563
2564 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
2565
2566         * gst/glib-compat-private.h:
2567           Add compatibility macro for g_intern_string() for
2568           GLib-2.8 (any reason we can't just bump the
2569           requirement to at least 2.10?)
2570
2571         * gst/gstpadtemplate.h:
2572         * gst/gstelementfactory.c:
2573         * gst/gstregistryxml.c:
2574         * gst/gstregistrybinary.c:
2575           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
2576           up the internal code accordingly.  This shouldn't be a problem, since
2577           there is no reason external code could ever assume the string in such
2578           a structure is dynamically allocated unless it did that itself;  the
2579           use of g_strdup() is private to element factories.  The new code also
2580           saves some memory by putting pad template name strings into the GLib
2581           quark table instead of allocating them dynamically.
2582           Declaring this field constant fixes warnings with g++-4.2 when using
2583           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
2584
2585 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
2586
2587         * gst/gstelementfactory.c:
2588           Release static caps. Fixes #475723.
2589
2590 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
2591
2592         * gst/gstinfo.c:
2593         * gst/gstinfo.h:
2594           Make some internal API take const gchar * instead of just
2595           gchar * to avoid compiler warnings with g++-4.2.2 when
2596           passing string constants (partially fixes #478092).
2597
2598 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
2599
2600         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
2601         A latency query fails when one of the sinks fail.
2602
2603         * gst/gstelement.c: (gst_element_set_base_time):
2604         Improve debugging.
2605
2606 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
2607
2608         * gst/gstbin.c: (gst_bin_continue_func):
2609         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2610         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
2611         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
2612
2613         Fix minor compilation warnings shown with Forte.
2614
2615 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
2616
2617         * plugins/elements/gstqueue.c: (apply_buffer),
2618         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
2619         Measure queue level based on the diff between head and tail timestamps
2620         even when pushing the first buffer.
2621
2622 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
2623
2624         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2625         (gst_base_sink_event), (gst_base_sink_change_state):
2626         Sinks that don't preroll can always be queried for the latency.
2627         Don't post ASYNC start when we are not async.
2628
2629 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
2630
2631         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2632         (gst_queue_handle_sink_event), (gst_queue_chain),
2633         (gst_queue_push_one), (gst_queue_handle_src_query),
2634         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
2635         * plugins/elements/gstqueue.h:
2636         When downstream returns UNEXPECTED from pushing a buffer, don't try to
2637         push more buffers but allow pushing of EOS and NEWSEGMENT.
2638         Add some more debug info here and there. Fixes #476514.
2639
2640 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
2641
2642         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2643         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
2644         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2645         (gst_base_sink_set_flushing), (gst_base_sink_query),
2646         (gst_base_sink_change_state):
2647         Latency query is allowed after we are prerolled. Introduce a new flag
2648         for this and stop abusing other variables.
2649
2650 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2651
2652         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2653         Push OOB events downstream when we get them in send_event. This allows
2654         the application to insert events in the pipeline.
2655         Add some more comments.
2656
2657 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2658
2659         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
2660         (do_bin_latency), (gst_bin_change_state_func):
2661         * gst/gstpipeline.c: (gst_pipeline_change_state):
2662         Move latency query from GstPipeline to GstBin so that we can also
2663         use it when async-handling is enabled on bins.
2664
2665 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2666
2667         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2668         (gst_base_src_do_sync), (gst_base_src_change_state):
2669         Update docs.
2670         Clean up the timestamping and syncing code for pseudo live sources.
2671
2672 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
2673
2674         Patch by: Steve Fink  <sphink gmail com>
2675
2676         * docs/manual/appendix-checklist.xml:
2677           Mention less -R switch in the section about debug output (#474055).
2678
2679 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2680
2681         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2682         Queue can latency to the pipeline up to the configured max size in time.
2683         Report this fact in the latency query.
2684
2685 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
2686
2687         Patch by: Sebastien Moutte <sebastien at moutte dot net>
2688
2689         * libs/gst/controller/gstinterpolation.c:
2690         * libs/gst/controller/gstlfocontrolsource.c:
2691         Use gst_guint64_to_gdouble() when converting from a uint64 or
2692         GstClockTime to double to fix the build on win32. Fixes #474371.
2693
2694 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
2695
2696         * gst/gstbuffer.c: (gst_buffer_finalize):
2697         Implement poisoning for GstBuffer if --enable-poisoning is specified.
2698         When finalizing a buffer the complete struct is filled with 0xff,
2699         thus making a use of the buffer after the final unref impossible.
2700
2701 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
2702
2703         * tests/check/libs/controller.c: (GST_START_TEST):
2704         Use fail_unless_equals_int(a, b) instead of
2705         fail_unless_equals (a == b) to get better output on failures.
2706
2707 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
2708
2709         * tests/check/gst/gsturi.c:
2710           Also check for the other file URI variant on win32.
2711
2712 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
2713
2714         * gst/gsturi.c: (gst_uri_get_location):
2715           If there's no hostname, we want to return 'c:/foo/bar.txt'
2716           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
2717
2718         * tests/check/gst/gsturi.c:
2719           Unit test for the above and a few more things.
2720
2721 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
2722
2723         * docs/design/part-live-source.txt:
2724         Add docs on how live sources should timestamp.
2725
2726         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2727         Add some more debug info.
2728         For subclasses that are live and like to sync, add aditional startup
2729         latency to sync time and timestamps so that we timstamp according to the
2730         design doc.
2731
2732 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
2733
2734         * gst/gstbuffer.c:
2735           Also do a g_type_class_ref() for the subbuffer type in
2736           the init function.
2737
2738 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
2739
2740         * docs/gst/gstreamer-sections.txt:
2741         * gst/gstpad.c: (gst_pad_peer_query):
2742         * gst/gstpad.h:
2743         Add function to perform a query on the peer of a pad.
2744         API: gst_pad_peer_query()
2745
2746 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
2747
2748         * tests/check/gst/gstsystemclock.c:
2749           Cleanup the test a little (use gst-logging and not g_message). Improve
2750           test to check if a wait reached the target.
2751
2752 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
2753
2754         * docs/libs/gstreamer-libs-sections.txt:
2755           Add new API to docs and fix the build.
2756
2757 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
2758
2759         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2760         (gst_base_src_init), (gst_base_src_set_do_timestamp),
2761         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
2762         (gst_base_src_get_property), (gst_base_src_do_sync):
2763         * libs/gst/base/gstbasesrc.h:
2764         Add property to make the basesrc timestamp buffers based on the current
2765         running time.
2766         API: GstBaseSrc::do-timestamp
2767         API: gst_base_src_set_do_timestamp()
2768         API: gst_base_src_get_do_timestamp()
2769
2770 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
2771
2772         * docs/random/release:
2773           Really make sure translations are up-to-date before
2774           a release (#465010).
2775
2776 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
2777
2778         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2779         Always destroy the timer, also in error cases.
2780
2781 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
2782
2783         * docs/manual/highlevel-xml.xml:
2784         Fix XML example code. Fixes #472714.
2785
2786 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
2787
2788         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2789         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2790         (gst_base_sink_query):
2791         Protect eos and have_preroll with the OBJECT lock so we don't need to
2792         take the PREROLL lock when querying the latency. Fixes #473846.
2793
2794 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
2795
2796         * gst/gstelement.c:
2797           Give some log-messages a category.
2798
2799 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
2800
2801         * gst/gststructure.c:
2802         (gst_structure_fixate_field_nearest_fraction):
2803         Fix fraction list fixation code. Take the fraction with the smallest
2804         difference with the target instead of the first one in the list.
2805
2806         * tests/check/gst/gststructure.c: (GST_START_TEST),
2807         (gst_structure_suite):
2808         Added test to verify correct fraction list fixation behaviour.
2809
2810 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
2811
2812         * win32/common/libgstreamer.def:
2813           Export gst_bus_add_signal_watch too.
2814
2815 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
2816
2817         * docs/libs/gstreamer-libs-sections.txt:
2818         Add new methods to docs.
2819
2820         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2821         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
2822         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
2823         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
2824         * libs/gst/base/gstbasesink.h:
2825         Add ts-offset property to fine-tune the synchronisation.
2826         API: GstBaseSink::ts-offset property
2827         API: gst_base_sink_set_ts_offset()
2828         API: gst_base_sink_get_ts_offset()
2829
2830 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
2831
2832         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2833         (gst_base_sink_init), (gst_base_sink_set_sync),
2834         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2835         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
2836         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
2837         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
2838         (gst_base_sink_get_property), (gst_base_sink_change_state):
2839         * libs/gst/base/gstbasesink.h:
2840         Add async property to instruct the sink never to inform the parent about
2841         ASYNC state changes, update docs.
2842         Check argument with g_return_* for the public functions.
2843         API: GstBaseSink::async property
2844         API: gst_base_sink_set_async_enabled()
2845         API: gst_base_sink_is_async_enabled()
2846
2847 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
2848
2849         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
2850         Improve debugging.
2851
2852         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2853         (gst_base_src_default_query), (gst_base_src_wait),
2854         (gst_base_src_do_sync), (gst_base_src_change_state):
2855         Rearrange some code so that we can add support for measuring the 
2856         startup latency.
2857
2858 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
2859
2860         * docs/random/ensonic/dynlink.txt:
2861           More thoughs on this.
2862
2863         * plugins/elements/gstcapsfilter.c:
2864           Add bugzilla ticket number to FIXME comment.
2865
2866 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
2867
2868         * docs/design/part-TODO.txt:
2869         * docs/design/part-block.txt:
2870         Update some docs.
2871
2872 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2873
2874         * gst/Makefile.am:
2875           Revert patch which uses $(gst_headers) instead of $^ because it
2876           breaks make dist.
2877
2878 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2879
2880         * tests/check/gst/gstbin.c: (GST_START_TEST):
2881           Fix leaks in the new unit test.
2882
2883 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
2884
2885         * gst/gst.c:
2886           Don't use GST_INFO before the debug system is actually initialised
2887           (shouldn't do any harm, but won't print anything either, so we can
2888           just as well remove it).
2889
2890         * gst/gstinfo.h:
2891           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
2892           compilers that don't support variadic macros (such as MSVC), should
2893           check for debug_level <= __gst_debug_min as well, since that's the
2894           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
2895           inline helper functions. Should improve performance a bit, but also
2896           makes sure uses of GST_INFO et.al are ignored if the debugging
2897           system isn't initialised yet (instead of printing an assertion
2898           failure).
2899
2900 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
2901
2902         patch by: David Nečas <yeti@physics.muni.cz>
2903
2904         * gst/Makefile.am:
2905           Replace some non portable makefile constructs.
2906
2907 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
2908
2909         * common/gtk-doc-plugins.mak:
2910           Grrrrr. Don't remove the types file on make clean.
2911
2912 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
2913
2914         * tools/gst-launch.1.in:
2915         Add colorspace to example pipeline. Fixes #458274.
2916
2917 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
2918
2919         * docs/random/release:
2920           The release manager should run 'make download-po' before making a
2921           release to make sure translations are up-to-date.
2922
2923         * po/LINGUAS:
2924         * po/be.po:
2925         * po/pl.po:
2926         * po/rw.po:
2927           Add some new translations.
2928
2929 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
2930
2931         * tools/gst-launch.c: (event_loop), (main):
2932         Don´t try to do any state management when a live pipeline posts
2933         buffering messages.
2934         Also make the buffering string translatable.
2935
2936 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
2937
2938         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
2939         (bin_handle_async_start), (gst_bin_handle_message_func):
2940         Improve debugging.
2941         When adding elements, insert messages into the bus of the newly added
2942         element and make sure the element is the source of the message. This
2943         allows the parent bin to intercept the message and do the
2944         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
2945         messages to the app (which is not allowed).
2946         Update some docs.
2947
2948         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2949         Fix testsuite so that is does not work around messages that should not
2950         have been posted in the first place.
2951
2952 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
2953
2954         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
2955         (update_degree), (gst_bin_sort_iterator_next):
2956         Fix annoying bug in the sorted iterator where a sink that is not really
2957         a sink (when it has downstream links) screwed up the iterator.
2958
2959         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2960         Unit test to verify the fix.
2961
2962 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
2963
2964         * gst/gstmessage.h:
2965         Add some more docs for the messages.
2966
2967         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2968         (gst_base_sink_query):
2969         Add some more debugging.
2970
2971         * tools/gst-launch.c: (event_loop):
2972         When interrupting, don't try to set pipeline to PAUSED twice.
2973
2974 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
2975
2976         
2977         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
2978         (bin_handle_async_start), (gst_bin_handle_message_func):
2979         Move ASYNC_START message posting to where it belongs, similar to
2980         async_done. 
2981         Don't post ASYNC_START when we are in error. 
2982         Post ASYNC_START when we added an async element to a bin.
2983
2984 2007-08-14  Julien MOUTTE  <julien@moutte.net>
2985
2986         * gst/gstindex.c: (gst_index_add_association): Fix index entry
2987         generation from vargs. Fixes #466595.
2988
2989 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
2990
2991         * gst/gstbin.c: (gst_bin_element_set_state):
2992         Always change the state of a NO_PREROLL element even if it has ASYNC
2993         elements inside (in case of a bin).
2994
2995         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
2996         Unit test for this case.
2997
2998 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
2999
3000         * libs/gst/check/gstbufferstraw.c:
3001         * libs/gst/check/gstcheck.h:
3002         * libs/gst/controller/gstcontroller.c:
3003         * libs/gst/controller/gstcontrolsource.h:
3004         * libs/gst/controller/gstlfocontrolsource.h:
3005         * plugins/elements/gstcapsfilter.h:
3006         * plugins/elements/gstfdsink.h:
3007         * plugins/elements/gstfdsrc.h:
3008           Add more missing docs.
3009
3010 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3011
3012         * gst/gststructure.c:
3013         Add Since tag to docs.
3014
3015 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3016
3017         * docs/gst/gstreamer-sections.txt:
3018         * gst/gststructure.c: (gst_structure_get_uint):
3019         * gst/gststructure.h:
3020         Add function to get uint from a structure.
3021         API: gst_structure_get_uint()
3022
3023 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3024
3025         * gst/gstcaps.c: (gst_caps_set_simple_valist),
3026         (gst_caps_intersect):
3027         Fix proper check for simple caps.
3028
3029 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
3030
3031         * docs/gst/Makefile.am:
3032         * docs/libs/Makefile.am:
3033           Remove cruft and do some cleanups.
3034
3035         * docs/gst/gstreamer-docs.sgml:
3036         * docs/libs/gstreamer-libs-docs.sgml:
3037           Prepare for comming gtkdoc features (rebase against online docs).
3038
3039 2007-08-10  Michael Smith <msmith@fluendo.com>
3040
3041         * docs/gst/gstreamer-sections.txt:
3042           Add gst_registry_add_path to docs.
3043
3044 2007-08-10  Michael Smith <msmith@fluendo.com>
3045
3046         * gst/gstregistry.h:
3047           Add gst_registry_add_path, which was missing from this header.
3048
3049 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
3050
3051         * libs/gst/controller/gstlfocontrolsource.c:
3052           Printf format fix.
3053
3054 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
3055
3056         * libs/gst/base/gstbasesink.c:
3057           Don't send an async_start message during downwards state change if 
3058           target state is less than READY
3059
3060 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3061
3062         translated by: Gabor Kelemen <kelemeng@gnome.hu>
3063
3064         * po/LINGUAS:
3065         * po/hu.po:
3066           Added Hungarian translation.
3067
3068 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3069
3070         * po/fi.po:
3071         * po/it.po:
3072         * po/nl.po:
3073         * po/sv.po:
3074         * po/uk.po:
3075           Updated translations.
3076
3077 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
3078
3079         * libs/gst/controller/Makefile.am:
3080         Dist gstlfocontrolsourceprivate.h
3081
3082 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
3083
3084         * docs/libs/gstreamer-libs.types:
3085         Don't register the enum type gst_lfo_waveform_get_type() in the
3086         .types file - only GObject derived types belong.
3087
3088 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
3089
3090         Patch by: <arenevier at fdn dot fr>
3091
3092         * gst/gstbuffer.h:
3093         Remove comma from last element in enum to avoid compile errors when
3094         using -pendantic. Fixes #464366.
3095
3096 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
3097
3098         * docs/design/part-TODO.txt:
3099         Add some more TODO items
3100
3101         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
3102         Improve debugging.
3103
3104         * gst/gstcaps.c: (gst_caps_intersect):
3105         Optimize trivial intersection case between identical caps pointers.
3106
3107         * gst/gstelement.c: (gst_element_continue_state),
3108         (gst_element_set_state_func):
3109         * gst/gstpad.c:
3110         Fix spelling and grammar mistakes.
3111
3112 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
3113
3114         * po/POTFILES.in:
3115         * po/POTFILES.skip:
3116           Update POTFILES. Fixes #461599.
3117
3118 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
3119
3120         * gst/gst.c:
3121         Fix confusing typo in debug output.
3122
3123 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
3124
3125         reviewed by: Stefan Kost <ensonic@users.sf.net>
3126
3127         * libs/gst/controller/Makefile.am:
3128         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
3129         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
3130         (gst_lfo_control_source_new),
3131         (gst_lfo_control_source_set_waveform),
3132         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
3133         (gst_lfo_control_source_finalize),
3134         (gst_lfo_control_source_dispose),
3135         (gst_lfo_control_source_set_property),
3136         (gst_lfo_control_source_get_property),
3137         (gst_lfo_control_source_class_init):
3138         * libs/gst/controller/gstlfocontrolsource.h:
3139         * libs/gst/controller/gstlfocontrolsourceprivate.h:
3140         API: Add GstLFOControlSource, a control source that gives values
3141         for specific timestamps based on several periodic waveforms.
3142         Fixes #459717.
3143
3144         * tests/check/libs/controller.c: (GST_START_TEST),
3145         (gst_controller_suite):
3146         * docs/libs/gstreamer-libs-docs.sgml:
3147         * docs/libs/gstreamer-libs-sections.txt:
3148         * docs/libs/gstreamer-libs.types:
3149         Add documentation and unit tests for GstLFOControlSource.
3150
3151 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
3152
3153         * configure.ac:
3154         Back to CVS
3155
3156 === release 0.10.14 ===
3157
3158 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
3159
3160         * configure.ac:
3161           releasing 0.10.14, "Breathing Vacuum"
3162
3163 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
3164
3165         * gst/gstelement.c: (gst_element_class_set_details_simple):
3166         * gst/gstelement.h:
3167           Make strings passed to gst_element_class_set_details_simple()
3168           constant, as they should be (#462752).
3169
3170 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
3171
3172         * gst/gstbin.c: (gst_bin_change_state_func),
3173         (bin_handle_async_done), (gst_bin_handle_message_func):
3174         Don't forget about the fact that some element went ASYNC even after a
3175         resync. This makes us post the ASYNC_DONE message correctly.
3176         Fixes #462558.
3177
3178 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
3179
3180         * gst/gstregistry.c: (gst_registry_add_feature):
3181         When replacing an existing feature in the registry, make sure to
3182         continue holding a reference until we've replaced the name string
3183         within our feature hash table. Make sure to use g_hash_table_replace
3184         instead of g_hash_table_insert to ensure the new name string is used
3185         as a key instead of the old one that we're about to free.
3186         Fixes: #462085
3187
3188 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
3189
3190         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3191         (gst_plugin_feature_set_name):
3192         Revert patch from #459466 until after the release and we can work
3193         out exactly what the problem is (if any).
3194
3195 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
3196
3197         * docs/gst/gstreamer-sections.txt:
3198         * gst/gsttaglist.c:
3199         * gst/gsttaglist.h:
3200           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
3201
3202 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
3203
3204         * docs/libs/Makefile.am:
3205         Include our build-prefix libs and includes before the generic ones to
3206         avoid linking against the installed libs when we want the build-tree
3207         ones.
3208
3209 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
3210
3211         Patch by: Steve Fink  <sphink gmail com>
3212
3213         * docs/pwg/building-testapp.xml:
3214           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
3215           if people try to build or install the example from the plugin
3216           template against a GStreamer from package using the configure
3217           defaults.
3218
3219 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
3220
3221         Patch by: Steve Fink  <sphink gmail com>
3222
3223         * tools/gst-inspect.1.in:
3224           Document --print-all and --print-plugin-auto-install-info command
3225           line options in man page.
3226
3227 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
3228
3229         * docs/gst/gstreamer-sections.txt:
3230         Add docs for new api function.
3231
3232 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
3233
3234         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
3235         * gst/gstelementfactory.h:
3236         API: gst_element_factory_has_interface()
3237         Added method to check if an element factory implements a named
3238         interface.
3239
3240 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
3241
3242         * configure.ac:
3243         * docs/gst/gstreamer.types.in:
3244           Another conditional doc check.
3245
3246         * gst/gstmessage.c:
3247         * gst/gstparamspecs.h:
3248         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3249         * gst/gstvalue.c:
3250         * gst/gstxml.h:
3251           API-doc fixes.
3252
3253 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3254
3255         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
3256         (gst_registry_binary_load_feature),
3257         (gst_registry_binary_load_plugin),
3258         (gst_registry_binary_read_cache):
3259           Print error just once and with additional info.
3260
3261 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3262
3263         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3264         (helper_find_suggest), (helper_find_get_length),
3265         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
3266         (gst_type_find_helper_for_buffer):
3267           Cleanup the typefindhelper code and add private doc comments.
3268
3269 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
3270
3271         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3272         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
3273         Fix capsfilter for cases where the caps set on capsfilter will provide
3274         additional information.
3275         Fixes #449197
3276
3277 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3278
3279         * gst/gsttypefindfactory.c:
3280           Fix docs that recommened wrong function to use.
3281
3282 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3283
3284         * tools/gst-inspect.c: (print_plugin_features):
3285           Also give media-type for typefinders in element output.
3286
3287 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3288
3289         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
3290         (gst_registry_remove_features_for_plugin_unlocked),
3291         (gst_registry_add_feature), (gst_registry_remove_feature),
3292         (gst_registry_lookup_feature_locked):
3293         * gst/gstregistry.h:
3294           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
3295           Fixes #459501.
3296
3297 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3298
3299         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3300         (gst_plugin_feature_set_name):
3301           Avoid double memory usage for pluginfeature names. Fixes #459466.
3302
3303 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
3304
3305         * gst/gstpad.h:
3306           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
3307           driving the pipeline may need to explicitly check for NOT_LINKED as
3308           well, since IS_FATAL doesn't cover that.
3309
3310 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
3311
3312         * docs/pwg/advanced-types.xml:
3313           Fix typo and duplicate entry in video formats list.
3314
3315 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
3316
3317         * libs/gst/controller/gstinterpolation.c:
3318         Also round to the nearest int when using cubic interpolation.
3319
3320 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
3321
3322         * libs/gst/controller/gstinterpolation.c:
3323         When linearly interpolating integer types, round to the nearest int
3324         by adding 0.5. Don't do it for float/double types.
3325         Fixes the failing controller test on my machine, which is somehow
3326         rounding differently than on the buildbots.
3327
3328 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3329
3330         * tools/gst-plot-timeline.py:
3331           Better log parsing (categories can have -). Adjust text vs. lines, so
3332           that they span the same y-range.        
3333
3334 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3335
3336         * docs/random/ensonic/audiobaseclasses.txt:
3337         * docs/random/ensonic/dynlink.txt:
3338         * docs/random/ensonic/profiling.txt:
3339           Save my thoughts.
3340
3341         * docs/random/moving-plugins:
3342           Add note to use g_assert type macros.
3343
3344 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3345
3346         * configure.ac:
3347         * libs/gst/check/Makefile.am:
3348           Add libm check as we use in for plugins.
3349
3350 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
3351
3352         * gst/gstbin.c: (gst_bin_continue_func):
3353         Check that the state_cookie hasn't changed since the continue_func
3354         was scheduled. Avoids problems where the state changes back to
3355         something it shouldn't be because it was changed in the meantime.
3356
3357 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
3358
3359         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
3360         (gst_registry_binary_save_string),
3361         (gst_registry_binary_save_pad_template),
3362         (gst_registry_binary_save_feature),
3363         (gst_registry_binary_save_plugin),
3364         (gst_registry_binary_load_feature),
3365         (gst_registry_binary_load_plugin),
3366         (gst_registry_binary_read_cache):
3367           Fix memory leak. Be less verbose in the log.
3368
3369 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3370
3371         * tests/check/elements/.cvsignore:
3372         Add file to cvsignore as commanded.
3373
3374 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3375
3376         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3377         (mq_dummypad_event), (run_output_order_test):
3378         Use a GStaticMutex to protect all cases where libcheck
3379         fail_if/fail_unless macros might be called from multiple threads
3380         simultaneously to avoid errors like:
3381           "check_pack.c:107: :-1081725400:Bad message type arg"
3382
3383 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3384
3385         * tests/check/pipelines/stress.c: (GST_START_TEST):
3386         Make sure we set the pipeline back to the NULL state before
3387         dropping our final reference.
3388
3389 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3390
3391         * tests/check/elements/tee.c: (GST_START_TEST):
3392         Make the tee stress-test a little less stressful so it doesn't just
3393         time out on slow-machines, and remove a small race when it's starting 
3394         up by adding a get_state() call.
3395
3396 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
3397
3398         * gst/gst.c:
3399           Avoid reading registry twice on startup. Fixes #457322.
3400
3401 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
3402
3403         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3404         * pkgconfig/gstreamer-check.pc.in:
3405         Substitute the CFLAGS for libcheck into our .pc file too so that
3406         dependent modules will pick it up properly if libcheck is installed
3407         into some other prefix.
3408
3409 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
3410
3411         * configure.ac:
3412         Revert the pkg-config check for libcheck, since it pulls in the
3413         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
3414         a proper solution, either from the check project, or something else.
3415
3416 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
3417
3418         * configure.ac:
3419           Use pkg-config to locate check.
3420
3421 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
3422
3423         * gst/gsttaglist.c:
3424           Fix doc syntax.
3425
3426         * gst/gstutils.c:
3427         * gst/gstutils.h:
3428           Add deprecation guards.
3429
3430         * libs/gst/base/gstcollectpads.h:
3431           Don't document object (this is implicitly private).
3432
3433 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
3434
3435         * gst/gststructure.c: (gst_structure_parse_value):
3436           When deserialising foo=bar without a type cast, check if it's a
3437           boolean before falling back to a string type, otherwise things like
3438           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
3439           because the filtercaps end up having a signed=(string)true field,
3440           which causes problems later when intersection caps.
3441
3442         * tests/check/gst/gststructure.c: (GST_START_TEST):
3443           Add a unit test for this.
3444
3445 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
3446
3447         Reviewed by: Stefan Kost <ensonic@users.sf.net>
3448
3449         * libs/gst/controller/Makefile.am:
3450         * libs/gst/controller/gstcontroller.c:
3451         (gst_controlled_property_add_interpolation_control_source),
3452         (gst_controlled_property_new), (gst_controlled_property_free),
3453         (gst_controller_find_controlled_property),
3454         (gst_controller_new_valist), (gst_controller_new_list),
3455         (gst_controller_new), (gst_controller_remove_properties_valist),
3456         (gst_controller_remove_properties_list),
3457         (gst_controller_remove_properties),
3458         (gst_controller_set_property_disabled),
3459         (gst_controller_set_disabled), (gst_controller_set_control_source),
3460         (gst_controller_get_control_source), (gst_controller_get),
3461         (gst_controller_sync_values), (gst_controller_get_value_array),
3462         (_gst_controller_dispose), (gst_controller_get_type),
3463         (gst_controlled_property_set_interpolation_mode),
3464         (gst_controller_set), (gst_controller_set_from_list),
3465         (gst_controller_unset), (gst_controller_unset_all),
3466         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
3467         * libs/gst/controller/gstcontroller.h:
3468         * libs/gst/controller/gstcontrollerprivate.h:
3469         * libs/gst/controller/gstcontrolsource.c:
3470         (gst_control_source_class_init), (gst_control_source_init),
3471         (gst_control_source_get_value),
3472         (gst_control_source_get_value_array), (gst_control_source_bind):
3473         * libs/gst/controller/gstcontrolsource.h:
3474         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
3475         (gst_object_get_control_source):
3476         * libs/gst/controller/gstinterpolation.c:
3477         (gst_interpolation_control_source_find_control_point_node),
3478         (gst_interpolation_control_source_get_first_value),
3479         (_interpolate_none_get), (interpolate_none_get),
3480         (interpolate_none_get_boolean_value_array),
3481         (interpolate_none_get_enum_value_array),
3482         (interpolate_none_get_string_value_array),
3483         (_interpolate_trigger_get), (interpolate_trigger_get),
3484         (interpolate_trigger_get_boolean_value_array),
3485         (interpolate_trigger_get_enum_value_array),
3486         (interpolate_trigger_get_string_value_array):
3487         * libs/gst/controller/gstinterpolationcontrolsource.c:
3488         (gst_control_point_free), (gst_interpolation_control_source_reset),
3489         (gst_interpolation_control_source_new),
3490         (gst_interpolation_control_source_set_interpolation_mode),
3491         (gst_interpolation_control_source_bind),
3492         (gst_control_point_compare), (gst_control_point_find),
3493         (gst_interpolation_control_source_set_internal),
3494         (gst_interpolation_control_source_set),
3495         (gst_interpolation_control_source_set_from_list),
3496         (gst_interpolation_control_source_unset),
3497         (gst_interpolation_control_source_unset_all),
3498         (gst_interpolation_control_source_get_all),
3499         (gst_interpolation_control_source_get_count),
3500         (gst_interpolation_control_source_init),
3501         (gst_interpolation_control_source_finalize),
3502         (gst_interpolation_control_source_dispose),
3503         (gst_interpolation_control_source_class_init):
3504         * libs/gst/controller/gstinterpolationcontrolsource.h:
3505         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3506         API: Refactor GstController into the core controller which can take
3507         a GstControlSource for providing actual values for timestamps.
3508         Implement a interpolation control source and use this for backward
3509         compatibility, deprecate a bunch of functions that are now handled
3510         by GstControlSource or GstInterpolationControlSource.
3511         Make it possible to disable the controller completely or only for
3512         specific properties. Fixes #450711.
3513         * docs/libs/gstreamer-libs-docs.sgml:
3514         * docs/libs/gstreamer-libs-sections.txt:
3515         * docs/libs/gstreamer-libs.types:
3516         Add new functions and classes to the docs.
3517         * tests/check/libs/controller.c: (GST_START_TEST),
3518         (gst_controller_suite):
3519         * tests/examples/controller/audio-example.c: (main):
3520         Port unit test and example to the new API and add some new
3521         unit tests.
3522
3523 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
3524
3525         Patch by: Mark Nauwelaerts <manauw at skynet be>
3526
3527         * plugins/elements/gstmultiqueue.c:
3528         (gst_multi_queue_get_internal_links), (apply_buffer),
3529         (single_queue_overrun_cb), (gst_single_queue_new):
3530         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
3531         the pipeline layout can be tracked correctly. Fixes #453732.
3532
3533 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
3534
3535         * docs/gst/Makefile.am:
3536         * docs/libs/Makefile.am:
3537         * docs/plugins/Makefile.am:
3538           Simplify --extra-dir as gtkdoc scans recursively.
3539
3540 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
3541
3542         * tools/gst-launch.c: (main):
3543         When we got an error, there is no point in waiting for preroll when
3544         shutting down.
3545
3546 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
3547
3548         * plugins/elements/gsttee.c: (gst_tee_base_init),
3549         (gst_tee_request_new_pad), (gst_tee_release_pad),
3550         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
3551         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
3552         (gst_tee_chain):
3553         Be a lot smarter when deciding what srcpad to use for proxying
3554         the buffer_alloc. Also handle pad added/removed when doing so.
3555         Fixes #357959.
3556         Keep track of what pads we already pushed on in case we have pads
3557         added/removed while pushing. Fixes #374639 
3558
3559         * tests/check/Makefile.am:
3560         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
3561         (tee_suite):
3562         Added unit test for pad resync.
3563
3564 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3565
3566         * po/nl.po:
3567         * po/sv.po:
3568           Updated translations.
3569
3570 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3571
3572         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
3573
3574         * po/LINGUAS:
3575         * po/fi.po:
3576           Added new Finnish translation.
3577
3578 2007-06-28  Wim Taymans  <wim@fluendo.com>
3579
3580         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3581         (single_queue_overrun_cb):
3582         When figuring out when a queue is filled, use our internal time estimate
3583         based on segments, just like check_full does.
3584
3585 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
3586
3587         * gst/gstminiobject.c: (gst_mini_object_get_type):
3588           Remove 3 do-nothing methods.
3589
3590 2007-06-27  Wim Taymans  <wim@fluendo.com>
3591
3592         Patch by: Tim Angus <tim at ngus dot net>
3593
3594         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3595         (gst_capsfilter_set_property):
3596         Take a reference instead of a copy when setting "caps".
3597         Fix documentation to clarify this behaviour. Fixes #449414.
3598
3599 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
3600
3601         * gst/gstindexfactory.c: (gst_index_factory_get_type):
3602         * gst/gstplugin.c: (gst_plugin_init):
3603         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
3604         * gst/gstquery.c: (gst_query_get_type):
3605         * gst/gstregistry.c: (gst_registry_init):
3606         * gst/gsturi.c: (gst_uri_handler_base_init):
3607           Remove empty instance_init() functions to save relocs and lessen the
3608           noise. Remove some of the function prototypes that are doubled by
3609           G_DEFINE_TYPE.
3610           
3611 2007-06-27  Wim Taymans  <wim@fluendo.com>
3612
3613         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
3614
3615         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
3616         Add peer and direction in the XML serialisation of ghostpads.
3617         Fixes #449226.
3618
3619 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
3620
3621         * configure.ac:
3622           Preserve useful information, thanks Tim.
3623
3624 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
3625
3626         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3627         (gst_single_queue_flush), (apply_segment), (apply_buffer),
3628         (gst_single_queue_push_one), (gst_multi_queue_loop),
3629         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3630         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
3631         (compute_high_id), (gst_single_queue_new):
3632         * plugins/elements/gstmultiqueue.h:
3633         Take the multiqueue lock when updating the fill level so we don't get
3634         confused. 
3635
3636         After applying a buffer or event on the src pad segment, make sure to
3637         call gst_data_queue_limits_changed() to get the data queue to unblock
3638         and check the filled state again.
3639         
3640         Rework the not-linked pad handling so the logic is that not-linked 
3641         pads can push as fast as they like, but only so they never get 
3642         ahead of any linked pads.
3643
3644         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
3645         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
3646         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
3647
3648         Add a test to check that not-linked pads always stay behind
3649         linked pads.
3650
3651         Fixes: #430682
3652
3653 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
3654
3655         * docs/random/release:
3656           Some updates to the release procedure.
3657
3658 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
3659
3660         * gst/gstelementfactory.c: (__gst_element_details_clear):
3661           Microoptimization that saves stunning 80 bytes.
3662
3663 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
3664
3665         * docs/plugins/gstreamer-plugins.args:
3666         * docs/plugins/inspect/plugin-coreelements.xml:
3667         * docs/plugins/inspect/plugin-coreindexers.xml:
3668           Update docs with caps info.
3669
3670 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3671
3672         * po/it.po:
3673           Updated Italian translation.
3674
3675 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3676
3677         * ChangeLog:
3678         * po/vi.po:
3679           Update Vietnamese translations.
3680
3681 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
3682
3683         * libs/gst/base/gstbasesink.c:
3684           Remove unused signal enum.
3685
3686 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
3687
3688         * docs/gst/gstreamer-sections.txt:
3689         * gst/gstelement.c:
3690         * gst/gstutils.c: (gst_type_register_static_full):
3691         Beef up and include the docs for gst_type_register_static_full and
3692         gst_element_class_set_details_simple and add the API keyword
3693         in the ChangeLog.
3694
3695 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
3696
3697         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3698         (update_time_level), (gst_single_queue_push_one),
3699         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
3700         (single_queue_overrun_cb), (single_queue_underrun_cb),
3701         (single_queue_check_full):
3702         Fix setting max-* properties after adding queues.
3703         Use IS_FILLED for checking visible items.
3704         Signal overrun if multiple queues overrun.
3705         Add extra debug output.
3706         Patch by: Wim Taymans <wim@fluendo.com>
3707
3708 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
3709
3710         * gst/gstelement.c: (gst_element_class_set_details_simple):
3711         * gst/gstelement.h:
3712         * gst/gstutils.c: (gst_type_register_static_full):
3713         * gst/gstutils.h:
3714         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
3715         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
3716         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
3717         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
3718         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
3719         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
3720         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
3721         * plugins/elements/gstidentity.c: (gst_identity_base_init):
3722         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
3723         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3724         (apply_buffer), (gst_queue_chain):
3725         * plugins/elements/gsttee.c: (gst_tee_base_init):
3726         * plugins/elements/gsttypefindelement.c:
3727         (gst_type_find_element_base_init),
3728         (gst_type_find_element_class_init):
3729           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
3730           API: add gst_type_register_static_full
3731           API: add gst_element_class_set_details_simple
3732
3733 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
3734
3735         * docs/pwg/advanced-types.xml:
3736           Fix typo in iana.org URI.
3737
3738 2007-06-19  Andy Wingo  <wingo@pobox.com>
3739
3740         * tests/check/pipelines/simple-launch-lines.c
3741         (test_state_change_returns): Enable pull-mode tests now that
3742         basesink has been fixed.
3743
3744         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
3745         Changed from gst_base_sink_is_prerolled, reversing the sense of
3746         the return value. Returns FALSE also if the sink is in pull mode,
3747         in which case it needs no preroll.
3748         (gst_base_sink_query, gst_base_sink_change_state): Update for
3749         needs_preroll change.
3750         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
3751         chaining up, in which we return SUCCESS directly if we activated
3752         in pull mode instead of ASYNC. Involves countering an async_start
3753         message sent before chaining up; not sure if this is correct, in
3754         an ideal world we only send async-start when activating in push
3755         mode.
3756
3757         * tests/check/pipelines/simple-launch-lines.c
3758         (test_state_change_returns): New test, partially disabled until
3759         basesink is fixed.
3760
3761 2007-06-19  Wim Taymans  <wim@fluendo.com>
3762
3763         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3764         (gst_multi_queue_sink_event):
3765         Fix event leak.
3766
3767 2007-06-19  Wim Taymans  <wim@fluendo.com>
3768
3769         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3770         (gst_bin_change_state_func), (bin_push_state_continue),
3771         (bin_handle_async_start), (bin_handle_async_done),
3772         (gst_bin_handle_message_func):
3773         Move the common code for posting state-change messages into
3774         one function.
3775         Broadcast the state signal after we posted the messages.
3776         Mark the bin as busy when it's doing a state-change.
3777         Make sure async-start/done messages don't interfere with the bin's
3778         state when it's busy.
3779         After the state change, let the bin check which elements completed the
3780         state change while it was busy so that it can update its state.
3781
3782 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
3783
3784         * docs/random/release:
3785         Add a note about updating the doap file to the release checklist
3786
3787 2007-06-18  Wim Taymans  <wim@fluendo.com>
3788
3789         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3790         (gst_single_queue_push_one), (gst_multi_queue_chain),
3791         (gst_multi_queue_sink_event):
3792         Make sure we don't reference the buffer/event after we have given away
3793         ownership in the queue.
3794
3795 2007-06-18  Wim Taymans  <wim@fluendo.com>
3796
3797         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3798         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
3799         Update queue state _after_ adding the item in the queue because else we
3800         could end up being full without the element added yet.
3801
3802 2007-06-18  Wim Taymans  <wim@fluendo.com>
3803
3804         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3805         (gst_bin_remove_func), (gst_bin_get_state_func),
3806         (gst_bin_element_set_state), (gst_bin_continue_func),
3807         (bin_push_state_continue), (bin_handle_async_start),
3808         (bin_handle_async_done), (gst_bin_handle_message_func):
3809         * gst/gstbin.h:
3810         Immediatly commit the toplevel bin state when receiving an async-done
3811         message. This enables us to avoid spawning a thread to commit the state
3812         in some common cases and it also avoids some races.
3813         Avoid spawning a state thread when adding/removing async elements to a
3814         toplevel bin. Instead we immediatly update the bin state.
3815         Get rid of iterating all the children when getting the state in the bin
3816         because it is now always up-to-date.
3817         Fix bug where locked elements would always return _SUCCESS even it they
3818         returned NO_PREROLL before being locked.
3819         Fix the order of the state_change, async-start/done messages that was
3820         sometimes incorrect.
3821         Mark the state_dirty field as deprecated, we don't need it anymore as we
3822         are always up-to-date.
3823
3824         * gst/gstelement.c: (gst_element_get_state_func),
3825         (gst_element_continue_state):
3826         Small debug inprovements.
3827         Return the previous element state return when nothing is pending instead
3828         of blindly returning SUCCESS.
3829
3830         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
3831         (gst_sinks_suite):
3832         Add a whole bunch of new testcases.
3833
3834 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3835
3836         * po/uk.po:
3837         * po/vi.po:
3838           Update translations.
3839
3840 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
3841
3842         * gst/gstpad.c:
3843         Fix typo in the docs.
3844
3845 2007-06-15  Wim Taymans  <wim@fluendo.com>
3846
3847         * docs/libs/gstreamer-libs-sections.txt:
3848         Add docs for new methods.
3849
3850 2007-06-15  Wim Taymans  <wim@fluendo.com>
3851
3852         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
3853         (gst_multi_queue_item_new):
3854         Don't use GSlice because we don't depend on >= 2.10 yet.
3855
3856 2007-06-15  Wim Taymans  <wim@fluendo.com>
3857
3858         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3859         (update_time_level), (apply_segment), (apply_buffer),
3860         (gst_single_queue_push_one), (gst_multi_queue_item_new),
3861         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
3862         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
3863         (single_queue_underrun_cb), (single_queue_check_full):
3864         Remove debug printf.
3865
3866 2007-06-15  Wim Taymans  <wim@fluendo.com>
3867
3868         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
3869         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
3870         (gst_data_queue_set_flushing), (gst_data_queue_push),
3871         (gst_data_queue_pop), (gst_data_queue_drop_head),
3872         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
3873         * libs/gst/base/gstdataqueue.h:
3874         Various cleanups.
3875         Added methods to get the current levels and to inform the queue that the
3876         'full' limits changed.
3877
3878         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3879         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3880         (gst_single_queue_flush), (update_time_level), (apply_segment),
3881         (apply_buffer), (gst_single_queue_push_one),
3882         (gst_multi_queue_item_steal_object),
3883         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3884         (gst_multi_queue_loop), (gst_multi_queue_chain),
3885         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3886         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
3887         (gst_multi_queue_src_query), (single_queue_overrun_cb),
3888         (single_queue_underrun_cb), (single_queue_check_full),
3889         (gst_single_queue_new):
3890         Keep track of time in the queue by measuring the difference between
3891         running_time on input and output. This gives more accurate results and
3892         can compensate for segments correctly.
3893         Make a queue by default only 5 buffers deep. We will now increase the
3894         buffer size depending on the filledness of the other queues.
3895         Factor out commong flush code.
3896         Make sure we don't add additional refcounts to buffers when we can avoid
3897         it.
3898         Propagate GstFlowReturn differently.
3899         Use GSlice for intermediate GstMultiQueueItems.
3900         Keep track of EOS.
3901         Resize queues on over and underruns based on filled level of other
3902         queues.
3903         When checking if the queue is filled, prefer to measure in time if we
3904         can and fall back to bytes when no time is known.
3905
3906         * plugins/elements/gstqueue.c:
3907         Fix return value.
3908
3909 2007-06-15  Wim Taymans  <wim@fluendo.com>
3910
3911         * libs/gst/base/gstbasetransform.c:
3912         (gst_base_transform_sink_event):
3913         Work around the brokenness of the event vmethod in basetransform. Prefer
3914         to return TRUE when the subclass returned FALSE (meaning don't forward
3915         the event). 
3916
3917         * libs/gst/base/gstbasetransform.h:
3918         Clarify the docs.
3919
3920 2007-06-15  Wim Taymans  <wim@fluendo.com>
3921
3922         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
3923         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3924         (gst_base_src_default_query), (gst_base_src_get_range),
3925         (gst_base_src_start):
3926         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
3927         Improve debugging.
3928
3929 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
3930
3931         * docs/pwg/advanced-types.xml:
3932           Added more formats to caps table.
3933
3934 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
3935
3936         * tools/gst-launch.c: (main):
3937           Remove crufy code. GOption does not need this workaround.
3938
3939 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3940
3941         * libs/gst/controller/gstcontroller.c:
3942         (gst_controlled_property_set_interpolation_mode):
3943           Fix wrong getter for enums in controller.
3944
3945 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3946
3947         * libs/gst/check/gstcheck.c: (gst_check_init):
3948           Intercept criticals and warnings in the Gst-Phonon log domain, so
3949           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
3950           well.
3951         
3952 2007-06-14  Edward Hervey  <edward@fluendo.com>
3953
3954         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
3955         Since this file doesn't include "gst.h" it will not go through the
3956         macros that disable GST_LOG if debugging was disabled.
3957
3958 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3959
3960         * libs/gst/check/Makefile.am:
3961         * libs/gst/check/gstcheck.h:
3962         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3963         * pkgconfig/gstreamer-check.pc.in:
3964           Ugly 'fix' for the controller unit test on the p5 bot: in
3965           fail_unless_equals_float() check whether the values are 'almost
3966           equal' by allowing a small absolute error, which should be good
3967           enough for our use cases (normal numbers and values close to 0).
3968           Proper fixage left to floating point arithmetic aficionados.
3969
3970 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3971
3972         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
3973         (gst_base_sink_render_object), (gst_base_sink_get_position):
3974           Add two breaks thats where missing.
3975
3976 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3977
3978         * docs/libs/gstreamer-libs-sections.txt:
3979         * libs/gst/check/gstcheck.h:
3980           API: add fail_unless_equals_float() and assert_equals_float().
3981           Add documentation for some of the macros.
3982
3983         * tests/check/libs/controller.c: (GST_START_TEST):
3984           Use newly-added asserts.
3985
3986 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3987
3988         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
3989           Show the caps change in the log to help spotting the case of not
3990           exactly matching caps.
3991
3992 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3993
3994         * docs/pwg/building-boiler.xml:
3995           Fix typos, spotted by Thijs Vermeir (#447190).
3996
3997 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
3998
3999         * docs/plugins/tmpl/.cvsignore:
4000         Ignore file to keep the buildbots happy
4001
4002 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
4003
4004         * docs/plugins/Makefile.am:
4005         * docs/plugins/gstreamer-plugins-docs.sgml:
4006         * docs/plugins/gstreamer-plugins-sections.txt:
4007         Pull fdsink into the docs too.
4008
4009 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
4010
4011         * libs/gst/controller/gstinterpolation.c:
4012         Actually use the new functions with min/max checks for the trigger and
4013         none interpolation modes for get() and get_value_array() instead of
4014         just the latter.
4015
4016 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
4017
4018         * libs/gst/controller/gstcontroller.c:
4019         (gst_controlled_property_free):
4020         Unset the minimum and maximum GValues when freeing the corresponding
4021         GstControllerProperty struct.
4022
4023 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
4024
4025         * libs/gst/controller/gstcontroller.c:
4026         (gst_controlled_property_new):
4027         * libs/gst/controller/gstcontrollerprivate.h:
4028         * libs/gst/controller/gstinterpolation.c:
4029         (gst_controlled_property_find_control_point_node),
4030         (interpolate_none_get), (interpolate_none_get_enum_value_array),
4031         (interpolate_none_get_string_value_array),
4032         (interpolate_trigger_get),
4033         (interpolate_trigger_get_enum_value_array),
4034         (interpolate_trigger_get_string_value_array):
4035         Protect against values larger or smaller than the minimum or maximum
4036         allowed value for the property when using values that can be compared.
4037
4038         Optimize trigger interpolator a bit by taking the last requested value
4039         into account instead of always looping through the complete list.
4040
4041         Fix coding style a bit, everywhere else we use "return foo" instead
4042         of "return (foo)".
4043         
4044         * tests/check/libs/controller.c: (GST_START_TEST),
4045         (gst_controller_suite):
4046         Add unit test for the protection against too large or too small
4047         values.
4048
4049 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
4050
4051         * docs/random/slomo/controller.txt:
4052         Add some thoughts about the future of the controller.
4053
4054 2007-06-08  Wim Taymans  <wim@fluendo.com>
4055
4056         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4057         Don't overflow in retimestamping code.
4058
4059 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
4060
4061         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
4062         Use gst_util_guint64_to_gdouble for conversions.
4063         * win32/common/libgstreamer.def:
4064         Add new exported functions.
4065
4066 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
4067
4068         * gst/gstutils.c:
4069           Small docs addition.
4070
4071 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4072
4073         * README:
4074           Remove that test line again.
4075
4076 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4077
4078         * README:
4079           Test commit mail sending.
4080
4081 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4082
4083         * configure.ac:
4084           Fix typo and test commit mail sending.
4085
4086 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4087
4088         * tests/examples/controller/audio-example.c:
4089           Improve comment and test commit mail sending.
4090
4091 2007-06-07  Wim Taymans  <wim@fluendo.com>
4092
4093         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
4094         (gst_bin_remove_func), (gst_bin_element_set_state),
4095         (bin_handle_async_start), (bin_handle_async_done),
4096         (gst_bin_handle_message_func):
4097         Add helper function to find messages.
4098         Generate the async-done messages together with the state change
4099         messages.
4100         Small cleanups in handling toplevel bins.
4101
4102 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4103
4104         * libs/gst/base/gstdataqueue.c:
4105         * libs/gst/base/gstdataqueue.h:
4106         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4107         (gst_multi_queue_item_new), (gst_multi_queue_chain),
4108         (gst_multi_queue_sink_event):
4109         * tests/check/elements/multiqueue.c: (multiqueue_suite):
4110           Fix multiqueue leaking buffers and events when downstream or the
4111           queue are flushing. Make refcounting assumptions explicit and
4112           document them (shouldn't break existing code that uses it other than
4113           maybe leak miniobjects, but that already happens anyway). Add unit
4114           test for the most common flushing case. Fixes #423700.
4115           
4116 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
4117
4118         * libs/gst/controller/gstcontroller.c:
4119         Clarify docs: The get_all, get_value_array(s) functions
4120         don't modify the GObject properties.
4121
4122 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
4123
4124         * libs/gst/controller/gstcontroller.c:
4125         (gst_controlled_property_set_interpolation_mode),
4126         (gst_controlled_property_prepend_default),
4127         (gst_controlled_property_new), (gst_controller_set_unlocked),
4128         (gst_controller_set), (gst_controller_set_from_list),
4129         (gst_controller_unset), (gst_controller_unset_all):
4130         * libs/gst/controller/gstcontrollerprivate.h:
4131         * libs/gst/controller/gstinterpolation.c:
4132         Factor out the 'set' logic into gst_controller_set_unlocked for the
4133         gst_controller_set and gst_controller_set_from_list functions.
4134
4135         To make life of the interpolators easier always add a control point
4136         at timestamp zero with the default value.
4137
4138         In the linear interpolator make things more obvious by better variable
4139         naming (slope).
4140
4141         Implement cubic interpolation mode (by using a natural cubic spline)
4142         and map the quadratic interpolation mode to this too (as quadratic
4143         doesn't make much sense, see discussion on the list).
4144
4145         * tests/check/libs/controller.c: (GST_START_TEST),
4146         (gst_controller_suite):
4147         Add unit test for the cubic interpolation mode and check everywhere
4148         if the interpolation mode could be set as expected.
4149
4150 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4151
4152         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
4153           Don't use GLib-2.10 functions, we still depend on
4154           GLib-how-old-is-it-again-2.8.
4155
4156 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4157
4158         * docs/gst/gstreamer-sections.txt:
4159         * gst/Makefile.am:
4160         * gst/gst.c:
4161         * gst/gst.h:
4162         * gst/gstparamspecs.c: (_gst_param_fraction_init),
4163         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
4164         (_gst_param_fraction_values_cmp),
4165         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
4166         * gst/gstparamspecs.h:
4167         * gst/gstvalue.c:
4168         * tests/check/Makefile.am:
4169         * tests/check/gst/.cvsignore:
4170         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
4171         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
4172         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
4173         (GST_START_TEST), (gst_param_spec_suite):
4174           API: add GstParamSpecFraction, so elements can have fraction
4175           properties without lots of painful string parsing (#444648).
4176
4177 2007-06-05  Wim Taymans  <wim@fluendo.com>
4178
4179         * gst/gstobject.c: (gst_object_class_init):
4180         Fix signal signature.
4181
4182         * gst/gstsegment.c:
4183         Add small clarification in the api docs.
4184
4185         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
4186         States are protected with object lock.
4187
4188 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
4189
4190         * AUTHORS:
4191         I should probably be listed as an author by now.
4192
4193         * docs/random/release:
4194         Update the release doc
4195
4196 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
4197
4198         * gst/gstvalue.c:
4199           Make docs for gst_value_compare() mention return enums that
4200           actually exist.
4201
4202 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
4203
4204         * configure.ac:
4205           Back to CVS
4206
4207 === release 0.10.13 ===
4208
4209 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
4210
4211         * configure.ac:
4212           releasing 0.10.13, "With or without you"
4213
4214 2007-05-25  Wim Taymans  <wim@fluendo.com>
4215
4216         * gst/gstbin.c: (bin_handle_async_done):
4217         Make sure that the child bin stops after completing the async state
4218         change so that the parent can continue the state change to PLAYING.
4219         Fixes #441159.
4220
4221 2007-05-25  Wim Taymans  <wim@fluendo.com>
4222
4223         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4224         (unref_data), (gst_collect_pads_remove_pad),
4225         (gst_collect_pads_check_pads):
4226         Use additional refcounting to avoid crashes when dynamically adding and
4227         removing pads. Fixes #420206.
4228
4229 2007-05-24  Wim Taymans  <wim@fluendo.com>
4230
4231         * tools/gst-launch.c: (event_loop):
4232         When buffering goes from a two digit to a single digit number, make sure
4233         to remove the old second digit by writing a blank over it.
4234
4235 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
4236
4237         * libs/gst/base/gstdataqueue.c:
4238           Eliminate tabs and trailing comma in enum list; fix some typos.
4239
4240 2007-05-24  Wim Taymans  <wim@fluendo.com>
4241
4242         * tests/check/gst/gstbin.c: (GST_START_TEST):
4243         Allow refcount of 3 and 4 because some state thread might still be busy
4244         with it.
4245
4246 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
4247
4248         * plugins/elements/Makefile.am:
4249         * plugins/elements/gstmultiqueue.h:
4250         * plugins/elements/gstqueue.h:
4251           These are not installed headers, no need for padding.
4252
4253 2007-05-24  Wim Taymans  <wim@fluendo.com>
4254
4255         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4256         (gst_bin_continue_func):
4257         Enable latency for next release.
4258         Restore STATE_LOCK around recalc_state that was left out during the
4259         rewrite and could result in racy behaviour when _get_state and
4260         recalc_state are run concurrently. See #440463.
4261
4262 2007-05-23  Wim Taymans  <wim@fluendo.com>
4263
4264         * tests/check/gst/gstsystemclock.c: (store_callback),
4265         (GST_START_TEST):
4266         Improve test_async_order to also work when both timers are already
4267         expired when we get scheduled to check it.
4268
4269 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4270
4271         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
4272         (gst_bin_set_property), (gst_bin_get_property),
4273         (gst_bin_remove_func), (gst_bin_handle_message_func):
4274         * gst/gstbin.h:
4275           'private' is a c++ keyword, let's not use that in header files,
4276           otherwise c++ compilers will throw a tantrum.
4277
4278 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4279
4280         * plugins/elements/gstelements.c:
4281         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
4282         (gst_file_sink_get_current_offset):
4283         * plugins/indexers/gstindexers.c: (plugin_init):
4284           Use #ifdef for HAVE_XYZ for consistency.
4285
4286         * tests/check/Makefile.am:
4287         * tests/check/elements/.cvsignore:
4288         * tests/check/elements/filesink.c: (setup_filesink),
4289         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
4290           Add some unit tests for filesink.
4291
4292 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4293
4294         Patch by: Mark Nauwelaerts <manauw at skynet be>
4295
4296         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4297         (gst_file_sink_query), (gst_file_sink_do_seek),
4298         (gst_file_sink_get_current_offset), (gst_file_sink_render):
4299         * plugins/elements/gstfilesink.h:
4300           Fix position reporting; rename data_written member to current_pos to
4301           reflect its real meaning (fixes #412648).
4302
4303 2007-05-22  Edward Hervey  <edward@fluendo.com>
4304
4305         * docs/gst/gstreamer-sections.txt:
4306         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4307         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
4308         (gst_bin_remove_func), (gst_bin_handle_message_func):
4309         * gst/gstbin.h:
4310         Add a property for bins that handle the state change of their childs.
4311         Fixes #435880
4312
4313 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
4314
4315         * libs/gst/controller/gstinterpolation.c:
4316         Use an array of the correct type when using _get_value_array with
4317         linear interpolation.
4318
4319 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
4320
4321         * gst/gstelement.c (gst_element_requires_clock,
4322           gst_element_provides_clock, gst_element_request_pad,
4323           gst_element_class_set_details, gst_element_class_set_details_simple,
4324           gst_element_default_send_event, gst_element_abort_state,
4325           gst_element_continue_state, gst_element_set_state,
4326           gst_element_set_state_func, iterator_activate_fold_with_resync):
4327         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
4328           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
4329           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
4330           gst_pad_get_range, gst_pad_pull_range):
4331         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
4332           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
4333           GstPadActivateModeFunction, GstPadChainFunction,
4334           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
4335           GstPadFixateCapsFunction, GstPadTemplate):
4336         * gst/gstpipeline.c (gst_pipeline_change_state,
4337           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
4338           gst_pipeline_set_clock, gst_pipeline_auto_clock,
4339           gst_pipeline_get_delay):
4340           Whitespace and docs fixes.
4341
4342 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4343
4344         * libs/gst/controller/gstinterpolation.c:
4345         (interpolate_trigger_get_enum_value_array),
4346         (interpolate_trigger_get_string_value_array):
4347         Add support for retrieving value arrays when using the trigger
4348         interpolation mode. 
4349
4350 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4351
4352         * libs/gst/controller/gstcontroller.c:
4353         (gst_controller_get_value_array):
4354         * libs/gst/controller/gstcontroller.h:
4355         Clarify the docs of gst_controller_get_value_array(): The array where
4356         the values should be written to must be allocated as there seems to be
4357         no way to get the size of a random GType. This doesn't change any
4358         behaviour. Also fix some typos all over the place and remove an unused,
4359         commented function that is not necessary as g_object_set() could be
4360         used instead.
4361         * tests/check/libs/controller.c: (GST_START_TEST),
4362         (gst_controller_suite):
4363         Add unit test for gst_controller_get_value_array().
4364
4365 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
4366
4367         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4368
4369         Disable part of the gst_buffer_try_new_and_alloc test, because
4370         it can happily succeed on 64-bit systems where there's more address
4371         space available.
4372
4373 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4374
4375         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4376         Add unit test for the improved caps checking from bug #421543.
4377
4378 2007-05-21  Wim Taymans  <wim@fluendo.com>
4379
4380         * docs/design/part-synchronisation.txt:
4381         Small addition.
4382
4383         * gst/gstbin.c: (gst_bin_query):
4384         * plugins/elements/gstqueue.c: (apply_segment):
4385         Improve debugging.
4386
4387         * gst/gstmessage.h:
4388         Improve docs.
4389
4390 2007-05-21  Wim Taymans  <wim@fluendo.com>
4391
4392         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4393         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
4394         (gst_pad_configure_src):
4395         Added simple version of improved caps checking. It was previously
4396         assumed that a setcaps function would check the validity of the caps but
4397         people prefer us to check caps against the template automatically. 
4398         Fixes #421543.
4399
4400 2007-05-21  Wim Taymans  <wim@fluendo.com>
4401
4402         * libs/gst/base/gstbasetransform.h:
4403         Fix macro for locking/unlocking the transform lock.
4404
4405 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
4406
4407         * docs/plugins/tmpl/.cvsignore:
4408           Ignore more.
4409
4410 2007-05-18  Edward Hervey  <edward@fluendo.com>
4411
4412         * plugins/elements/gstqueue.c: (gst_queue_loop):
4413         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
4414         for the subtle art of warning a potentially blocking thread that it
4415         should check the source pad return value, and relay the information
4416         upstream.
4417
4418 2007-05-18  Edward Hervey  <edward@fluendo.com>
4419
4420         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4421         Release the queue lock !
4422
4423 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4424
4425         * docs/libs/gstreamer-libs-sections.txt:
4426         Add the two new controller functions to the appropiate places.
4427
4428 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4429
4430         reviewed by: Stefan Kost <ensonic@users.sf.net>
4431
4432         * libs/gst/controller/gstcontroller.c:
4433         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
4434         (_gst_controller_get_property), (_gst_controller_set_property),
4435         (_gst_controller_init), (_gst_controller_class_init):
4436         * libs/gst/controller/gstcontroller.h:
4437         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
4438         (gst_object_get_control_rate), (gst_object_set_control_rate):
4439         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
4440         Add API that provides sync suggestion timestamps for elements that
4441         call gst_object_sync_values() from which those elements can subdivide
4442         their processing loop to get the best results for the controlled
4443         properties. For now it just suggests last_sync + control_rate as
4444         new timestamp but this will be improved in the future.
4445
4446         While doing that change the control-rate property to a GstClockTime
4447         from guint and change it's meaning from samples to nanoseconds as
4448         the GstController doesn't know anything about sampling rate. Strictly
4449         speaking this breaks ABI but as the control-rate property didn't do
4450         anything in the past and as such couldn't be used this should be no
4451         problem.        
4452
4453 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4454
4455         reviewed by: Stefan Kost <ensonic@users.sf.net>
4456
4457         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4458         (gst_controller_unset_all):
4459         * libs/gst/controller/gstcontrollerprivate.h:
4460         * libs/gst/controller/gstinterpolation.c:
4461         (gst_controlled_property_find_control_point_node):
4462         Save last synced value from the list to continue searching from there
4463         in future syncs. This speeds everything up a bit.
4464         
4465 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4466
4467         reviewed by: Stefan Kost <ensonic@users.sf.net>
4468
4469         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
4470         (gst_control_point_find), (gst_controlled_property_new),
4471         (gst_control_point_free), (gst_controlled_property_free),
4472         (gst_controller_set), (gst_controller_set_from_list),
4473         (gst_controller_unset), (gst_controller_unset_all),
4474         (gst_controller_sync_values):
4475         * libs/gst/controller/gstcontroller.h:
4476         * libs/gst/controller/gstcontrollerprivate.h:
4477         * libs/gst/controller/gstinterpolation.c:
4478         (gst_controlled_property_find_control_point_node),
4479         (interpolate_none_get), (interpolate_trigger_get):
4480         Add a new private GstControlPoint struct which "inherits" from
4481         GstTimedValue to allow different interpolators to store internal
4482         values next to each control point. From the outside everything is
4483         still a GstControlPoint so we don't loose binary compatibility.
4484         Also fixup all the GValue handling to not leak GValues or list nodes.
4485         * tests/check/libs/controller.c: (GST_START_TEST):
4486         Free the list nodes and GValues in the controller_misc test.
4487
4488 2007-05-17  Edward Hervey  <edward@fluendo.com>
4489
4490         * gst/gstsegment.c:
4491         Small doc fix.
4492
4493 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
4494
4495         * gst/gstplugin.c: (gst_plugin_load_file):
4496           If we fail to load a plugin because of unresolved symbols or missing
4497           libraries and spew a warning to stderr, we may just as well mention
4498           which plugin it was that failed to load.
4499
4500 2007-05-13  David Schleef  <ds@schleef.org>
4501
4502         * docs/Makefile.am: the gtk-doc makefile snippet correctly
4503           handles the case when ENABLE_GTK_DOC is false, and installs
4504           the prebuilt documentation.  So gtk-doc subdirs are 
4505           unconditionally enabled.  Fixes: #349099.
4506
4507 2007-05-13  David Schleef  <ds@schleef.org>
4508
4509         * gst/gstutils.h: Reword some documentation.
4510
4511 2007-05-12  David Schleef  <ds@schleef.org>
4512
4513         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
4514           do anything with the passed "module" parameter, so remove it.
4515           Allows removal of additional vestigal code.
4516
4517 2007-05-12  David Schleef  <ds@schleef.org>
4518
4519         * gst/gstplugin.c:
4520           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
4521           Switch to using g_stat() because it's more portable.
4522
4523 2007-05-12  David Schleef  <ds@schleef.org>
4524
4525         * gst/gst.c:
4526           Add GST_DISABLE_OPTION_PARSING, in order to disable option
4527           parsing for embedded systems.
4528         * gst/gstelementfactory.c:
4529           Allow gst_element_register() to be called with plugin==NULL.
4530           Did nobody notice that static elements were broken?
4531
4532 2007-05-12  Wim Taymans  <wim@fluendo.com>
4533
4534         * tools/gst-launch.c: (event_loop):
4535         Give more interesting info when buffering starts and stops.
4536         Fix case where buffering starts but we fail to update the buffering flag
4537         because the target state is not PLAYING.
4538
4539 2007-05-12  Wim Taymans  <wim@fluendo.com>
4540
4541         * plugins/elements/gstqueue.c: (gst_queue_init),
4542         (gst_queue_finalize), (update_time_level), (apply_segment),
4543         (apply_buffer), (gst_queue_locked_flush),
4544         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
4545         (gst_queue_handle_sink_event), (gst_queue_chain),
4546         (gst_queue_push_one), (gst_queue_loop):
4547         * plugins/elements/gstqueue.h:
4548         Refactor an cleanup queue a bit.
4549         Do better time level calculations that also work when the srcpad is not
4550         yet running.
4551         Remove some unneeded debug lines.
4552
4553         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
4554         Added testcase for time level measurement.
4555         Try to make some stuff more racefree.
4556
4557 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
4558
4559         * gst/gsturi.c: (gst_element_make_from_uri):
4560           Don't leak plugin feature.
4561
4562         * tests/check/Makefile.am:
4563         * tests/check/gst/.cvsignore:
4564         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
4565           Add brain-dead unit test.
4566
4567 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
4568
4569         Patch by: Jeroen Wouters <woutersj at gmail com>
4570
4571         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
4572           Treat protocol strings in a case-insensitive way (#437563).
4573
4574 2007-05-11  Michael Smith <msmith@fluendo.com>
4575
4576         * gst/gstplugin.c: (gst_plugin_load_file):
4577         * gst/gstregistry.c: (gst_registry_scan_path_level):
4578           Don't print a g_warning for any failure to load a shared object.
4579           Instead, push this down into gstplugin.c, and warn _only_ if we
4580           failed to open the module (i.e. failure to link).
4581           Avoids warnings on normal, working, non-plugin .so files.
4582
4583 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
4584
4585         * gst/gstplugin.c (gst_plugin_load_file):
4586         * gst/gstregistry.c (GST_CAT_DEFAULT,
4587           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
4588           Print a g_warning if there was an error when loading a plugins during
4589           registry scan. The shuld help beginners starting with gst-plugin
4590           template.
4591
4592 2007-05-10  Wim Taymans  <wim@fluendo.com>
4593
4594         * plugins/elements/gstqueue.c: (gst_queue_class_init),
4595         (update_time_level), (gst_queue_locked_flush),
4596         (gst_queue_handle_sink_event), (gst_queue_chain),
4597         (gst_queue_push_one), (gst_queue_loop):
4598         * plugins/elements/gstqueue.h:
4599         Be smarter when calculating the current amount of data in the queue by
4600         measuring the difference between start and end timestamps (in running
4601         time) inside the queue. Fixes #432876.
4602         API: GstQueue::pushing to notify elements that we are pushing data again
4603         since the running signal is rather broken for this purpose.
4604
4605 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
4606
4607         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
4608           gst_queue_base_init, gst_queue_init):
4609           use GST_BOILERPLATE
4610
4611 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
4612
4613         * win32/common/libgstreamer.def:
4614         Add new exported functions.
4615         * win32/vs6/grammar.dsp:
4616         Use grammar pre-generated files.
4617
4618 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
4619
4620         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
4621
4622         * gst/Makefile.am:
4623         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
4624         * gst/gstparse.h:
4625         * gst/gstutils.c: (gst_parse_bin_from_description):
4626         * gst/gstutils.h:
4627           Maintain API and ABI when --disable-parse is used. Now that
4628           we have an appropriate error code, we can just return NULL and the
4629           appropriate error when gst_parse_launch() is used despite it having
4630           been disabled (#342564).
4631
4632         * tests/check/Makefile.am:
4633         * tests/check/pipelines/.cvsignore:
4634         * tests/check/pipelines/parse-disabled.c:
4635           Make sure these functions exist and return NULL plus a GError when
4636           --disable-parse is used.
4637
4638 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
4639
4640         * tests/benchmarks/complexity.c: (main):
4641         * tests/benchmarks/mass-elements.c: (main):
4642           Set a good example and don't leak messages.
4643
4644 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
4645
4646         * docs/gst/Makefile.am:
4647         * docs/libs/Makefile.am:
4648           Correct fixxrefs options.
4649
4650         * docs/plugins/Makefile.am:
4651         * docs/plugins/gstreamer-plugins-docs.sgml:
4652         * docs/plugins/gstreamer-plugins-sections.txt:
4653         * plugins/elements/Makefile.am:
4654         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
4655         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
4656           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
4657           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
4658           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
4659           _GstCapsFilterClass, trans_class):
4660         * plugins/elements/gstelements.c (name, rank, type, _elements):
4661         * plugins/elements/gstidentity.c
4662           (gst_identity_check_imperfect_timestamp,
4663           gst_identity_check_imperfect_offset):
4664           Document capsfilter and add doc-blurb to identity.
4665
4666 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
4667
4668         * libs/gst/controller/gstcontroller.c:
4669         (gst_controlled_property_set_interpolation_mode):
4670         * libs/gst/controller/gstinterpolation.c:
4671           Don't crash if someone tries to set an interpolation mode that
4672           is invalid or that isn't supported yet. Fixes #422295.
4673
4674         * tests/check/libs/controller.c: (GST_START_TEST),
4675         (gst_controller_suite):
4676           Add a test case for the above.
4677
4678 2007-05-03  Edward Hervey  <edward@fluendo.com>
4679
4680         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4681         Properly set the last_stop position on GstSegment. This will only happen
4682         if there is a buffer to push out.
4683
4684 2007-05-03  Wim Taymans  <wim@fluendo.com>
4685
4686         * libs/gst/base/gstbasetransform.c:
4687         (gst_base_transform_buffer_alloc):
4688         always_in_place does not mean that the sink and source caps are the
4689         same! Make sure we don't blindly proxy the buffer_alloc in this case.
4690
4691 2007-05-03  Wim Taymans  <wim@fluendo.com>
4692
4693         * docs/libs/gstreamer-libs-sections.txt:
4694         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4695         (gst_base_src_default_query), (gst_base_src_get_range):
4696         * libs/gst/base/gstbasesrc.h:
4697         API: gst_base_src_query_latency(). Added method so that subclasses can
4698         easily get the latency values of the base source class.
4699
4700 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
4701
4702         * tools/gst-inspect.c (print_implementation_info):
4703         Remove 0.8 cruft.
4704
4705 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
4706
4707         * tools/Makefile.am:
4708         * tools/gst-launch.1.in:
4709           Don't create a customised man page based on the host architecture,
4710           describe the default registry path generically. That way the man
4711           page is the same for all architectures and packagers have one
4712           multilib issue less to deal with. Fixes #434926.
4713
4714 2007-05-02  Wim Taymans  <wim@fluendo.com>
4715
4716         * gst/gstpad.c:
4717         Fix documentation as spotted by rg on IRC. 
4718
4719 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
4720
4721         * gst/gstutils.c:
4722           Improve docs for gst_element_{link,unlink}.
4723
4724 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
4725
4726         * docs/design/part-events.txt:
4727         * docs/design/part-overview.txt:
4728         * gst/gstevent.c:
4729         * gst/gsturi.c:
4730         * gst/gsturi.h:
4731         * libs/gst/base/gstbasesink.c:
4732           Typo fixes; minor docs addition.
4733
4734 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4735
4736         * docs/gst/gstreamer-sections.txt:
4737         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
4738         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
4739         * gst/gsturi.h:
4740         API: Add gst_uri_protocol_is_supported(), which checks if a sink
4741         or src that supports a given URI protocol exists.
4742
4743 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4744
4745         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4746         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4747         Set the location to NULL if "file://" is set as URI. Otherwise
4748         some random previous URI would still be set if "file://" is
4749         set on an already used filesink/filesrc.
4750
4751 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4752
4753         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4754         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4755         Special case the "file://" URI as as this is used by some
4756         applications to test with gst_element_make_from_uri if there's
4757         an element that supports the URI protocol.
4758         Also move the g_path_is_absolute() check for the location part
4759         of the URI to also check this for "file://localhost/bla" URIs.
4760
4761 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
4762
4763         * docs/gst/gstreamer-sections.txt:
4764         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
4765         * gst/gstbuffer.h:
4766         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4767         (gst_buffer_suite):
4768           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
4769
4770 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
4771
4772         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4773         (gst_registry_binary_load_pad_template),
4774         (gst_registry_binary_load_plugin),
4775         (gst_registry_binary_read_cache):
4776         * gst/gstregistrybinary.h:
4777           Implement no-mmap alternative for registry reading. Do code cleanups.
4778           Add more comments about avoiding strdups for all text data. Comments
4779           welcome.
4780
4781 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
4782
4783         * gst/gstregistrybinary.h (GstBinaryPluginElement,
4784           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
4785           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
4786           Comment structs and reformat to fix the build (that stuff should go
4787           into a priv. header).
4788
4789 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
4790
4791         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
4792         (gst_registry_binary_load_feature):
4793         * gst/gstregistrybinary.h:
4794           Refactor so that we can implement multiple features. Add support for
4795           TypeFindFactory features.
4796
4797 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
4798
4799         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
4800
4801         * configure.ac:
4802           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
4803
4804 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
4805
4806         * gst/gstbin.c: (gst_bin_element_set_state),
4807         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
4808         (bin_handle_async_done), (gst_bin_handle_message_func):
4809           Fix build with --gst-disable-gst-debug
4810
4811 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
4812
4813         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
4814           Make sure streaming has finished before calling the ::stop() vfunc,
4815           since that vfunc might clear state which is being used in the
4816           streaming thread. This fixes a race that caused crashes in
4817           audioresample when shutting down a pipeline (#420106).
4818
4819 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4820
4821         * docs/gst/gstreamer-sections.txt:
4822           That was one byte missing.
4823
4824 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4825
4826         * configure.ac:
4827         * docs/gst/gstreamer-sections.txt:
4828         * gst/Makefile.am:
4829         * gst/gstconfig.h.in:
4830         * gst/gstobject.c: (gst_object_class_init),
4831         (gst_signal_object_class_init):
4832         * gst/gstobject.h:
4833           2nd attempt to have a xml-less build as a joined effort of #413123
4834           and #421480.
4835
4836 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4837
4838         * docs/design/draft-tagreading.txt:
4839           Added open issues/thoughts to draft.
4840
4841 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4842
4843         * gst/parse/grammar.tab.pre.c:
4844         * gst/parse/grammar.tab.pre.h:
4845         * gst/parse/lex._gst_parse_yy.pre.c:
4846         Update the prebuild parser sources.
4847
4848 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4849
4850         * gst/parse/Makefile.am:
4851         And now fix the building of the flex sources. Now everything should
4852         work as expected.
4853
4854 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4855
4856         * gst/parse/Makefile.am:
4857         Now hopefully fix the build failures by setting proper rule
4858         dependencies and moving instead of copying.
4859
4860 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
4861
4862         * tests/benchmarks/complexity.gnuplot:
4863         * tests/benchmarks/complexity.scm:
4864         * tests/benchmarks/mass-elements.gnuplot:
4865         * tests/benchmarks/mass-elements.scm:
4866           Total licensification.
4867
4868 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
4869
4870         * gst/parse/Makefile.am:
4871           Fix the build by correcting the rule that gave wrong files to flex.
4872
4873 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
4874
4875         * tests/benchmarks/complexity.c:
4876         * tests/benchmarks/mass-elements.c:
4877           Change licence to LGPL as granted by Benjamin and Andy.
4878
4879 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4880
4881         * gst/parse/Makefile.am:
4882         Add correct grammar.tab.h dependency if compiling without new enough
4883         flex. Fixes #431150.
4884
4885 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
4886
4887         * gst/parse/Makefile.am:
4888         Fix typo and use outdated sources if the flex/bison sources are newer
4889         than the pregenerated ones but flex is too old. Print a warning in
4890         that case. This should fix the build on the build bot.
4891
4892 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
4893
4894         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
4895         * gst/parse/Makefile.am:
4896         * gst/parse/grammar.y:
4897         * gst/parse/parse.l:
4898         Make the parser reentrant and recursively callable. This requires flex
4899         >= 2.5.31, for older versions pregenerated sources are used as we
4900         can't bump the build dependency. Finally fixes #349180.
4901
4902         * gst/gstparse.c: (gst_parse_launch):
4903         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
4904         now anyway.
4905
4906         * docs/gst/Makefile.am:
4907         * docs/gst/Makefile.am:
4908         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
4909         (__gst_parse_strfree), (__gst_parse_link_new),
4910         (__gst_parse_link_free), (__gst_parse_chain_new),
4911         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
4912         (gst_parse_element_set), (gst_parse_free_link),
4913         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
4914         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
4915         (_gst_parse_launch):
4916         * gst/parse/grammar.tab.pre.h:
4917         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
4918         (yy_get_previous_state), (yy_try_NUL_trans), (input),
4919         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
4920         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
4921         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
4922         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
4923         (_gst_parse_yypop_buffer_state),
4924         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
4925         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
4926         (yy_fatal_error), (_gst_parse_yyget_extra),
4927         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
4928         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
4929         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
4930         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
4931         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
4932         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
4933         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
4934         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
4935         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
4936         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
4937         (_gst_parse_yyfree):
4938         If the installed flex version is too old use pre-generated parser
4939         sources. These pre-generated parser sources are always updated when
4940         the actual flex/bison sources change but require everybody who wants
4941         to change something in the parser to have flex >= 2.5.31 installed.
4942
4943 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
4944
4945         * common/m4/gst-gettext.m4:
4946         * gst/gst-i18n-lib.h:
4947           Make --disable-nls to work
4948
4949 2007-04-17  Wim Taymans  <wim@fluendo.com>
4950
4951         * gst/gstconfig.h.in:
4952         Revert previous change that broke the build.
4953
4954 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
4955
4956         * configure.ac:
4957         * gst/Makefile.am:
4958         * gst/gstconfig.h.in:
4959           Drop libxml2 dependency when building with 
4960           --enable-binary-registry --disable-loadsave
4961
4962 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
4963
4964         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4965         (gst_registry_binary_read_cache):
4966         * gst/gstregistrybinary.h:
4967           Remove unnecessary <sys/mman.h> include which broke the win32 build
4968           with MingW; move includes from header file to .c file, even if the
4969           header file isn't installed; use g_strerror() where UTF-8 strings
4970           are expected, such as in GST_DEBUG messages.
4971
4972 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4973
4974         * docs/libs/gstreamer-libs-sections.txt:
4975         Remove bogus addition for API I didn't end up keeping.
4976
4977         * libs/gst/base/gstbasesrc.h:
4978         Mention Since: 0.10.13 in the documentation.
4979
4980         Add the API keyword to the previous ChangeLog entry.
4981
4982 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4983
4984         * docs/libs/gstreamer-libs-sections.txt:
4985         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4986         (gst_base_src_default_prepare_seek_segment),
4987         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
4988         * libs/gst/base/gstbasesrc.h:
4989         Allow basesrc derived classes to execute seeks in other formats
4990         by providing a prepare_seek_segment vmethod. Sub-classes can choose
4991         to prepare the GstSegment in any format that their perform_seek method
4992         will be able to understand. The default implementation provides the
4993         old behaviour of attempting to convert the seek offsets to the 
4994         configured native format.
4995
4996         API: basesrc::prepare_seek_segment vmethod.
4997
4998 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4999
5000         * gst/gstelement.c: (gst_element_get_state_func):
5001         Don't output the same debug statement twice.
5002
5003         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
5004         (gst_adapter_peek), (gst_adapter_take_buffer):
5005         Optimise the case where we have buffers at the head of the queue that
5006         can be joined quickly (because they're contiguous sub-buffers) by
5007         merging them together rather than copying data out into new memory.
5008
5009         * gst/parse/grammar.y:
5010         * tests/check/pipelines/parse-launch.c:
5011         Fix a leak in an error path for parse_launch, and add a check 
5012         for it to the testsuite.
5013
5014 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5015
5016         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5017           Don't deadlock when releasing a pad - gst_pad_set_active may try
5018           and take the multiqueue lock too.
5019
5020 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
5021
5022         * gst/gsterror.c: (_gst_core_errors_init):
5023         * gst/gsterror.h:
5024           API: add GST_CORE_ERROR_DISABLED (#392804).
5025
5026 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5027
5028         * docs/faq/gst-uninstalled:
5029           don't get empty paths on the PATH variables
5030         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
5031           Don't format for the uncommon terminal width of 84 characters.
5032
5033 2007-04-06  Wim Taymans  <wim@fluendo.com>
5034
5035         * gst/gstpipeline.c: (reset_stream_time),
5036         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
5037         Only try to select a different pipeline clock when we went back to
5038         PAUSED and not when we merely got flushed.
5039
5040 2007-04-05  Michael Smith  <msmith@fluendo.com>
5041
5042         * tools/gst-launch.1.in:
5043           fractions are better supported in gstreamer than ractions, so
5044           suggest using those.
5045
5046 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5047
5048         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
5049
5050         * po/LINGUAS:
5051         * po/da.po:
5052           Added Danish translation.
5053
5054 2007-04-05  Wim Taymans  <wim@fluendo.com>
5055
5056         * libs/gst/base/gstbasesink.c:
5057         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
5058         Fix leak caused when refusing newsegment after EOS.
5059
5060         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5061         (gst_fake_sink_init), (gst_fake_sink_set_property),
5062         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
5063         (gst_fake_sink_render), (gst_fake_sink_change_state):
5064         * plugins/elements/gstfakesink.h:
5065         Add num-buffers property to make the element generate EOS after a
5066         configurable amount of buffers.
5067         API: fakesink::num-buffers property.
5068
5069         * tests/check/elements/fakesink.c: (GST_START_TEST),
5070         (fakesink_suite):
5071         Fix GstBus leak in test.
5072         Test for fakesink num-buffers.
5073
5074 2007-04-05  Wim Taymans  <wim@fluendo.com>
5075
5076         * libs/gst/base/gstbasesink.c:
5077         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5078         (gst_base_sink_change_state):
5079         Don't accept anything after an EOS, return UNEXPECTED instead.
5080
5081         * tests/check/elements/fakesink.c: (GST_START_TEST),
5082         (fakesink_suite):
5083         Unit test for new EOS behaviour.
5084
5085 2007-04-05  Wim Taymans  <wim@fluendo.com>
5086
5087         * gst/gstelement.c: (gst_element_get_request_pad):
5088         Make padtemplates also work when they don't contain %s or %d.
5089
5090 2007-04-05  Wim Taymans  <wim@fluendo.com>
5091
5092         * docs/gst/gstreamer-sections.txt:
5093         * gst/gstclock.c: (gst_clock_adjust_unlocked),
5094         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
5095         * gst/gstclock.h:
5096         Improve _adjust_unlocked() so that it overflows less.
5097         Add gst_clock_unadjust_unlocked to convert from external time to
5098         internal time based on calibration.
5099         Add some more debug.
5100         API: GstClock::gst_clock_unadjust_unlocked()
5101
5102 2007-04-03  Wim Taymans  <wim@fluendo.com>
5103
5104         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
5105
5106         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5107         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
5108         when releasing sink pad. Fixes #425400.
5109
5110 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
5111
5112         * docs/random/ensonic/dynlink.txt:
5113           More work on proposal for new core api.
5114
5115         * docs/libs/gstreamer-libs-sections.txt:
5116         * libs/gst/base/gstbasetransform.h:
5117           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
5118           
5119         * libs/gst/controller/gstcontroller.c:
5120         (on_object_controlled_property_changed),
5121         (gst_controller_sync_values),
5122         (gst_controller_set_interpolation_mode):
5123         * libs/gst/controller/gstcontroller.h:
5124           Less verbose logging add docs for unimplemented parts and correctly
5125           return when using unavailable parts.
5126
5127 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
5128
5129         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
5130         Move all the debug to the CLOCK category, and associate it with
5131         the clock object.
5132
5133 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
5134
5135         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
5136         Make take_buffer a bit quicker by removing redundant checks
5137         caused by calling gst_adapter_take.
5138
5139 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
5140
5141         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
5142           Don't leak GCond.
5143
5144         * tests/check/Makefile.am:
5145         * tests/check/elements/.cvsignore:
5146         * tests/check/elements/multiqueue.c: (setup_multiqueue),
5147         (GST_START_TEST), (multiqueue_suite):
5148           Add some dead simple unit tests for the 'multiqueue' element
5149           (some bits don't work yet and are disabled for now).
5150
5151 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
5152
5153         * gst/gstelement.c: (gst_element_get_request_pad),
5154         (gst_element_class_get_request_pad_template):
5155           Make gst_element_get_request_pad() create request pads only for
5156           request pad templates and not for, say, sometimes pad templates.
5157
5158 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
5159
5160         * docs/design/draft-klass.txt:
5161           Add example that needs more thinking.
5162         
5163         * docs/design/draft-missing-plugins.txt:
5164           More thoughts about wrapper plugins.
5165         
5166         * docs/random/ensonic/embedded.txt:
5167         * docs/random/ensonic/profiling.txt:
5168           More design work.
5169
5170 2007-03-25  Wim Taymans  <wim@fluendo.com>
5171
5172         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
5173         (gst_base_src_loop):
5174         Only push the segment events in the PLAYING state for live sources.
5175
5176 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
5177
5178         * gst/gstpipeline.c: (gst_pipeline_change_state):
5179         Modify the clock distribution path in PAUSED->PLAYING so that we 
5180         never attempt to choose a new clock unless we're actually leaving
5181         the PAUSED state for the first time. This prevents choosing a
5182         different clock when the state_change gets called for a 2nd time due
5183         to some element doing an async state change.
5184
5185 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
5186
5187         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
5188         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
5189         (gst_pad_chain_unchecked), (gst_pad_push):
5190         Revert last commit. This needs some more thoughts.
5191
5192 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
5193
5194         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
5195         (gst_pad_chain_unchecked), (gst_pad_push):
5196         Check in set_caps if the caps are compatible with the pad and remove
5197         two functions that are redundant now. Fixes #421543.
5198
5199 2007-03-22  Wim Taymans  <wim@fluendo.com>
5200
5201         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5202         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
5203         Unref some more to make valgrind happy.
5204
5205 2007-03-22  Wim Taymans  <wim@fluendo.com>
5206
5207         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
5208         (gst_system_clock_id_wait_jitter),
5209         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
5210         Fix anoying regression that survived a few releases. When adding an
5211         async entry while blocking on a sync entry, the sync entry will unblock
5212         but still be busy, so it should continue to wait instead of returning
5213         _BUSY to the app.
5214         Add some comments here and there.
5215
5216         * tests/check/gst/gstsystemclock.c: (mixed_thread),
5217         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
5218         Add testcase for this.
5219
5220 2007-03-22  Wim Taymans  <wim@fluendo.com>
5221
5222         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5223         Handle errors from the clock sync better, only UNSCHEDULED indicates a
5224         WRONG_STATE and can silently pause the task. All other cases should
5225         error out.
5226
5227 2007-03-22  Wim Taymans  <wim@fluendo.com>
5228
5229         Patch by: Ville Syrjala <syrjala at sci dot fi>
5230
5231         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
5232         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
5233         Improve debugging.
5234
5235 2007-03-21  Michael Smith  <msmith@fluendo.com>
5236
5237         * docs/pwg/advanced-types.xml:
5238           Fix some errors in the typefinding docs pointed out on irc.
5239
5240 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
5241
5242         * libs/gst/base/gstbasesrc.c:
5243         Clarify FIXME comment in the face of having added unlock_stop()
5244
5245 2007-03-21  Wim Taymans  <wim@fluendo.com>
5246
5247         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
5248         Prepare for release where we warn against possible app breakage in the
5249         case of live pipelines along with an env var to enable/disable live
5250         preroll mode (GST_COMPAT=[no-]live-preroll).
5251
5252 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5253
5254         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
5255         So we should use correct constants for checking for None offset.
5256
5257 2007-03-20  Wim Taymans  <wim@fluendo.com>
5258
5259         * docs/design/part-block.txt:
5260         Mention the fact that the newly switched element should be set to at
5261         least PAUSED.
5262
5263 2007-03-20  Wim Taymans  <wim@fluendo.com>
5264
5265         * gst/gst.c:
5266         Fix compilation with registry disabled as spotted by Saur.
5267
5268 2007-03-20  Wim Taymans  <wim@fluendo.com>
5269
5270         Patch by: Olivier Crete <tester at tester dot ca>
5271
5272         * gst/gstelement.c: (gst_element_sync_state_with_parent):
5273         Look at the pending state too when syncing the element state to the
5274         parent. Fixes #420133.
5275
5276 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
5277
5278         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5279         (gst_base_sink_change_state):
5280         * libs/gst/base/gstbasesink.h:
5281         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5282         (gst_base_src_default_event), (gst_base_src_unlock_stop),
5283         (gst_base_src_deactivate):
5284         * libs/gst/base/gstbasesrc.h:
5285         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
5286         for sub-classes to correctly clear any state they set trying to
5287         unlock, such as clearing out unlock commands from a command fd.
5288         API: basesrc::unlock_stop
5289         API: basesink::unlock_stop
5290
5291         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
5292         (gst_fd_sink_render), (gst_fd_sink_unlock),
5293         (gst_fd_sink_unlock_stop):
5294         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
5295         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
5296         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
5297
5298         Implement unlock_stop in fdsrc and fdsink.
5299         Implement seeking in fdsrc when a seekable fd is passed, as in
5300         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
5301
5302 2007-03-19  Wim Taymans  <wim@fluendo.com>
5303
5304         Patch by: Evan Nemerson <evan at coeus dash group dot com>
5305
5306         * gst/gstelement.c: (gst_element_class_init):
5307         Fix pad-added and pad-removed signal signatures so that the pad type is
5308         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
5309
5310 2007-03-19  Wim Taymans  <wim@fluendo.com>
5311
5312         * docs/gst/gstreamer-sections.txt:
5313         Add new element field and method.
5314
5315         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5316         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
5317         (gst_bin_recalc_state), (gst_bin_get_state_func),
5318         (gst_bin_element_set_state), (gst_bin_change_state_func),
5319         (gst_bin_continue_func), (bin_bus_handler),
5320         (bin_push_state_continue), (bin_handle_async_start),
5321         (bin_handle_async_done), (gst_bin_handle_message_func):
5322         Make async state changes a bit smarter by using new ASYNC_START and
5323         ASYNC_DONE messages. This reduces the number of times we run the state
5324         recalculation thread.
5325         Don't change state of element with a pending ASYNC_START message.
5326         Deprecate STATE_DIRTY messages.
5327         
5328         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
5329         (gst_element_get_state_func), (gst_element_continue_state),
5330         (gst_element_lost_state), (gst_element_set_state_func),
5331         (gst_element_change_state):
5332         * gst/gstelement.h:
5333         Keep the state that was last set by the app in a new element field.
5334         Don't allow state changes when handling an element event.
5335         Post ASYNC_START and ASYNC_DONE messages.
5336         Change lost_state so that we go to PAUSED and wait for the parent to set
5337         us to PLAYING again (so latency calculation can be performed)
5338         Export gst_element_change_state() method so that subclasses can use it.
5339         API: gst_element_change_state()
5340         API: GST_STATE_TARGET
5341
5342         * gst/gstpipeline.c: (gst_pipeline_class_init),
5343         (reset_stream_time), (gst_pipeline_change_state),
5344         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
5345         Using the new ASYNC_START message we can reset the base_time when
5346         needed. This can then be used to implement base_time redistribution in
5347         flushing seeks so that we can remove the explicit seek handling.
5348         Perform latency query and configuration when going to PLAYING.
5349
5350         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5351         (gst_base_sink_query), (gst_base_sink_change_state):
5352         Post new ASYNC_START/ASYNC_DONE messages.
5353
5354         * tests/check/generic/sinks.c: (GST_START_TEST):
5355         Fix test because the bin will not set the async element to PLAYING right
5356         away.
5357
5358         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
5359         Make the message check a little stronger.
5360         Handle ASYNC messages.
5361
5362         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
5363         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
5364         Expect ASYNC_DONE messages.
5365
5366 2007-03-19  Wim Taymans  <wim@fluendo.com>
5367
5368         * docs/gst/gstreamer-sections.txt:
5369         * gst/gstmessage.c: (gst_message_new_async_start),
5370         (gst_message_new_async_done), (gst_message_parse_info),
5371         (gst_message_parse_async_start):
5372         * gst/gstmessage.h:
5373         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
5374         support.
5375
5376 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
5377
5378         * tools/gst-inspect.c:
5379         (print_plugin_automatic_install_info_codecs):
5380           Now that we don't check for the 'Codec' keyword any longer in the
5381           klass, we shouldn't spew a warning if the klass isn't a decoder or
5382           encoder (since it might be a Source/Network, for example).
5383
5384 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
5385
5386         * tools/gst-inspect.c:
5387         (print_plugin_automatic_install_info_codecs):
5388           Don't require decoder/demuxer/depayloader elements or
5389           encoder/muxer/paylader elements to have 'Codec' as part of their
5390           factory class string when introspecting a plugin's capabilities.
5391           draft-klass.txt mentions that it might be removed in future, and
5392           flump3dec doesn't have it as part of its class string, so chances
5393           are others might also not have it.
5394
5395 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5396
5397         * po/af.po:
5398         * po/az.po:
5399         * po/bg.po:
5400         * po/ca.po:
5401         * po/cs.po:
5402         * po/de.po:
5403         * po/en_GB.po:
5404         * po/fr.po:
5405         * po/it.po:
5406         * po/nb.po:
5407         * po/nl.po:
5408         * po/ru.po:
5409         * po/sq.po:
5410         * po/sr.po:
5411         * po/sv.po:
5412         * po/tr.po:
5413         * po/uk.po:
5414         * po/vi.po:
5415         * po/zh_CN.po:
5416         * po/zh_TW.po:
5417           Update translations from translation project
5418
5419 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
5420
5421         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
5422         (gst_child_proxy_set_property):
5423           Invert precondition check to be alike the ones in the mimiced gobject
5424           api.
5425
5426 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
5427
5428         * docs/design/draft-tagreading.txt:
5429         * docs/random/ensonic/audiobaseclasses.txt:
5430           Do some Architect work.
5431
5432         * gst/gstobject.c: (gst_object_set_name):
5433           Add a WARNING.
5434
5435         * gst/gstpad.c:
5436           Add docs that point from gst_pad_get_range to gst_pad_pull_range
5437
5438 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
5439
5440         * gst/gstsystemclock.c: (gst_system_clock_init),
5441         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
5442         Defer starting the async system clock thread until the first async
5443         wait is scheduled. Fixes #414986.
5444
5445 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
5446
5447         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
5448         (gst_single_queue_free):
5449           Fix small leak (free GstSingleQueue structure too, not only contents).
5450
5451 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
5452
5453         * gst/gstbin.c:(gst_bin_add):
5454         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
5455         * win32/common/libgstbase.def:
5456         * win32/common/libgstreamer.def:
5457         Add new exported functions.
5458
5459 2007-03-09  Wim Taymans  <wim@fluendo.com>
5460
5461         * docs/plugins/gstreamer-plugins-sections.txt:
5462         Fix GstTee docs.
5463
5464 2007-03-09  Wim Taymans  <wim@fluendo.com>
5465
5466         * docs/gst/gstreamer-sections.txt:
5467         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
5468         * gst/gstbuffer.h:
5469         Add metadata copy functions. Fixes #393099.
5470         API: gst_buffer_copy_metadata()
5471
5472         * gst/gstutils.c: (gst_buffer_stamp):
5473         * libs/gst/base/gstbasetransform.c:
5474         (gst_base_transform_prepare_output_buffer):
5475         Use new metadata copy functions.
5476
5477 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5478
5479         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5480         (gst_identity_init), (gst_identity_check_perfect),
5481         (gst_identity_check_imperfect_timestamp),
5482         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
5483         (gst_identity_set_property), (gst_identity_get_property):
5484         * plugins/elements/gstidentity.h:
5485         Separate out check-imperfect-timestamp and check-imperfect-offset.
5486         Put back check-perfect as it was to keep compatibility.
5487
5488 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
5489
5490         * gst/gstelement.c: (gst_element_dispose):
5491         There's no need to warn if VOID_PENDING is not NONE here, as
5492         long as the state is NULL it's ok, and that's checked immediately
5493         above.
5494
5495 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5496
5497         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5498         Fix check for perfect stream to ignore buffers with -1 
5499         offsets/offset ends when checking data contiguity.
5500
5501 2007-03-08  Wim Taymans  <wim@fluendo.com>
5502
5503         * tools/gst-launch.c: (event_loop):
5504         Print INFO messages.
5505
5506 2007-03-08  Wim Taymans  <wim@fluendo.com>
5507
5508         * libs/gst/base/gstbasetransform.c:
5509         (gst_base_transform_sink_eventfunc),
5510         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5511         (gst_base_transform_activate):
5512         * libs/gst/base/gstbasetransform.h:
5513         Add support for dropping buffers with custom GstFlowReturn.
5514         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
5515         buffers or dropped buffers.
5516
5517         * docs/libs/gstreamer-libs-sections.txt:
5518         docs for new custom return code.
5519
5520         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5521         Use drop support in base class to implement drop-probability.
5522
5523 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
5524
5525         * gst/gst.c: (load_plugin_func):
5526         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
5527         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5528         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
5529           Remove newlines at end of debug log strings.
5530
5531 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5532
5533         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5534         Only post bus message at max, once per buffer received.
5535
5536 2007-03-07  Wim Taymans  <wim@fluendo.com>
5537
5538         * docs/design/Makefile.am:
5539         * docs/design/part-synchronisation.txt:
5540         Add doc about synchronisation
5541
5542         * docs/design/draft-latency.txt:
5543         * docs/design/part-TODO.txt:
5544         * docs/design/part-clocks.txt:
5545         * docs/design/part-events.txt:
5546         * docs/design/part-gstbus.txt:
5547         * docs/design/part-gstpipeline.txt:
5548         * docs/design/part-live-source.txt:
5549         * docs/design/part-messages.txt:
5550         * docs/design/part-overview.txt:
5551         * docs/design/part-streams.txt:
5552         * docs/design/part-trickmodes.txt:
5553         Documentation updates.
5554
5555 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
5556
5557         * gstreamer.doap:
5558         Update the doap file.
5559
5560 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5561
5562         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5563         Rename non-perfect to imperfect for Mike and for the sanctity of the
5564         language.
5565         Also make sure bus message gets emitted for data-incontiguities.
5566
5567 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5568
5569         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
5570         (gst_identity_start):
5571         * plugins/elements/gstidentity.h:
5572         Emit bus message if check-perfect is true and we encounter a
5573         non-perfect stream between 2 consecutive buffers.
5574         Fixes #415394.
5575
5576 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
5577
5578         * configure.ac:
5579         Back to CVS
5580
5581 === release 0.10.12 ===
5582
5583 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
5584
5585         * configure.ac:
5586           releasing 0.10.12, "Inevitable Demise"
5587
5588 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
5589
5590         * configure.ac:
5591          Version 0.10.11.2 (0.10.12 pre-release)
5592          Bump libtool versioning.
5593
5594 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
5595
5596         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5597           Log flow-names and not numbers.
5598
5599 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5600
5601         * configure.ac:
5602           Convert to new AG_GST style.
5603
5604 2007-02-28  Wim Taymans  <wim@fluendo.com>
5605
5606         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
5607         Don't unref query twice.
5608
5609 2007-02-28  Wim Taymans  <wim@fluendo.com>
5610
5611         * gst/gstvalue.c: (gst_value_transform_object_string),
5612         (_gst_value_initialize):
5613         Implement GstObject -> string transform so we print object names
5614         when serializing GValues containing GstObjects.
5615
5616 2007-02-28  Wim Taymans  <wim@fluendo.com>
5617
5618         * docs/gst/gstreamer-sections.txt:
5619         Add new stuff to docs.
5620
5621 2007-02-28  Wim Taymans  <wim@fluendo.com>
5622
5623         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5624         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
5625         (gst_base_sink_change_state):
5626         Improve latency query code.
5627         Don't leak latency events.
5628
5629         * tests/check/gst/gstbin.c: (GST_START_TEST):
5630         Improve debugging.
5631
5632 2007-02-28  Wim Taymans  <wim@fluendo.com>
5633
5634         * gst/gstelement.c: (gst_element_message_full),
5635         (gst_element_get_state_func):
5636         * gst/gstelement.h:
5637         Improve docs a little. Added Since: for new macro.
5638
5639         * gst/gstobject.c: (gst_object_sink):
5640         * gst/gstpipeline.c: (gst_pipeline_change_state),
5641         (gst_pipeline_set_new_stream_time):
5642         * gst/gstpipeline.h:
5643         Improve debugging and docs.
5644
5645         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5646         Improve debugging.
5647
5648 2007-02-28  Wim Taymans  <wim@fluendo.com>
5649
5650         * gst/gstelement.c: (gst_element_message_full),
5651         (gst_element_set_locked_state), (gst_element_get_state_func),
5652         (gst_element_change_state):
5653         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
5654         Documentation updates.
5655         Small code cleanups.
5656
5657         * gst/gstmessage.c: (gst_message_new_info),
5658         (gst_message_parse_info):
5659         * gst/gstmessage.h:
5660         API: gst_message_new_info()
5661         API: gst_message_parse_info()
5662         Add INFO message create and parse code.
5663
5664 2007-02-28  Wim Taymans  <wim@fluendo.com>
5665
5666         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
5667         (bin_query_latency_done):
5668         Also report the live parameter of a latency query.
5669
5670 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5671
5672         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
5673           Copy the current generic/states example from -base and adapt so
5674           we can use the exact same code everywhere.
5675           Check a STATES_IGNORE_ELEMENTS env var which can be used
5676           to ignore certain element factories for this test, which is
5677           what is being done in -base
5678         * tests/check/Makefile.am:
5679           Mention this environment variable.
5680
5681 2007-02-27  Wim Taymans  <wim@fluendo.com>
5682
5683         * docs/gst/gstreamer-sections.txt:
5684         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5685         (gst_bus_timed_pop), (gst_bus_pop):
5686         * gst/gstbus.h:
5687         API: gst_bus_timed_pop()
5688         Implement gst_bus_timed_pop() to do a blocking timed wait for a
5689         message to arrive on the bus.
5690
5691         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
5692         (gst_bus_suite):
5693         Two unit tests for new _timed_pop() function.
5694
5695 2007-02-23  Wim Taymans  <wim@fluendo.com>
5696
5697         * gst/gstpipeline.c: (gst_pipeline_change_state),
5698         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
5699         Don't ref a NULL clock in _provide_clock_func().
5700         Don't allow an INVALID delay.
5701         Don't try to calculate base_time with an invalid start_time.
5702         Also distribute and notify a NULL clock when it was selected.
5703
5704         * tools/gst-launch.c: (event_loop):
5705         Don't crash when a NULL clock was selected in the pipeline.
5706
5707 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5708
5709         * docs/design/Makefile.am:
5710         * docs/design/draft-missing-plugins.txt:
5711         * docs/random/draft-missing-plugins.txt:
5712           Some small updates: update plugin system identifier prefix
5713           ('gstreamer.net' to 'gstreamer'), mention our new install
5714           API in libgstbaseutils rather than libgimme-codec, add
5715           reference to the online docs.
5716
5717 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5718
5719         * win32/common/config.h:
5720           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
5721           use moap cl ci to only check in what is mentioned in the ChangeLog.
5722
5723 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5724
5725         * docs/gst/gstreamer-sections.txt:
5726         * gst/gstelement.h:
5727           Fix up documentation to link to the correct GstGError section.
5728           Add GST_ELEMENT_INFO macro since someone else added a Info message.
5729
5730 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5731
5732         * tools/gst-launch.c: (event_loop):
5733           Make sure that we actually show the important message part of a
5734           warning message.
5735           No need to check if the gerror is not NULL to free; first of all
5736           g_free accepts NULL; and second the default error handler would
5737           segfault if gerror was NULL.
5738
5739 2007-02-21  Wim Taymans  <wim@fluendo.com>
5740
5741         * docs/gst/gstreamer-sections.txt:
5742         Removed docs as well.
5743
5744 2007-02-21  Wim Taymans  <wim@fluendo.com>
5745
5746         * gst/gstmessage.c: (gst_message_parse_duration):
5747         * gst/gstmessage.h:
5748         Remove new messages for release.
5749
5750 2007-02-20  Wim Taymans  <wim@fluendo.com>
5751
5752         * docs/design/part-gstghostpad.txt:
5753         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
5754         (gst_ghost_pad_new_full):
5755         Make the ghostpad a parent of the internal pad again for better backward
5756         compatibility. Don't write code that relies on this however.
5757
5758         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5759         (gst_pad_link_check_hierarchy):
5760         Require that parents should be GstElements in the hierarchy check.
5761
5762 2007-02-20  Wim Taymans  <wim@fluendo.com>
5763
5764         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
5765         (gst_bin_change_state_func), (bin_query_min_max_init),
5766         (bin_query_latency_fold), (bin_query_latency_done),
5767         (gst_bin_query):
5768         Improve debug info.
5769         Implement latency query.
5770
5771 2007-02-20  Wim Taymans  <wim@fluendo.com>
5772
5773         * docs/design/part-gstghostpad.txt:
5774         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
5775         (gst_ghost_pad_internal_do_activate_push),
5776         (gst_ghost_pad_internal_do_activate_pull),
5777         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5778         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
5779         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
5780         Do not set the internal pad as a parent anymore so we can avoid
5781         hierarchy linking errors when the ghostpad has no parent yet. This also
5782         fixes failed activation because of unlinked internal pads, which in
5783         turn fixes the impossible case where you have to activate a pad before
5784         you can add it to a running element.
5785         Also fix the docs.
5786
5787         * gst/gstpad.c: (pre_activate), (post_activate),
5788         (gst_pad_set_active), (gst_pad_activate_pull),
5789         (gst_pad_activate_push), (gst_pad_check_pull_range):
5790         Add some more debug info.
5791         Mark activation mode in pre_activate so that we don't try to activate in
5792         endless loops. Fixes #385084.
5793
5794 2007-02-19  Wim Taymans  <wim@fluendo.com>
5795
5796         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5797         (gst_base_transform_check_get_range):
5798         Implement a checkgetrange function instead of relying on the default
5799         core behaviour that assumes we can operate in pull mode if we have a
5800         getrange function. First step at fixing #385084.
5801
5802 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
5803
5804         * gst/gstchildproxy.h:
5805         * libs/gst/base/gstbasesink.h:
5806         * libs/gst/base/gstbasesrc.h:
5807         * libs/gst/base/gstbasetransform.h:
5808         More docs coverage and some ChangeLog surgery (add missing names)
5809
5810 2007-02-15  Wim Taymans  <wim@fluendo.com>
5811
5812         * docs/design/part-TODO.txt:
5813         * docs/design/part-activation.txt:
5814         * docs/design/part-block.txt:
5815         * docs/design/part-buffering.txt:
5816         * docs/design/part-clocks.txt:
5817         * docs/design/part-element-source.txt:
5818         * docs/design/part-events.txt:
5819         * docs/design/part-gstbin.txt:
5820         * docs/design/part-gstbus.txt:
5821         * docs/design/part-gstpipeline.txt:
5822         * docs/design/part-live-source.txt:
5823         * docs/design/part-messages.txt:
5824         * docs/design/part-overview.txt:
5825         * docs/design/part-qos.txt:
5826         * docs/design/part-query.txt:
5827         * docs/design/part-states.txt:
5828         * docs/design/part-trickmodes.txt:
5829         Some doc updates. Start renaming from stream_time to running_time where
5830         it was used wrongly.
5831
5832 2007-02-15  Wim Taymans  <wim@fluendo.com>
5833
5834         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5835         Answer LATENCY query.
5836
5837 2007-02-15  Wim Taymans  <wim@fluendo.com>
5838
5839         * tests/check/gst/gstevent.c: (event_probe), (test_event),
5840         (GST_START_TEST):
5841         Improve debugging.
5842
5843 2007-02-15  Wim Taymans  <wim@fluendo.com>
5844
5845         * gst/gstpad.c: (gst_pad_get_internal_links_default),
5846         (gst_pad_dispatcher):
5847         Improve debugging of default pad dispatcher and query functions.
5848
5849 2007-02-15  Wim Taymans  <wim@fluendo.com>
5850
5851         * docs/gst/gstreamer-sections.txt:
5852         Remove old unused method.
5853
5854 2007-02-13  Wim Taymans  <wim@fluendo.com>
5855
5856         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5857         Fix check
5858
5859 2007-02-13  Wim Taymans  <wim@fluendo.com>
5860
5861         * docs/design/part-seeking.txt:
5862         Some small update.
5863
5864         * gst/gstsegment.c: (gst_segment_set_seek):
5865         Revert old bogus change that should make seeking work again.
5866
5867 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
5868
5869         * docs/random/ensonic/dynlink.txt:
5870         * docs/random/ensonic/interfaces.txt:
5871         * docs/random/ensonic/receipies.txt:
5872           Possible dynamic reconnection api, plus some type fixes the other two
5873           docs.
5874
5875 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
5876
5877         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5878         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5879         Also check for an absolute path following file:// in the filesrc
5880         element. Remove redundant check and call g_path_is_absolute() on the
5881         unescaped location.
5882
5883 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
5884
5885         * docs/design/draft-klass.txt:
5886           Add existing category analysis.
5887           
5888         * gst/gstcaps.c:
5889           Fix doc example, framerate is a fraction.
5890
5891 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
5892
5893         * configure.ac:
5894         * docs/gst/Makefile.am:
5895         * docs/gst/gstreamer-sections.txt:
5896         * docs/libs/Makefile.am:
5897           Erm, forgot a bunch of --extra-dir.
5898
5899 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
5900
5901         * configure.ac:
5902         * docs/gst/Makefile.am:
5903         * docs/libs/Makefile.am:
5904         * docs/plugins/Makefile.am:
5905           Add crossreferences to glib/gobject docs.
5906
5907 2007-02-12  Wim Taymans  <wim@fluendo.com>
5908
5909         * docs/design/draft-latency.txt:
5910         Small update.
5911
5912         * docs/libs/gstreamer-libs-sections.txt:
5913         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5914         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
5915         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
5916         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
5917         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
5918         (gst_base_sink_get_position), (gst_base_sink_query),
5919         (gst_base_sink_change_state):
5920         * libs/gst/base/gstbasesink.h:
5921         API: gst_base_sink_query_latency() to let subclasses query the upstream
5922         latency.
5923         API: gst_base_sink_get_latency() to let subclasses query the configured
5924         latency in the sink.
5925         Implement query and set latency.
5926         Update some docs.
5927         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
5928         don't continue preroll when we are flushing. Fixes #405284.
5929
5930         * tests/check/pipelines/stress.c: (change_state_timeout),
5931         (quit_timeout), (GST_START_TEST), (stress_suite):
5932         Test for #405284.
5933
5934 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
5935
5936         Patch by: René Stadler <mail at renestadler de>
5937
5938         * docs/gst/gstreamer-sections.txt:
5939         * gst/gsttaglist.c: (_gst_tag_initialize):
5940         * gst/gsttaglist.h:
5941           API: add GST_TAG_REFERENCE_LEVEL (#403597).
5942
5943 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
5944
5945         * docs/libs/Makefile.am:
5946           Fix path to core docs.
5947
5948         * gst/gstbin.c: (gst_bin_get_by_interface),
5949         (gst_bin_iterate_all_by_interface):
5950           Refix docs by also renaming 'interface' to 'iface' in implementation.
5951
5952         * docs/gst/gstreamer-sections.txt:
5953         * gst/gstcaps.c:
5954         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
5955         * gst/gstchildproxy.h:
5956         * gst/gstelementfactory.c:
5957         * gst/gstpadtemplate.h:
5958         * libs/gst/controller/gstcontroller.c:
5959         (gst_controlled_property_new):
5960           Document more.
5961
5962 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
5963
5964         * gst/gstbin.h:(gst_bin_get_by_interface),
5965         (gst_bin_iterate_all_by_interface):
5966         Replace interface parameter name by iface as interface is 
5967         a reserved keyword in Visual Studio for C++ projects so it removes
5968         a build error for application developpers using VS.
5969         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
5970         Fix a bug on Windows in uri format check. Now the prefix checked
5971         is file:// and next we check if the path after file:// is absolute.
5972         * win32/common/libgstbase.def:
5973         * win32/common/libgstdataprotocol.def:
5974         * win32/common/libgstgstreamer.def:
5975         Add new exported functions.
5976
5977 2007-02-09  Andy Wingo  <wingo@pobox.com>
5978
5979         * tests/check/pipelines/simple-launch-lines.c
5980         (simple_launch_lines_suite, test_tee): Disable tee test until I
5981         have time to fix it :-(
5982
5983         * tests/check/Makefile.am (noinst_HEADERS): 
5984         * tests/check/libs/libsabi.c: 
5985         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
5986         * tests/check/gst/gstabi.c: 
5987         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
5988
5989         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
5990         tests for push and pull tee behavior.
5991
5992         * plugins/elements/gsttee.h: 
5993         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
5994         mark as deprecated as well as unimplemented. It was a crack idea.
5995         Add support for tee operating in pull mode, off by default.
5996
5997         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
5998         normal-case logs down to LOG, raise errors to WARNING.
5999         (gst_registry_xml_read_cache): Don't log before calling a function
6000         that logs.
6001
6002         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
6003         exit (registry finalize).
6004         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
6005         DEBUG log when we emit signals that people don't even have the
6006         chance to connect to.
6007         (gst_registry_scan_path_level): Less logging in the normal case.
6008
6009 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
6010
6011         Patch by: Michal Benes <michal dot benes at itonis dot tv>
6012
6013         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6014         Correctly generate EOS for non-seekable files. We don't have a total
6015         length for them and would get an unexpected end of file if we only
6016         special-cased for regular files. (Fixes: #404569)
6017
6018 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
6019
6020         * tests/check/elements/filesrc.c: (GST_START_TEST),
6021         (filesrc_suite):
6022         Add unit test for the GstURIHandler interface in filesrc. This also
6023         tests the newly added file://localhost/foo/bar support.
6024
6025 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
6026
6027         * gst/gstelementfactory.h:
6028           The klass string is not a hierarchy. Add reference to the design doc
6029           for more information and common types.
6030
6031 2007-02-02  Wim Taymans  <wim@fluendo.com>
6032
6033         * gst/gstquery.c: (gst_query_new_latency):
6034         Remove old structure field.
6035
6036 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
6037
6038         * tools/gst-launch.1.in:
6039           Give example for network streaming (#351998)
6040
6041 2007-02-02  Wim Taymans  <wim@fluendo.com>
6042
6043         * docs/gst/gstreamer-sections.txt:
6044         Add docs for new methods.
6045
6046         * gst/gstevent.c: (gst_event_new_latency),
6047         (gst_event_parse_latency):
6048         * gst/gstevent.h:
6049         Add new LATENCY event to configure latency in a pipeline.
6050         API: gst_event_new_latency
6051         API: gst_event_parse_latency
6052
6053         * gst/gstmessage.c: (gst_message_new_buffering),
6054         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
6055         (gst_message_new_latency), (gst_message_parse_buffering),
6056         (gst_message_parse_lost_preroll):
6057         * gst/gstmessage.h:
6058         Added messages used in draft-latency.
6059         API: gst_message_new_lost_preroll
6060         API: gst_message_parse_lost_preroll
6061         API: gst_message_new_prerolled
6062         API: gst_message_new_latency
6063
6064         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
6065         (gst_query_parse_latency):
6066         * gst/gstquery.h:
6067         Implemented new latency query as in design doc.
6068         API: gst_query_new_latency
6069         API: gst_query_set_latency
6070         API: gst_query_parse_latency
6071
6072 2007-02-02  Wim Taymans  <wim@fluendo.com>
6073
6074         * docs/design/draft-latency.txt:
6075         Slight redesign to allow for dynamic latency adjustments.
6076
6077         * docs/design/part-negotiation.txt:
6078         Fix some typos.
6079
6080 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
6081
6082         reviewed by: Wim Taymans <wim@fluendo.com>
6083
6084         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6085         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6086         Allow file://localhost/foo/bar URLs and correctly fail for every other
6087         hostname that one sets. This was gnomevfssrc is linked for those if
6088         installed as it can handle it (#403172)
6089
6090 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
6091
6092         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6093
6094         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6095         (unref_data), (gst_collect_pads_add_pad_full):
6096         * libs/gst/base/gstcollectpads.h:
6097         Don't put the previously added destroy notify in the GstCollectData
6098         struct as all it's padding is already used and we don't want to break
6099         ABI. Instead put in the pad's GObject data for now. This should be
6100         cleaned up for 0.11 (#402393).
6101
6102 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
6103
6104         reviewed by: Wim Taymans <wim@fluendo.com>
6105
6106         * docs/libs/gstreamer-libs-sections.txt:
6107         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6108         (unref_data), (gst_collect_pads_add_pad),
6109         (gst_collect_pads_add_pad_full):
6110         * libs/gst/base/gstcollectpads.h:
6111         API: Add function to specify a destroy notification for custom
6112         GstCollectData when adding new pads in GstCollectPads (#402393).
6113
6114 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
6115
6116         * po/sv.po:
6117           Update Swedish translation (#378255).
6118
6119 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
6120
6121         * docs/design/draft-klass.txt:
6122           Fix the previous change, this is a list of categories and not a hierarchy.
6123
6124 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
6125
6126         * docs/design/draft-klass.txt:
6127           Add info about how to get a list of used classes.
6128
6129 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
6130
6131         * plugins/elements/gsttypefindelement.c:
6132         (gst_type_find_element_chain_do_typefinding),
6133         (gst_type_find_element_change_state):
6134           Don't leak found caps in chain function (no idea why that never
6135           showed up as a leak anywhere).
6136
6137 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
6138
6139         * gst/gstplugin.h:
6140           Fix and expand GstPluginDesc API docs.
6141
6142 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
6143
6144         * gst/gstcaps.c:
6145         * gst/gstelementfactory.c:
6146         * gst/gstpadtemplate.h:
6147           api doc fixes
6148
6149         * libs/gst/controller/gstcontroller.c:
6150         (gst_controlled_property_new):
6151         * tests/examples/controller/audio-example.c:
6152           comment fixes
6153
6154 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
6155
6156         * configure.ac:
6157           comment about refining the xml deps
6158
6159         * docs/manuals.mak:
6160           comments about moving away from jade for docs
6161         
6162         * gst/gst.c:
6163           recommit the ifdefs to use the binary registry
6164         
6165         * gst/gstbin.c: (gst_bin_change_state_func):
6166           this break is obsolete
6167
6168         * gst/gstelementfactory.h:
6169           better GST_ELEMENT_DETAILS docs, add comment about translation
6170
6171         * gst/gstinfo.h:
6172           remove eol slash
6173
6174         * gst/gstobject.c: (gst_signal_object_get_type):
6175           add G_UNLIKELY as usual
6176
6177         * gst/gstpad.c: (gst_pad_event_default):
6178           add fall trhu comment
6179
6180         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6181         (gst_registry_binary_initialize_magic),
6182         (gst_registry_binary_save_string),
6183         (gst_registry_binary_save_pad_template),
6184         (gst_registry_binary_save_feature),
6185         (gst_registry_binary_save_plugin),
6186         (gst_registry_binary_write_cache),
6187         (gst_registry_binary_check_magic),
6188         (gst_registry_binary_load_pad_template),
6189         (gst_registry_binary_load_feature),
6190         (gst_registry_binary_load_plugin),
6191         (gst_registry_binary_read_cache):
6192           comment typo and formatting
6193
6194         * gst/gstutils.c: (gst_element_state_get_name),
6195         (gst_element_state_change_return_get_name):
6196           remove obsolete breaks
6197
6198         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6199           add FIXME 0.11 and remove cpp comment
6200
6201 2007-01-29  Edward Hervey  <edward@fluendo.com>
6202
6203         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6204         Fix print statement in an even more portable way.
6205
6206 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
6207
6208         * docs/gst/gstreamer-sections.txt:
6209         * gst/gstutils.h:
6210           API: add GST_ROUND_DOWN_* macros (#401781).
6211
6212 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
6213
6214         * docs/gst/gstreamer.types.in:
6215         * gst/gstregistry.c: (gst_registry_class_init):
6216           Document registry signals and make gtk-doc pick them up (#401381).
6217
6218 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
6219
6220         * docs/pwg/building-testapp.xml:
6221           Add some audioconverts and audioresample to the pipeline, and some
6222           more comments and error handling.
6223
6224 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
6225
6226         * docs/manual/manual.xml:
6227         * docs/pwg/pwg.xml:
6228           Fix typo (#400987).
6229
6230 2007-01-26  Wim Taymans  <wim@fluendo.com>
6231
6232         * gst/gstcaps.c: (gst_static_caps_get):
6233         Init caps flags too.
6234
6235 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
6236
6237         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
6238
6239         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6240         If not using mmap'ed files try to seek to the end instead of the
6241         start to determine whether we can seek at all. This fixes the case
6242         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
6243         seeks for everything afterwards fail. Fixes #400656
6244
6245 2007-01-25  Wim Taymans  <wim@fluendo.com>
6246
6247         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
6248         Add some refcount debugging.
6249         Make gst_static_caps_get threadsafe, which is needed when autoplugging
6250         in multiple streaming threads.
6251
6252 2007-01-25  Wim Taymans  <wim@fluendo.com>
6253
6254         Patch by: David Schleef <ds at schleef dot org>
6255
6256         * docs/libs/gstreamer-libs-sections.txt:
6257         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
6258         * libs/gst/base/gstadapter.h:
6259         API: gst_adapter_copy() that can reduce the amount of memcpy when
6260         getting data from the adapter. Fixes #388201.
6261
6262 2007-01-25  Edward Hervey  <edward@fluendo.com>
6263
6264         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6265         In print statements, "%x" is for guint. Fixes build on macosx.
6266
6267 2007-01-24  Edward Hervey  <edward@fluendo.com>
6268
6269         * plugins/elements/gstmultiqueue.c:
6270         (gst_multi_queue_loop):
6271         Small fix.
6272         (single_queue_overrun_cb), (single_queue_underrun_cb),
6273         (single_queue_check_full), (gst_single_queue_new):
6274         Implement single queue growth system.
6275         This uses the extra-size properties, and will grow single queues by
6276         that much if one goes full whereas there are others empty. This is
6277         called extra-mode in the code.
6278         When a single queue's levels go back below the initial max-size
6279         limits, it is no longer in extra-mode. This is to ensure we don't
6280         consume too much memory.
6281         Fixes #399875
6282
6283 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
6284
6285         * gst/gst.c: (gst_init_get_option_group):
6286           Make warning about late g_thread_init() calls a bit more explicit,
6287           so that it's more obvious to application developers what they need
6288           to do if a user files a bug against their application.
6289
6290 2007-01-22  Edward Hervey  <edward@fluendo.com>
6291
6292         * plugins/elements/gstmultiqueue.c:
6293         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
6294         Remove previous hack of unsetting the flushing flag for the source pad
6295         instead of activating it. Instead, fix the source pad activate function
6296         so that it no longer depends on having a parent set or not.
6297
6298 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
6299
6300         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
6301
6302         * docs/manual/basics-bus.xml:
6303           Fix example code, gst_element_unref() doesn't exist any longer.
6304
6305 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
6306
6307         Patch by: Mark Nauwelaerts <manauw at skynet be>
6308
6309         * gst/gstpad.c:
6310           Fix two docs typoes (#399094).
6311
6312 2007-01-19  Edward Hervey  <edward@fluendo.com>
6313
6314         * docs/faq/gst-uninstalled:
6315         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
6316         depending on libgstbaseutils can work in uninstalled environment.
6317
6318 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
6319
6320         * gst/gsttaglist.h:
6321         * gst/gsttagsetter.c:
6322         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
6323         statement for new tag.
6324
6325 2007-01-17  Edward Hervey  <edward@fluendo.com>
6326
6327         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
6328         When dynamically creating single queues, activate sinkpad before adding
6329         it.
6330         We should be doing the same thing for the source pad, but we can't
6331         since it would call a method which needs the parent to be set in order
6332         to work propertly. Instead of activating the source pad, we just unset
6333         the flushing flag, which is the minimal requirement for adding a pad
6334         to an element in a state greater than READY.
6335
6336 2007-01-17  Edward Hervey  <edward@fluendo.com>
6337
6338         * docs/faq/gst-uninstalled:
6339         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
6340         Mac OS X.
6341
6342 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
6343
6344         * tests/check/gst/gstabi.c:
6345         * tests/check/gst/struct_hppa.h:
6346         * tests/check/libs/libsabi.c:
6347         * tests/check/libs/struct_hppa.h:
6348           Add ABI structs for HPPA (see #393796).
6349
6350 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
6351
6352         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6353           Actually write ABI structs to the file specified in the GST_ABI
6354           environment variable, as the message we print claims we would.
6355
6356 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6357
6358         * tests/check/gst/gsttask.c:
6359           Fix header comment.
6360
6361 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6362
6363         * gst/gsttaglist.c: (_gst_tag_initialize):
6364           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
6365           previous two entries.
6366
6367 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6368
6369         * docs/gst/gstreamer-sections.txt:
6370         * gst/gsttaglist.c: (_gst_tag_initialize):
6371         * gst/gsttaglist.h:
6372           Add tag support for beat-per-minute.
6373
6374 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6375
6376         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6377         (gst_registry_binary_initialize_magic),
6378         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
6379         (gst_registry_binary_save_pad_template),
6380         (gst_registry_binary_save_feature),
6381         (gst_registry_binary_save_plugin),
6382         (gst_registry_binary_write_cache),
6383         (gst_registry_binary_check_magic),
6384         (gst_registry_binary_load_pad_template),
6385         (gst_registry_binary_load_feature),
6386         (gst_registry_binary_load_plugin),
6387         (gst_registry_binary_read_cache):
6388         * gst/gstregistrybinary.h:
6389           Use glib types, cleanup comments, impement interfaces and uri-types.
6390
6391 2007-01-13  Andy Wingo  <wingo@pobox.com>
6392
6393         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
6394         getrange() to return buffers with other caps, while we fix
6395         demuxers and typefind, or otherwise change part-negotiation.txt.
6396
6397 2007-01-12  Andy Wingo  <wingo@pobox.com>
6398
6399         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
6400         Factor start/stop into this private function instead of partially
6401         in activate functions and partially in the change_state function.
6402         Fixes setup before the element has changed from READY->PAUSED, as
6403         is the case in pull-mode pipelines.
6404         (gst_base_transform_sink_activate_push)
6405         (gst_base_transform_src_activate_pull): Refactor to use
6406         gst_base_transform_activate().
6407         (gst_base_transform_change_state): Removed, not needed any more.
6408
6409         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6410         Truncate before fixating.
6411         
6412         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6413         Don't set_caps() if the result of fixating is ANY, as it's not
6414         supported, and not necessary in the case of a link with no
6415         template caps on either side. Fixes tests/check/libs/basesrc in
6416         some pull-mode tests.
6417
6418         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
6419         (gst_base_transform_init, gst_base_transform_sink_activate_push)
6420         (gst_base_transform_src_activate_pull): 
6421         Track the activation mode.
6422         (gst_base_transform_setcaps): In pull mode, when activating the
6423         src pad, after activating the sink pad, activate the sink pad's
6424         peer, as discussed in part-negotiation.txt.
6425
6426         * libs/gst/base/gstbasesrc.h: 
6427         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
6428         vmethod, as in basesink.
6429
6430         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
6431
6432         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
6433         mode, first proxy the setcaps to the peer pad.
6434         (gst_base_sink_pad_fixate): Add a fixate function that calls the
6435         new fixate vmethod.
6436         (gst_base_sink_default_activate_pull): Rename from
6437         gst_base_sink_activate_pull.
6438         (gst_base_sink_negotiate_pull): New function, performs negotiation
6439         in pull mode before calling ::activate_pull().
6440         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
6441         vmethod instead of the default implementation. I have no idea how
6442         this worked before. Negotiate before calling activate_pull.
6443
6444         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
6445         sink pads in pull mode. In addition to being correct, fixes
6446         filesrc ! decodebin ! identity ! fakesink.
6447         (gst_pad_get_range, gst_pad_pull_range): Don't call
6448         gst_pad_set_caps() if the caps changes; instead error out with
6449         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
6450
6451 2007-01-12  Andy Wingo  <wingo@pobox.com>
6452
6453         * docs/design/part-negotiation.txt: Update with more policy.
6454
6455 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
6456
6457         * libs/gst/check/gstbufferstraw.h:
6458         * libs/gst/check/gstcheck.h:
6459           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
6460           belongs.
6461
6462 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
6463
6464         * tests/check/Makefile.am:
6465         * tests/check/gst/.cvsignore:
6466         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
6467         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
6468         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
6469         (GST_START_TEST), (gst_tag_setter_suite):
6470           Add minimal unit test for beforementioned GstTagSetter bug.
6471
6472 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
6473
6474         Patch by: René Stadler <mail at renestadler dot de>
6475
6476         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
6477           gst_tag_list_merge() returns a new list, so it's not the best idea
6478           to ingore its return value. Effectively meant that tags could only
6479           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
6480           Also add function guard to require a non-NULL taglist as input (has
6481           always been so due to gst_tag_list_copy(), just making it explicit).
6482
6483 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6484
6485         * docs/random/draft-missing-plugins.txt:
6486           Some additions: mention new API that is supposed to be used at the
6487           various stages; short blob about new gst-inspect introspection
6488           option; mention potential future problem with plugins that have
6489           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
6490
6491 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6492
6493         * tools/gst-inspect.c:
6494         (print_plugin_automatic_install_info_codecs),
6495         (print_plugin_automatic_install_info_protocols),
6496         (print_plugin_automatic_install_info), (main):
6497         Add --print-plugin-auto-install-info option to gst-inspect, so we can
6498         introspect plugin files and get machine-parsable output that corresponds
6499         to the last bit of the missing-plugin installer string (small gotcha:
6500         doesn't take into account ranks).
6501
6502 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
6503
6504         * configure.ac:
6505         * docs/gst/gstreamer-sections.txt:
6506         * gst/Makefile.am:
6507         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
6508         (gst_registry_lookup_locked):
6509         * gst/gstregistry.h:
6510         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6511         (gst_registry_binary_initialize_magic),
6512         (gst_registry_binary_save_string),
6513         (gst_registry_binary_save_pad_template),
6514         (gst_registry_binary_save_feature),
6515         (gst_registry_binary_save_plugin),
6516         (gst_registry_binary_write_cache),
6517         (gst_registry_binary_check_magic),
6518         (gst_registry_binary_load_pad_template),
6519         (gst_registry_binary_load_feature),
6520         (gst_registry_binary_load_plugin),
6521         (gst_registry_binary_read_cache):
6522         * gst/gstregistrybinary.h:
6523         * gst/gstregistryxml.c: (load_feature),
6524         (gst_registry_xml_read_cache):
6525           commit binary registry (disabled by default, see #359653)
6526
6527 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6528
6529         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
6530           Fix 'make check' too.
6531
6532 2007-01-10  Andy Wingo  <wingo@pobox.com>
6533
6534         * docs/design/part-negotiation.txt: Fix a typo, add a couple
6535         notes.
6536         
6537         * docs/design/part-negotiation.txt: Update with, um, one way that
6538         pull-mode negotiation might work?
6539
6540         * gst/gstpad.h: 
6541         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
6542         that the pad must be a src pad; makes sense to call it the other
6543         way in pull mode, and the logic is symmetric anyway.
6544
6545 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
6546
6547         * plugins/elements/gstfilesink.c:
6548           Include <stdio.h> for fseeko().
6549
6550 2007-01-10  Wim Taymans  <wim@fluendo.com>
6551
6552         * gst/gstevent.c:
6553         * gst/gstevent.h:
6554         Reserve LATENCY event.
6555
6556 2007-01-09  Wim Taymans  <wim@fluendo.com>
6557
6558         * docs/design/draft-latency.txt:
6559         Updates.
6560
6561 2007-01-09  Wim Taymans  <wim@fluendo.com>
6562
6563         * docs/design/draft-latency.txt:
6564         Updates.
6565
6566         * gst/gstelement.h:
6567         * gst/gststructure.c:
6568         * gst/gsttrace.c:
6569         Small typo fixes.
6570
6571 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
6572
6573         * tests/check/.cvsignore:
6574           Ignore test-registry.xml as well.
6575
6576 2007-01-09  Wim Taymans  <wim@fluendo.com>
6577
6578         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6579         unref data at the end when we are done with the pad.
6580
6581 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
6582
6583         * docs/gst/gstreamer-sections.txt:
6584         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
6585         (init_post), (gst_deinit), (gst_update_registry):
6586         * gst/gst.h:
6587           API: add gst_update_registry() (#391296).
6588
6589         * tests/check/Makefile.am:
6590         * tests/check/gst/gstregistry.c:
6591         * tests/check/gst/.cvsignore:
6592           Simple unit test for the above.
6593
6594 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
6595
6596         * gst/gstregistry.c: (gst_registry_scan_path_level):
6597           Plugin extension on HP-UX is .sl, add that to the list of approved
6598           plugin extensions (see #393796).
6599
6600         * tests/check/gst/gstpad.c: (GST_START_TEST):
6601           ulong => gulong. Fixes compilation with HP-UX compiler.
6602
6603         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6604           Fix compilation if valgrind headers are not available.
6605
6606 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
6607
6608         * win32/common/libgstreamer.def: 
6609           Add new exported function.
6610         * win32/vs6/libgstbase.dsp: 
6611           Add gstdataqueue.c to the build.
6612         * win32/vs6/libgstcoreelements.dsp:
6613           Add gstmultiqueue.c to the build.
6614         
6615 2007-01-06  Andy Wingo  <wingo@pobox.com>
6616
6617         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
6618         activate_pull(), providing for a way to specialize the process of
6619         spawning a thread to pull on the sink pad. There is a default
6620         implementation.
6621
6622         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
6623         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
6624         (gst_base_sink_init): Renamed pad activation functions (inserting
6625         "_pad" in their names). Refactor to use the new activate_pull
6626         vmethod, as appropriate.
6627         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
6628         default activate_pull function to start a task pulling from the
6629         sink pad, as before.
6630
6631         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
6632         on the pads if necessary, as in push()/chain(). Update docs.
6633         Shouldn't affect existing pull() usage as it is currently only
6634         being used on buffers without caps.
6635
6636 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6637
6638         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6639         (init_pre):
6640           Call g_thread_init() first thing in gst_init() / gst_check_init().
6641           When initialisation is done via gst_init_get_option_group() and
6642           GOption parsing, issue a warning if the GLib thread system has not
6643           been initialised yet by the time gst_init_get_option_group() is
6644           called, as it's quite likely other GLib functions such as
6645           g_option_context_new() have been called already then, and
6646           g_thread_init() must be called before any other GLib function. The
6647           application in question must be fixed in that case, since memory
6648           corruption might happen otherwise.
6649           We issue the warning because even if the GLib folks decide to work
6650           around the problem on their end in future, this is still an issue
6651           with all GLib versions >= 2.10.0, so we should warn until we depend
6652           on a GLib version we know to be safe.
6653           Update documentation as well.
6654           Closes bug #391278.
6655
6656 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6657
6658         * tools/gst-inspect.c: (main):
6659         * tools/gst-launch.c: (main):
6660         * tools/gst-typefind.c: (main):
6661         * tools/gst-xmlinspect.c: (main):
6662           Call g_thread_init() really really early, before any other GLib
6663           function (see #342564 and recent discussion on gtk-devel-list).
6664
6665 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6666
6667         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
6668
6669         * gst/gst_private.h:
6670         * gst/gstconfig.h.in:
6671         * gst/gstinfo.h:
6672           On win32, all the __declspec stuff for symbol exporting is
6673           apparently only needed with MSVC, but doesn't work with MingW.
6674           Fixes compilation with MingW and #391909.
6675
6676 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6677
6678         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
6679           Change some GST_ERROR_OBJECT that aren't really errors to
6680           GST_WARNING_OBJECT in order to reduce terminal spam.
6681
6682 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
6683
6684         * tests/check/Makefile.am:
6685           disable test again, as there seem to be still race problems
6686
6687 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
6688
6689         * tests/check/Makefile.am:
6690         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6691         (GST_START_TEST), (queue_suite):
6692           enable queue test again, add tests for the leaky behaviour
6693
6694 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
6695
6696         * configure.ac:
6697         * tests/examples/Makefile.am:
6698           Compile adapter test/example only if the required headers are
6699           available (fixes #391915).
6700
6701 2007-01-01  David Schleef  <ds@schleef.org>
6702
6703         * gst/gstplugin.c:
6704           Restore the previous signal handler for SIGSEGV instead of
6705           setting to default, since we may have stolen it away from
6706           someone.  (i.e., Mono)
6707
6708 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
6709
6710         * docs/random/draft-missing-plugins.txt:
6711           Some small additions and clarifications.
6712
6713 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
6714
6715         * gst/gstregistryxml.c: (gst_registry_save_escaped):
6716           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
6717           since that can lead to random memory corruptions and crashes
6718           (may or may not be related to #383244, #386711, and #386711).
6719
6720 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6721
6722         * tests/check/.cvsignore:
6723         * tests/check/Makefile.am:
6724           sync .cvsignome and CLEANFILES
6725
6726 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6727
6728         * tests/check/Makefile.am:
6729           fix distcheck
6730
6731 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6732
6733         * docs/design/part-states.txt:
6734           two tiny additional comments
6735         
6736         * gst/gststructure.c:
6737           doc fixing
6738
6739         * tests/check/Makefile.am:
6740         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6741         (GST_START_TEST):
6742           disable test for now, unless it gets fixed
6743
6744 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6745
6746         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6747         (GST_START_TEST):
6748           fix race in underrun test
6749
6750 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6751
6752         * tests/check/elements/.cvsignore:
6753           ignore more
6754
6755         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6756         (GST_START_TEST):
6757           try to narrow test failure
6758
6759 2006-12-21  David Schleef  <ds@schleef.org>
6760
6761         * plugins/elements/gstfakesrc.c:
6762           Use g_random_int_range(), since it produces better random
6763           numbers in a range than almost-correct floating point code.
6764
6765 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6766
6767         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6768         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6769         (gst_check_teardown_sink_pad):
6770           do not automatically (de)activate pads
6771
6772         * tests/check/Makefile.am:
6773         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6774         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
6775           add new, yet simple tests for queue
6776
6777         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
6778         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
6779         * tests/check/elements/filesrc.c: (cleanup_filesrc),
6780         (GST_START_TEST):
6781         * tests/check/elements/identity.c: (cleanup_identity):
6782           consistent pad (de)activation
6783
6784 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
6785
6786         Patch by: Sebastian Dröge  <slomo ubuntu com>
6787
6788         * libs/gst/base/gstcollectpads.c:
6789           Fix two doc typos (#387866).
6790
6791 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
6792
6793         * docs/manual/advanced-dparams.xml:
6794           Fix typo (g_object_control_properties() doesn't exist).
6795
6796 2006-12-19  Edward Hervey  <edward@fluendo.com>
6797
6798         * gst/gstsegment.c: (gst_segment_set_seek):
6799         Fine tune the cases where the segment start/stop values are really
6800         updated.
6801         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6802         Add tests for the return values of gst_segment_set_seek().
6803
6804 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
6805
6806         * gst/gst.c:
6807           Docs typo fix.
6808
6809         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6810         (gst_queue_init):
6811           Fix incorrect documentation and flesh it out a bit more.
6812           Set default values for the max properties on the GParamSpec as well,
6813           so it shows up correctly in gst-inspect.
6814
6815 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
6816
6817         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6818           Correct docs of queue, add more detail and crosslink it more.
6819
6820 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6821
6822         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6823           Print additional debug info when the stream isn't perfectly
6824           timestamped; don't try to use invalid durations.
6825
6826 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6827
6828         * docs/design/Makefile.am:
6829           Dist new design docs.
6830
6831 2006-12-16  Wim Taymans  <wim@fluendo.com>
6832
6833         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6834
6835         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
6836         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6837         (gst_collect_pads_stop), (gst_collect_pads_event),
6838         (gst_collect_pads_chain):
6839         * libs/gst/base/gstcollectpads.h:
6840         Add refcounting to the collectpads data so we can track when it's safe
6841         to free the data. Fixes #383382.
6842
6843 2006-12-15  Wim Taymans  <wim@fluendo.com>
6844
6845         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6846         (gst_collect_pads_remove_pad):
6847         Automatically activate/deactivate pads when they are added to a
6848         started/stoped collectpads.
6849
6850 2006-12-15  Wim Taymans  <wim@fluendo.com>
6851
6852         * gst/gstelement.c: (gst_element_add_pad):
6853         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6854         * gst/gstpad.c: (gst_pad_init):
6855         Set pads to FLUSHING when they are created. Check, warn and fix when a
6856         demuxer adds an inactive pad to itself when running. Fixes #339326.
6857
6858 2006-12-15  Wim Taymans  <wim@fluendo.com>
6859
6860         * gst/gstelement.c: (gst_element_class_init),
6861         (gst_element_default_send_event), (gst_element_send_event),
6862         (gst_element_default_query), (gst_element_query):
6863         Expose default element send_event and query handling as vmethods that
6864         subclasses can chain up to.
6865
6866 2006-12-15  Wim Taymans  <wim@fluendo.com>
6867
6868         * gst/gstelement.c: (gst_element_set_state_func):
6869         Small documentation fixes.
6870
6871 2006-12-15  Wim Taymans  <wim@fluendo.com>
6872
6873         * docs/design/draft-latency.txt:
6874         Checked in draft for handling latency in pipelines.
6875
6876 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6877
6878         * Makefile.am:
6879         * gstreamer.doap:
6880         * gstreamer.spec.in:
6881           adding .doap file
6882
6883 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
6884
6885         * gst/gst.c: (init_pre), (init_post):
6886           init_pre() and init_post() might be called via our GOptionGroup or
6887           from gst_init(), and we should skip both of them if we've already
6888           been initialised, otherwise we will init some things twice or add
6889           two default log functions.
6890
6891 2006-12-13  Edward Hervey  <edward@fluendo.com>
6892
6893         * docs/manual/basics-bus.xml:
6894         No, gst_main_loop does not exist. Its g_main_loop.
6895         Discovered by somebody who abused the copy-paste technique of coding :)
6896
6897 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
6898
6899         * gst/gstghostpad.c:
6900           Log ghostpad debug stuff to the GST_PADS category as well rather
6901           than just to the default category.
6902
6903 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6904
6905         * configure.ac:
6906         * gst/gst.c: (init_pre):
6907           Add some basic system details such as OS and architecture
6908           to the debug output if possible, courtesy of uname().
6909
6910 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6911
6912         * docs/gst/running.xml:
6913           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
6914           environment variables.
6915
6916 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
6917
6918         * tests/check/gst/gstbin.c: (GST_START_TEST):
6919         It is acceptable to have a refcount of 2 or 3 at this point in the
6920         test, because the pipeline might be just posting its state_change
6921         message. The next line then waits for that message to appear using
6922         bus_poll, so that should be fine too.
6923
6924 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
6925
6926         * gst/gst.c: (ensure_current_registry_forking):
6927         Ignore EINTR when reading from the child registry pipe.
6928         Explicitly ignore the return value from close, since it makes no
6929         difference.
6930
6931         * gst/gstminiobject.c: (gst_mini_object_ref),
6932         (gst_mini_object_unref):
6933         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
6934
6935         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
6936         When removing cached plugins, remove their features too, so they're
6937         not visible after they've disappeared.
6938
6939         * gst/gstutils.c: (prepare_link_maybe_ghosting):
6940         In the unlikely case that we are linking pads with no parents, don't
6941         crash trying to get the non-existent parent bin.
6942
6943         * gst/parse/grammar.y:
6944         Output debug in the PIPELINE category
6945
6946 2005-03-08  Wim Taymans  <wim@fluendo.com>
6947
6948         Patch by: René Stadler <mail at renestadler dot de>
6949
6950         * gst/gstclock.c: (gst_clock_new_periodic_id):
6951         Reject invalid clock times for interval of periodic ids.
6952         Fixes ##383506.
6953
6954 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
6955
6956         * gst/gstelementfactory.c: (gst_element_factory_create):
6957         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6958         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6959         * tools/gst-inspect.c: (print_element_info):
6960         Fix refcounting of gst_plugin_feature_load to match the docs. 
6961         Fixes: #380129
6962
6963 2006-12-07  Wim Taymans  <wim@fluendo.com>
6964
6965         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6966         (gst_base_sink_get_position):
6967         Improve debugging of events.
6968
6969 2006-12-07  Wim Taymans  <wim@fluendo.com>
6970
6971         Patch by: René Stadler <mail at renestadler dot de>
6972
6973         * gst/gstclock.c: (gst_clock_id_wait):
6974         Make period ids add the interval to the origial requested time instead
6975         of the possibly updated time which can be wrong when there are multiple
6976         waiters for the same id. Fixes #382592.
6977
6978         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
6979         (gst_system_clock_id_wait_jitter_unlocked),
6980         (gst_system_clock_id_wait_jitter):
6981         Fix restart in the async notify thread when an async entry is added to
6982         the front of the list. Fixes #381492. 
6983
6984         * tests/check/gst/gstsystemclock.c: (store_callback),
6985         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
6986         Added test for multiple async waits.
6987         Added test for async wait order.
6988
6989 2006-12-07  Wim Taymans  <wim@fluendo.com>
6990
6991         * gst/gstbin.c: (gst_bin_query):
6992         Add some more docs about the POSITION query.
6993
6994 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
6995
6996         * configure.ac:
6997         Bump version nano - back to CVS.
6998
6999 === release 0.10.11 ===
7000
7001 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
7002
7003         * configure.ac:
7004           releasing 0.10.11, "Love never runs on time"
7005
7006 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
7007
7008         * win32/common/libgstbase.def:
7009         * win32/common/libgstreamer.def:
7010         * win32/vs8/libgstbase.vcproj:
7011         * win32/vs8/libgstcoreelements.vcproj:
7012         * win32/vs8/libgstreamer.vcproj:
7013         Fix compilation on win32 under VS8
7014         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7015         Partially fixes #381175
7016
7017 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7018
7019         * gst/gstvalue.c: (gst_value_compare_fraction):
7020         If someone is foolish enough to compare 2 fractions with denominator =
7021         0, return UNORDERED rather than aborting.
7022
7023 2006-11-28  Edward Hervey  <edward@fluendo.com>
7024
7025         * libs/gst/base/Makefile.am:
7026         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
7027         (gst_data_queue_base_init), (gst_data_queue_class_init),
7028         (gst_data_queue_init), (gst_data_queue_new),
7029         (gst_data_queue_cleanup), (gst_data_queue_finalize),
7030         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
7031         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
7032         (gst_data_queue_is_empty), (gst_data_queue_is_full),
7033         (gst_data_queue_set_flushing), (gst_data_queue_push),
7034         (gst_data_queue_pop), (gst_data_queue_drop_head),
7035         (gst_data_queue_set_property), (gst_data_queue_get_property):
7036         * libs/gst/base/gstdataqueue.h:
7037         New GstDataQueue object for threadsafe queueing. Most useful for
7038         elements that need some queueing functionnality.
7039         * docs/libs/gstreamer-libs-docs.sgml:
7040         * docs/libs/gstreamer-libs-sections.txt:
7041         Insert documentation for GstDataQueue
7042         * plugins/elements/Makefile.am:
7043         * plugins/elements/gstelements.c:
7044         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
7045         (gst_multi_queue_class_init), (gst_multi_queue_init),
7046         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7047         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
7048         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
7049         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7050         (gst_multi_queue_loop), (gst_multi_queue_chain),
7051         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7052         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
7053         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
7054         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
7055         (wake_up_next_non_linked), (compute_next_non_linked),
7056         (single_queue_overrun_cb), (single_queue_underrun_cb),
7057         (single_queue_check_full), (gst_single_queue_new):
7058         * plugins/elements/gstmultiqueue.h:
7059         New multiqueue element, using GstDataQueue. Used for queuing multiple
7060         streams.
7061         Closes #344639 and #347785
7062
7063 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
7064
7065         * docs/pwg/advanced-types.xml:
7066           add more missing type details
7067
7068         * tools/gst-run.c: (main):
7069           remove unused variable
7070
7071 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
7072
7073         * docs/libs/Makefile.am:
7074         * docs/libs/gstreamer-libs.types:
7075           add types of base classes to enable gobject specific stuff in the docs
7076
7077         * docs/random/ensonic/embedded.txt:
7078           more ideas about isolating platform specific things
7079
7080 2006-11-20  Wim Taymans  <wim@fluendo.com>
7081
7082         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
7083
7084         * libs/gst/check/gstcheck.h:
7085         Fix compilation and running against 0.9.4. Fixes #377332.
7086
7087 2006-11-20  Wim Taymans  <wim@fluendo.com>
7088
7089         * gst/gstsegment.c: (gst_segment_set_seek),
7090         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7091         (gst_segment_to_running_time):
7092         Fix boundary checking in to_running_time() and to_stream_time().
7093         Fixes #377183.
7094
7095         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7096         stream and running time can now be calculated for the complete
7097         clipped segment.
7098
7099 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
7100
7101         * gst/gstpad.c: (gst_pad_push_event):
7102           Can't access event structure after giving away ownership of
7103           the event.
7104
7105 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
7106
7107         * docs/random/ensonic/embedded.txt:
7108         * docs/random/ensonic/profiling.txt:
7109         * docs/random/ensonic/receipies.txt:
7110           more thinking
7111
7112 2006-11-13  Wim Taymans  <wim@fluendo.com>
7113
7114         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7115
7116         * gst/gstpad.c:
7117         Fix documentation for gst_pad_dispatcher. Fixes #374475.
7118
7119 2006-11-13  Wim Taymans  <wim@fluendo.com>
7120
7121         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
7122
7123         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7124         Store new length in segment duration so we don't keep on calling the
7125         potentially expensize get_size() call. Fixes #370865.
7126
7127 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
7128
7129         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
7130
7131         * win32/common/libgstreamer.def:
7132           Add two missing symbols (#366492).
7133
7134 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
7135
7136         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
7137         (gst_adapter_take_buffer):
7138         Fix format string to use all its arguments.
7139         Remove useless >= check on a guint
7140
7141 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7142
7143         * tests/examples/adapter/.cvsignore:
7144         Ignore build file as commanded by the build-bot
7145
7146 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7147
7148         * tests/examples/adapter/Makefile.am:
7149         * tests/examples/adapter/adapter_test.c: (run_test_take),
7150         (run_test_take_buffer), (run_tests), (main):
7151
7152         Add new files from the previous commit
7153
7154 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7155
7156         * Makefile.am:
7157         * configure.ac:
7158         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
7159         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
7160         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
7161         * libs/gst/base/gstadapter.h:
7162         * tests/check/libs/adapter.c: (create_and_fill_adapter),
7163         (GST_START_TEST), (gst_adapter_suite):
7164         * tests/examples/Makefile.am:
7165         Do some optimisation work in GstAdapter to avoid copies in more cases.
7166         It could still do slightly better by merging buffers when
7167         gst_buffer_is_span_fast is true, but is already faster. 
7168
7169         Also, avoid traversing a single-linked list to append each incoming 
7170         buffer inside the adapter.
7171
7172         Add simple test app that times the adapter behaviour in different
7173         situations, and extend the unit test to check that bytes enter and
7174         exit the adapter in their original order.
7175
7176 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
7177
7178         * docs/random/draft-missing-plugins.txt:
7179           Update: use element message instead of adding a new message
7180           type to the core; don't provide GStreamer API to initiate the
7181           plugin download, just provide API to compose the strings needed
7182           and let an external libgimmestuff handle the rest.
7183
7184 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
7185
7186         * tools/gst-inspect.c: (print_element_properties_info):
7187         Print a string instead of 'unknown type' for GValueArray properties
7188
7189 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
7190
7191         * docs/random/draft-missing-plugins.txt:
7192         More small fixes.
7193
7194 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7195
7196         * tests/examples/typefind/typefind.c: (type_found), (main):
7197           Make typefind element example work again (#371894); add a
7198           license header.
7199
7200 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7201
7202         * docs/random/draft-missing-plugins.txt:
7203           Commit initial draft about how to deal with missing plugins,
7204           needs work (API too).
7205
7206 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
7207
7208         * docs/pwg/advanced-types.xml:
7209           documents the new caps elements (see #363118)
7210
7211 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
7212
7213         * gst/gstplugin.c: (gst_plugin_load_file):
7214         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
7215         (gst_file_src_map_region), (gst_file_src_start):
7216         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
7217         (gst_file_index_commit):
7218           Use g_strerror() instead of strerror() - we want UTF-8.
7219
7220 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
7221
7222         Patch by: Peter Kjellerstedt <pkj at axis com>
7223
7224         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7225           Another printf fix (#371493).
7226
7227 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7228
7229         * tests/check/gst/gsttag.c:
7230           relicence (okay with author=company)
7231
7232 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7233
7234         * gst/gstpad.c: (gst_pad_event_default_dispatch),
7235         (gst_pad_push_event):
7236           Enhance debug and improve docs
7237         
7238         * gst/gsturi.c:
7239           Fix docs
7240
7241 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7242
7243         * docs/random/ensonic/distributed.txt:
7244         * docs/random/ensonic/profiling.txt:
7245           more ideas
7246
7247 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7248
7249         * docs/gst/gstreamer-sections.txt:
7250           add new API and fix the build
7251           
7252         * gst/gstbin.c: (gst_bin_recalc_state):
7253         * gst/gstelement.c: (gst_element_message_full),
7254         (gst_element_get_state_func), (gst_element_set_state_func):
7255           use new API and improve logging
7256         
7257         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7258         * gst/gstutils.h:
7259           API: add function to get StateChangereturn names to improve logs 
7260
7261 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7262
7263         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7264           I'm considering shooting the next person to put strerror stuff
7265           in the translateable part of the message.
7266
7267 2006-11-03  Wim Taymans  <wim@fluendo.com>
7268
7269         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7270         Get the type and printf conversion specifiers right.
7271
7272 2006-11-03  Wim Taymans  <wim@fluendo.com>
7273
7274         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7275
7276         * gst/gstpad.c: (gst_pad_init), (pre_activate),
7277         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
7278         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
7279         Some small cleanups. Improve debugging.
7280         * gst/gstpad.h:
7281         Signal all waiting threads with a broadcast instead of just one.
7282         Fixes #369942.
7283
7284 2006-11-03  Wim Taymans  <wim@fluendo.com>
7285
7286         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
7287         (gst_fd_src_create):
7288         Add some debugging. 
7289         Only update fd when it's different from the old.
7290
7291 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7292
7293         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
7294           Printf fixes for PPC/OSX, take two (#369366).
7295
7296 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7297
7298         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
7299
7300         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7301         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7302         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
7303           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
7304           don't cast to long long for portability reasons, but use
7305           GLib's types instead.
7306
7307 2006-10-30  Michael Smith  <msmith@fluendo.com>
7308
7309         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7310           Get the arguments to lseek() the right way around.
7311           Fixes 367677.
7312
7313 2006-10-30  Wim Taymans  <wim@fluendo.com>
7314
7315         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
7316
7317         * gst/gstinfo.h:
7318         _declspec should be __declspec (two underscores, not one). Fixes 366572.
7319
7320 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
7321
7322         Patch by: Kjartan Maraas  <kmaraas at gnome org>
7323
7324         * docs/design/part-MT-refcounting.txt:
7325         * docs/random/wtay/capsnego2-docs:
7326         * gst/gstclock.c:
7327         * gst/gstxml.c:
7328           Typo fixes (#366212).
7329
7330 2006-10-28  Wim Taymans  <wim@fluendo.com>
7331
7332         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7333
7334         * gst/gst.c:
7335         * win32/common/libgstbase.def:
7336         * win32/common/libgstreamer.def:
7337         * win32/vs8/libgstbase.vcproj:
7338         * win32/vs8/libgstcontroller.vcproj:
7339         Add needed entries in .def files.
7340         Use HAVE_UNISTD_H.
7341         Rearrange def files in vs8 solutions. Fixes #366286.
7342
7343 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
7344
7345         * win32/common/gstconfig.h:
7346           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
7347           hand-made win32 gstconfig.h. Fixes #366321.
7348
7349 2006-10-27  Wim Taymans  <wim@fluendo.com>
7350
7351         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
7352         (gst_ghost_pad_new_full):
7353         Make acceptcaps return TRUE when we don't have a target, just like
7354         setcaps does.
7355
7356 2006-10-27  Wim Taymans  <wim@fluendo.com>
7357
7358         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7359         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
7360
7361 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
7362
7363         * gst/gststructure.c: (gst_structure_id_set_value):
7364           If someone tries to set a non-UTF8 string field on a structure,
7365           don't just print a warning, but also ignore the request and do
7366           not change/add that field to the structure.
7367
7368         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7369           Test for the above.
7370
7371 2006-10-25  David Schleef  <ds@schleef.org>
7372
7373         * gst/gstinfo.c:
7374           g_hash_table_insert() needs a cast to a non-const pointer duh.
7375
7376 2006-10-25  David Schleef  <ds@schleef.org>
7377
7378         * gst/gstinfo.c:
7379         * gst/gstinfo.h:
7380           Change name parameter of _gst_debug_register_funcptr to const
7381           to reflect the constness of its use in the function as well
7382           as to quiet a gcc warning.
7383
7384 2006-10-25  Edward Hervey  <edward@fluendo.com>
7385
7386         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7387         Don't push the buffer if it's empty.
7388         Closes #363095
7389
7390 2006-10-24  Wim Taymans  <wim@fluendo.com>
7391
7392         * gst/gstevent.h:
7393         Add small comment.
7394
7395         * libs/gst/base/gstbasetransform.c:
7396         (gst_base_transform_sink_eventfunc):
7397         Debug segment values *after* updating them as this is more
7398         interesting.
7399
7400 2006-10-23  Wim Taymans  <wim@fluendo.com>
7401
7402         * docs/design/part-events.txt:
7403         Update some docs.
7404
7405         * docs/design/part-block.txt:
7406         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7407         (gst_pad_push_event):
7408         Revert BLOCKING patch, it tries to be smart without really having a
7409         clear idea what or how. So, now we discard all FLUSHING events again on
7410         a blocking pad. Should fix gnonlin again.
7411
7412 2006-10-23  Wim Taymans  <wim@fluendo.com>
7413
7414         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7415
7416         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7417         (gst_base_src_start), (gst_base_src_activate_push):
7418         Make sure size is always initialized. Fixes #364388.
7419
7420 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
7421
7422         * docs/random/ensonic/distributed.txt:
7423           add some ideas about doing distributed processing
7424
7425         * docs/random/ensonic/profiling.txt:
7426           get_rusage look promising
7427
7428 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
7429
7430         * docs/manual/basics-helloworld.xml:
7431           Add a cast in example to fix compile warning
7432
7433 2006-10-18  Wim Taymans  <wim@fluendo.com>
7434
7435         * gst/gstsegment.c: (gst_segment_set_last_stop),
7436         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7437         Relax arg checking again, -1 is allowed.
7438
7439 2006-10-18  Wim Taymans  <wim@fluendo.com>
7440
7441         * gst/gstsegment.c: (gst_segment_set_last_stop),
7442         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7443         _set_last_stop() must be with a value != -1
7444         A _TYPE_SET to -1 means seek to 0.
7445         Calc last_stop correctly for negative rates.
7446         Make sure we work with positive durations when updating a segment.
7447
7448 2006-10-18  Wim Taymans  <wim@fluendo.com>
7449
7450         * docs/design/part-live-source.txt:
7451         * gst/gstclock.h:
7452         Small docs fixes.
7453
7454 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
7455
7456         * gst/gstbuffer.h:
7457           Add an explicit cast to GstBuffer** to keep old code that added an
7458           explicit cast to GstMiniObject** for gst_mini_object_replace()
7459           compiling without warning.
7460
7461 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
7462
7463         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
7464           check for validity of dates
7465
7466 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
7467
7468         * docs/gst/gstreamer-sections.txt:
7469           Forgot this one, makes gtk-doc shut up.
7470
7471 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
7472
7473         Patch by: Peter Kjellerstedt <pkj at axis com>
7474
7475         * gst/gstobject.h:
7476           Don't define xmlNodePtr to gpointer if the core was built with
7477           --disable-loadsave and --disable-registry, this will break
7478           applications that want to use libxml2 but are buildling against a
7479           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
7480           instead so we don't have to mess with the libxml2 namespace
7481           (#361675).
7482
7483 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
7484
7485         * gst/gstbuffer.h:
7486           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
7487           type-punned pointer warnings.
7488
7489 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
7490
7491         * gst/gstelement.h:
7492           Add casts to the correct return type to state <=> state transition
7493           macros.
7494
7495 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
7496
7497         * docs/design/part-live-source.txt:
7498           describe howto handle latency
7499         
7500         * docs/random/ensonic/profiling.txt:
7501           more ideas
7502
7503         * tools/gst-plot-timeline.py:
7504           fix log parsing for solaris, remove unused function
7505
7506 2006-10-16  Wim Taymans  <wim@fluendo.com>
7507
7508         * docs/design/part-trickmodes.txt:
7509         * gst/gstevent.c:
7510         Update some docs regarding reverse playback.
7511
7512 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
7513
7514         Patch by: Marcus Granado  <mrc dot gran at gmail com>
7515
7516         * win32/vs8/grammar.vcproj:
7517           Error out with a warning if glib-genmarshal.exe is not in path,
7518           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
7519
7520 2006-10-13  Wim Taymans  <wim@fluendo.com>
7521
7522         * gst/gstsegment.c: (gst_segment_set_seek):
7523         When seeking to stop -1, set last_stop (current position) to the
7524         duration of the segment.
7525
7526 2006-10-13  Wim Taymans  <wim@fluendo.com>
7527
7528         * gst/gstelement.h:
7529         Clarify _NO_PREROLL a bit more.
7530
7531         * gst/gstevent.c:
7532         Fix docs.
7533
7534         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
7535         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
7536         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
7537         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
7538         due to wrong locking order. Fixes #361769.
7539         Remove some redundant/misplaced checks in pad_block.
7540
7541         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7542         For negative rates, count backwards from the duration.
7543
7544 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
7545
7546         * gst/gsterror.c: (_gst_library_errors_init):
7547           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
7548           up with something better).
7549
7550 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
7551
7552         * win32/vs6/libgstreamer.dsp:
7553         * win32/vs7/libgstreamer.vcproj:
7554         * win32/vs8/libgstreamer.vcproj:
7555           Don't reference glib-compat.c which is currently not used and not
7556           disted; add gstquark.c which was recently added. Fixes #361730.
7557
7558 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
7559
7560         * win32/common/libgstbase.def:
7561         * win32/common/libgstcontroller.def:
7562         * win32/common/libgstreamer.def:
7563           Add gst_caps_merge() and a bunch of other recently-added functions.
7564           Fixes #361732.
7565
7566 2006-10-11  Wim Taymans  <wim@fluendo.com>
7567
7568         * docs/plugins/gstreamer-plugins.args:
7569         * docs/plugins/inspect/plugin-coreelements.xml:
7570         * docs/plugins/inspect/plugin-coreindexers.xml:
7571         Update element args.
7572
7573         * gst/gstsystemclock.c:
7574         Small comment update.
7575
7576         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7577         (gst_tee_request_new_pad), (gst_tee_release_pad),
7578         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
7579         (gst_tee_sink_activate_pull):
7580         * plugins/elements/gsttee.h:
7581         Some tee loving:
7582         Add default property defines.
7583         Implement release pad function.
7584         Give properties better blubs etc.
7585         Activate pads before adding them to a running tee.
7586         Do simple buffer_alloc on the first requested pad.
7587         Post error when activation fails.
7588
7589 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
7590
7591         * gst/gst.c: (ensure_current_registry_forking):
7592           Check return value of write() to make compiler happy.
7593
7594 2006-10-11  Wim Taymans  <wim@fluendo.com>
7595
7596         Patch by: Sjoerd Simons <sjoerd at luon dot net>
7597
7598         * plugins/elements/gstqueue.c: (gst_queue_chain):
7599         Recheck queue filledness after signalling the overrun when we're about
7600         to leak downstream because we released the lock when emitting the signal
7601         and the queue could be empty again. Fixes #352345.
7602
7603 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
7604
7605         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
7606           Fix refcounting here too, just like we did for _new_valist() a few
7607           days ago (#357180) (thanks to René Stadler). Also remove all those
7608           'Since: 0.9' from the gtk-doc blobs.
7609
7610         * tests/check/libs/controller.c: (controller_refcount_new_list),
7611         (gst_controller_suite):
7612           Unit test for the above.
7613
7614 2006-10-10  Wim Taymans  <wim@fluendo.com>
7615
7616         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
7617
7618         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7619         (gst_pad_save_thyself):
7620         Update some docs.
7621         Write pad direction in XML output. Fixes #345496.
7622
7623 2006-10-10  Wim Taymans  <wim@fluendo.com>
7624
7625         Patch by: René Stadler <mail at renestadler dot de>
7626
7627         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7628         (gst_controller_new_list), (_gst_controller_dispose),
7629         (_gst_controller_finalize), (_gst_controller_class_init):
7630         Take ref to controlled object so that it cannot disappear. 
7631         Fixes #357432.
7632
7633 2006-10-10  Wim Taymans  <wim@fluendo.com>
7634
7635         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7636         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7637         (gst_check_teardown_sink_pad):
7638         Activate/deactivate pads in setup/teardown respectively.
7639
7640 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7641
7642         Patch by: Josep Torra Valles <josep@fluendo.com>
7643
7644         * gst/Makefile.am:
7645         Cast values when making gstenumtypes.h.  This pacifies Forte
7646         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
7647         in the enumeration.
7648
7649 2006-10-09  Wim Taymans  <wim@fluendo.com>
7650
7651         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
7652         Rename some more @cur to @start to fix docs. 
7653
7654         * gst/gstsegment.c: (gst_segment_set_seek):
7655         Fix typo.
7656         time and start must always stay in sync as defined in design doc.
7657
7658         * gst/gsttaglist.c: (gst_tag_list_is_empty):
7659         Rename param to fix docs.
7660
7661         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7662         Check that start and time are in sync.
7663
7664         * tests/check/pipelines/parse-launch.c:
7665         (gst_parse_test_element_change_state):
7666         Activate pad before adding to the element.
7667
7668 2006-10-09  Wim Taymans  <wim@fluendo.com>
7669
7670         * docs/design/part-qos.txt:
7671         Fix typo.
7672
7673         * gst/gstevent.c:
7674         * gst/gstevent.h:
7675         Update seek event docs regarding negative rates.
7676         Rename @cur to @start. 
7677
7678         * gst/gstsegment.c: (gst_segment_set_seek):
7679         * gst/gstsegment.h:
7680         Update set_seek docs regarding negative rates.
7681         Correctly update last_stop to @stop when dealing with negative
7682         rates.
7683         Rename @cur to @start. 
7684
7685         * tests/check/gst/gstpad.c: (GST_START_TEST):
7686         Activate pads before trying to use them.
7687
7688         * tests/check/gst/gstsegment.c: (GST_START_TEST),
7689         (gst_segment_suite):
7690         Add simple check for segments and negative rates.
7691
7692 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
7693
7694         * gst/gsttaglist.c: (gst_tag_list_is_empty):
7695         * gst/gsttaglist.h:
7696         * docs/gst/gstreamer-sections.txt:
7697           API: add gst_tag_list_is_empty() (#360467).
7698
7699         * tests/check/gst/gsttag.c: (GST_START_TEST):
7700           And a test case.
7701
7702 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7703
7704         * gst/gstmessage.h:
7705         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
7706         a value that doesn't fit on enumeration.
7707
7708 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7709
7710         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7711         Remove local debugging system and use Gstreamer's instead.
7712
7713 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7714
7715         Patch by: Josep Torra Valles <josep@fluendo.com>
7716
7717         * common/m4/gst-error.m4:
7718         Disable warning of statement not reached on Forte.
7719         * gst/gstmessage.h:
7720         Fix warning on Forte (value doesn't fit on enumeration).
7721         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
7722         Fix warning on Forte (value doesn't fit on enumeration).
7723         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7724         DEBUG macro says it takes minimum of 2 args and so Forte
7725         complains about the use with just 1 arg.
7726         * plugins/elements/gstfdsink.c:
7727         * plugins/elements/gstfdsrc.c:
7728         * plugins/elements/gstfilesink.c:
7729         * plugins/elements/gstfilesrc.c:
7730         Use correct return type for the uri handler implementations.
7731
7732         All these fix warnings in Forte.  Fixes bug #360860.
7733
7734 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
7735
7736         * gst/gstelement.h:
7737           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
7738           format string, so don't use G_GNUC_PRINTF for those versions.
7739
7740 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
7741
7742         * gst/gsttaglist.c: (gst_is_tag_list):
7743         * gst/gsttaglist.h:
7744           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
7745
7746         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7747           Small test for the above.
7748
7749 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
7750
7751         * gst/gsttaglist.h:
7752           Less tabs, more spaces.
7753
7754 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
7755
7756         * gst/gstinfo.h:
7757           Those two function declarations do actually belong there, revert
7758           commit from yesterday that turned them intro macros.
7759
7760 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7761
7762         Patch by: Josep Torra Valles <josep@fluendo.com>
7763
7764         * gst/gst.c: (gst_init_get_option_group):
7765         Fix empty declaration and type mismatch.
7766         * gst/gstbin.c: (gst_bin_change_state_func):
7767         Fix type mismatch.
7768         * gst/gstelement.c: (gst_element_continue_state),
7769         (gst_element_set_state_func), (gst_element_change_state),
7770         (gst_element_change_state_func):
7771         Fix type mismatches.
7772         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
7773         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
7774         Cast as appropriate.
7775         * gst/gstobject.c: (gst_class_signal_connect):
7776         Cast as appropriate.  The function pointer parameter really
7777         has the wrong type but would break API if we change it.
7778         * gst/gstquery.c:
7779         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
7780         order of including string.h.
7781         * gst/gstutils.c: (gst_element_state_get_name):
7782         Remove unreachable line.
7783         * gst/gstxml.c: (gst_xml_parse_doc):
7784         Fix type mismatch.
7785         All these caught by Forte.
7786
7787 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7788
7789         Patch by: Josep Torra Valles <josep@fluendo.com>
7790
7791         * common/m4/gst-error.m4:
7792         Fixed bug #360151.
7793         We need to disable warnings on Forte for empty declarations
7794         due to gst-indent adding ;s to lines that just use macros
7795         where the macro actually doesn't need a ; at end to end
7796         statement.
7797
7798 2006-10-06  Wim Taymans  <wim@fluendo.com>
7799
7800         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7801         (gst_file_sink_close_file), (gst_file_sink_event),
7802         (gst_file_sink_render):
7803         Add some FIXME for the NEWSEGMENT handling.
7804
7805 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7806
7807         * gst/parse/grammar.y:
7808         Remove static function gst_parse_element_lock as all it does
7809         is return.  Looks like cruft from 0.8.
7810
7811 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7812
7813         Patch by: Josep Torra Valles <josep@fluendo.com>
7814
7815         * common/m4/gst-error.m4:
7816         * configure.ac:
7817         * libs/gst/net/Makefile.am:
7818         Fix a compilation issue with Forte on Solaris.  inet_aton is in
7819         libresolv.
7820
7821 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
7822
7823         * gst/gstpad.c: (pre_activate):
7824         * gst/gstregistry.c: (gst_registry_scan_path_level):
7825         * gst/gstregistryxml.c: (load_plugin):
7826         * libs/gst/controller/gstcontroller.c:
7827         (gst_controlled_property_set_interpolation_mode):
7828         * libs/gst/dataprotocol/dataprotocol.c:
7829         (gst_dp_packet_from_event_1_0):
7830         * libs/gst/net/gstnetclientclock.c:
7831         (gst_net_client_clock_observe_times):
7832         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7833           Printf fixes.
7834
7835 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
7836
7837         * configure.ac:
7838         * docs/gst/gstreamer-sections.txt:
7839         * gst/gstconfig.h.in:
7840         * gst/gstelement.h:
7841         * gst/gstinfo.h:
7842           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
7843           whether we can use G_GNUC_PRINTF in other header files and at
7844           least check the printf format/arguments of debug messages and
7845           GST_ELEMENT_ERROR messages when the printf extension is not
7846           being used.
7847           Replace more tabs with spaces in gstinfo.h and remove two spurious
7848           function declarations in GST_DISABLE_DEBUG part with macros.
7849
7850 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
7851
7852         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
7853           More docs for the sync-message signal (mention that it is not
7854           emitted by default); log message structures of messages posted on
7855           the bus as well.
7856
7857 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
7858
7859         * gst/gst.c: (ensure_current_registry_forking):
7860         Use a pipe pair to receive status results from the forked child, and
7861         ignore the result from waitpid. Fixes #355499
7862
7863 2006-10-02  Wim Taymans  <wim@fluendo.com>
7864
7865         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7866         (gst_ghost_pad_suite):
7867         Fix leak in check.
7868
7869 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
7870
7871         * gst/gstpad.c:
7872           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
7873
7874 2006-10-02  Edward Hervey  <edward@fluendo.com>
7875
7876         * docs/design/part-block.txt:
7877         Further explain the use of flushing on blocked pads.
7878         * docs/gst/gstreamer-sections.txt:
7879         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7880         (gst_pad_push_event):
7881         * gst/gstpad.h:
7882         Added new GstPadFlag : GST_PAD_BLOCKING.
7883         Adds the notion of pads really blocking, which enables to properly
7884         handle FLUSH_START/FLUSH_STOP events on blocked pads.
7885         Fixes #358999
7886         API: gst_pad_is_blocking()
7887         API: GST_PAD_IS_BLOCKING() macro
7888         API: GST_PAD_BLOCKING GstPadFlag
7889         
7890 2006-10-02  Wim Taymans  <wim@fluendo.com>
7891
7892         Patch by: mrcgran <mrc.gran at gmail dot com>
7893
7894         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
7895         Filter the proxied caps against the padtemplate if we have one.
7896
7897         * gst/gstquery.c: (gst_query_new_segment):
7898         Add include for gstinfo.h so that compilation with
7899         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
7900
7901 2006-10-02  Wim Taymans  <wim@fluendo.com>
7902
7903         Patch by: Alessandro Decina  <alessandro at nnva org>
7904
7905         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
7906         (gst_file_sink_set_location), (gst_file_sink_open_file),
7907         (gst_file_sink_close_file), (gst_file_sink_event),
7908         (gst_file_sink_render):
7909         Set file to NULL when closing filesink so that we can set a new filename
7910         in READY. Fixes #358613.
7911
7912 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
7913
7914         Patch by: Alessandro Decina  <alessandro at nnva org>
7915
7916         * gst/gstevent.c: (_gst_event_copy):
7917           Fix gst_mini_object_make_writable() and gst_event_copy() for events
7918           with event structures by setting the parent refcount address of the
7919           copied structure to the address of the refcount member of the newly
7920           copied event rather than the address of the refcount member of the
7921           original event. Fixes #358737.
7922
7923         * tests/check/gst/gstevent.c: (GST_START_TEST):
7924           Unit test for the above.
7925
7926 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
7927
7928         * docs/design/Makefile.am:
7929           Dist some more files.
7930
7931 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
7932
7933         * tests/check/libs/controller.c: (GST_START_TEST),
7934         (gst_controller_suite):
7935           Add test for the previous fix; add some more tests
7936           for correct refcounting behaviour; fix a few leaks
7937           in test cases; call gst_controller_init() at start
7938           of all tests.
7939
7940 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
7941
7942         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7943         (gst_controller_set_from_list):
7944           Don't g_return_val_if_fail() on timed values with invalid timestamps
7945           inside a critical section without unlocking the mutex. Spotted by
7946           René Stadler. (#357617)
7947           Also, fix up refcounting properly: when returning an existing
7948           controller, we should increase the reference only once and not
7949           once per property and when trying to control a property again
7950           we should also increase the refcount.
7951
7952 2006-09-29  Wim Taymans  <wim@fluendo.com>
7953
7954         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7955         * libs/gst/net/gstnettimeprovider.c:
7956         (gst_net_time_provider_thread):
7957         Stop reading commands when EOF as well.
7958
7959         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7960         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7961         * plugins/elements/gstidentity.c: (gst_identity_class_init):
7962         Unify description of the dump property.
7963
7964 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7965
7966         * tests/examples/manual/.cvsignore:
7967         OK, so it's actually cvsignore that needs changing. Stop laughing.
7968
7969 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7970
7971         * tests/examples/manual/Makefile.am:
7972         Gah, declare vars *before* using them
7973
7974 2006-09-28  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         * gst/gst_private.h:
7981         * gst/gstregistry.c: (gst_registry_finalize),
7982         (gst_registry_remove_features_for_plugin_unlocked),
7983         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7984         (gst_registry_scan_path),
7985         (_priv_gst_registry_remove_cache_plugins),
7986         (_priv_gst_registry_cleanup):
7987         * gst/gstregistry.h:
7988         Re-commit the registry changes, along with an extra fix:
7989           When a cached plugin is encountered at a different file path,
7990           update the stored path in the registry cache so that the parent
7991           process knows where it actually is now when it re-reads the registry
7992           cache. Fixes the thing that broke distcheck with the previous commit.
7993
7994         * tests/check/Makefile.am:
7995         Clean up files named 'core' too when running make clean.
7996
7997         * tests/examples/manual/Makefile.am:
7998         Set up a registry path for running these tests, and clean it properly
7999         for distcheck.
8000
8001 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8002
8003         * configure.ac:
8004         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
8005         want gmodule-no-export-2.0.pc instead so that we don't drag in
8006         --export-dynamic on every project that links to GStreamer.
8007
8008         Also, make our export regex only match the start of symbols, rather 
8009         than any symbol that contains '_gst' somewhere.
8010
8011         * libs/gst/check/Makefile.am:
8012         The libgstcheck we build does however need export-dynamic, as it
8013         produces some symbols that don't match our _gst... style regex.
8014         Fixes: #318031
8015
8016 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
8017
8018         * gst/gst.c: (init_pre), (scan_and_update_registry),
8019         (ensure_current_registry_nonforking),
8020         (ensure_current_registry_forking), (ensure_current_registry),
8021         (init_post), (gst_debug_help), (gst_deinit):
8022         * gst/gst_private.h:
8023         * gst/gstregistry.c: (gst_registry_finalize),
8024         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8025         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
8026         (_gst_registry_cleanup):
8027         * gst/gstregistry.h:
8028           Revert previous change until I figure out why it breaks distcheck.
8029
8030 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
8031
8032         * gst/gst.c: (init_pre), (scan_and_update_registry),
8033         (ensure_current_registry_nonforking),
8034         (ensure_current_registry_forking), (ensure_current_registry),
8035         (init_post), (gst_debug_help), (gst_deinit):
8036
8037           Make init_pre and init_post take the full complement of GOptionFunc
8038           args so they can return useful GErrors. Make the registry updating
8039           functions do so.
8040
8041           Call _priv_gst_registry_remove_cache_plugins after scanning files to
8042           ensure that the registry we're about to write out doesn't contain
8043           stale information about old-deleted plugin files.
8044
8045           Make _priv_gst_registry_remove_cache_plugins return a boolean so
8046           that deletion of plugin files is considered a registry change.
8047
8048         * gst/gst_private.h:
8049         * gst/gstregistry.c: (gst_registry_finalize),
8050         (gst_registry_remove_features_for_plugin_unlocked),
8051         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8052         (gst_registry_scan_path),
8053         (_priv_gst_registry_remove_cache_plugins),
8054         (_priv_gst_registry_cleanup):
8055         * gst/gstregistry.h:
8056         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
8057         by adding _priv prefix, so that they won't appear in the global
8058         symbol table. They still do atm though because of #318031. Move the
8059         prototypes to gst_private.h
8060
8061         When removing a plugin, remove all features for that plugin too. 
8062         Fixes #340878.
8063
8064 2006-09-27  Wim Taymans  <wim@fluendo.com>
8065
8066         * docs/random/moving-plugins:
8067         Make it clear that the "compiled-in descriptions" really mean
8068         the element details.
8069
8070         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8071         (gst_base_sink_wait_preroll):
8072         Update docs.
8073
8074         * docs/libs/gstreamer-libs-sections.txt:
8075         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8076         (gst_base_src_get_range), (gst_base_src_activate_push):
8077         * libs/gst/base/gstbasesrc.h:
8078         Added function to block while waiting for PLAYING, this function
8079         is used by live sources that block on the clock.
8080         API: gst_base_src_wait_playing()
8081
8082 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
8083
8084         Patch by: Peter Kjellerstedt <pkj at axis com>
8085
8086         * Makefile.am:
8087           gst-element-check.m4 is generated and should therefore be
8088           copied from the build dir rather than the source dir (#357593).
8089           'make distcheck' hasn't noticed this because we were disting
8090           the file as well, so stop doing that.
8091
8092 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
8093
8094         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8095           Add some tests for gst_caps_intersect().
8096
8097         * tools/gst-launch.c: (event_loop):
8098           Print all buffering percentages we get, even the 100% one.
8099
8100 2006-09-26  Wim Taymans  <wim@fluendo.com>
8101
8102         * tools/gst-inspect.c: (print_element_properties_info),
8103         (print_signal_info):
8104         Fix printing of flags to match the look of enums.
8105
8106 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8107
8108         * gst/gstelementfactory.c:
8109           Fix typo in docs blurb.
8110
8111 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8112
8113         * gst/gsturi.c: (search_by_entry):
8114           Don't assert/crash here if a uri handler doesn't return any
8115           supported protocols. The list of protocols could be generated
8116           dynamically at runtime or at plugin registration, and an error
8117           in the underlying library shouldn't be fatal (#353301).
8118
8119 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8120
8121         * gst/gstinfo.c:
8122           Fix warning if HAVE_PRINTF_EXTENSION is undefined
8123           (spotted by Peter Kjellerstedt).
8124
8125 2006-09-23  Wim Taymans  <wim@fluendo.com>
8126
8127         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
8128
8129         * libs/gst/base/gstbasesrc.c:
8130         (gst_base_src_default_check_get_range), (gst_base_src_start),
8131         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8132         (gst_base_src_change_state):
8133         Match _start/_stop calls in the activate functions. Remove redundant
8134         _stop call from the state change function. Fixes #356910.
8135         Turn failure DEBUG into ERROR. 
8136
8137 2006-09-22  Wim Taymans  <wim@fluendo.com>
8138
8139         * docs/design/part-buffering.txt:
8140         * gst/gstmessage.c: (gst_message_new_buffering),
8141         (gst_message_parse_buffering):
8142         Update docs about buffering.
8143
8144         * docs/design/part-trickmodes.txt:
8145         Fix typo.
8146
8147 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
8148
8149         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8150         (gst_controller_new_list):
8151           Ref instances when returning them again (fixes #357180)
8152
8153 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
8154
8155         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
8156           Don't forget to release proxy lock when there's an error.
8157
8158 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
8159
8160         * gst/gstcaps.h:
8161           Add extra initialisers for Caps things, to fix some plugin warnings
8162           when using -Wextra
8163
8164 2006-09-18  Wim Taymans  <wim@fluendo.com>
8165
8166         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8167           Also set template on the internal pad so that a getcaps from the 
8168           target pad returns the template caps.
8169
8170 2006-09-18  Wim Taymans  <wim@fluendo.com>
8171
8172         * gst/gstelement.c: (gst_element_post_message),
8173         (gst_element_dispose):
8174         Use _DEBUG_OBJECT some more.
8175
8176         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8177         Avoid typechecks.
8178
8179         * tools/gst-launch.c: (main):
8180         If the toplevel element is not a GstPipeline, it must be put in a
8181         pipeline so that a bus and clock is selected.
8182
8183 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
8184
8185         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8186           JITTER, RATE, and LATENCY query should be handled by the
8187           default case and not by the CONVERT query code.
8188
8189 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
8190
8191         * gst/gstformat.c: (gst_format_register):
8192           Fix locking order (must take lock before using n_values).
8193
8194         * gst/gstvalue.c: (gst_value_serialize_enum),
8195         (gst_value_deserialize_enum_iter_cmp),
8196         (gst_value_deserialize_enum):
8197           Fix serialisation/deserialisation of custom registered GstFormats.
8198
8199         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8200           Unit test for custom format serialisation/deserialisation.
8201
8202 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
8203
8204         * docs/pwg/building-boiler.xml:
8205         * plugins/elements/gstcapsfilter.c:
8206         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
8207         section.
8208
8209 2006-09-16  Edward Hervey  <edward@fluendo.com>
8210
8211         * libs/gst/base/gstbasetransform.c:
8212         (gst_base_transform_buffer_alloc):
8213         Check if requested caps are the same as the sinks caps IF
8214         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
8215         is FALSE.
8216         This fixes the renegotiation issues stated in #352827.
8217
8218 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8219
8220         * configure.ac:
8221         * docs/manual/advanced-autoplugging.xml:
8222         * tests/examples/Makefile.am:
8223         * tests/examples/manual/.cvsignore:
8224         * tests/examples/manual/Makefile.am:
8225         * tests/examples/manual/extract.pl:
8226           Extract the manual examples again like we used to do.
8227           Fix one of them.
8228
8229 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8230
8231         * win32/common/config.h:
8232           update for version
8233
8234 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
8235
8236         * gst/gsterror.c:
8237           Documents how to receive errors.
8238
8239 2006-09-15  Wim Taymans  <wim@fluendo.com>
8240
8241         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
8242         (event_loop), (main):
8243         Added some comments here and there.
8244         Post an application message when an interrupt is caught instead of doing
8245         an uncontrolled state change.
8246         Clean up the event loop.
8247         Handle buffering messages, pause/resume the pipeline.
8248         Make shutdown because of an interrupt more reliable.
8249
8250 2006-09-15  Wim Taymans  <wim@fluendo.com>
8251
8252         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8253         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
8254         (gst_base_sink_preroll_object):
8255         Make sure that our internal state is correct when we commit our state
8256         asynchronously. This solves a race where a state change to PLAYING
8257         could cause the sink to remain blocked in preroll in some situations.
8258
8259 2006-09-15  Wim Taymans  <wim@fluendo.com>
8260
8261         * tools/gst-inspect.c: (print_element_properties_info),
8262         (print_signal_info):
8263         List flags as hex so it's easier to deal with.
8264
8265 2006-09-15  Wim Taymans  <wim@fluendo.com>
8266
8267         * docs/libs/gstreamer-libs-sections.txt:
8268         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
8269         (gst_base_sink_do_sync):
8270         * libs/gst/base/gstbasesink.h:
8271         Expose logic to wait for preroll so that subclasses such as audiosink
8272         can also use this method.
8273         API: gst_base_sink_wait_preroll()
8274
8275 2006-09-15  Wim Taymans  <wim@fluendo.com>
8276
8277         * gst/gstobject.c: (gst_object_set_parent):
8278         * gst/gstpipeline.c: (do_pipeline_seek):
8279         Small cleanups in docs and code.
8280
8281         * gst/gstsegment.c: (gst_segment_clip):
8282         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8283         if stop == start and start is in the segment, no clipping should be
8284         done. Also add a test for this.
8285
8286 2006-09-15  Wim Taymans  <wim@fluendo.com>
8287
8288         * docs/design/part-buffering.txt:
8289         * docs/gst/gstreamer-sections.txt:
8290         * gst/gstmessage.c: (gst_message_new_buffering),
8291         (gst_message_parse_buffering):
8292         * gst/gstmessage.h:
8293         Added methods to create and parse BUFFERING messages.
8294         Added preliminary docs about buffering.
8295         API: gst_message_new_buffering
8296         API: gst_message_parse_buffering
8297
8298 2006-09-06  Wim Taymans  <wim@fluendo.com>
8299
8300         * gst/gstbin.c:
8301         Update documentation.
8302
8303         * gst/gstelement.c: (gst_element_class_init),
8304         (gst_element_release_request_pad), (gst_element_set_clock),
8305         (gst_element_get_index), (gst_element_add_pad),
8306         (gst_element_remove_pad), (gst_element_get_random_pad),
8307         (gst_element_send_event), (gst_element_get_query_types),
8308         (gst_element_query), (gst_element_post_message),
8309         (gst_element_message_full), (gst_element_continue_state),
8310         (gst_element_lost_state), (gst_element_save_thyself),
8311         (gst_element_restore_thyself):
8312         Documentation updates.
8313         Rename last bit of the new-pad -> pad-added signal rename.
8314         Fix the case where an element query would only work if the source
8315         pad was linked.
8316         Avoid some useless type checking in message handling.
8317
8318         * gst/gstevent.c:
8319         * gst/gstevent.h:
8320         * gst/gstutils.c:
8321         Documentation updates.
8322
8323 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8324
8325         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8326           add an INFO line for when we actually update the fd
8327
8328 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8329
8330         * configure.ac:
8331           back to TRUNK
8332
8333 === release 0.10.10 ===
8334
8335 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
8336
8337         * configure.ac:
8338           releasing 0.10.10, "Pais"
8339
8340 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
8341
8342         * docs/manual/advanced-position.xml:
8343           Fix typo in sample code.
8344
8345 2006-09-05  Wim Taymans  <wim@fluendo.com>
8346
8347         * libs/gst/net/gstnetclientclock.c: (inet_aton),
8348         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8349         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
8350         * libs/gst/net/gstnetclientclock.h:
8351         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8352         * libs/gst/net/gstnettimepacket.h:
8353         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
8354         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
8355         (gst_net_time_provider_thread), (gst_net_time_provider_new):
8356         * libs/gst/net/gstnettimeprovider.h:
8357         Make stuff compile on windows. Fixes #345295.
8358
8359 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
8360
8361         * gst/gst.c: (ensure_current_registry_forking):
8362           Print better details when child was terminated by signal.
8363
8364 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
8365
8366         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
8367           Print a warning rather than g_assert() if a plugin feature
8368           is a URI handler but returns no protocols (#353976).
8369
8370 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
8371
8372         * docs/random/moving-plugins:
8373         Fix two typos.         
8374
8375 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
8376
8377         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
8378           Fix locking order, handle NULL function values properly.
8379
8380         * gst/gstinfo.h:
8381           Fix docs.
8382
8383         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
8384           Initialise variable before using it and fix debug statement to
8385           print the address of the function rather than the address of the
8386           variable on the stack holding the address of the function.
8387
8388 2006-09-01  Wim Taymans  <wim@fluendo.com>
8389
8390         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
8391         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
8392         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8393         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
8394         (gst_ghost_pad_parent_unset),
8395         (gst_ghost_pad_internal_do_activate_push),
8396         (gst_ghost_pad_internal_do_activate_pull),
8397         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8398         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8399         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8400         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
8401         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
8402         (gst_ghost_pad_new_no_target_from_template),
8403         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8404         More cleanups.
8405         Avoid needless typechecking in macros.
8406         Since the internal pad is always present and never changes, there is
8407         no need to locking or ref when retrieving it.
8408         Improve debugging a bit.
8409         Handle link errors when setting the target. Fixes #341029.
8410
8411 2006-09-01  Wim Taymans  <wim@fluendo.com>
8412
8413         * docs/libs/gstreamer-libs-sections.txt:
8414         * docs/plugins/gstreamer-plugins-sections.txt:
8415         Fix docs some more.
8416
8417         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8418         (gst_collect_pads_event):
8419         * libs/gst/base/gstcollectpads.h:
8420         Documentation updates.
8421         Free queued buffer when removing a pad.
8422
8423 2006-08-31  Michael Smith  <msmith@fluendo.com>
8424
8425         * gst/gstutils.c: (gst_element_link_pads),
8426         (gst_element_link_pads_filtered):
8427           Ensure that we set a capsfilter to NULL if we failed to link it
8428           when doing filtered linking, to avoid criticals.
8429
8430           No need to check for unreffing srcpad, which is explicly NULLed
8431           above (a trivial code cleanup).
8432
8433 2006-08-31  Wim Taymans  <wim@fluendo.com>
8434
8435         * docs/design/part-gstghostpad.txt:
8436         Update ascii art in documentation.
8437
8438         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
8439         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
8440         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8441         (gst_ghost_pad_internal_do_activate_push),
8442         (gst_ghost_pad_internal_do_activate_pull),
8443         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8444         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8445         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
8446         (gst_ghost_pad_set_target):
8447         Small cleanups and leak fixes.
8448         Remove some checks now that the internal pad is never NULL.
8449         Fix the case where linking pads without a target would create nasty
8450         criticals. Fixes #341029.
8451         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
8452         value of _set_target().
8453
8454         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8455         (gst_ghost_pad_suite):
8456         Some more tests for creating and linking untargeted ghostpads.
8457
8458 2006-08-31  Edward Hervey  <edward@fluendo.com>
8459
8460         * docs/gst/gstreamer-sections.txt:
8461         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
8462         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8463         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
8464         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
8465         (gst_ghost_pad_new_from_template),
8466         (gst_ghost_pad_new_no_target_from_template):
8467         * gst/gstghostpad.h:
8468         Refactored *_new() functions.
8469         Templates are now used as a g_object_new() parameter.
8470         Use template in _do_getcaps() if we don't have a target.
8471         Small documentation cleanups.
8472         Added two new constructors:
8473         gst_ghost_pad_new_from_template()
8474         gst_ghost_pad_new_no_target_from_template()
8475         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8476         (gst_ghost_pad_suite):
8477         Added tests for new ghostpad instanciation functions.
8478
8479         API additions: gst_ghost_pad_new_from_template,
8480         gst_ghost_pad_new_no_target_from_template
8481
8482 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
8483
8484         * docs/random/ensonic/profiling.txt:
8485           Ideas about qos profiling.
8486
8487 2006-08-29  Wim Taymans  <wim@fluendo.com>
8488
8489         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
8490         Code cleanups.
8491         Fix memleak.
8492
8493 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
8494
8495         * gst/gstxml.c:
8496           Improve and detypofy docs.
8497
8498         * tests/check/Makefile.am:
8499         * tests/check/gst/.cvsignore:
8500         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
8501           Add a basic test suite for GstXML.
8502
8503 2006-08-29  Wim Taymans  <wim@fluendo.com>
8504
8505         * gst/gstelement.c: (activate_pads), (clear_caps),
8506         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8507         Clear the pad caps when the element shut down all of the pads and
8508         is not streaming data that could modify the caps. 
8509         Fixes #352958.
8510
8511 2006-08-28  Michael Smith  <msmith@fluendo.com>
8512
8513         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8514           Revert previous change; I misunderstood single-segment mode.
8515
8516 2006-08-28  Michael Smith  <msmith@fluendo.com>
8517
8518         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8519           Unset DISCONT on buffers when using single-segment mode.
8520
8521 2006-08-28  Wim Taymans  <wim@fluendo.com>
8522
8523         * gst/gstcaps.c: (gst_caps_merge_structure):
8524         * gst/gstcaps.h:
8525         Fix docs and indentation again.
8526
8527         * tests/check/gst/gstquery.c: (GST_START_TEST):
8528         Fix leak in tests and add some more tests.
8529
8530 2006-08-28  Edward Hervey  <edward@fluendo.com>
8531
8532         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8533         Inform GstSegment of the last stop position in order for the current
8534         segment to have a proper duration if it doesn't have a specific stop
8535         position from which a duration could be calculated.
8536         This bug was noticeable when a non-flushing, non-update new segment was
8537         followed by another segment (all buffers from the new segment were being
8538         dropped).
8539
8540 2006-08-28  Wim Taymans  <wim@fluendo.com>
8541
8542         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8543         Small comment update.
8544
8545         * plugins/elements/gstidentity.c: (gst_identity_class_init),
8546         (gst_identity_transform_ip):
8547         Drop-probability is broken, mention this in the code with a 
8548         FIXME and also in the property description.
8549         Make silent also be silent about the drop messages.
8550
8551 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
8552
8553         * docs/manual/appendix-win32.xml:
8554           Remove mention of popt, we don't depend on that any
8555           longer (#353136). Add some comments pointing out that
8556           this section is slightly outdated.
8557
8558 2006-08-28  Wim Taymans  <wim@fluendo.com>
8559
8560         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8561
8562         * gst/gstquery.c: (gst_query_new_segment):
8563         * tests/check/gst/gstquery.c: (GST_START_TEST):
8564         Initialize variables when creating a new segment query.
8565         Fixes #353121.
8566
8567 2006-08-28  Wim Taymans  <wim@fluendo.com>
8568
8569         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8570
8571         * gst/gstelement.c: (gst_element_get_bus):
8572         * tests/check/gst/gstelement.c: (GST_START_TEST):
8573         Check for NULL before _reffing the bus. Fixes #353122.
8574
8575 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
8576
8577         * docs/manual/basics-bus.xml:
8578           Docs update: fix wrong callback return value explanation; add
8579           some lines about the implicit relationship between main loop
8580           and main context; remove duplicate main loop variable declaration.
8581
8582 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
8583
8584         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8585           Don't leak caps in unit test; add a few more simple
8586           checks. 
8587
8588 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
8589
8590         * docs/gst/gstreamer-sections.txt:
8591         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
8592         (gst_caps_structure_is_subset), (gst_caps_merge),
8593         (gst_caps_merge_structure):
8594         * gst/gstcaps.h:
8595         * libs/gst/base/gstbasetransform.c:
8596         (gst_base_transform_transform_caps):
8597         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8598           implement caps merging (fixes #352580)
8599
8600 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
8601
8602         * tools/Makefile.am:
8603         * tools/gst-plot-timeline.py:
8604           add debug-log plotting developer tool (#340674)
8605
8606 2006-08-23  Wim Taymans  <wim@fluendo.com>
8607
8608         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
8609         (gst_pad_stop_task):
8610         Improve debugging for task functions.
8611
8612         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
8613         (gst_task_start), (gst_task_pause), (gst_task_join):
8614         Make sure that the task function started and finished after a 
8615         join(). 
8616         Don't try to push the task function on the threadpool multiple
8617         times.
8618         Improve the g_warning message with some useful suggestions
8619         about how to fix the problem. 
8620
8621 2006-08-23  Wim Taymans  <wim@fluendo.com>
8622
8623         * gst/gstutils.c: (gst_pad_proxy_getcaps):
8624         Handle RESYNC correctly in _proxy_getcaps.
8625
8626 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
8627
8628         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
8629         (gst_xml_parse_memory), (gst_xml_get_element):
8630           Chain up to parent class in dispose function and also
8631           unref the elements in the toplevel_elements GList.
8632           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
8633           Always return a reference in gst_xml_get_element() rather
8634           than only sometimes.
8635
8636         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8637           Don't leak GstXml object.
8638
8639 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
8640
8641         * docs/gst/gstreamer-sections.txt:
8642         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
8643         (gst_caps_merge):
8644         * gst/gstcaps.h:
8645         * libs/gst/base/gstbasetransform.c:
8646         (gst_base_transform_transform_caps):
8647           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
8648           in a better way
8649
8650 2006-08-21  Edward Hervey  <edward@fluendo.com>
8651
8652         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
8653         Implement GObject::dispose virtual method in GstXML so we can free the
8654         top_elements GList.
8655
8656 2006-08-21  Wim Taymans  <wim@fluendo.com>
8657
8658         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
8659         (gst_buffer_create_sub):
8660         Copy duration/offset_end/caps when creating a subbuffer of the
8661         complete parent.
8662         Make the subbuffer read-only when we make the metadata writable for
8663         now. Fixes #351768.
8664
8665         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8666         Added check for metadata copy when creating subbuffers.
8667
8668 2006-08-21  Edward Hervey  <edward@fluendo.com>
8669
8670         * libs/gst/base/gstbasetransform.c:
8671         (gst_base_transform_buffer_alloc):
8672         Only call downstream buffer_alloc if transform element is passthrough
8673         or always_in_place. Closes #350449.
8674
8675 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8676
8677         * ChangeLog:
8678           ChangeLog surgery to add comments to previous changes
8679
8680 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8681
8682         * gst/gst.c:
8683           Add comments
8684
8685         * gst/gstpad.c: (gst_pad_set_active):
8686           Be more verbose in the log
8687
8688         * libs/gst/base/gstbasetransform.c:
8689         (gst_base_transform_transform_caps):
8690           Simplify caps to get rid of duplicates, fixes #345444
8691
8692 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8693
8694         * gst/gstvalue.c:
8695         * gst/gstvalue.h:
8696           Use these optimizations only internally.
8697
8698 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8699
8700         * gst/gstvalue.c: (gst_value_compare_list),
8701         (gst_value_compare_fraction_range),
8702         (gst_value_intersect_fraction_fraction_range),
8703         (gst_value_intersect_fraction_range_fraction_range),
8704         (gst_value_subtract_fraction_fraction_range),
8705         (gst_value_subtract_fraction_range_fraction_range),
8706         (gst_value_get_compare_func), (gst_value_compare),
8707         (gst_value_compare_with_func):
8708         * gst/gstvalue.h:
8709           Saves the expensive lookup of the compare function in many cases
8710          (#345444)
8711
8712 2006-08-18  Edward Hervey  <edward@fluendo.com>
8713
8714         * tests/check/gst/gstinfo.c: (gst_info_suite):
8715         Disable test that require gstdebug if it wasn't built in core.
8716
8717 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
8718
8719         * docs/random/ensonic/logging.txt:
8720           update ideas
8721           
8722         * gst/gstinfo.c: (gst_debug_log_default):
8723           reorder fields, save some columns, add optional color codes for log
8724           levels
8725
8726 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
8727
8728         * docs/random/ensonic/logging.txt:
8729           add ideas about making the logs a bit more useful
8730
8731 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
8732
8733         * docs/pwg/advanced-events.xml:
8734         * docs/pwg/titlepage.xml:
8735           Update for 0.10 API (#340627). Add myself
8736           to authors list.
8737
8738 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
8739
8740         * docs/libs/gstreamer-libs-docs.sgml:
8741         * docs/libs/gstreamer-libs-sections.txt:
8742         * libs/gst/check/gstbufferstraw.c:
8743           Make gstcheck stuff show up in docs (still needs to
8744           be documented properly though).
8745
8746 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
8747
8748         * docs/gst/gstreamer-sections.txt:
8749         * gst/Makefile.am:
8750         * gst/gst.c: (init_post):
8751         * gst/gst_private.h:
8752         * gst/gstquark.c: (_priv_gst_quarks_initialize):
8753         * gst/gstquark.h:
8754         * gst/gstquery.c: (gst_query_new_position),
8755         (gst_query_set_position), (gst_query_parse_position),
8756         (gst_query_new_duration), (gst_query_set_duration),
8757         (gst_query_parse_duration), (gst_query_new_convert),
8758         (gst_query_set_convert), (gst_query_parse_convert),
8759         (gst_query_new_segment), (gst_query_set_segment),
8760         (gst_query_parse_segment), (gst_query_new_seeking),
8761         (gst_query_set_seeking), (gst_query_parse_seeking):
8762         Add internal helpers for pre-registering quarks from static strings
8763         and using the quark values directly instead of looking them up when
8764         creating and parsing queries. Can be used for event construction too.
8765         Closes #350432.
8766
8767 2006-08-16  Wim Taymans  <wim@fluendo.com>
8768
8769         * gst/gstbin.c:
8770         Fix bogus docs.
8771
8772 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8773
8774         * gst/gstutils.c: (gst_util_set_value_from_string):
8775           Fix memleak (#351502).
8776
8777         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8778           Add unit test for most of gst_util_set_value_from_string()
8779           (not that one would want to encourage use of this function).
8780
8781 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8782
8783         * libs/gst/check/gstcheck.h:
8784           Use const gchar * variables in fail_unless_equals_string
8785           macro to avoid compiler warnings (and don't use tabs for
8786           indenting).
8787
8788 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8789
8790         * tools/gst-launch.c: (print_tag):
8791           More space on the left for the tag names, to cater
8792           for the 'extended comment' tag (not touching the
8793           string for the first line since it's translated).
8794
8795 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8796
8797         * libs/gst/check/gstcheck.h:
8798           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
8799           print something when they fail.
8800
8801 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8802
8803         * docs/gst/gstreamer-sections.txt:
8804         * gst/gsttaglist.c: (_gst_tag_initialize):
8805         * gst/gsttaglist.h:
8806           API: add GST_TAG_EXTENDED_COMMENT (#350935).
8807           Also change merge function for GST_TAG_COMMENT to
8808           use_first.
8809
8810 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8811
8812         * gst/gstinfo.c: (gst_debug_print_object):
8813           Make GST_PTR_FORMAT print messages as well.
8814
8815         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
8816         (GST_START_TEST), (gst_info_suite):
8817           More tests.
8818
8819 2006-08-14  Edward Hervey  <edward@fluendo.com>
8820
8821         * gst/gstelementfactory.c: (gst_element_register):
8822         If the GstElementClass doesn't have a GstElementDetails with all fields
8823         filled up correctly (longname, description AND author), then error out
8824         nicely instead of crashing.
8825
8826 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8827
8828         * gst/gststructure.c:
8829           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
8830
8831         * gst/gstvalue.h:
8832           Expand on the difference between arrays and lists as we use them.
8833           
8834 2006-08-14  Wim Taymans  <wim@fluendo.com>
8835
8836         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8837         If the parent state change function failed, don't assume we can safely
8838         stop the source, this will be done when the pads are deactivated.
8839
8840 2006-08-14  Wim Taymans  <wim@fluendo.com>
8841
8842         * gst/gstbuffer.c:
8843         * gst/gsttask.c: (gst_task_join):
8844         Small doc updates.
8845
8846         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8847         (gst_pad_stop_task):
8848         When pad (de)activation failed for some reason, restore the old
8849         activation mode and set the pad to flushing instead of assuming the
8850         pad is deactivated.
8851         If the _task_join() failed, reinstall the task on the pad so that it can
8852         be stopped later and return an error.
8853
8854 2006-08-11  Andy Wingo  <wingo@pobox.com>
8855
8856         * configure.ac:
8857         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8858         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
8859         is only for users of API that don't want to see deprecated
8860         functions in the headers; people that want to compile out
8861         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
8862         CFLAGS. Fixes the build of multifdsink, or will soon..
8863
8864 2006-08-11  Wim Taymans  <wim@fluendo.com>
8865
8866         * docs/gst/gstreamer-sections.txt:
8867         Add GstClockClass vmethod docs.
8868
8869         * gst/gstcaps.h:
8870         Mark #endif with comment for associated #if
8871
8872         * gst/gstclock.c: (gst_clock_id_wait):
8873         * gst/gstclock.h:
8874         Add vmethod wait_jitter to avoid an unneeded _get_time() for
8875         most clock implementations.
8876         Document vmethods.
8877         Flesh out docs about resolution methods.
8878         API: GstClockClass::wait_jitter
8879
8880         * gst/gstsystemclock.c: (gst_system_clock_class_init),
8881         (gst_system_clock_async_thread),
8882         (gst_system_clock_id_wait_jitter_unlocked),
8883         (gst_system_clock_id_wait_jitter):
8884         Use base class wait_jitter variant for improved performance
8885         due to less clock polling.
8886
8887 2006-08-11  Edward Hervey  <edward@fluendo.com>
8888
8889         * gst/gst.c: (gst_init_check), (init_post):
8890         Set gst as being initialized before scanning/updating the registry,
8891         since there might be my python plugin loader that calls gst_init() and
8892         we don't want to loop back in.
8893         Closes #350879
8894
8895 2006-08-11  Wim Taymans  <wim@fluendo.com>
8896
8897         * docs/design/part-qos.txt:
8898         Bring docs in line with the code. Mostly the sign of the jitter was
8899         wrong in the docs. Fixes #349943.
8900
8901         * gst/gstclock.c:
8902         Fix the docs for the jitter.
8903
8904         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
8905         (gst_event_parse_tag), (gst_event_new_buffer_size),
8906         (gst_event_parse_buffer_size), (gst_event_parse_qos),
8907         (gst_event_new_seek), (gst_event_parse_seek),
8908         (gst_event_new_navigation):
8909         Make sure the GstStructure has no parent when creating custom
8910         events.
8911         Add some more argument checking so that we avoid 0.0 rates.
8912         Flesh out the docs for the QoS event some more.
8913
8914 2006-08-11  Wim Taymans  <wim@fluendo.com>
8915
8916         * docs/gst/gstreamer-sections.txt:
8917         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8918         (ensure_current_registry_forking), (ensure_current_registry),
8919         (parse_one_option), (parse_goption_arg), (gst_deinit),
8920         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
8921         * gst/gst.h:
8922         Doc updates.
8923         Added API and command line option to disable registry forking in
8924         addition to the environment variable.
8925         Constify some static arrays.
8926         Added some more debug.
8927         Don't deinit twice.
8928         API: gst_registry_fork_is_enabled()
8929         API: gst_registry_fork_set_enabled()
8930         API: --gst-disable-registry-fork command line option
8931         Fixes #348918.
8932
8933 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
8934
8935         * gst/gst.c: (gst_init):
8936           Fix typo in error message.
8937
8938 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
8939
8940         * libs/gst/controller/gstcontroller.h:
8941           fix ABI size-correction
8942
8943         * tests/check/libs/gdp.c: (gst_dp_suite):
8944           make tests that use deprecated API conditional
8945
8946 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
8947
8948         * docs/libs/gstreamer-libs-sections.txt:
8949         * libs/gst/controller/gstcontroller.c:
8950         (_gst_controller_get_property), (_gst_controller_set_property),
8951         (_gst_controller_init), (_gst_controller_class_init):
8952         * libs/gst/controller/gstcontroller.h:
8953         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
8954         (gst_object_set_control_rate):
8955           API: add gst_object_{s,g}et_control_rate(), add private data section,
8956           fix docs
8957
8958         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8959         * libs/gst/dataprotocol/dataprotocol.h:
8960           add deprecation guards to make gtk-doc happy and allow disabling cruft
8961
8962 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8963
8964         * tests/check/Makefile.am:
8965         * tests/check/gst/.cvsignore:
8966           Let's enable the new unit test as well.
8967
8968 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8969
8970         * configure.ac:
8971         * docs/gst/gstreamer-sections.txt:
8972         * gst/gstconfig.h.in:
8973         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
8974         (_gst_info_printf_extension_ptr),
8975         (_gst_info_printf_extension_segment):
8976           API: add GST_SEGMENT_FORMAT, which is a printf extension we
8977           register that lets us easily dump GstSegments into debug
8978           logs (#350419).
8979
8980         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
8981         (info_segment_format_printf_extension), (gst_info_suite):
8982           Add simple unit test that logs a bunch of different segments (not
8983           valgrinded at the moment because of leaks in
8984           gst_debug_add_log_function).
8985
8986 2006-08-09  Edward Hervey  <edward@fluendo.com>
8987
8988         * libs/gst/base/gstbasetransform.c:
8989         (gst_base_transform_buffer_alloc):
8990         Even if we can't figure out the proper format to request downstream,
8991         call buffer_alloc() downstream with the input parameters without setting
8992         the caps on the srcpad. This will force negotiation in the chain
8993         function.
8994         Closes #350449
8995
8996 2006-08-08  Edward Hervey  <edward@fluendo.com>
8997
8998         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
8999         Unlinking from a pad without a target is now a perfectly valid case
9000         which should NOT raise an assertion.
9001         This case would happen if a linked ghostpad its target set to NULL after
9002         it was previously linked.
9003
9004 2006-08-08  Edward Hervey  <edward@fluendo.com>
9005
9006         * tests/check/libs/gdp.c:
9007         Also comment out the test (see below).
9008
9009 2006-08-08  Edward Hervey  <edward@fluendo.com>
9010
9011         * tests/check/libs/gdp.c: (gst_dp_suite):
9012         Use the architecture information from config.h and not gcc macros
9013         in order to properly disable a test that fails on PPC64.
9014
9015 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
9016
9017         * gst/gstelement.c: (gst_element_remove_pad):
9018           Don't crash printing the warning if the pad has no parent.
9019
9020 2006-08-02  Wim Taymans  <wim@fluendo.com>
9021
9022         * libs/gst/dataprotocol/dataprotocol.c:
9023         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9024         (gst_dp_crc), (gst_dp_header_payload_length),
9025         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
9026         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
9027         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
9028         (gst_dp_event_from_packet), (gst_dp_validate_header),
9029         (gst_dp_validate_payload):
9030         Make debug category static
9031         Constify the crc table.
9032         Do some more arg checking in public functions.
9033         Fix some docs and do some small cleanups.
9034
9035         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
9036         Add some more checks to see if GDP deals with bogus input.
9037
9038 2006-07-31  Wim Taymans  <wim@fluendo.com>
9039
9040         * gst/gstvalue.c: (gst_value_compare_list):
9041         Fix GstValueList comparison code. Fixes #347293.
9042
9043         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9044         Check to test GstValueList comparison.
9045
9046 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
9047
9048         * gst/gstelementfactory.c: (gst_element_factory_create):
9049         Remove unnecessary ref/unref pair
9050
9051         * gst/parse/grammar.y:
9052         Make sure to free the parse buffer on all code paths.
9053         Move a g_free up to the error handler where it's easier to see.
9054
9055         * tests/check/gst/gstevent.c: (test_event):
9056         Extending timeout for downstream travelling events to 10 seconds to
9057         hopefully avoid intermittent failure on the buildbots.
9058
9059         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
9060         Don't manually set the state of the src element - it will happen as a
9061         natural consequence of the pipeline changing state, and that way it
9062         will do it in the right order too.
9063
9064 2006-07-31  Wim Taymans  <wim@fluendo.com>
9065
9066         * libs/gst/base/gstbasetransform.c:
9067         (gst_base_transform_buffer_alloc):
9068         Use OBJECT_LOCK and refcounting to get the pad caps in the
9069         buffer_alloc function because the caps could change while we are
9070         busy with them. Fixes #349105
9071
9072 2006-07-31  Wim Taymans  <wim@fluendo.com>
9073
9074         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
9075         Protect _PAD_CAPS with OBJECT_LOCK.
9076
9077 2006-07-31  Wim Taymans  <wim@fluendo.com>
9078
9079         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9080         (gst_pad_get_property), (gst_pad_activate_pull),
9081         (gst_pad_activate_push), (gst_pad_set_blocked_async),
9082         (gst_pad_set_activate_function),
9083         (gst_pad_set_activatepull_function),
9084         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
9085         (gst_pad_set_getrange_function),
9086         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
9087         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9088         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
9089         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
9090         (gst_pad_set_acceptcaps_function),
9091         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9092         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
9093         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
9094         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
9095         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
9096         (gst_pad_configure_sink), (gst_pad_configure_src),
9097         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
9098         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
9099         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
9100         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
9101         (gst_pad_send_event):
9102         Use _DEBUG_OBJECT when it makes sense.
9103         Protect GST_PAD_CAPS with the OBJECT_LOCK.
9104         Small cleanups and code reflows.
9105         Avoid caps refcounting in _accept_caps.
9106         Refactor alloc_buffer so that the code performed on the peer is in a
9107         separate function. Also if the pad does not implement a buffer alloc
9108         function, we should still check if the pad is flushing before falling
9109         back to the default allocator.
9110
9111 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
9112
9113         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9114         Make all uses of identity and fakesink have silent=true to avoid
9115         serialising every passing data structure, which is breaking tests
9116         on FC4 for some unknown reason.
9117
9118 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
9119
9120         * gst/parse/Makefile.am:
9121         * gst/parse/grammar.y:
9122         * gst/parse/parse.l:
9123           Reverted previous patch as it required to bump the flex dependency to
9124           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
9125
9126 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
9127
9128         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
9129
9130         * gst/parse/Makefile.am:
9131         * gst/parse/grammar.y:
9132         * gst/parse/parse.l:
9133           push & pop the state of the lexer for reentrant use case
9134           Fixes #349180
9135
9136 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
9137
9138         * libs/gst/base/gstbasesrc.h:
9139           Note in the docs that the ::newsegment vfunc is not actually used by
9140           GstBaseSrc.
9141
9142 2006-07-28  Wim Taymans  <wim@fluendo.com>
9143
9144         * libs/gst/base/gstcollectpads.c:
9145         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
9146         (gst_collect_pads_clear), (gst_collect_pads_flush),
9147         (gst_collect_pads_event), (gst_collect_pads_chain):
9148         When flushing a pad, also clear the queued buffer so that we don't
9149         accidentally use it when we shouldn't.
9150         Fix leaks by inreffing incomming buffer.
9151         Flush out queued buffers in case of errors.
9152         Fixes #347452.
9153
9154 2006-07-28  Wim Taymans  <wim@fluendo.com>
9155
9156         * docs/random/phonon-gst:
9157         Random notes about a Phonon backend.
9158
9159 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
9160
9161         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9162         Extra debug output
9163         * tests/check/libs/gdp.c: (gst_dp_suite):
9164         Take a whack at fixing the ppc compile using a different define to
9165         disable the broken test.
9166
9167         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9168         Remove excess g_print()
9169
9170 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
9171
9172         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9173         Oops, meant to uncomment this line too to dampen the noise a bit.
9174
9175 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
9176
9177         * gst/parse/grammar.y:
9178         * gst/parse/parse.l:
9179         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9180         (GST_START_TEST), (parse_suite):
9181         Fix some of the leaks exposed by extending the parse-launch testsuite,
9182         and move the 3 I can't figure out into a separate test that won't run
9183         the pipelines unless the appropriate line is uncommented.
9184
9185 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
9186
9187         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9188           Requesting 0 bytes before the end of the file should result in
9189           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
9190           unit test.
9191
9192 2006-07-27  Wim Taymans  <wim@fluendo.com>
9193
9194         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
9195         Fix useless assert, a uint is always positive.
9196
9197         * gst/gststructure.c: (gst_structure_nth_field_name),
9198         (gst_structure_foreach), (gst_structure_map_in_place):
9199         Check input arguments for public functions to avoid obvious crashes.
9200
9201         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
9202         * plugins/elements/gstfakesink.h:
9203         Do less useless typechecking.
9204
9205 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
9206
9207         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9208           Do not use mmap() by default since there are a number of error
9209           conditions that we would like to handle in a non-fatal way that
9210           will result in a SIGBUS if we use mmap(). Examples: external
9211           devices (USB harddrive, portable music player) being unplugged
9212           while in use; file on mounted CD/DVD that can't be read because
9213           the medium is partly damaged. Fixes #348455 and #348475.
9214
9215 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
9216
9217         * gst/gstquery.h:
9218         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
9219         rates are a gdouble
9220
9221 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
9222
9223         * gst/gstregistry.c:
9224           Move big documentation comment into class section header, so that it
9225           appears in the API docs.
9226
9227 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9228
9229         * docs/gst/gstreamer-sections.txt:
9230         Oops. Commit the docs additions too for new API.
9231         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
9232
9233 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9234
9235         * gst/gststructure.c: (gst_structure_id_set),
9236         (gst_structure_id_set_valist):
9237         * gst/gststructure.h:
9238         Add API for setting values into structures without performing
9239         a quark lookup, if the appropriate quark is already known.
9240
9241         API: gst_structure_id_set
9242         API: gst_structure_id_set_valist
9243
9244         * gst/parse/grammar.y:
9245         * gst/parse/parse.l:
9246         Remove some dead code shown by the coverage information.
9247         Don't throw a critical g_warning when encountering a syntax error,
9248         just warn and let the normal error path handle it.
9249
9250         * plugins/elements/gstelements.c:
9251         Bump the rank of filesink up to PRIMARY so that it is preferred over
9252         gnomevfssink for file:// sink uri's
9253
9254         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9255         (GST_START_TEST), (run_delayed_test),
9256         (gst_parse_test_element_base_init),
9257         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
9258         (gst_parse_test_element_change_state),
9259         (gst_register_parse_element), (parse_suite):
9260         Beef up the tests for parse syntax to check that more error cases
9261         fail as they are supposed to. Increases the test coverage a bit.
9262
9263 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
9264
9265         * docs/manual/basics-elements.xml:
9266           Fix gst_element_link() example.
9267
9268         * gst/gstutils.c:
9269           Mention in API docs that one should usually gst_bin_add()
9270           elements to a bin or pipeline before doing the linking.
9271           
9272 2006-07-26  Wim Taymans  <wim@fluendo.com>
9273
9274         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
9275         (gst_subbuffer_get_type), (gst_buffer_create_sub):
9276         Avoid function call for known types by keeping the buffer and
9277         subbuffer GType global.
9278
9279         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9280         Random silly optimisations in read() path.
9281
9282 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9283
9284         * tools/gst-launch.c: (main):
9285           If the top-level of the parse is a normal bin, it doesn't do the
9286           right logic to run as a top-level element, so place it inside a
9287           pipeline.
9288
9289 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
9290
9291         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
9292           Remove superfluous g_object_notify() calls, GObject does
9293           that for us automatically.
9294
9295 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
9296
9297         * gst/gstinfo.h:
9298           on Win32, use dllspec to export the debug category symbols
9299
9300 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
9301
9302         * gst/gsttaglist.c: (_gst_tag_initialize):
9303           Allow more than one GST_TAG_IMAGE per taglist.
9304
9305 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9306
9307         * gst/gstminiobject.c:
9308           update docs
9309         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
9310         (gst_fd_src_create):
9311           log recurring events at LOG level
9312           add more debug for when the fd gets set
9313
9314 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
9315
9316         * gst/gstparse.c: (gst_parse_launch):
9317           Also remove reentrance checks if flex is MT safe (#348179)
9318          Fix my empty ChangeLog entry below
9319
9320 2006-07-21  Andy Wingo  <wingo@pobox.com>
9321
9322         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
9323
9324         * libs/gst/check/Makefile.am
9325         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
9326         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
9327         * libs/gst/check/gstbufferstraw.h:
9328         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
9329         functions, thus proving I am still a GStreamer haxor. OK I wrote
9330         them a long time ago, but anyways.
9331
9332 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
9333
9334         * configure.ac:
9335         * gst/gstparse.c: (gst_parse_launch):
9336           Check for flex version and omit mutex if we have a MT save flex
9337           (fixes #348179)
9338
9339 2006-07-21  Wim Taymans  <wim@fluendo.com>
9340
9341         * gst/gstparse.c: (gst_parse_launch):
9342         Protect recursive calls to _parse with a recursive mutex
9343         and busy flag.
9344
9345 2006-07-21  Wim Taymans  <wim@fluendo.com>
9346
9347         * tests/check/gst/gstpad.c: (GST_START_TEST):
9348         Fix leak in test.
9349
9350 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
9351
9352         * gst/gstparse.c: (gst_parse_launch):
9353           Do not hang on recursive usage of gst_parse_launch()
9354
9355 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
9356
9357         * gst/gsttaglist.c:
9358           Add some more docs, comments and FIXME 0.11s here and there
9359           and also fix some typos.
9360
9361 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
9362
9363         * gst/gstsegment.h:
9364           Convert tabs to spaces for better readability. 
9365
9366 2006-07-20  Edward Hervey  <edward@fluendo.com>
9367
9368         * tests/check/libs/gdp.c: (gst_dp_suite):
9369         the test_buffer test fails at line 140 on ppc64 at the following
9370         check:
9371         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
9372                 GST_BUFFER_FLAG_IN_CAPS),
9373                 "GST_BUFFER_IN_CAPS flag should have been copied !");
9374         See bug #348114 for more details.
9375
9376 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
9377
9378         * docs/pwg/advanced-scheduling.xml:
9379         * gst/gstpad.c:
9380           Fix typos (#348000).
9381
9382 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
9383
9384         * docs/pwg/intro-basics.xml:
9385           Fix wrong links (#347927).
9386
9387 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
9388
9389         * gst/gstregistry.h:
9390         * gst/gstregistryxml.c: (load_feature),
9391         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
9392         * win32/common/config.h:
9393           make --disable-index work (#342564)
9394
9395 2006-07-18  Wim Taymans  <wim@fluendo.com>
9396
9397         Patch by: Peter Kjellerstedt <pkj at axis dot com>
9398
9399         * gst/Makefile.am:
9400         * gst/gsttrace.h:
9401         The attached patch adds two missing defines to gsttrace.h when tracing
9402         is disabled.  It also corrects one existing define.
9403         Fixes #347756.
9404
9405 2006-07-17  Wim Taymans  <wim@fluendo.com>
9406
9407         * docs/gst/gstreamer-sections.txt:
9408         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
9409         * gst/gst.h:
9410         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
9411         Add two functions to check and change the SIGSEGV behaviour
9412         when loading plugins.
9413         Don't mess with the SIGSEGV handler when we were told not to.
9414         Fixes #347794.
9415         API: gst_segtrap_is_enabled
9416         API: gst_segtrap_set_enabled
9417
9418 2006-07-14  Wim Taymans  <wim@fluendo.com>
9419
9420         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9421         * tests/check/elements/filesrc.c: (GST_START_TEST):
9422         Revert fix for regression in #347408 after release.
9423
9424 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
9425
9426         Patch by: Antoine Tremblay <hexa00 at gmail com>
9427
9428         * gst/gstutils.c: (gst_element_unlink):
9429           Free iterator when done (#347311).
9430
9431         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9432           And add a test case for this.
9433
9434 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
9435
9436         * configure.ac:
9437         Bump nano back to CVS
9438
9439 === release 0.10.9 ===
9440
9441 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
9442
9443         * configure.ac:
9444           releasing 0.10.9, "On the road again"
9445
9446 2006-07-13  Wim Taymans  <wim@fluendo.com>
9447
9448         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9449         * tests/check/elements/filesrc.c: (GST_START_TEST):
9450         Revert pull-0 fix for release. Disable check. Fixes #347408.
9451
9452 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9453
9454         * libs/gst/dataprotocol/dataprotocol.c:
9455         (gst_dp_event_from_packet_1_0):
9456           Fixes #347337: failure to deserialize event packets with
9457           empty payload (only event type)
9458
9459 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9460
9461         * gst/Makefile.am:
9462           do not install a .c file in the header directory
9463
9464 2006-07-13  Edward Hervey  <edward@fluendo.com>
9465
9466         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9467         GhostPad no longer implicitely use the padtemplates of the targets.
9468         Fixes #347384
9469
9470 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
9471
9472         * gst/gstvalue.c: (gst_value_compare_list),
9473         (gst_value_compare_array), (_gst_value_initialize):
9474         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9475         Make GstValueArray comparison be order dependent as designed.
9476         Add checks for value lists and value array comparisons.
9477         Fixes #347221
9478
9479 2006-07-11  Edward Hervey  <edward@fluendo.com>
9480
9481         * gst/gstbin.c: (activate_pads),
9482         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
9483         (gst_bin_change_state_func):
9484         (de)activate src pads before calling state_change on the childs.
9485         This is to avoid the case where a src ghostpad is blocked (holding the
9486         stream lock), which would block the deactivation of the ghostpad's
9487         target pad.
9488         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
9489         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
9490         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
9491         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
9492         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
9493         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9494         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9495         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
9496         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
9497         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
9498         (gst_ghost_pad_class_init),
9499         (gst_ghost_pad_internal_do_activate_push),
9500         (gst_ghost_pad_internal_do_activate_pull),
9501         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9502         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9503         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
9504         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
9505         GhostPads now create their internal GstProxyPad at creation (and not
9506         when they're linked, as it was being done previously).
9507         The internal and target pads are linked straight away.
9508         The data will also travel through the other pad in order to make
9509         pad blocking and probes non-hackish (the probe/block now really happens
9510         on the GhostPad and not on the target).
9511         * gst/gstpad.c: (gst_pad_set_blocked_async),
9512         (gst_pad_link_prepare), (gst_pad_push_event):
9513         Remove previous ghostpad cruft.
9514         * gst/gstutils.c: (gst_pad_add_data_probe),
9515         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9516         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9517         (gst_pad_remove_buffer_probe):
9518         Remove previous ghost pad cruft.
9519         Added more detailed debug statements.
9520         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9521         Fix the testsuite for refcounting changes.
9522         The comments about who has references were correct, but the refcount
9523         being checked wasn't the same (!?!).
9524
9525         Fixes #341029
9526
9527 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
9528
9529         * docs/gst/gstreamer-sections.txt:
9530         * gst/gstconfig.h.in:
9531         More docs for configuration options, add docs to gtk-doc.
9532
9533 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
9534
9535         * gst/Makefile.am:
9536         * gst/gstconfig.h.in:
9537         * win32/common/config.h:
9538         Fix build when disabling tracing (fixes #344016). Also start to document
9539         the defines that disable the sub-systems.
9540
9541 2006-07-10  Edward Hervey  <edward@fluendo.com>
9542
9543         * gst/gst.c: (ensure_current_registry_forking):
9544         let's make valgrind happy...
9545
9546 2006-07-09  Wim Taymans  <wim@fluendo.com>
9547
9548         * gst/gstelement.c: (activate_pads),
9549         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9550         Better pad activation code: Reset the collect value too on resync.
9551         Add some comments.
9552
9553 2006-07-09  Wim Taymans  <wim@fluendo.com>
9554
9555         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
9556         (gst_pad_activate_push):
9557         Use some more macros where it makes sense.
9558         Allow pad mode switching instead of asserting. When a pad
9559         is activated in one mode and we activate it in another, 
9560         deactivate it first before activating it in a different mode.
9561         Fixes #329198.
9562
9563 2006-07-08  Andy Wingo  <wingo@pobox.com>
9564
9565         * tools/gst-launch.c (main): Handle err == NULL.
9566
9567         * gst/gst.c (init_post, ensure_current_registry)
9568         (ensure_current_registry_forking)
9569         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
9570         factoring out the registry scanning into separate functions. Don't
9571         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
9572         Better environment var name/interface suggestions accepted.
9573
9574 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9575
9576         * gst/gstobject.c: (gst_object_set_name_default),
9577         (gst_object_set_name):
9578           Random micro-optimisation: don't use a hash table
9579           with strings as keys and the usual strdup/strcmp
9580           involved, but rather just use the GQuark of the
9581           type name as key, since it needs to be looked up
9582           anyway to get the type name string.
9583
9584         * tests/check/gst/gstobject.c: (GST_START_TEST):
9585           Fix various leaks.
9586
9587 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9588
9589         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
9590         (gst_bin_iterate_all_by_interface):
9591           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
9592           GTypes are gulongs and thus the top 4 bytes might be cut
9593           off on some platforms when doing GPOINTER_TO_INT, leading
9594           to invalid GTypes and bad things happening (see RH bug #179654).
9595           Also add a check to make sure the type passed in is really
9596           an interface type.
9597
9598 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9599
9600         * .cvsignore:
9601           Ignore more.
9602
9603 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9604
9605         * Makefile.am:
9606         * configure.ac:
9607         * gst-element-check.m4:
9608         * gst-element-check.m4.in:
9609           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
9610           instead of the unversioned gst-inspect (#324176, #168659).
9611
9612 2006-07-06  Wim Taymans  <wim@fluendo.com>
9613
9614         * gst/gstmessage.h:
9615         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
9616         warnings.
9617
9618 2006-07-06  Wim Taymans  <wim@fluendo.com>
9619
9620         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9621         (gst_base_src_wait), (gst_base_src_update_length),
9622         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
9623         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
9624         (gst_base_src_loop), (gst_base_src_start),
9625         (gst_base_src_activate_pull):
9626         Update docs.
9627         blocksize == 0 now means the default blocksize when working in push
9628         based mode.
9629         Remove some pointless asserts in _wait function.
9630         Fix offset/length calculations and EOS handling. We can now pull 0
9631         bytes as well, which is allowed.
9632         use _check_get_range() to decide if we can operate in _pull based
9633         mode.
9634         Fix refcounting leak when check_get_range function was not 
9635         implemented.
9636         API GstBaseSrc::blocksize range can be 0 too now (default)
9637
9638         * tests/check/elements/filesrc.c: (GST_START_TEST),
9639         (filesrc_suite):
9640         Added check to test _get_range() behaviour.
9641
9642 2006-07-06  Wim Taymans  <wim@fluendo.com>
9643
9644         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9645         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
9646         (gst_pad_pull_range):
9647         * gst/gstpad.h:
9648         Lots of comments and docs added to the pad functions.
9649         Flesh out the expected behaviour of the get_range() functions.
9650
9651 2006-07-06  Wim Taymans  <wim@fluendo.com>
9652
9653         * gst/gstbus.h:
9654         * gst/gstclock.h:
9655         * gst/gstevent.h:
9656         * gst/gstiterator.h:
9657         * gst/gstpad.h:
9658         * gst/gstplugin.h:
9659         * gst/gsttask.h:
9660         Remove comma at end of enumerator list. 
9661
9662 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
9663
9664         * win32/common/libgstbase.def:
9665         * win32/common/libgstdataprotocol.def:
9666         * win32/common/libsgtreamer.def:
9667         Add new exported functions.
9668
9669 2006-07-05  Wim Taymans  <wim@fluendo.com>
9670
9671         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
9672         Add some more docs here and there.
9673
9674 2006-07-05  Wim Taymans  <wim@fluendo.com>
9675
9676         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
9677         (gst_base_sink_loop), (gst_base_sink_get_position):
9678         When operating in pull mode update the offset so that we
9679         read sequentially.
9680
9681 2006-07-05  Wim Taymans  <wim@fluendo.com>
9682
9683         * gst/gstregistryxml.c: (read_string):
9684         Avoid strdup. (will happen in libxml, but hey!)
9685
9686         * gst/gsturi.c:
9687         Add some more docs.
9688
9689 2006-07-05  Wim Taymans  <wim@fluendo.com>
9690
9691         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
9692         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9693         (gst_buffer_suite):
9694         No point in checking if the size of the subbuffer > 0, the
9695         code handles it correclty as demonstrated by unit test.
9696         Also add a unit test for the zero sized _new_and_alloc and
9697         _copy. Fixes #346663.
9698
9699 2006-07-05  Wim Taymans  <wim@fluendo.com>
9700
9701         * libs/gst/base/gstbasetransform.c:
9702         (gst_base_transform_prepare_output_buffer),
9703         (gst_base_transform_buffer_alloc),
9704         (gst_base_transform_handle_buffer):
9705         Make sure the buffer we pass to transform_ip has a refcount of
9706         1 and thus is writable. Fixes #343196
9707
9708 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
9709
9710         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9711         (gst_file_src_init), (gst_file_src_set_property),
9712         (gst_file_src_get_property), (gst_file_src_map_region):
9713         * plugins/elements/gstfilesrc.h:
9714         Add "sequential" property, off by default, to use madvise and hint
9715         to the kernel that sequential access is desired.
9716         Touch all retrieved pages by default to ensure they are pulled
9717         into memory. (Closes #345720)
9718
9719 2006-07-03  Wim Taymans  <wim@fluendo.com>
9720
9721         * docs/design/part-block.txt:
9722         * docs/design/part-dynamic.txt:
9723         Small docs updates.
9724
9725 2006-07-03  Wim Taymans  <wim@fluendo.com>
9726
9727         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
9728         (gst_caps_unref), (gst_static_caps_get),
9729         (gst_caps_append_structure):
9730         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
9731         Use GSlice when the glib we build against is >= 2.10
9732
9733 2006-07-03  Wim Taymans  <wim@fluendo.com>
9734
9735         * gst/gstelement.c: (gst_element_pads_activate):
9736         Small cleanup in pad activation code.
9737
9738 2006-07-03  Wim Taymans  <wim@fluendo.com>
9739
9740         Patch by: Peter Kjellerstedt <pkj at axis dot com>
9741
9742         * gst/gst-i18n-app.h:
9743         * gst/gst-i18n-lib.h:
9744         * tools/gst-inspect.c: (print_signal_info):
9745         The attached patch will make the inclusion of gettext.h unconditional in
9746         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
9747         libintl.h in tools/gst-inspect.c.
9748         This allows use of --disable-nls again and fixes #344642.
9749
9750 2006-07-03  Edward Hervey  <edward@fluendo.com>
9751
9752         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
9753         Implement pad blocking on events according to part-block.txt.
9754         More comments on behaviour.
9755         * tests/check/gst/gstevent.c: (test_event):
9756         Send event to peer pad of blocked pad (else it will block).
9757
9758 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9759
9760         * libs/gst/check/gstcheck.c: (gst_check_message_error),
9761         (gst_check_run_suite):
9762           if we get the wrong message, give us the types as string
9763         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9764           Fix a translatable
9765         * tests/check/elements/filesrc.c: (GST_START_TEST):
9766           add a test for trying to open a non-existing file
9767
9768 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9769
9770         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9771           add a test for adding self
9772
9773 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9774
9775         * libs/gst/check/gstcheck.h:
9776           add some assert_ as alias for fail_unless_*
9777         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
9778           increase test coverage
9779
9780 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9781
9782         * Makefile.am:
9783           include lcov.mak for lcov coverage generation
9784         * tools/Makefile.am:
9785           add to CLEANFILES
9786
9787 2006-07-02  Edward Hervey  <edward@fluendo.com>
9788
9789         * tests/check/elements/.cvsignore:
9790         moaping
9791
9792 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9793
9794         * configure.ac:
9795           don't set CFLAGS and friends for gcov, done from GST_GCOV now
9796         * tests/check/Makefile.am:
9797           clean up gcov files
9798
9799 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9800
9801         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
9802           remove gst_caps_simplify; it was not declared and not used
9803           and deprecated in 0.8
9804
9805 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9806
9807         * docs/faq/gst-uninstalled:
9808           don't put empty paths on PYTHONPATH
9809         * docs/gst/gstreamer-sections.txt:
9810           remove some symbols that are not there
9811
9812 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9813
9814         * gst/gstcaps.c: (gst_caps_compare_structures):
9815           whitespace fixes
9816         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9817         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9818           add more tests
9819
9820 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9821
9822         * libs/gst/dataprotocol/Makefile.am:
9823           build dataprotocol test by linking to the lib, instead of
9824           compiling the source, so we get coverage
9825         * tests/check/Makefile.am:
9826         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
9827         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
9828           add a test for filesrc
9829
9830 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9831
9832         * tests/check/gst/gststructure.c: (GST_START_TEST),
9833         (gst_structure_suite):
9834           Push coverage from 59.04% to 70.00%
9835
9836 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9837
9838         * tests/check/Makefile.am:
9839           gst-inspect every element; this makes sure that we also get
9840           coverage on element's get/set functions
9841
9842 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9843
9844         * configure.ac:
9845           set CFLAGS and friends to -O0 if gcov is being used
9846           add GCOV LIBS
9847         * gst/Makefile.am:
9848         * libs/gst/base/Makefile.am:
9849         * libs/gst/check/Makefile.am:
9850         * libs/gst/controller/Makefile.am:
9851         * libs/gst/dataprotocol/Makefile.am:
9852         * libs/gst/net/Makefile.am:
9853         * plugins/elements/Makefile.am:
9854         * plugins/indexers/Makefile.am:
9855           add makefile rules to generate gcov data and clean up
9856         * tests/check/Makefile.am:
9857           add a coverage target that generates an html overview
9858           of coverage data
9859
9860 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9861
9862         * tests/check/elements/fakesink.c:
9863         * tests/check/elements/fakesrc.c:
9864         * tests/check/elements/fdsrc.c:
9865         * tests/check/elements/identity.c:
9866         * tests/check/generic/sinks.c: (gst_sinks_suite):
9867         * tests/check/generic/states.c:
9868         * tests/check/gst/gst.c:
9869         * tests/check/gst/gstabi.c:
9870         * tests/check/gst/gstbin.c:
9871         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
9872         * tests/check/gst/gstbus.c: (gst_bus_suite):
9873         * tests/check/gst/gstcaps.c: (GST_START_TEST):
9874         * tests/check/gst/gstelement.c:
9875         * tests/check/gst/gstevent.c: (gst_event_suite):
9876         * tests/check/gst/gstghostpad.c:
9877         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
9878         * tests/check/gst/gstmessage.c: (gst_message_suite):
9879         * tests/check/gst/gstminiobject.c:
9880         * tests/check/gst/gstobject.c:
9881         * tests/check/gst/gstpad.c:
9882         * tests/check/gst/gstpipeline.c:
9883         * tests/check/gst/gstplugin.c:
9884         * tests/check/gst/gstquery.c: (gst_query_suite):
9885         * tests/check/gst/gstsegment.c: (gst_segment_suite):
9886         * tests/check/gst/gststructure.c:
9887         * tests/check/gst/gstsystemclock.c:
9888         * tests/check/gst/gsttag.c:
9889         * tests/check/gst/gsttask.c: (gst_task_suite):
9890         * tests/check/gst/gstutils.c:
9891         * tests/check/gst/gstvalue.c:
9892         * tests/check/libs/adapter.c:
9893         * tests/check/libs/basesrc.c:
9894         * tests/check/libs/collectpads.c:
9895         * tests/check/libs/controller.c:
9896         * tests/check/libs/gdp.c: (gst_dp_suite):
9897         * tests/check/libs/gstnetclientclock.c:
9898         * tests/check/libs/gstnettimeprovider.c:
9899         * tests/check/libs/libsabi.c: (libsabi_suite):
9900         * tests/check/libs/typefindhelper.c:
9901         * tests/check/pipelines/cleanup.c:
9902         * tests/check/pipelines/parse-launch.c:
9903         * tests/check/pipelines/simple-launch-lines.c:
9904         * tests/check/pipelines/stress.c: (stress_suite):
9905           use the new macro
9906
9907 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9908
9909         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
9910         * libs/gst/check/gstcheck.h:
9911           create a macro and function so that the simple unit test
9912           case can be just one macro to create main()
9913
9914 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
9915
9916         * gst/gstbin.c: (gst_bin_restore_thyself):
9917         * gst/gstxml.c: (gst_xml_make_element):
9918           Fix deserialisation from XML. Set parent manually
9919           instead of using gst_bin_add(), since gst_bin_add()
9920           will unlink all pads of the element being added.
9921           Fixes #341667.
9922
9923 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
9924
9925         Patch by: Peter Kjellerstedt <pkj at axis com>
9926
9927         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
9928           Fix missing g_strdup() and double free when using the
9929           --gst-plugin-load command line option (#346097).
9930
9931 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
9932
9933         * gst/gstinfo.c:
9934           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
9935
9936         * libs/gst/net/gstnetclientclock.c:
9937         * libs/gst/net/gstnettimeprovider.c:
9938           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
9939
9940 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
9941
9942         * docs/manual/advanced-dataaccess.xml:
9943           Fix buffer probe example compilation in
9944           ADM (#345708).
9945         
9946 2006-06-22  Edward Hervey  <edward@fluendo.com>
9947
9948         * gst/gstelement.c: (gst_element_pads_activate):
9949         We need to deactivate src pads first and then sink pads.
9950         The reason is the src pads might be blocking while holding the streaming
9951         lock, so we need to deactivate them first so that deactivating the sink
9952         pads doesn't block (since it will require the streaming lock).
9953
9954 2006-06-22  Wim Taymans  <wim@fluendo.com>
9955
9956         * libs/gst/base/gstbasetransform.c:
9957         (gst_base_transform_buffer_alloc):
9958         Forgot to remove two unneeded unrefs.
9959         Simplify a check _is_equal allready checks the obvious case.
9960
9961 2006-06-22  Wim Taymans  <wim@fluendo.com>
9962
9963         * docs/design/part-block.txt:
9964         Some docs about what pad_block should do.
9965
9966 2006-06-22  Wim Taymans  <wim@fluendo.com>
9967
9968         * gst/gstcaps.c: (gst_caps_replace):
9969         Fix crasher when passed NULL. Doc clarification.
9970         Optimize for the trivial case.
9971
9972         * gst/gstpipeline.c: (gst_pipeline_change_state):
9973         Small cleanups.
9974
9975         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9976         Small documentation cleanup.
9977
9978         * libs/gst/base/gstbasetransform.c:
9979         (gst_base_transform_buffer_alloc):
9980         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
9981         is what we need and it avoids a whole lot of redundant 
9982         refcount operations.
9983
9984 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
9985
9986         Patch by: Philip Jägenstedt  <philip at lysator liu se>
9987
9988         * docs/manual/advanced-dataaccess.xml:
9989           Fix 'Embedding static elements' section to use
9990           GST_PLUGIN_DEFINE_STATIC (#345607).
9991
9992 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9993
9994         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
9995           Attempt to 'fix' spuriously failing test case: it seems like the
9996           timeout of half a second is simply too small when the system is under
9997           load otherwise, and the timeout doesn't really seem to serve any
9998           particular purpose here. Give the pipeline a few seconds to preroll
9999           first, and then give it another half a second to go from PAUSED to
10000           PLAYING and marshal the message into the main thread.
10001
10002 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10003
10004         * tools/gst-feedback-m.m:
10005           Don't only use unversioned tools, try versioned tools as well
10006           (#345086).
10007
10008 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10009
10010         * gst/gstbus.c: (gst_bus_class_init):
10011           Fix some typos, make docs more explicit.
10012
10013 2006-06-20  Wim Taymans  <wim@fluendo.com>
10014
10015         * tests/check/gst/gstghostpad.c: (block_callback),
10016         (GST_START_TEST), (gst_ghost_pad_suite):
10017         Added some more ghostpad tests, mainly blocking
10018         and probes.
10019
10020 2006-06-16  Wim Taymans  <wim@fluendo.com>
10021
10022         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10023         (gst_file_sink_close_file), (gst_file_sink_do_seek),
10024         (gst_file_sink_event), (gst_file_sink_render):
10025         * plugins/elements/gstfilesink.h:
10026         Check if we can seek in the file instead of assuming
10027         we always can. Post an error when we are asked to seek in a
10028         non-seekable file (like a fifo). Fixes #343312.
10029         Some cleanups.
10030
10031 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
10032
10033         * tools/gst-launch.1.in:
10034           Un-garble (fourcc) bit in filtered caps section.
10035
10036 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
10037
10038         * docs/manual/advanced-autoplugging.xml:
10039         * docs/manual/basics-helloworld.xml:
10040         * docs/manual/highlevel-components.xml:
10041           Don't leak bus reference in sample code.
10042
10043 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
10044
10045         * autogen.sh:
10046           Add default for new --enable-plugin-docs switch.
10047
10048         * configure.ac:
10049           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
10050           Fixes #344039.
10051
10052         * docs/Makefile.am:
10053           Use new ENABLE_PLUGIN_DOCS conditional.
10054
10055 2006-06-14  Wim Taymans  <wim@fluendo.com>
10056
10057         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
10058         Make it clear with a FIXME and a real define what the #if 0
10059         previously disabled.
10060
10061 2006-06-14  Wim Taymans  <wim@fluendo.com>
10062
10063         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10064         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10065         * libs/gst/base/gstbasetransform.c:
10066         (gst_base_transform_sink_eventfunc):
10067         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10068         Don't randomly and silently reset a segment when the format 
10069         changes as this is a bug somewhere upstream. Fixes #330379.
10070
10071 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
10072
10073         Patch by: Wouter Paesen  <wouter at kangaroot net>
10074
10075         * libs/gst/controller/gstcontroller.c:
10076         (gst_controlled_property_new):
10077           Fix controlling of float properties (#344849).
10078
10079         * tests/check/libs/controller.c:
10080         (gst_test_mono_source_get_property),
10081         (gst_test_mono_source_set_property),
10082         (gst_test_mono_source_class_init), (GST_START_TEST):
10083           While we're at it, add some float stuff to unit test.
10084
10085 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10086
10087         * docs/README:
10088         * docs/images/gdp-header.svg:
10089           add a gdp image
10090         * docs/libs/Makefile.am:
10091         * docs/libs/gdp-header.png:
10092         * libs/gst/dataprotocol/dataprotocol.c:
10093           add it to the API docs
10094         * docs/manual/intro-motivation.xml:
10095           fix typo
10096
10097 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
10098
10099         * gst/gst.c: (scan_and_update_registry), (init_post):
10100           If the fork()'ed child process can't write the updated registry cache
10101           file to disk for some reason, make it exit with a failure exit code,
10102           so that the parent can then re-scan the plugins itself and update the
10103           registry structures in memory and work with that (rather than failing
10104           when creating elements because seemingly no plugins are available).
10105           Refactor registry scanning code into separate function for this and
10106           also separate fork() and non-fork() code paths. Fixes #344748.
10107
10108 2006-06-13  Wim Taymans  <wim@fluendo.com>
10109
10110         * docs/manual/advanced-dataaccess.xml:
10111         Fix wrong PluginDesc. Fixes #344755.
10112
10113 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
10114
10115         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10116           Fix silly bug that prevented us from creating
10117           ~/.gstreamer-0.10 and writing the registry in one
10118           go (the first call to g_mkstemp() would overwrite the
10119           placeholder in the template string, so the second call
10120           to g_mkstemp() after creating the missing directory
10121           would then error out with 'invalid argument').
10122
10123 2006-06-13  Edward Hervey  <edward@fluendo.com>
10124
10125         * gst/gst.c: (init_post):
10126         Free string.
10127
10128 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10129
10130         * gst/glib-compat-private.h:
10131         * gst/glib-compat.c:
10132         * gst/glib-compat.h:
10133         * gst/gstvalue.c: (gst_value_serialize_flags):
10134           remove GLib 2.6 compatibility code
10135
10136 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
10137
10138         * gst/parse/Makefile.am:
10139           Fix build with 'make -j N' even more (#340016).
10140
10141 2006-06-12  Wim Taymans  <wim@fluendo.com>
10142
10143         * docs/gst/gstreamer-sections.txt:
10144         Fix docs.
10145
10146 2006-06-12  Wim Taymans  <wim@fluendo.com>
10147
10148         * gst/gstsegment.c: (gst_segment_set_duration),
10149         (gst_segment_set_last_stop), (gst_segment_set_seek),
10150         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10151         (gst_segment_to_running_time), (gst_segment_clip):
10152         Use G_UNLIKELY to help the compiler a bit.
10153
10154 2006-06-12  Wim Taymans  <wim@fluendo.com>
10155
10156         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10157
10158         * gst/gstevent.c: (gst_event_get_type):
10159         * gst/gstmessage.c:
10160         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10161         (gst_pad_push):
10162         constify quark registration strings. Fixes #344115
10163         Avoid unneeded type checking is _pad_push() by internally
10164         calling gst_pad_chain_unchecked().
10165
10166 2006-06-12  Wim Taymans  <wim@fluendo.com>
10167
10168         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
10169         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
10170         (gst_subbuffer_finalize), (gst_buffer_create_sub),
10171         (gst_buffer_is_span_fast), (gst_buffer_span):
10172         Init _type for consistency.
10173         Use _FLAGS macro to avoid type check.
10174         Avoid unneeded type checks in subbufer code.
10175
10176 2006-06-12  Wim Taymans  <wim@fluendo.com>
10177
10178         * gst/gst.c: (gst_debug_help):
10179         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
10180         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
10181         (gst_plugin_feature_list_free):
10182         * gst/gstregistry.c: (gst_registry_add_plugin),
10183         (gst_registry_add_feature), (gst_registry_plugin_filter),
10184         (gst_registry_feature_filter), (gst_registry_find_plugin),
10185         (gst_registry_find_feature), (gst_registry_get_plugin_list),
10186         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
10187         * gst/gstregistryxml.c: (load_feature),
10188         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
10189         * gst/gstminiobject.c: (gst_mini_object_unref),
10190         (gst_mini_object_replace), (gst_value_mini_object_free),
10191         (gst_value_mini_object_copy):
10192         Use _CAST macros to avoid unneeded type checking.
10193         Added some more G_UNLIKELY.
10194
10195 2006-06-12  Wim Taymans  <wim@fluendo.com>
10196
10197         * gst/gstbuffer.h:
10198         Avoid unneeded type checking.
10199         API: GST_BUFFER_IS_DISCONT
10200
10201         * gst/gstminiobject.h:
10202         Avoid type check in flag accessor.
10203
10204         * gst/gstelementfactory.h:
10205         * gst/gstplugin.h:
10206         * gst/gstpluginfeature.h:
10207         Add _CAST macros.
10208         API: GST_ELEMENT_FACTORY_CAST
10209         API: GST_PLUGIN_CAST
10210         API: GST_PLUGIN_FEATURE_CAST
10211
10212 2006-06-12  Wim Taymans  <wim@fluendo.com>
10213
10214         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
10215         (gst_object_unref):
10216         Add G_UNLIKELY in type registration.
10217         Avoid type check in _ref/_unref since that is also
10218         done in glib.
10219
10220 2006-06-12  Wim Taymans  <wim@fluendo.com>
10221
10222         * gst/gsterror.c: (gst_g_error_get_type):
10223         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10224         (gst_static_pad_template_get_type):
10225         * gst/gsttaglist.c: (gst_tag_list_get_type):
10226         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
10227         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
10228         * gst/gsturi.c: (gst_uri_handler_get_type):
10229         * gst/gstvalue.c: (gst_date_get_type):
10230         * gst/gstxml.c: (gst_xml_get_type):
10231         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
10232         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10233         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
10234         Add G_UNLIKELY in type registration.
10235
10236 2006-06-12  Wim Taymans  <wim@fluendo.com>
10237
10238         * tools/gst-inspect.c: (print_signal_info):
10239         Properly print enum values.
10240
10241 2006-06-12  Wim Taymans  <wim@fluendo.com>
10242
10243         * gst/gstinfo.c: (gst_debug_set_active),
10244         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
10245         * gst/gstinfo.h:
10246         Add some G_[UN]LIKELY.
10247         Maintain __gst_debug_min to avoid formatting the arguments of
10248         debug messages that will be dropped anyway to avoid a lot of 
10249         overhead from the debugging system.
10250
10251 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10252
10253         * po/POTFILES.in:
10254         * po/POTFILES.skip:
10255           add missing files containing translatable strings, tell intltool about
10256           one exception
10257
10258 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10259
10260         * tests/check/libs/.cvsignore:
10261         add test-binary to ignore list
10262
10263 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10264
10265         * docs/libs/gstreamer-libs-docs.sgml:
10266         reorder (put dp into a chapter) and indent
10267
10268 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10269
10270         * configure.ac:
10271           back to HEAD
10272
10273 === release 0.10.8 ===
10274
10275 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
10276
10277         * configure.ac:
10278           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
10279
10280 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10281
10282         * gst/gst.c: (init_post):
10283           move pid declaration to declaration block
10284
10285 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10286
10287         * gst/gst.c: (init_post):
10288           use _exit() instead of exit() in our forked child; this ensures
10289           that none of the registered exit handlers from whatever is using
10290           GStreamer get executed.  This fixes gnome-mixer-applet failing
10291           to load, because ORBit would shut down.
10292           Spotted by: Edward Hervey  <edward@fluendo.com>
10293           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
10294           Fixes #344474
10295
10296 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10297
10298         * configure.ac:
10299           back to TRUNK
10300
10301 === release 0.10.7 ===
10302
10303 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
10304
10305         * configure.ac:
10306           releasing 0.10.7, "Soepeke, ik zie ou"
10307
10308 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10309
10310         * configure.ac:
10311         * po/af.po:
10312         * po/az.po:
10313         * po/bg.po:
10314         * po/ca.po:
10315         * po/cs.po:
10316         * po/de.po:
10317         * po/en_GB.po:
10318         * po/fr.po:
10319         * po/it.po:
10320         * po/nb.po:
10321         * po/nl.po:
10322         * po/ru.po:
10323         * po/sq.po:
10324         * po/sr.po:
10325         * po/sv.po:
10326         * po/tr.po:
10327         * po/uk.po:
10328         * po/vi.po:
10329         * po/zh_CN.po:
10330         * po/zh_TW.po:
10331         * win32/common/config.h:
10332           0.10.6.2 prerelease
10333
10334 2006-06-07  Wim Taymans  <wim@fluendo.com>
10335
10336         * gst/gstindex.c: (gst_index_gtype_resolver):
10337         * tools/gst-xmlinspect.c: (print_plugin_info):
10338         Fix leak spotted by coverity checker. Fixes #343827
10339         Fix another other leak found by paolo borelli.
10340
10341 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10342
10343         * libs/gst/dataprotocol/dataprotocol.c:
10344         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10345         (gst_dp_version_get_type), (gst_dp_init),
10346         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
10347         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
10348         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
10349         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
10350         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
10351         (gst_dp_packetizer_free):
10352         * libs/gst/dataprotocol/dataprotocol.h:
10353           API: add a GstDPPacketizer object, and create/free functions
10354           API: add GstDPVersion enum
10355           Add 1.0 event function that uses the string serialization
10356           Serialize more useful buffer flags
10357           Fixes #343988
10358
10359 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10360
10361         * tests/check/Makefile.am:
10362         * tests/check/gst/gstabi.c:
10363         * tests/check/gst/struct_ppc64.h:
10364         * tests/check/libs/libsabi.c:
10365         * tests/check/libs/struct_ppc64.h:
10366           add ppc64 structure sizes
10367
10368 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10369
10370         * tests/check/Makefile.am:
10371         * tests/check/gst/gstabi.c:
10372         * tests/check/gst/struct_x86_64.h:
10373         * tests/check/libs/libsabi.c:
10374         * tests/check/libs/struct_x86_64.h:
10375           generate and add structure size lists for x86_64
10376
10377 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10378
10379         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10380         * libs/gst/check/gstcheck.h:
10381           factor out the method from tests that checks size of structures,
10382           and add code to generate the header containing these sizes
10383         * tests/check/gst/gstabi.c: (GST_START_TEST):
10384         * tests/check/gst/struct_i386.h:
10385         * tests/check/libs/libsabi.c: (GST_START_TEST):
10386         * tests/check/libs/struct_i386.h:
10387           use it
10388
10389 2006-06-06  Michael Smith  <msmith@fluendo.com>
10390
10391         * gst/gstsegment.h:
10392           Don't use c++-style comments, fixes #343929
10393
10394 2006-06-05  Edward Hervey  <edward@fluendo.com>
10395
10396         * gst/gst.c:
10397         plugin_paths is not used if we build without registry support.
10398
10399         * gst/gstsegment.c: (gst_segment_copy): 
10400         _copy() was always returning NULL...
10401
10402 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10403
10404         * libs/gst/dataprotocol/dataprotocol.c:
10405         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10406         (gst_dp_packet_from_event):
10407           factor out CRC code
10408
10409 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10410
10411         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
10412           make sure we unset caps
10413
10414 2006-06-02  Michael Smith  <msmith@fluendo.com>
10415
10416         * libs/gst/check/gstcheck.c: (gst_check_init),
10417         (gst_check_chain_func):
10418         * libs/gst/check/gstcheck.h:
10419           Add a cond/mutex to the check support lib, signal this whenever we
10420           add to the buffers list. This will allow tests to not busy-wait on
10421           the buffer-list.
10422
10423 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10424
10425         * libs/gst/dataprotocol/dataprotocol.c:
10426         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10427         (gst_dp_packet_from_event):
10428           factor out some common header init code
10429
10430 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10431
10432         * docs/libs/gstreamer-libs-sections.txt:
10433         * docs/libs/tmpl/gstdataprotocol.sgml:
10434         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
10435         * libs/gst/dataprotocol/dataprotocol.h:
10436           API: make gst_dp_crc() public
10437
10438 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
10439
10440         * plugins/indexers/gstindexers.c: (plugin_init):
10441         conditionally register fileindexer (fixes #343598)
10442
10443 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
10444
10445         * gst/gsttagsetter.h:
10446         Can't cast ifaces to a class
10447
10448         * libs/gst/net/gstnetclientclock.h:
10449         * libs/gst/net/gstnettimeprovider.h:
10450         * plugins/elements/gstfakesink.h:
10451         * plugins/elements/gstfakesrc.h:
10452         * plugins/elements/gstfdsink.h:
10453         * plugins/elements/gstfdsrc.h:
10454         * plugins/elements/gstfilesink.h:
10455         * plugins/elements/gstfilesrc.h:
10456         * plugins/elements/gstidentity.h:
10457         * plugins/elements/gstqueue.h:
10458         * plugins/elements/gsttee.h:
10459         * plugins/indexers/gstfileindex.c:
10460         * plugins/indexers/gstmemindex.c:
10461         * tests/old/examples/plugins/example.h:
10462         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
10463
10464 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10465
10466         * libs/gst/dataprotocol/dataprotocol.c:
10467         (gst_dp_header_from_buffer):
10468           make sure we zero the whole ABI-compatible area
10469
10470 2006-06-01  Wim Taymans  <wim@fluendo.com>
10471
10472         Patch by: Alessandro Decina <alessandro at nnva dot org>
10473
10474         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
10475         Make sure the EOS flag is cleared from pads after a flush
10476         or stop. Fixes #343538.
10477
10478         * tests/check/libs/collectpads.c: (GST_START_TEST),
10479         (gst_collect_pads_suite):
10480         Added test for collectpads reusage after EOS.
10481
10482 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
10483
10484         * gst/gst.c:
10485          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
10486         * win32/common/libgstbase.def:
10487          export gst_collect_pads_set_flushing
10488         * win32/common/libgstreamer.def:
10489          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
10490          gst_value_fraction_multiply
10491         * win32/vs6/gst_inspect.dsp:
10492          add a link to intl.lib
10493
10494 2006-05-30  Wim Taymans  <wim@fluendo.com>
10495
10496         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10497         (gst_collect_pads_chain):
10498         Handle the case where a pad is removed from the collection
10499         that could cause the other pads to become collectable.
10500
10501 2006-05-30  Wim Taymans  <wim@fluendo.com>
10502
10503         * gst/gstelement.c:
10504         Clarify the use of _release_request_pad() and
10505         _get_request_pad() a bit better.
10506
10507         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
10508         (gst_adapter_take_buffer):
10509         Fix some doc and comment typos.
10510
10511 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10512
10513         * docs/gst/gstreamer-sections.txt:
10514         * docs/libs/gstreamer-libs-sections.txt:
10515           add declared symbols
10516
10517 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
10518
10519         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10520         Add debug that can be enabled using a #define at the top of the file,
10521         for dumping stats about how late/early we were when waking up from
10522         waiting on the clock.
10523
10524 2006-05-30  Wim Taymans  <wim@fluendo.com>
10525
10526         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
10527         When rebuilding the pad list, don't leak the previous list.
10528
10529 2006-05-30  Wim Taymans  <wim@fluendo.com>
10530
10531         Patch by: Lutz Mueller <lutz at topfrose dot de>
10532
10533         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10534         (gst_base_src_get_query_types), (gst_base_src_update_length):
10535         Publish supported query types.
10536         Update last_stop field in get_range mode so the position
10537         query works. Fixes #342321.
10538
10539 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
10540
10541         * docs/gst/gstreamer-sections.txt:
10542         * gst/gsttaglist.c: (_gst_tag_initialize):
10543         * gst/gsttaglist.h:
10544           API: add GST_TAG_PREVIEW_IMAGE (#343341).
10545
10546 2006-05-30  Wim Taymans  <wim@fluendo.com>
10547
10548         Patch by: Alessandro Decina <alessandro at nnva dot org>
10549
10550         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10551         Unlock mutex when removing an unknown pad.
10552         Fixes #343334.
10553
10554         * tests/check/Makefile.am:
10555         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
10556         (push_event), (setup), (teardown), (GST_START_TEST),
10557         (gst_collect_pads_suite), (main):
10558         Added collecpads check, disabled for now as check crashes for
10559         some reason.
10560
10561 2006-05-29  Wim Taymans  <wim@fluendo.com>
10562
10563         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
10564         Don't leak pads lists.
10565
10566 2006-05-29  Wim Taymans  <wim@fluendo.com>
10567
10568         * docs/libs/gstreamer-libs-sections.txt:
10569         * libs/gst/base/gstcollectpads.c:
10570         (gst_collect_pads_set_flushing_unlocked),
10571         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10572         (gst_collect_pads_stop):
10573         * libs/gst/base/gstcollectpads.h:
10574         API: gst_collect_pads_set_flushing()
10575         Added api to set the pads to flushing, useful for seeking
10576         code in elements using collectpads.
10577         Clear segment when receiving a flush.
10578
10579 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
10580
10581         * gst/gst.c: (add_path_func), (init_post):
10582           Don't scan registry paths passed via --gst-plugin-path immediately
10583           (will crash, because absolutely nothing is set up and no types are
10584           registered etc.); do this later in init_post(). Fixes #343057.
10585
10586 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10587
10588         * gst/gst.c: (init_post):
10589           if we have fork, fork while reading/rebuilding the registry
10590           so the parent doesn't take the hit of having all plugins loaded
10591           in memory.  Fixes #342777.
10592         * configure.ac:
10593           Check if we have fork()
10594         * win32/common/config.h.in:
10595           no fork() on win32
10596
10597 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
10598
10599         * plugins/elements/gstelements.c:
10600         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10601         (gst_file_src_init), (gst_file_src_set_property),
10602         (gst_file_src_get_property), (gst_file_src_start):
10603         * plugins/elements/gstfilesrc.h:
10604           API: GstFileSrc::use-mmap
10605
10606         Add a use-mmap property to enable easier testing of all code paths.
10607         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
10608         in the absence of gnomevfssrc. (Closes #340501)
10609
10610 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10611
10612         * tools/gst-inspect.c:
10613         Add missing include, removes warning of ngettext not being defined on
10614         some arches.
10615
10616 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
10617
10618         * gst/gstvalue.c: (gst_value_deserialize_fraction):
10619         Handle NULL input and output pointers silently as a failed conversion,
10620         rather than g_warnings.
10621
10622 2006-05-25  Wim Taymans  <wim@fluendo.com>
10623
10624         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
10625         Initialize variable before using. Fixes #342820.
10626
10627 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
10628
10629         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
10630           Fix off-by-one bug that would only allow peeks of N-1 bytes
10631           from the start even if the buffer to typefind on contains
10632           in fact N bytes of data (makes vorbis typefinding from a
10633           vorbis identification header buffer work).
10634
10635         * tests/check/Makefile.am:
10636         * tests/check/libs/.cvsignore:
10637         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
10638         (gst_typefindhelper_suite), (main), (foobar_typefind),
10639         (plugin_init):
10640           Add very basic unit test for gst_type_find_helper_for_buffer()
10641           that checks for the problem fixed above.
10642
10643 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10644
10645         * tools/gst-inspect.c: (print_interfaces),
10646         (print_element_properties_info), (print_element_list), (main):
10647           add more translatable strings
10648
10649 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
10650
10651         Patch by: Julien Moutte  <julien at moutte net>
10652
10653         * docs/gst/gstreamer-sections.txt:
10654           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
10655           
10656         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
10657         (gst_fake_sink_preroll):
10658         * plugins/elements/gstfakesink.h:
10659           API: Add new GstFakeSink::preroll-handoff signal (#337100).
10660
10661 2006-05-23  Wim Taymans  <wim@fluendo.com>
10662
10663         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
10664         * gst/gstpad.h:
10665         Added _CUSTOM error and success GstFlowReturn that can be
10666         used be elements internally. 
10667         Added macro to check for SUCCESS flowreturns.
10668         API: GST_FLOW_CUSTOM_SUCCESS
10669         API: GST_FLOW_CUSTOM_ERROR
10670         API: GST_FLOW_IS_SUCCESS
10671
10672         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
10673         Added check for GstFlowReturn sanity.
10674
10675 2006-05-23  Wim Taymans  <wim@fluendo.com>
10676
10677         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10678
10679         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10680         (gst_collect_pads_event):
10681         clear/reset segment info in FLUSH_STOP.
10682         Fixes #336929.
10683
10684 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
10685
10686         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
10687         (gst_collect_pads_check_collected):
10688         Flush queued buffer on _stop(), fixes playing again (#342454)
10689
10690 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10691
10692         * tests/check/gst/gststructure.c: (GST_START_TEST),
10693         (gst_structure_suite):
10694           add a test for a complete structure
10695
10696 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
10697
10698         * docs/faq/developing.xml:
10699         * docs/faq/faq.xml:
10700         * docs/faq/troubleshooting.xml:
10701         * docs/faq/using.xml:
10702           Some minor FAQ updates that won't change the fact that
10703           our FAQ is badly structured, full of information hardly
10704           anyone new to GStreamer needs to know and lacking lots
10705           of information people constantly ask for.
10706           
10707 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
10708
10709         * gst/gstpad.c: (gst_pad_set_caps):
10710           Short-circuit gst_pad_set_caps if setting the existing
10711           caps pointer again, and avoid printing debug and 
10712           reffing/unreffing the caps.
10713
10714         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10715           There's actually no need to set the caps before pushing -
10716           the acceptcaps method will handle it anyway.
10717
10718 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
10719
10720         * docs/gst/gstreamer-sections.txt:
10721         * win32/common/libgstreamer.def:
10722         * gst/gstutils.c: (gst_element_seek_simple):
10723         * gst/gstutils.h:
10724           API: add gst_element_seek_simple() (#342238).
10725
10726 2006-05-18  Edward Hervey  <edward@fluendo.com>
10727
10728         * gst/gsttypefind.c: (gst_type_find_get_type):
10729         * gst/gsttypefind.h:
10730         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
10731         registered for GstTypeFind pointers. This allows wrapping the structure
10732         in bindings (i.e. gst-python).
10733
10734 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
10735
10736         * gst/gsttagsetter.c:
10737           Docs additions and fixes (see #339918).
10738
10739 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10740
10741         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10742         The caps intersection algorithm can produce multiple copies of the
10743         caps. Until that is fixed, we need to simplify the result to be
10744         sure whether the allowed caps are fixed or not.
10745
10746         * plugins/elements/gstqueue.c: (gst_queue_init),
10747         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
10748         (gst_queue_push_one):
10749         Proxied buffer alloc should not set the caps on the source pad.
10750         When pushing buffers, we always accept the caps change that triggers.
10751         This prevents negotiation errors caused by caps changing mid-stream 
10752         and then being refused on our source pad (because upstream is now
10753         refusing those caps).
10754
10755 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
10756
10757         * tests/examples/helloworld/helloworld.c: (main):
10758           Must plug audioconvert and audioresample between decoder
10759           and audio sink.
10760
10761 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
10762
10763         * gst/gstregistryxml.c: (read_string), (load_pad_template),
10764         (load_feature), (load_plugin):
10765         Allow empty strings for some of the plugin fields so we don't 
10766         drop valid plugin entries that were written out correctly
10767         (Fixes #341479)
10768
10769 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
10770         
10771         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10772           Use g_remove and g_rename instead of remove and rename that don't 
10773           handle utf8 characters. rename was failing for users who had specific
10774           characters in their name then the registry was built at each 
10775           gstreamer init.
10776         * win32/vs6/gst_inspect.dsp:
10777         * win32/vs6/gst_launch.dsp:
10778         * win32/vs6/libgstbase.dsp:
10779         * win32/vs6/libgstcoreelements.dsp:
10780         * win32/vs6/libgstreamer.dsp:
10781           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
10782           build of libgstreamer and clean unused libraries in projects link 
10783           settings.
10784
10785 2006-05-17  Edward Hervey  <edward@fluendo.com>
10786
10787         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10788         The queue is not responsible for pushing an EOS when receiving a fatal
10789         flow error. It's up to the real element driving the pipeline to do that.
10790
10791 2006-05-16  Edward Hervey  <edward@fluendo.com>
10792
10793         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10794         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
10795         buffer returned a fatal error. It should just send an EOS and stop
10796         its task.
10797         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
10798         when pushing buffers on the queue and will be able to handle the event.
10799
10800 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
10801
10802         * docs/manual/basics-bins.xml:
10803         * docs/manual/basics-init.xml:
10804           Fix typos and minor errors in sample code (#341856).
10805
10806 2006-05-16  Wim Taymans  <wim@fluendo.com>
10807
10808         * docs/design/part-qos.txt:
10809         Fix indexes in formulas to make more sense.
10810
10811 2006-05-15  Wim Taymans  <wim@fluendo.com>
10812
10813         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10814         Don't report POSITION based on clock time if sync is
10815         disabled in a sink.
10816
10817 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
10818
10819         * gst/gstobject.h:
10820           Add cast to make compiler happy - refcount variable was a gint
10821           in GstObject but is a guint in GObject and g_atomic_int_get()
10822           wants a gint *.
10823
10824 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10825
10826         * gst/parse/Makefile.am:
10827           chain commands using &&, which also makes parallel make work
10828
10829 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
10830
10831         * docs/gst/gstreamer-sections.txt:
10832         * gst/gstevent.c:
10833         * gst/gstevent.h:
10834         * gst/gstmessage.h:
10835           Minor docs fixes.
10836
10837 === release 0.10.6 ===
10838
10839 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
10840
10841         * configure.ac:
10842           releasing 0.10.6, "Take the cannoli"
10843
10844 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10845
10846         * tools/gst-launch.c: (print_tag):
10847           Fix use of uninitialized variable in the hypothetical
10848           case that some broken plugin creates a GST_TAG_IMAGE
10849           tag containing a NULL buffer (#341667).
10850
10851 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10852
10853         * tools/gst-launch.c: (print_tag):
10854           Print something more intelligible for image tags when
10855           using the -t switch (#341556).
10856
10857 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10858
10859         * Makefile.am:
10860           updates for win32
10861         * configure.ac:
10862           define GST_MAJORMINOR so we have it available in win32/common/config.h
10863           Possibly remove it from our Makefile.am files later
10864         * win32/common/config.h:
10865         * win32/common/config.h.in:
10866           added GST_MAJORMINOR
10867         * win32/common/gstenumtypes.c: (register_gst_resource_error):
10868         * win32/common/gstversion.h:
10869           updated
10870
10871 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
10872
10873         * win32/MANIFEST:
10874           Update win32 files listing.
10875         * win32/common/gstversion.h:
10876           Add GST_MAJORMINOR definition.
10877         * win32/common/libgstreamer.def:
10878           Add new exported functions.
10879           
10880 2006-05-12  Michael Smith  <msmith@fluendo.com>
10881
10882         * gst/gstplugin.c: (gst_plugin_load_file):
10883           If an so file has no plugin entry point, unload the module.
10884
10885 2006-05-11  Wim Taymans  <wim@fluendo.com>
10886
10887         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
10888         (gst_queue_set_property):
10889         Don't forget to signal the _chain or _loop function 
10890         when the queue size or thresholds change since that might
10891         cause them to make progres again.
10892
10893 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
10894
10895         * gst/gstclock.c: (gst_clock_class_init):
10896         * gst/gstindex.c: (gst_index_class_init):
10897         * gst/gstobject.c: (gst_object_class_init):
10898         * gst/gstpad.c: (gst_pad_class_init):
10899         * gst/gstpipeline.c: (gst_pipeline_class_init):
10900         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10901         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
10902         * libs/gst/base/gstbasetransform.c:
10903         (gst_base_transform_class_init):
10904         * libs/gst/net/gstnetclientclock.c:
10905         (gst_net_client_clock_class_init):
10906         * libs/gst/net/gstnettimeprovider.c:
10907         (gst_net_time_provider_class_init):
10908         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
10909         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10910         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10911         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
10912         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10913         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
10914         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
10915         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10916         * plugins/elements/gsttee.c: (gst_tee_class_init):
10917         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10918         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10919           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
10920
10921 2006-05-11  Wim Taymans  <wim@fluendo.com>
10922
10923         * gst/gstbuffer.c: (_gst_buffer_initialize):
10924         Register subbufer along with the buffer type so that
10925         it does not accidentally gets registered from N
10926         different streaming threads in a non threadsafe way.
10927
10928 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
10929
10930         * gst/gstbuffer.h:
10931         * gst/gstevent.h:
10932         * gst/gstmessage.h:
10933           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
10934           gst_event_ref() and gst_message_ref() functions again
10935           (ugly hack, please do fix if there's a better way besides
10936           overrides.txt, which doesn't seem to work).
10937
10938 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10939
10940         * libs/gst/check/gstcheck.h:
10941           add an assert for setting state to avoid lots of repetitive code
10942           in the future
10943
10944 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10945
10946         * gst/gstvalue.c: (gst_value_serialize_flags):
10947           fix a leak if no flags are set
10948         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10949           fix leak in tests
10950
10951 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
10952
10953         * docs/manual/basics-pads.xml:
10954           Expand a bit on caps and filtered links and update
10955           examples that were still using the no longer existing
10956           gst_pad_link_filtered() (#338206).
10957
10958 2006-05-10  Wim Taymans  <wim@fluendo.com>
10959
10960         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10961         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10962         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10963         (gst_collect_pads_stop):
10964         * libs/gst/base/gstcollectpads.h:
10965         No need to call _stop in _finalize.
10966         Iterate the main pad list in _finalize.
10967         Added some more debug.
10968         Free lists and data in the right order.
10969         Also free data whem doing _remove_pad when stopped for
10970         backward compatibility protect ::started with PAD_LOCK as
10971         well.
10972
10973 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10974
10975         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
10976         (gst_structure_parse_value):
10977           add some comments
10978           rename a method so that it actually says what it does better
10979
10980 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10981
10982         * gst/gstevent.c: (_gst_event_initialize):
10983         * gst/gstformat.c: (_gst_format_initialize):
10984           make sure some essential types used by events are registered
10985           as part of gst_init()
10986         * gst/gstvalue.c: (gst_value_serialize_flags):
10987           if no flags are set, serialize them to a value that represents NONE
10988           so that deserializing them works
10989         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10990           add tests for serialization and deserialization of flags
10991
10992 2006-05-10  Wim Taymans  <wim@fluendo.com>
10993
10994         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
10995         (gst_collect_pads_collect_range), (gst_collect_pads_available),
10996         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
10997         (gst_collect_pads_event), (gst_collect_pads_chain):
10998         Update docs.
10999         Better debug info.
11000         Catch and return errors from the collect function
11001         Refuse data on eos pads.
11002
11003 2006-05-10  Edward Hervey  <edward@fluendo.com>
11004
11005         * gst/gstinterface.h:
11006         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
11007         GInterface type checking.
11008         They were previously using non-defined macros.
11009
11010 2006-05-09  Wim Taymans  <wim@fluendo.com>
11011
11012         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
11013         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
11014         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
11015         (gst_collect_pads_start), (gst_collect_pads_stop),
11016         (gst_collect_pads_peek), (gst_collect_pads_pop),
11017         (gst_collect_pads_available), (gst_collect_pads_read),
11018         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
11019         (gst_collect_pads_is_collected), (gst_collect_pads_event),
11020         (gst_collect_pads_chain):
11021         * libs/gst/base/gstcollectpads.h:
11022         Clean up the mess that is collectpads, add comments and
11023         FIXMEs where needed.
11024         Maintain a separate pad list so we can add pads while
11025         collecting the other ones. For this we need a new separate 
11026         lock (see comics).
11027         Fix memory leak in finalize.
11028         Refactor some weird code to set/unset pad flushing flags, mark
11029         with comments.
11030         Don't crash in _available, _read, _flush when we're EOS.
11031
11032         * tests/check/libs/.cvsignore:
11033         Ignore adapter check binary.
11034
11035 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11036
11037         * gst/gstindex.c: (gst_index_resolver_get_type):
11038         * plugins/elements/gstfakesink.c:
11039         (gst_fake_sink_state_error_get_type):
11040         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11041         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
11042         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11043           Const-ify GEnumValue arrays.
11044
11045 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11046
11047         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11048           Add test case for flags + gst_buffer_make_metadata_writable().
11049
11050 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11051
11052         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
11053           gst_buffer_make_metadata_writable() should maintain the
11054           buffer flags (those that make sense at least) (see #340859).
11055
11056 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11057
11058         * tools/gst-inspect.c:
11059         * tools/gst-launch.c:
11060         * tools/gst-typefind.c:
11061         * tools/gst-xmlinspect.c:
11062         * tools/tools.h:
11063           Fix up includes: need to include stdlib.h in tools.h for exit().
11064
11065 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11066
11067         * gst/gsttaglist.c: (_gst_tag_initialize):
11068         * gst/gsttaglist.h:
11069           API: add GST_TAG_IMAGE tag (#340721).
11070
11071 2006-05-08  Wim Taymans  <wim@fluendo.com>
11072
11073         * gst/gstquery.c:
11074         Added some docs for the segment query.
11075
11076 2006-05-08  Wim Taymans  <wim@fluendo.com>
11077
11078         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11079         (gst_base_src_loop), (gst_base_src_change_state):
11080         Always push non-flushing serialized events in the streaming 
11081         thread.
11082
11083 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11084
11085         * gst/gsterror.c: (_gst_stream_errors_init):
11086           Add a missing error string.
11087
11088 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
11089
11090         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
11091         Add applied_rate to the debug
11092
11093         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11094         Copy applied_rate into the outgoing NEWSEGMENT event
11095
11096 2006-05-08  Wim Taymans  <wim@fluendo.com>
11097
11098         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
11099
11100         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
11101         (gst_base_sink_change_state):
11102         call ::unlock before taking the PREROLL_LOCK so we can safely
11103         handle elements that lock in ::render.
11104         Fixes #340174.
11105
11106 2006-05-08  Edward Hervey  <edward@fluendo.com>
11107
11108         * autogen.sh: (CONFIGURE_DEF_OPT): 
11109         Darwin's libtoolize is in fact called glibtoolize.
11110         Adding glibtoolize to the list of accepted names for libtoolize.
11111
11112 2006-05-08  Wim Taymans  <wim@fluendo.com>
11113
11114         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11115         Unify error handling, don't post an error message
11116         when a push() returns EOS but perform our normal EOS
11117         handling code. Fixes #340772.
11118
11119 2006-05-08  Wim Taymans  <wim@fluendo.com>
11120
11121         * docs/design/part-overview.txt:
11122         Make upsteam/downstream concepts more clear.
11123         Give an example of serialized/non-serialized events.
11124
11125         * docs/design/part-events.txt:
11126         * docs/design/part-streams.txt:
11127         Mention applied_rate.
11128
11129         * docs/design/part-trickmodes.txt:
11130         Mention applied rate, flesh out some more use cases.
11131
11132         * gst/gstevent.c: (gst_event_new_new_segment),
11133         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
11134         (gst_event_parse_new_segment_full), (gst_event_new_tag),
11135         (gst_event_parse_tag), (gst_event_new_buffer_size),
11136         (gst_event_parse_buffer_size), (gst_event_new_qos),
11137         (gst_event_parse_qos), (gst_event_parse_seek),
11138         (gst_event_new_navigation):
11139         * gst/gstevent.h:
11140         Add applied_rate field to NEWSEGMENT event.
11141         API: gst_event_new_new_segment_full()
11142         API: gst_event_parse_new_segment_full()
11143
11144         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
11145         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
11146         (gst_segment_to_stream_time), (gst_segment_to_running_time):
11147         * gst/gstsegment.h:
11148         Add applied_rate to GstSegment structure.
11149         Make calculation of stream_time and running_time more correct
11150         wrt rate/applied_rate.
11151         Add some more docs.
11152         API: GstSegment::applied_rate field
11153         API: gst_segment_set_newsegment_full();
11154
11155         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11156         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
11157         * libs/gst/base/gstbasetransform.c:
11158         (gst_base_transform_sink_eventfunc),
11159         (gst_base_transform_handle_buffer):
11160         Parse and use applied_rate in the GstSegment field.
11161
11162         * tests/check/gst/gstevent.c: (GST_START_TEST):
11163         Add check for applied_rate field.
11164
11165         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11166         (gstsegments_suite):
11167         Add more checks for various GstSegment operations.
11168
11169 2006-05-08  Wim Taymans  <wim@fluendo.com>
11170
11171         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11172         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
11173         (gst_base_sink_get_position), (gst_base_sink_change_state):
11174         Store the sync time of the buffer end position separatly in a
11175         new variable eos_rtime so we can properly sync the EOS event.
11176         Fixes #340697.
11177         Fix the docs for gst_base_sink_set_qos_enabled().
11178         Don't set segment start to invalid value when we receive a 
11179         non TIME newsegment.
11180         get closer to handling position reporting for negative rates 
11181         correctly.
11182
11183 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
11184
11185         * gst/gstcaps.c:
11186         Docs about how to print caps for debug purposes.
11187
11188         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
11189         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
11190
11191 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
11192
11193         * gst/gstelement.c:
11194           use full enum names and preprend a '%' in docs strings to make recent 
11195           gtk-doc turn that into a link
11196
11197 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11198
11199         * docs/manual/basics-bins.xml:
11200         * docs/manual/basics-bus.xml:
11201         * docs/manual/basics-pads.xml:
11202           Some typo fixes, some additions, some clarifications. 
11203
11204 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11205
11206         * tools/gst-inspect.c: (main):
11207         * tools/gst-launch.c: (main):
11208         * tools/gst-run.c: (main):
11209         * tools/gst-typefind.c: (main):
11210         * tools/gst-xmlinspect.c: (main):
11211           Use the string passed to g_option_context_new() for
11212           what it's intended for - the program name is already
11213           printed elsewhere.
11214
11215 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11216
11217         * tools/Makefile.am:
11218         * tools/gst-inspect.c: (main):
11219         * tools/gst-launch.c: (main):
11220         * tools/gst-xmlinspect.c: (main):
11221         * tools/tools.h:
11222           Add back --version command line option (#340460).
11223
11224         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
11225           Add --version option and use GOption for argument parsing; refactor a
11226           bit; accept directories as arguments and recurse into them; lastly,
11227           print a decent error message when things go wrong.
11228
11229 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11230
11231         * docs/manual/basics-bins.xml:
11232         Don't mention GstThread (#340611)
11233         * docs/manual/basics-elements.xml:
11234         Update link to GObject tutorial (#340607)
11235         
11236 2006-05-05  Wim Taymans  <wim@fluendo.com>
11237
11238         * gst/gstbuffer.h:
11239         * gst/gstminiobject.c:
11240         Add note about refcounting and miniobject/buffer writeability
11241         to docs. Fixes #340604
11242
11243         * gst/gstelementfactory.h:
11244         Added some explanation about @klass.
11245
11246 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11247
11248         * docs/manual/intro-motivation.xml:
11249         * docs/manual/manual.xml:
11250         Avoid CORBA & Bonobo references (#340598)
11251
11252 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11253
11254         * docs/manual/basics-bus.xml:
11255         * docs/manual/basics-pads.xml:
11256         Fix up some inaccuracies and omissions (#340609)
11257         
11258 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11259
11260         * gst/gstghostpad.c:
11261           Small typo in docs (#340625)
11262
11263 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11264
11265         * gst/parse/Makefile.am:
11266           Make 'make -j' proof (see #340698).
11267
11268 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11269
11270         * configure.ac:
11271           Require GLib-2.8 here as well.
11272
11273 2006-05-05  Wim Taymans  <wim@fluendo.com>
11274
11275         * gst/glib-compat.c:
11276         * gst/gst.c: (init_pre):
11277         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11278         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
11279         (gst_object_dispatch_properties_changed):
11280         * gst/gstobject.h:
11281         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11282         * gst/gststructure.c: (gst_structure_set_valist):
11283         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11284         Remove pre glib2.8 compatibility, fixes #340508
11285
11286 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
11287
11288         * gst/gsttaglist.h:
11289           Mention type of tags in doc blurbs.
11290
11291 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
11292
11293         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11294         (gst_pad_configure_src), (gst_pad_push):
11295         Restore acceptcaps checking behaviour now that good plugins have
11296         been released.
11297
11298 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
11299
11300         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
11301
11302         * gst/gst.c:
11303         * gst/gstbus.c:
11304         * gst/gstclock.c:
11305         * gst/gstevent.c:
11306         * gst/gstformat.c:
11307         * gst/gstmessage.c:
11308         * gst/gstparse.c:
11309         * gst/gstquery.c:
11310         * gst/gstutils.c:
11311         * gst/parse/Makefile.am:
11312         * libs/gst/base/gstadapter.c:
11313         * libs/gst/base/gstbasesrc.c:
11314         * libs/gst/base/gstpushsrc.c:
11315         * libs/gst/base/gsttypefindhelper.c:
11316         * plugins/elements/gstfakesrc.c:
11317         * plugins/elements/gstidentity.c:
11318           Make sure gstprivate.h and/or config.h are
11319           always included first, otherwise some of our
11320           defines (like _FILE_OFFSET_BITS) might be
11321           redefined in the system headers. Fixes build
11322           on opensolaris (#340016).
11323
11324 2006-05-04  Wim Taymans  <wim@fluendo.com>
11325
11326         * docs/libs/gstreamer-libs-sections.txt:
11327         API: addition: gst_adapter_take_buffer()
11328         
11329         * libs/gst/base/gstadapter.c: (gst_adapter_push),
11330         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
11331         (gst_adapter_available_fast):
11332         * libs/gst/base/gstadapter.h:
11333         Prepare for optimizing the hell out of this hugely inefficient
11334         piece of code. 
11335         Added gst_adapter_take_buffer() so we can at least start thinking
11336         about subbuffering and merging.
11337         Added some comments.
11338
11339         * tests/check/Makefile.am:
11340         * tests/check/libs/adapter.c: (GST_START_TEST),
11341         (gst_adapter_suite), (main):
11342         Added GstAdapter check.
11343
11344 2006-05-04  Wim Taymans  <wim@fluendo.com>
11345
11346         * docs/design/part-overview.txt:
11347         Fix some typos, add blurb about buffer flags.
11348
11349 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11350
11351         * docs/libs/gstreamer-libs-sections.txt:
11352           make sure GstBaseTransformClass shows up in the docs
11353         * libs/gst/base/gstbasetransform.c:
11354         * libs/gst/base/gstbasetransform.h:
11355           move docs so gtk-doc picks it up now
11356
11357 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
11358
11359         * docs/libs/gstreamer-libs-sections.txt:
11360           add missing symbols to docs
11361
11362 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
11363
11364         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11365           back out the newsegment handling change, see #340060 for ongoing
11366           discussion
11367
11368 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
11369
11370         * tools/gst-run.c: (get_candidates), (main):
11371           Fix wrong g_file_test() usage (see glib docs for why it doesn't
11372           work); fix typo in error message. Fixes #340079.
11373
11374 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11375
11376         * common/Makefile.am:
11377         * docs/Makefile.am:
11378         * docs/faq/Makefile.am:
11379         * docs/gst/Makefile.am:
11380         * docs/libs/Makefile.am:
11381         * docs/manual/Makefile.am:
11382         * docs/plugins/Makefile.am:
11383         * docs/pwg/Makefile.am:
11384         * docs/slides/Makefile.am:
11385         * docs/upload.mak:
11386         * common/upload.mak:
11387           move upload.mak to common
11388
11389 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11390
11391         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11392           add more asserts on refcounts
11393           do more cleanup at end of tests
11394           fix test leaks showing in FC5
11395
11396 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
11397
11398         * plugins/elements/gsttypefindelement.c:
11399         (gst_type_find_element_handle_event):
11400         reverted wrong change and reflowed code to avoid others falling into
11401         this trap
11402
11403 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11404
11405         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11406           fix changelog entry about last collectpads change,
11407           add notes about proper fix
11408
11409 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11410
11411         * gst/gst.c:
11412         * gst/gstregistry.c: (gst_registry_scan_path_level),
11413         (gst_registry_scan_path):
11414         * gst/gstregistry.h:
11415           only write out registry if it has changed, fixes #338339
11416
11417 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11418
11419         * gst/gstbin.c:
11420         * gst/gstpipeline.c:
11421         * plugins/elements/gstcapsfilter.c:
11422         * plugins/elements/gstfakesink.c:
11423         * plugins/elements/gstfakesrc.c:
11424         * plugins/elements/gstfdsink.c:
11425         * plugins/elements/gstfdsrc.c:
11426         * plugins/elements/gstfilesink.c:
11427         * plugins/elements/gstfilesrc.c:
11428         * plugins/elements/gstidentity.c:
11429         * plugins/elements/gstqueue.c:
11430         * plugins/elements/gsttee.c:
11431         * plugins/elements/gsttypefindelement.c:
11432         (gst_type_find_element_handle_event):
11433           make GstElementDetails const
11434
11435 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11436
11437         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
11438         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11439         (gst_collect_pads_is_collected), (gst_collect_pads_event):
11440           more detailed debug and formatting cleanup,
11441           forward newsegments to src-pad (so that e.g. adder not eats them)
11442
11443 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11444
11445         * gst/gstutils.c: (gst_element_link_pads):
11446           cleanup double code
11447
11448 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11449
11450         * libs/gst/controller/gstcontroller.c:
11451         (gst_controller_sync_values):
11452           some little tuning
11453         * tests/check/libs/controller.c: (GST_START_TEST),
11454         (gst_controller_suite):
11455           a new test for live value handling
11456
11457 2006-04-28  Wim Taymans  <wim@fluendo.com>
11458
11459         * gst/gstutils.c: (push_and_ref):
11460         Added some more docs.
11461         Fix refcount issue whith gst_element_found_tags() helper 
11462         function. Fixes #338335
11463
11464         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11465         Added testsuite for gst_element_found_tags().
11466
11467 2006-04-28  Michael Smith  <msmith@fluendo.com>
11468
11469         * gst/gstvalue.c: (gst_value_serialize_flags):
11470           Avoid NULL dereference when trying to serialize flags containing
11471           invalid values.
11472
11473 2006-04-28  Michael Smith  <msmith@fluendo.com>
11474
11475         * plugins/elements/gsttypefindelement.c:
11476         (gst_type_find_element_handle_event):
11477           If we get EOS before any data is accumulated, don't use
11478           uninitialised local variables.
11479
11480 2006-04-28  Michael Smith  <msmith@fluendo.com>
11481
11482         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11483         (gst_dp_event_from_packet):
11484           Fixes in reading/writing events over GDP (not currently used?) - 
11485           dereferencing NULL events for unknown/invalid event types, memory
11486           leak, and change g_warning to GST_WARNING.
11487
11488 2006-04-28  Wim Taymans  <wim@fluendo.com>
11489
11490         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
11491         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11492         (gst_base_sink_get_position), (gst_base_sink_change_state):
11493         When frame dropping is enabled, we should not ignore frames
11494         without a duration.
11495         Update some documentation.
11496
11497 2006-04-28  Wim Taymans  <wim@fluendo.com>
11498
11499         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11500         (gst_base_src_send_event), (gst_base_src_change_state):
11501         Documentation updates.
11502
11503 2006-04-28  Wim Taymans  <wim@fluendo.com>
11504
11505         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
11506         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
11507         handle EAGAIN, EINTR and short writes correctly. Also clean
11508         up some error cases, avoid a deadlock on bad file descriptors and
11509         use GST_DEBUG_OBJECT.
11510         Fixes #339843
11511
11512 2006-04-28  Wim Taymans  <wim@fluendo.com>
11513
11514         * gst/gstvalue.c: (gst_value_serialize_buffer),
11515         (gst_value_deserialize_buffer):
11516         Don't try to serialize a GValue with a NULL buffer. 
11517         Fixes #339821.
11518
11519         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11520         Added check for serialisation of NULL buffers.
11521
11522 2006-04-28  Wim Taymans  <wim@fluendo.com>
11523
11524         * gst/gstminiobject.c: (gst_value_take_mini_object):
11525         Taking a NULL miniobject is valid, fix the case where
11526         we try to unref the NULL miniobject.
11527
11528 2006-04-28  Wim Taymans  <wim@fluendo.com>
11529
11530         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
11531
11532         * gst/gstbin.c: (gst_bin_handle_message_func):
11533         Update docs.
11534         Don't leak bin refcount when a state recalc is
11535         in progress and we delay another one #339808.
11536
11537 2006-04-28  Wim Taymans  <wim@fluendo.com>
11538
11539         * docs/design/part-TODO.txt:
11540         Mention QoS as an ongoing work item.
11541
11542         * docs/design/part-buffering.txt:
11543         New doc about buffering that needs to be fleshed out
11544         at some point.
11545
11546         * docs/design/part-qos.txt:
11547         More QoS policy for decoders/demuxers/transforms
11548
11549         * docs/design/part-trickmodes.txt:
11550         Small update.
11551
11552 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11553
11554         * configure.ac:
11555           back to HEAD
11556
11557 === release 0.10.5 ===
11558
11559 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
11560
11561         * configure.ac:
11562           releasing 0.10.5, "Fogo"
11563
11564 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11565
11566         patch by: Wim Taymans
11567
11568         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11569         (gst_pad_configure_src), (gst_pad_push):
11570         * gst/gstpipeline.c: (gst_pipeline_init):
11571           Fix internal data flow errors.  Fixes #338711.
11572
11573 2006-04-12  Wim Taymans  <wim@fluendo.com>
11574
11575         * tests/check/gst/gstelement.c: (GST_START_TEST):
11576         Don't leak the factory.
11577
11578 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11579
11580         * configure.ac:
11581         * win32/common/config.h:
11582           prerelease
11583
11584 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
11585
11586         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11587         (gst_controller_unset_all):
11588           Free allocated GstTimedValues when freeing list nodes.
11589           Should fix leaks 'make check-valgrind' complains about.
11590
11591         * win32/common/libgstcontroller.def:
11592           Add gst_controller_unset_all.
11593
11594 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
11595
11596         * docs/libs/gstreamer-libs-sections.txt:
11597         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11598         (gst_controller_unset_all):
11599         * libs/gst/controller/gstcontroller.h:
11600         API: Added new method gst_controller_unset_all()
11601         fixed gst_controller_unset()
11602         * tests/check/libs/controller.c: (GST_START_TEST),
11603         (gst_controller_suite):
11604         Added two testcases for new and fixed method
11605
11606 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
11607
11608         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11609           MSG_DONTWAIT is not defined on Cygwin, so work
11610           around that (fixes #317048).
11611           
11612 2006-04-11  Wim Taymans  <wim@fluendo.com>
11613
11614         * gst/gstelementfactory.c: (gst_element_register),
11615         (gst_element_factory_create), (gst_element_factory_make):
11616         Some cleanups.
11617         Fixed a FIXME.
11618         Updated docs (Fixes #131079)
11619
11620         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11621         Small cleanups.
11622
11623         * tests/check/gst/gstelement.c: (GST_START_TEST),
11624         (gst_element_suite):
11625         Added testcase for elementfactory class field.
11626
11627 2006-04-10  Wim Taymans  <wim@fluendo.com>
11628
11629         * gst/gstsegment.c:
11630         Added some more docs.
11631
11632         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
11633         (gst_base_sink_reset_qos):
11634         Calculate more accurate rate values.
11635
11636 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
11637
11638         * gst/gst_private.h:
11639           add a new #ifdef to use __declspec(dllimport) only for
11640           other modules and not for gstreamer core
11641         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
11642           use gst_guint64_to_gdouble for conversion
11643         * win32/common/libgstreamer.def:
11644           add new exported functions
11645         * win32/vs6/gst_inspect.dsp:
11646         * win32/vs6/gst_launch.dsp:
11647         * win32/vs6/libgstbase.dsp:
11648         * win32/vs6/libgstcontroller.dsp:
11649         * win32/vs6/libgstcoreelements.dsp:
11650         * win32/vs6/libgstdataprotocol.dsp:
11651         * win32/vs6/libgstnet.dsp:
11652           update project files
11653
11654 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
11655
11656         * gst/gstbuffer.c: (gst_subbuffer_class_init):
11657         * gst/gstclock.c: (gst_clock_class_init):
11658         * gst/gstelement.c: (gst_element_class_init):
11659         * gst/gstindex.c: (gst_index_class_init):
11660         * gst/gstindexfactory.c: (gst_index_factory_class_init):
11661         * gst/gstobject.c: (gst_object_class_init),
11662         (gst_signal_object_class_init):
11663         * gst/gstpad.c: (gst_pad_class_init):
11664         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
11665         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
11666         * gst/gstregistry.c: (gst_registry_class_init):
11667         * gst/gstsystemclock.c: (gst_system_clock_class_init):
11668         * gst/gsttask.c: (gst_task_class_init):
11669         * gst/gstxml.c: (gst_xml_class_init):
11670         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11671         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11672         (gst_base_src_loop):
11673         * libs/gst/controller/gstcontroller.c:/
11674         (_gst_controller_class_init):
11675         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11676         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
11677         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
11678         * tests/old/examples/plugins/example.c: (gst_example_class_init):
11679         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11680         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
11681
11682 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
11683
11684         * gst/gstpad.c: (gst_pad_link):
11685           Must set peer pads before calling the link function, otherwise
11686           a task started from a link function might get a flow-not-linked
11687           result when trying to push because the other thread where the
11688           linking happens hasn't had a chance to set the peers yet. This
11689           might happen for example when a queue gets linked to a downstream
11690           element, as queue starts a streaming task when its source pad
11691           gets linked. Happens in real life when playing back flac/musepack
11692           files in playbin (#332390).
11693           
11694 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
11695
11696         * gst/gstindex.h:
11697         * gst/gstxml.h:
11698         * libs/gst/base/gstadapter.h:
11699         * libs/gst/base/gstbasesink.h:
11700         * libs/gst/base/gstbasesrc.h:
11701         * libs/gst/base/gstbasetransform.h:
11702         * libs/gst/base/gstcollectpads.h:
11703         * libs/gst/base/gstpushsrc.h:
11704         Fix broken GObject macros
11705
11706 2006-04-07  Wim Taymans  <wim@fluendo.com>
11707
11708         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11709         Initialize start and stop times, thanks valgrind.
11710
11711 2006-04-07  Wim Taymans  <wim@fluendo.com>
11712
11713         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11714         Be a bit nicer to badly behaving upstream elements that expect
11715         us to deal with non TIME segments and timestamps (such as fakesrc
11716         in the testsuite).
11717
11718 2006-04-07  Wim Taymans  <wim@fluendo.com>
11719
11720         * gst/gstbus.c:
11721         Small documentation clarification about the signal watch.
11722
11723         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11724         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11725         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11726         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11727         (gst_base_sink_get_position_last),
11728         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
11729         Convert and store timestamps in stream time and running time, the
11730         raw timestamps are not useful, also document this better.
11731         Use different window sizes for good and bad QoS observations so
11732         we react to badness a little quicker.
11733         Keep track of the amount of rendered and dropped buffers.
11734         Send QoS timestamps in running time.
11735
11736         * libs/gst/base/gstbasetransform.c:
11737         (gst_base_transform_sink_eventfunc),
11738         (gst_base_transform_handle_buffer):
11739         Compare QoS timestamps against running time.
11740
11741 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
11742
11743         * gst/gstpad.c:
11744           Typo fixes in docs.
11745
11746 2006-04-06  Michael Smith  <msmith@fluendo.com>
11747
11748         * gst/gstpad.c: (gst_pad_set_property):
11749           Use g_value_get_object() instead of g_value_dup_gst_object(),
11750           to avoid double-reffing the pad template (which we then sink,
11751           so this worked previously if (and only if) the pad template
11752           was floating.
11753
11754         * gst/gstpadtemplate.c: (gst_pad_template_init),
11755         (gst_pad_template_pad_created):
11756           Never return floating references to pad templates, create
11757           them as initially-sunken.
11758
11759           Document an extra function (and make this stop sinking our
11760           pad template, since that is now guaranteed to do nothing,
11761           since we created it sunken).
11762
11763         * gst/gstghostpad.c:
11764           Fix docs typo.
11765
11766 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
11767
11768         * gst/gstinfo.c: (__gst_in_valgrind):
11769           Add some newlines.
11770
11771         * plugins/elements/gsttypefindelement.c:
11772         (gst_type_find_element_chain):
11773           Don't leak buffer caps.
11774
11775 2006-04-06  Michael Smith  <msmith@fluendo.com>
11776
11777         * gst/parse/grammar.y:
11778           Fix a leak in parse-launch for any source-or-sink named element 
11779           references used.
11780
11781         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11782           Unref the pipeline if it exists after we've failed parsing.
11783
11784 2006-04-05  Michael Smith  <msmith@fluendo.com>
11785
11786         * gst/gstpipeline.c: (gst_pipeline_init):
11787           When we create a pipeline bus, initially create it in flushing mode.
11788           Fixes leaks in at least one test, and makes a new pipeline work the
11789           same as one that has gone to READY and then back to NULL.
11790
11791         * gst/gstelement.c:
11792           Typo fix in docs.
11793
11794 2006-04-05  Michael Smith  <msmith@fluendo.com>
11795
11796         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11797           Unref a pad we reffed.
11798         * tests/check/gst/gstutils.c: (GST_START_TEST):
11799           Unref bins
11800
11801 2006-04-05  Michael Smith  <msmith@fluendo.com>
11802
11803         * gst/gstquery.c: (gst_query_set_formats),
11804         (gst_query_set_formatsv):
11805           Fix leaking GValues in queries, as shown by valgrind/testsuite.
11806
11807 2006-04-05  Michael Smith  <msmith@fluendo.com>
11808
11809         * tests/check/generic/sinks.c: (GST_START_TEST):
11810           Fix a variety of memleaks in sinks check, which are only sometimes 
11811           shown by running the tests under valgrind (weird?).
11812
11813 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
11814
11815         * docs/version.entities.in:
11816           Fix the substituted entity name after thomas' changes on the
11817           weekend.
11818
11819 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11820
11821         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
11822         VALGRIND_PRINTF
11823         
11824 2006-04-05  Andy Wingo  <wingo@pobox.com>
11825
11826         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
11827
11828         * libs/gst/base/gstbasetransform.c
11829         (gst_base_transform_sink_eventfunc): When resetting our segment on
11830         FLUSH_STOP, also update the flag saying we haven't seen a
11831         newsegment.
11832
11833 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11834
11835         Patch by: Paolo Borelli  <pborelli at katamail dot com>
11836
11837         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11838         (gst_plugin_check_license):
11839           minor clean-ups: G_DEFINE_TYPE already takes care of the
11840           parent_class stuff, no need to do it twice. Mark array of
11841           license strings as constant. (#337103)
11842           
11843 2006-04-04  Michael Smith  <msmith@fluendo.com>
11844
11845         * tools/gst-inspect.c: (print_element_list):
11846           Free the right plugin list; fixes a memory leak.
11847
11848 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11849
11850         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
11851
11852         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11853           Don't error out on empty buffers (#336945).
11854           
11855 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
11856
11857         * docs/libs/gstreamer-libs-sections.txt:
11858         * gst/gsttaglist.c:
11859         * libs/gst/base/gstbasesink.c:
11860         * libs/gst/base/gstbasesink.h:
11861         * libs/gst/base/gstbasesrc.c:
11862         * libs/gst/base/gstbasesrc.h:
11863           Documentation updates. Make BaseSink and BaseSrc docs contain the
11864           class structure so that people can actually see the prototypes for
11865           virtual functions they're supposed to be overriding.
11866
11867 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11868
11869         * plugins/elements/gsttypefindelement.c:
11870         (gst_type_find_element_chain):
11871           More debug info; when skipping typefinding, send cached
11872           events in all cases.
11873
11874 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11875
11876         * configure.ac:
11877           use new AS_VERSION and AS_NANO macros
11878         * gst/gst-i18n-lib.h:
11879         * gst/gst.c:
11880         * gst/gsterror.c:
11881         * gst/gstversion.h.in:
11882         * win32/common/config.h:
11883         * win32/common/config.h.in:
11884           update accordingly
11885
11886 2006-03-31  Michael Smith  <msmith@fluendo.com>
11887
11888         * plugins/elements/gsttypefindelement.c:
11889         (gst_type_find_element_chain):
11890           Do not typefind content if the buffers already have caps.
11891           Neccesary for icydemux (#333657), and the right thing to do anyway.
11892
11893 2006-03-30  Wim Taymans  <wim@fluendo.com>
11894
11895         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11896         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
11897         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
11898         (gst_base_sink_record_qos_observation),
11899         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11900         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11901         (gst_base_sink_change_state):
11902         More QoS measurements as described in the design doc.
11903         Get rid of ringbuffer with observations, running average is
11904         more simple and equally good.
11905         Calculates valid proportion now.
11906         Added beginning of flood measurement.
11907
11908 2006-03-29  Wim Taymans  <wim@fluendo.com>
11909
11910         * docs/design/part-qos.txt:
11911         * gst/gstclock.c:
11912         Small documentation updates and additions.
11913
11914 2006-03-29  Wim Taymans  <wim@fluendo.com>
11915
11916         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11917         (gst_base_src_send_event), (gst_base_src_loop),
11918         (gst_base_src_change_state):
11919         Perform the EOS logic when we reach the segment stop position.
11920         Fix compilation on gcc4.1
11921
11922 2006-03-29  Wim Taymans  <wim@fluendo.com>
11923
11924         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
11925
11926         * plugins/elements/gstqueue.c: (gst_queue_init),
11927         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11928         (gst_queue_set_property):
11929         * plugins/elements/gstqueue.h:
11930         In queue, when EOS is received, if minimum threshold > max_size -
11931         current_level, there is chance that queue blocks forever in conditional
11932         item del wait. This is because the queue is not emptied completely due
11933         to minimum threshold.  Here is another approach. Instead of setting
11934         cur_levels to max in EOS, just zero all minimum threshold levels. This
11935         should make sure that queue gives out all data. When going to READY
11936         (stop) state, just reset the original minimum threshold levels.
11937         Fixes #336336.
11938
11939 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
11940
11941         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
11942         (gst_type_find_element_handle_event),
11943         (gst_type_find_element_send_cached_events),
11944         (gst_type_find_element_change_state):
11945         * plugins/elements/gsttypefindelement.h:
11946           When typefinding is done in push mode, we should cache
11947           events we receive during typefinding instead of just
11948           dropping them (e.g. newsegment, custom events from
11949           dvdreadsrc etc.) and then send them out once we've
11950           determined the type of the stream (and decodebin
11951           has had a chance to plug in a decoder/demuxer).
11952           
11953 2006-03-27  Wim Taymans  <wim@fluendo.com>
11954
11955         * docs/design/part-qos.txt:
11956         First QoS ideas.
11957
11958 2006-03-27  Wim Taymans  <wim@fluendo.com>
11959
11960         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
11961
11962         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11963         (gst_base_src_send_event), (gst_base_src_change_state):
11964         Handle element seek correctly when we are streaming.
11965         Fixes #326998.
11966
11967 2006-03-24  Michael Smith  <msmith@fluendo.com>
11968
11969         * docs/faq/gst-uninstalled:
11970           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
11971           allow you to correctly run intalled applications built against old 
11972           core, using plugins that require updated core (e.g. running
11973           installed totem against a full uninstalled gstreamer stack)
11974
11975 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11976
11977         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11978         more debug details
11979
11980 2006-03-24  Wim Taymans  <wim@fluendo.com>
11981
11982         * docs/gst/gstreamer-sections.txt:
11983         Rearrange the order of the methods so that related methods
11984         are grouped together in sections.
11985
11986 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11987
11988         * gst/gstelement.c:
11989           Little clarification in the docs
11990
11991 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11992
11993         * docs/README:
11994         formatting fix
11995         * plugins/elements/gstidentity.c:
11996         * plugins/elements/gstqueue.c:
11997         * plugins/elements/gsttee.c:
11998         * plugins/elements/gsttypefindelement.c:
11999         GST_ELEMENT_DETAILS formatting
12000
12001 2006-03-24  Wim Taymans  <wim@fluendo.com>
12002
12003         * libs/gst/base/gstbasesink.h:
12004         Only add fields, not insert or we break ABI.
12005
12006 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12007
12008         * win32/common/libgstbase.def:
12009         * win32/common/libgstreamer.def:
12010           Update, add recently added functions.
12011
12012 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12013
12014         * docs/gst/gstreamer-sections.txt:
12015         * gst/gstutils.c: (gst_pad_query_peer_position),
12016         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
12017         * gst/gstutils.h:
12018           API: add some new utility functions:
12019            - gst_pad_query_peer_position()
12020            - gst_pad_query_peer_duration()
12021            - gst_pad_query_peer_convert()
12022           
12023 2006-03-23  Wim Taymans  <wim@fluendo.com>
12024
12025         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12026         (gst_base_sink_init), (gst_base_sink_finalize),
12027         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
12028         (gst_base_sink_set_property), (gst_base_sink_get_property),
12029         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
12030         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12031         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
12032         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12033         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12034         (gst_base_sink_preroll_object), (gst_base_sink_event),
12035         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
12036         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
12037         (gst_base_sink_query), (gst_base_sink_change_state):
12038         Decouple max-lateness and the fact that QoS messages are generated
12039         with a new property (qos).
12040         added API: GstBaseSink::async_play()
12041         Add vmethod so subclasses can be notified of ASYNC playing
12042         state changes.
12043         Collect timestamp start and stop to report better current
12044         position in EOS/PLAYING/PAUSED/READY/NULL.
12045         Refactor QoS/frame dropping and other measurements.
12046         API: GstBaseSrc::qos
12047         Fixes #326311
12048
12049         * libs/gst/base/gstbasesink.h:
12050         Added Private struct.
12051         API: gst_base_sink_set_qos_enabled()
12052         API: gst_base_sink_is_qos_enabled()
12053
12054 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12055
12056         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12057           If compiling against GLib-2.8 or newer, try to read the
12058           registry file using GMappedFile first before falling back
12059           to fopen() + fread() (#332151).
12060
12061 2006-03-22  Wim Taymans  <wim@fluendo.com>
12062
12063         * gst/gstinfo.c: (gst_debug_set_active),
12064         (gst_debug_category_set_threshold):
12065         Disable debugging unless explicitly activated.
12066         Fixes #335480.
12067
12068 2006-03-22  Wim Taymans  <wim@fluendo.com>
12069
12070         * gst/gstelement.c: (gst_element_set_locked_state),
12071         (gst_element_dispose):
12072         Cleanup the error case.
12073
12074         * gst/gstobject.c: (gst_object_dispose):
12075         print a critical when some object was disposed with
12076         a parent, also revive the object since it might
12077         crash the parent.
12078
12079 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
12080
12081         * tools/gst-launch.1.in:
12082           Fix another typo.
12083
12084 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12085
12086         * configure.ac:
12087         * tests/check/Makefile.am:
12088           disable some tests when we don't have a registry
12089         * tests/check/gst/gstutils.c: (gst_utils_suite):
12090           don't build the part that needs parsing
12091
12092 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12093
12094         * gst/Makefile.am
12095         * tests/examples/Makefile.am:
12096           fix --disable-parse build
12097
12098 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12099
12100         * tools/gst-feedback.1.in:
12101           Fix typo: s/feeback/feedback/ (#133494).
12102
12103 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12104
12105         * tools/Makefile.am:
12106         * tools/gst-launch.1.in:
12107           Add FILES section and correct entry about GST_REGISTRY_PATH
12108           environment variable (#133495; #133494).
12109
12110 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12111
12112         * tools/Makefile.am:
12113         * tools/gst-md5sum.1.in:
12114         * tools/gst-md5sum.c:
12115           Remove gst-md5sum and man page (the md5sink element
12116           required was removed ages ago)
12117
12118 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12119
12120         * gst/gststructure.c: (gst_structure_id_set_value):
12121           Make sure that string fields in structures/taglists
12122           contain valid UTF-8 - we don't want to pass rubbish to
12123           applications because of a buggy plugin (cp. #334167).
12124
12125 2006-03-21  Edward Hervey  <edward@fluendo.com>
12126
12127         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12128         (gst_bin_handle_message_func):
12129         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
12130         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
12131         (gst_element_set_bus_func):
12132         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
12133         * gst/gstminiobject.c: (gst_value_set_mini_object),
12134         (gst_value_take_mini_object):
12135         * gst/gstpad.c: (gst_pad_set_pad_template):
12136         * gst/gstpipeline.c: (gst_pipeline_dispose),
12137         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
12138         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
12139         (gst_collect_pads_chain):
12140         * libs/gst/net/gstnettimeprovider.c:
12141         (gst_net_time_provider_set_property):
12142         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
12143         It's in fact all issues with gst_*object_replace().
12144
12145 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12146
12147         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
12148         
12149         * pkgconfig/gstreamer-check-uninstalled.pc.in:
12150         * pkgconfig/gstreamer-check.pc.in:
12151           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
12152
12153 2006-03-21  Edward Hervey  <edward@fluendo.com>
12154
12155         * gst/gstbuffer.h:
12156         * gst/gstevent.h:
12157         * gst/gstmessage.h:
12158         gst_[buffer|event|message]_ref() macros are replaced by a static
12159         inline functions because gcc-4.1 will about if the return value
12160         isn't used.
12161         * tests/check/gst/gstevent.c: (event_probe):
12162         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
12163
12164 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
12165
12166         * gst/gstutils.h:
12167         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
12168         the type' case. (Closes: #335195 for now). In the future, when we
12169         depend on GLib 2.10, we could also intern the type name using
12170         g_intern_static_string()
12171
12172 2006-03-20  Wim Taymans  <wim@fluendo.com>
12173
12174         * gst/gstbin.c: (gst_bin_handle_message_func),
12175         (bin_query_max_init), (bin_query_position_fold),
12176         (bin_query_position_done), (gst_bin_query):
12177         Position query should also take max of all streams.
12178
12179 2006-03-20  Wim Taymans  <wim@fluendo.com>
12180
12181         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12182         (gst_fake_src_finalize):
12183         Fix leaks in fakesrc.
12184
12185         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12186         Fix leaks in the testcase.
12187
12188 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
12189
12190         * gst/gst_private.h:
12191           add win32 specific import decoration(__declspec(dllimport)) 
12192           for all extern GstDebugCategory * variables
12193         * win32/common/libgstbase.def:
12194         * win32/common/libgstcontroller.def:
12195         * win32/common/libgstreamer.def:
12196           Add some exports, remove empty lines
12197         * win32/common/libgstdataprotocol.def:
12198         * win32/common/libgstdataprotocol.dsp:
12199         * win32/common/libgstnet.def:
12200         * win32/common/libgstnet.dsp:
12201           new project files and exportation files added
12202         
12203 2006-03-19  Wim Taymans  <wim@fluendo.com>
12204
12205         * tests/check/libs/basesrc.c: (eos_event_counter):
12206         Use proper return value for probe.
12207
12208 2006-03-17  Wim Taymans  <wim@fluendo.com>
12209
12210         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12211         (gst_pad_push):
12212         Don't leak buffers, caps and pads on negotiation errors.
12213
12214 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
12215
12216         * docs/faq/cvs.xml:
12217         * docs/faq/dependencies.xml:
12218         * docs/faq/developing.xml:
12219         * docs/faq/faq.xml:
12220         * docs/faq/general.xml:
12221         * docs/faq/getting.xml:
12222         * docs/faq/legal.xml:
12223         * docs/faq/troubleshooting.xml:
12224         * docs/faq/using.xml:
12225         Faq review and update.
12226
12227 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
12228
12229         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12230         (gst_pad_push):
12231         Don't pound the cpu to pieces by checking get_caps when accept_caps
12232         is called with the same caps as the pad already has.
12233         Use GST_DEBUG_OBJECT when outputting caps change information.
12234
12235 2006-03-15  Wim Taymans  <wim@fluendo.com>
12236
12237         * gst/gstclock.c: (gst_clock_class_init):
12238         Fix docs.
12239
12240 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
12241
12242         * gst/gstbuffer.h:
12243         Documentation fix.
12244
12245         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
12246         (gst_pad_accept_caps), (gst_pad_configure_sink),
12247         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
12248         Make the default acceptcaps behaviour be to check the requested 
12249         caps against the gst_pad_get_caps output. 
12250
12251         Ensure that gst_pad_accept_caps is used to check caps when a pad
12252         doesn't have a setcaps function, so that pads automatically refuse 
12253         caps that they don't allow in their pad template. (Fixes #332986)
12254
12255         When a buffer with attached caps is pushed, ensure that the source 
12256         pad receives those caps even if the element didn't call
12257         gst_pad_set_caps first.
12258
12259 2006-03-15  Wim Taymans  <wim@fluendo.com>
12260
12261         * libs/gst/base/gstadapter.c:
12262         Add some docs.
12263
12264 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
12265
12266         * win32/common/libgstbase.def:
12267         * win32/common/libgstcontroller.def:
12268         * win32/common/libgstreamer.def:
12269           Add a whole bunch of missing functions (#334434).
12270
12271 2006-03-14  Wim Taymans  <wim@fluendo.com>
12272
12273         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12274         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12275         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
12276         Better debug info when we receive a segment event.
12277         Reorganize a bit so we can pass the get_times() results around.
12278         Use the segment format when calculating the running time.
12279         Don't do QoS is sync is disabled or we have no clock or the
12280         element does not want us to sync to the clock.
12281         Don't drop buffers if QoS is disabled for now.
12282
12283 2006-03-14  Wim Taymans  <wim@fluendo.com>
12284
12285         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
12286         Marked the stats property as unimplemented so people don't get
12287         wild ideas.
12288         Add debug message when regression goes wrong.
12289         Added some more docs.
12290
12291 2006-03-14  Wim Taymans  <wim@fluendo.com>
12292
12293         * gst/gstsegment.c: (gst_segment_to_stream_time):
12294         Return correct return type in case of errors.
12295
12296 2006-03-14  Wim Taymans  <wim@fluendo.com>
12297
12298         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
12299           Don't segfault on invalid formats.
12300
12301 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
12302
12303         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12304           Can't use gst_segment_to_running_time() when the segment
12305           is not in GST_TIME_FORMAT (like with filesink, for example).
12306           Stops flac encoding pipelines from spewing critical warnings
12307           at EOS (#331248).
12308           
12309 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
12310
12311         * gst/gstpipeline.c: (gst_pipeline_class_init):
12312           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
12313
12314         * plugins/elements/gsttypefindelement.c:
12315         (gst_type_find_element_handle_event):
12316           Don't try to typefind empty streams.
12317
12318 2006-03-14  Wim Taymans  <wim@fluendo.com>
12319
12320         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12321         (gst_base_sink_do_qos):
12322         Separate QoS calculation.
12323         Only drop buffers when lateness is bigger than the 
12324         duration of the buffer.
12325
12326 2006-03-13  Wim Taymans  <wim@fluendo.com>
12327
12328         * gst/gstpipeline.c: (gst_pipeline_set_property),
12329         (gst_pipeline_get_property), (do_pipeline_seek),
12330         (gst_pipeline_change_state), (gst_pipeline_set_delay),
12331         (gst_pipeline_get_delay):
12332         Don't deadlock when reading properties.
12333
12334 2006-03-13  Wim Taymans  <wim@fluendo.com>
12335
12336         * libs/gst/base/gstbasetransform.c:
12337         (gst_base_transform_class_init), (gst_base_transform_init),
12338         (gst_base_transform_sink_event),
12339         (gst_base_transform_sink_eventfunc),
12340         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
12341         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12342         (gst_base_transform_set_property),
12343         (gst_base_transform_get_property),
12344         (gst_base_transform_change_state), (gst_base_transform_update_qos),
12345         (gst_base_transform_set_qos_enabled),
12346         (gst_base_transform_is_qos_enabled):
12347         * libs/gst/base/gstbasetransform.h:
12348         Make basetransform virtual method for src events too.
12349         Handle QOS in basetransform.
12350         API: gst_base_transform_update_qos()
12351         API: gst_base_transform_set_qos_enabled()
12352         API: gst_base_transform_is_qos_enabled()
12353
12354 2006-03-13  Wim Taymans  <wim@fluendo.com>
12355
12356         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12357         (gst_base_sink_do_sync):
12358         Small cleanups.
12359         Use QOS debug category.
12360
12361 2006-03-13  Wim Taymans  <wim@fluendo.com>
12362
12363         * plugins/elements/gstqueue.c:
12364         Very small doc update.
12365
12366 2006-03-13  Wim Taymans  <wim@fluendo.com>
12367
12368         * gst/gst_private.h:
12369         * gst/gstinfo.c: (_gst_debug_init):
12370         Added QOS debug category
12371
12372 2006-03-13  Wim Taymans  <wim@fluendo.com>
12373
12374         * docs/gst/gstreamer-sections.txt:
12375         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
12376         * gst/gstbin.h:
12377         * gst/gstbus.c: (gst_bus_class_init):
12378         * gst/gstbus.h:
12379         * gst/gstclock.c:
12380         * gst/gstelement.c: (gst_element_set_locked_state):
12381         * gst/gstsegment.c:
12382         Documentation updates.
12383
12384         * gst/gstpipeline.c: (gst_pipeline_get_type),
12385         (gst_pipeline_class_init), (gst_pipeline_init),
12386         (gst_pipeline_dispose), (gst_pipeline_set_property),
12387         (gst_pipeline_get_property), (do_pipeline_seek),
12388         (gst_pipeline_send_event), (gst_pipeline_change_state),
12389         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
12390         (gst_pipeline_get_delay):
12391         * gst/gstpipeline.h:
12392         Added methods for setting the delay.
12393         API: gst_pipeline_set_delay()
12394         API: gst_pipeline_get_delay()
12395         Add pipeline debug category
12396         Various cleanups.
12397         Updated docs.
12398         Don't reset stream time when seek failed.
12399
12400 2006-03-13  Wim Taymans  <wim@fluendo.com>
12401
12402         * docs/design/draft-klass.txt:
12403         * docs/design/part-clocks.txt:
12404         * docs/design/part-events.txt:
12405         * docs/design/part-gstbin.txt:
12406         * docs/design/part-gstpipeline.txt:
12407         * docs/design/part-messages.txt:
12408         * docs/design/part-negotiation.txt:
12409         * docs/design/part-overview.txt:
12410         * docs/design/part-preroll.txt:
12411         * docs/design/part-seeking.txt:
12412         * docs/design/part-states.txt:
12413         * docs/design/part-streams.txt:
12414         Documentation updates.
12415
12416 2006-03-12  Julien MOUTTE  <julien@moutte.net>
12417
12418         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
12419         us to leak strings...
12420
12421 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12422
12423         * libs/gst/net/gstnettimeprovider.c:
12424           fix docs
12425         * win32/common/config.h:
12426           update
12427
12428 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
12429
12430         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
12431
12432         * configure.ac:
12433           Don't check for libgnomeui (leftover from old examples
12434           that aren't built or disted any longer) (#334303).
12435           
12436 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
12437
12438         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
12439         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12440           Emit RESOURCE_NO_SPACE_LEFT error here as well when
12441           there's no space left on the device.
12442
12443 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
12444
12445         * gst/gstclock.h:
12446           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
12447           to cast the input to GstClockTime before comparing with
12448           another GstClockTime value.
12449
12450 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12451
12452         * configure.ac:
12453           back to trunk
12454
12455 === release 0.10.4 ===
12456
12457 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
12458
12459         * configure.ac:
12460           releasing 0.10.4, "Light"
12461
12462 2006-03-10  Michael Smith  <msmith@fluendo.com>
12463
12464         * libs/gst/dataprotocol/dataprotocol.c:
12465           Fix docs for dataprocotol to not get the return types completely
12466           wrong for a few functions.
12467
12468 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
12469
12470         * docs/gst/gstreamer-sections.txt:
12471         * gst/gstpipeline.c: (gst_pipeline_class_init),
12472         (gst_pipeline_init), (gst_pipeline_set_property),
12473         (gst_pipeline_get_property), (gst_pipeline_change_state),
12474         (gst_pipeline_set_auto_flush_bus),
12475         (gst_pipeline_get_auto_flush_bus):
12476         * gst/gstpipeline.h:
12477           Add new API: gst_pipeline_set_auto_flush_bus() and
12478           gst_pipeline_get_auto_flush_bus() to disable automatic
12479           flushing of the pipeline's GstBus when going from READY
12480           to NULL state (#332045).
12481
12482 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
12483
12484         * docs/gst/gstreamer-sections.txt:
12485         * gst/gsturi.c: (gst_uri_has_protocol):
12486         * gst/gsturi.h:
12487            Add new API: gst_uri_has_protocol() (#333779).
12488
12489 2006-03-09  Wim Taymans  <wim@fluendo.com>
12490
12491         * gst/gstclock.c: (gst_clock_entry_new),
12492         (gst_clock_id_compare_func), (gst_clock_id_wait),
12493         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
12494         (gst_clock_init), (gst_clock_get_internal_time),
12495         (gst_clock_set_master), (do_linear_regression),
12496         (gst_clock_add_observation), (gst_clock_set_property):
12497         * gst/gstclock.h:
12498         Review docs.
12499         Small cleanups.
12500         Fix a possible segfault when the window-size is made smaller.
12501         Calculate jitter before performing the clock wait. Ideally
12502         the clock implementation should calculate jitter but we need
12503         API breakage for that.
12504
12505         * gst/gstsystemclock.c: (gst_system_clock_init):
12506         Docs review.
12507         
12508         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12509         Remove leftover else
12510
12511         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
12512         (gst_systemclock_suite):
12513         Added check to test GST_CLOCK_DIFF.
12514
12515 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
12516
12517         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
12518         (gst_type_find_helper_get_range):
12519           If we are provided with the size, we should implement
12520           GstTypeFind::get_length, so that typefind functions who
12521           want to can actually peek at the middle of a file.
12522
12523 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
12524
12525         * docs/manual/advanced-dataaccess.xml:
12526           Add some very very basic error checking.
12527
12528         * docs/pwg/appendix-checklist.xml:
12529           Some updates to the list of things to check when writing an element.
12530
12531 2006-03-08  Wim Taymans  <wim@fluendo.com>
12532
12533         * docs/design/part-element-transform.txt:
12534         Added some docs about the design of tranform elements.
12535
12536         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12537         (gst_base_src_loop), (gst_base_src_change_state):
12538         Mark buffers with the DISCONT flag.
12539
12540 2006-03-08  Michael Smith  <msmith@fluendo.com>
12541
12542         * gst/gstregistry.h:
12543         * gst/gstregistryxml.c: (gst_registry_save),
12544         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
12545         (gst_registry_xml_save_pad_template),
12546         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
12547         (gst_registry_xml_write_cache):
12548           Rewrite registry-saving to avoid race conditions and check for
12549           failed writes.
12550
12551 2006-03-08  Wim Taymans  <wim@fluendo.com>
12552
12553         * libs/gst/base/gstbasetransform.c:
12554         (gst_base_transform_transform_caps),
12555         (gst_base_transform_transform_size),
12556         (gst_base_transform_prepare_output_buffer),
12557         (gst_base_transform_get_unit_size),
12558         (gst_base_transform_buffer_alloc),
12559         (gst_base_transform_handle_buffer),
12560         (gst_base_transform_change_state):
12561         Cleanups, separate normal flow from errors, add sensible
12562         DEBUG lines.
12563         Don't try to renegotiate when allocating an output buffer.
12564         Also copy DISCONT buffer flag when copying a buffer.
12565         Reset the transform after we finish streaming, not during.
12566
12567 2006-03-08  Wim Taymans  <wim@fluendo.com>
12568
12569         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12570         Use last buffer timestamp in qos message.
12571
12572 2006-03-07  Wim Taymans  <wim@fluendo.com>
12573
12574         Patch by: Christophe Fergeau
12575
12576         * docs/pwg/advanced-tagging.xml:
12577         * docs/pwg/building-pads.xml:
12578           fixes #333416
12579
12580 2006-03-07  Wim Taymans  <wim@fluendo.com>
12581
12582         * docs/libs/gstreamer-libs-sections.txt:
12583         Added basesink new methods.
12584
12585         * gst/gstevent.c:
12586         * gst/gstevent.h:
12587         Docs updates. Flesh out the QoS docs.
12588
12589         * libs/gst/base/gstadapter.c:
12590         Small doc clarification about ownership and flushing.
12591
12592         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
12593         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
12594         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
12595         (gst_base_sink_get_property), (gst_base_sink_do_sync):
12596         * libs/gst/base/gstbasesink.h:
12597         API additions: 
12598         Added new methods to allow subclass to control max-lateness 
12599         and sync.
12600         Generate very basic QoS events based on last sync observation.
12601         Updated docs, fix typo, added some QoS blurb.
12602
12603         * libs/gst/base/gstbasesrc.c:
12604         Remove obsolete _get_state() calls from docs.
12605
12606 2006-03-07  Wim Taymans  <wim@fluendo.com>
12607
12608         * docs/libs/gstreamer-libs-sections.txt:
12609         * libs/gst/base/gstbasetransform.h:
12610         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
12611         Fix docs for GstBaseSrc.
12612
12613 2006-03-07  Wim Taymans  <wim@fluendo.com>
12614
12615         * docs/gst/gstreamer-sections.txt:
12616         * gst/gstbuffer.h:
12617         * gst/gstvalue.c:
12618         * libs/gst/base/gstbasetransform.h:
12619         Small documentation fixes.
12620
12621 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
12622
12623         * gst/gstvalue.c:
12624           Document thread-unsafety of gst_value_register_foo_func()
12625           when used at the same time as gst_value_foo() (#322628).
12626
12627 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
12628
12629         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
12630         (gst_push_src_check_get_range):
12631           Push sources don't support pull mode by default.
12632
12633 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
12634
12635         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12636         (gst_base_src_init), (gst_base_src_pad_check_get_range),
12637         (gst_base_src_default_check_get_range):
12638         * libs/gst/base/gstbasesrc.h:
12639           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
12640           provide default implementation, and rename
12641           gst_base_src_check_get_range() to
12642           gst_base_src_pad_check_get_range() for clarity.
12643
12644 2006-03-06  Wim Taymans  <wim@fluendo.com>
12645
12646         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12647         Make property overridable.
12648
12649 2006-03-06  Wim Taymans  <wim@fluendo.com>
12650
12651         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12652         (gst_base_sink_init), (gst_base_sink_set_property),
12653         (gst_base_sink_get_property), (gst_base_sink_do_sync):
12654         * libs/gst/base/gstbasesink.h:
12655         API addition: Make max-lateness a property.
12656
12657 2006-03-06  Wim Taymans  <wim@fluendo.com>
12658
12659         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
12660         (gst_base_sink_do_sync), (gst_base_sink_render_object):
12661         Don't ever draw a frame that is >10ms late.
12662
12663 2006-03-06  Michael Smith  <msmith@fluendo.com>
12664
12665         * gst/gstmessage.c: (_gst_message_copy):
12666           When copying a message, set the parent_refcount of the enclosed
12667           structure to point at the copy, not the original message.
12668
12669 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
12670
12671         Patch by: Christophe Fergeau
12672
12673         * gst/gstutils.h:
12674           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
12675           usable in c++ code (#333417)
12676
12677 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12678
12679         * gst/gstclock.h:
12680           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
12681
12682 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
12683
12684         * libs/gst/base/gstbasetransform.c:
12685         (gst_base_transform_transform_caps):
12686           Make sure caps are writable before passing them to
12687           gst_caps_append().
12688
12689 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
12690
12691         * gst/gsterror.h:
12692           Fix some minor docs errors.
12693
12694 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
12695
12696           Patch by: Ross Burton <ross at burtonini dot com>
12697
12698         * gst/gsterror.c: (_gst_resource_errors_init):
12699         * gst/gsterror.h:
12700           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
12701
12702 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
12703
12704         * gst/gst.c:
12705         Add a check and output a g_warning when GStreamer is built
12706         against GLib 2.6 but running against 2.8 or higher, and vice 
12707         versa. (Closes: #323542)
12708
12709 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
12710
12711         * gst/parse/parse.l:
12712           Commit patch for parse_launch syntax from #331255. Removes 
12713           support for quoted strings and mimetypes when writing filtered 
12714           caps. See the bug report for more details - I'm pretty sure this
12715           obscure feature is not in use by _anyone_ anywhere.
12716
12717           With this simple change, the size of the gstreamer.so here 
12718           drops from 2193KB to 1565KB.
12719
12720 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
12721
12722         * plugins/elements/gsttypefindelement.h:
12723         * plugins/elements/gsttypefindelement.c:
12724         (gst_type_find_element_src_event), (start_typefinding),
12725         (stop_typefinding), (gst_type_find_element_handle_event),
12726         (gst_type_find_element_chain),
12727         (gst_type_find_element_chain_do_typefinding):
12728           Use gst_type_find_helper_for_buffer() for chain-based
12729           typefinding.
12730
12731 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
12732
12733         * plugins/elements/gsttypefindelement.c:
12734         (gst_type_find_element_class_init),
12735         (gst_type_find_element_set_property),
12736         (gst_type_find_element_get_property):
12737           Deprecate "maximum" property (not only was it only taken into
12738           account for typefinding in push-mode anyway, it also was never
12739           actually possible to set it in the first place because the
12740           property was registered with the numeric property ID for the
12741           "minimum" property). Register "maximum" property correctly,
12742           for the sake of future copy'n'pasters. Remove some cruft
12743           from property get/set functions.
12744
12745 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
12746
12747         * plugins/elements/gsttypefindelement.c:
12748         (gst_type_find_element_activate):
12749           Use gst_type_find_helper_get_range() here, so we
12750           can honour the "minimum" property and also emit
12751           the signal with the correct probability of the found caps.
12752
12753 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
12754
12755         * docs/libs/gstreamer-libs-sections.txt:
12756         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
12757         (helper_find_suggest), (gst_type_find_helper_get_range),
12758         (gst_type_find_helper):
12759         * libs/gst/base/gsttypefindhelper.h:
12760           New API: gst_type_find_helper_get_range() (#333042).
12761
12762 2006-03-02  Michael Smith  <msmith@fluendo.com>
12763
12764         * gst/gstregistryxml.c: (load_feature):
12765           Asserting on a failure to read part of the registry is Not Cool.
12766           Just log a warning and return NULL (which is already handled)
12767
12768 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
12769
12770         * win32/common/libgstbase.def:
12771           added export of gst_type_find_helper_for_buffer
12772         * win32/common/libgstbase.def:
12773           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
12774           gst_ghost_pad_get_target
12775
12776 2006-02-28  Wim Taymans  <wim@fluendo.com>
12777
12778         * docs/design/draft-klass.txt:
12779         We use Filter now.
12780         Added Connector to mark elements that are only used to
12781         allow pipeline connections.
12782         Moved Debug to extra feature since most of them are 
12783         functionally something else.
12784
12785 2006-02-28  Wim Taymans  <wim@fluendo.com>
12786
12787         * docs/design/draft-klass.txt:
12788         Some updates and clarifications.
12789
12790 2006-02-28  Wim Taymans  <wim@fluendo.com>
12791
12792         * docs/design/draft-klass.txt:
12793         Proposal for klass field values.
12794
12795         * docs/design/part-streams.txt:
12796         Start of a doc describing stream anatomy.
12797
12798 2006-02-28  Wim Taymans  <wim@fluendo.com>
12799
12800         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
12801         Help the compiler a bit with type registration.
12802         Use existing forward cod path instead of duplicating it when 
12803         handling a message.
12804         
12805         * gst/gstbus.c: (gst_bus_get_type):
12806         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
12807         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
12808         * gst/gstclock.c: (gst_clock_get_type):
12809         * gst/gstelement.c: (gst_element_get_type),
12810         * gst/gstelementfactory.c: (gst_element_factory_get_type):
12811         * gst/gstindexfactory.c: (gst_index_factory_get_type):
12812         * gst/gstminiobject.c: (gst_mini_object_get_type):
12813         * gst/gstpad.c: (gst_pad_get_type):
12814         * gst/gstsegment.c: (gst_segment_get_type):
12815         * gst/gststructure.c: (gst_structure_get_type):
12816         * gst/gstsystemclock.c: (gst_system_clock_get_type):
12817         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
12818         * gst/gstvalue.c:
12819         Help compiler with type registration.
12820
12821         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
12822         Small doc update.
12823
12824 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12825
12826         * plugins/elements/gsttypefindelement.c:
12827         (gst_type_find_element_handle_event):
12828           When we get an EOS event and have not found a type yet
12829           (most likely because we had not yet accumulated
12830           TYPE_FIND_MIN_SIZE of data yet), try to determine the
12831           type given the data we have so far. Fixes typefinding
12832           for very short streams again, most notably quicktime
12833           redirections as used on Apple's trailer site (#331701).
12834
12835 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12836
12837         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
12838         (gst_type_find_helper):
12839           Try typefinding factories with the highest rank first.
12840
12841 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12842
12843         * docs/libs/gstreamer-libs-docs.sgml:
12844         * docs/libs/gstreamer-libs-sections.txt:
12845         * libs/gst/base/gsttypefindhelper.c:
12846           Add section for typefind helper and add documentation
12847           for the old and the new function.
12848
12849 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12850
12851         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
12852         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
12853         (gst_type_find_helper_for_buffer):
12854         * libs/gst/base/gsttypefindhelper.h:
12855           New API: gst_type_find_helper_for_buffer() (#332723).
12856           
12857 2006-02-27  Michael Smith  <msmith@fluendo.com>
12858
12859         Patch by: Loïc Minier
12860
12861         * configure.ac:
12862         * docs/Makefile.am:
12863         * docs/slides/Makefile.am:
12864           prevent CVS directories getting disted.
12865
12866 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12867
12868         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
12869           Use the REFCOUNTING category for caps refcounting.
12870           
12871 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
12872
12873         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12874           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
12875
12876 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
12877
12878         * plugins/elements/gsttypefindelement.c:
12879         (gst_type_find_element_activate):
12880           Use gst_pad_check_pull_range() before _activate_pull()
12881           to avoid unnecessary open/close (see #331690).
12882
12883 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
12884
12885         * gst/gstutils.c:
12886           Docs enhancement: make it crystal clear what the
12887           gst_pad_add_*_probe() callbacks should look like.
12888
12889 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
12890
12891         * libs/gst/base/gstbasesrc.c:
12892           Document how applications can stop recording from
12893           live sources (see #330996).
12894
12895 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12896
12897         * tests/check/Makefile.am:
12898         * tests/check/libs/basesrc.c: (eos_event_counter),
12899         (basesrc_eos_events_pull), (basesrc_eos_events_push),
12900         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
12901         (gst_basesrc_suite), (main):
12902           ... and add some tests for the base source EOS stuff.
12903
12904 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12905
12906         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
12907           Test case originally showed the problem fixed below,
12908           but was then amended. Add checks back at the place
12909           where they used to be.
12910
12911 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12912
12913         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12914         (gst_base_src_init), (gst_base_src_loop),
12915         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12916         (gst_base_src_change_state):
12917         * libs/gst/base/gstbasesrc.h:
12918           Don't unconditionally send EOS when going from PAUSED to
12919           READY state, esp. make sure we don't send two EOS events
12920           in some cases (e.g. one when reaching EOS and one when
12921           going from PAUSED to READY). Also, we don't want to send
12922           EOS events when operating in pull mode. However, we do
12923           want to send an EOS event when shutting down a live
12924           source explicitly, for example (fixes #330996).
12925           
12926 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12927
12928         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12929           Update src->read_position after a seek when not using mmap.
12930           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
12931
12932 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
12933
12934         * gst/Makefile.am:
12935         * gst/gstparse.h:
12936         * gst/gstutils.c:
12937         * gst/gstutils.h:
12938         Make things work with --disable-parse as they do with 
12939         --disable-load-save - the symbols involved disappear, but the
12940         header is still installed and GST_DISABLE_PARSE is included via
12941         gstconfig.h
12942
12943 2006-02-20  Julien MOUTTE  <julien@moutte.net>
12944
12945         * libs/gst/base/gstbasetransform.c:
12946         (gst_base_transform_change_state): Fix a stupid bug. I was 
12947         sure I compiled that.
12948
12949 2006-02-20  Julien MOUTTE  <julien@moutte.net>
12950
12951         * gst/gstpad.c: (gst_pad_set_blocked_async):
12952         * gst/gstutils.c: (gst_pad_add_data_probe),
12953         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12954         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12955         (gst_pad_remove_buffer_probe): Make those function act on the
12956         ghostpad target when it's a ghostpad. (Closes #331727)
12957
12958 2006-02-20  Julien MOUTTE  <julien@moutte.net>
12959
12960         * libs/gst/base/gstbasetransform.c:
12961         (gst_base_transform_change_state): Make basetransform reusable.
12962         (Closes #331898)
12963
12964 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
12965
12966         * docs/random/release:
12967         Move the current documentation of how to do a release to the top
12968         of the file.
12969
12970         * gst/gstbin.c: (gst_bin_class_init),
12971         (gst_bin_handle_message_func):
12972         Allow multiple state-recalculation threads. (Closes #328873)
12973
12974 2006-02-19  Julien MOUTTE  <julien@moutte.net>
12975
12976         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
12977         * gst/gstpad.c: (gst_pad_set_event_function),
12978         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12979         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
12980         2 strings. You can't use the STR_NULL macro on that.
12981
12982 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
12983
12984         * gst/gstpad.c: (gst_pad_set_event_function),
12985         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12986         (gst_pad_set_getcaps_function)
12987         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
12988           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
12989           So now, we can use --gst-debug-level=5 on Windows
12990         * win32/common/libgstcontroller.def:
12991           Added export of gst_controller_init
12992         * win32/vs6/libgstcontroller.dsp:
12993           Fixed Release post build configuration
12994
12995 2006-02-17  Wim Taymans  <wim@fluendo.com>
12996
12997         * tests/check/gst/gstquery.c: (GST_START_TEST):
12998         Added another check.
12999
13000 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
13001
13002         * plugins/elements/gsttypefindelement.c: (find_peek):
13003           We can do peeks at non-zero offsets, as long as they
13004           fall within the buffer we have.
13005
13006 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
13007
13008         * tests/check/Makefile.am:
13009         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
13010         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
13011         (parse_suite), (main):
13012           Add testsuite for parse launch syntax
13013
13014 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
13015
13016         * plugins/elements/gsttypefindelement.c:
13017         (gst_type_find_element_chain):
13018           When typefinding is unsuccessful in the chain function, don't
13019           error out immediately. Only error out with NO_CAPS_FOUND if
13020           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
13021           otherwise simply wait for more data so we can try typefinding
13022           again with more data later. Also, don't attempt to typefind
13023           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
13024           this should improve typefinding from network sources where the
13025           size of the first buffer can be somewhat random.
13026
13027 2006-02-14  Wim Taymans  <wim@fluendo.com>
13028
13029         * docs/gst/gstreamer-sections.txt:
13030         * gst/gstpadtemplate.c:
13031         * gst/gstpadtemplate.h:
13032         Fix padtemplate docs, fixes #328805.
13033
13034 2006-02-14  Wim Taymans  <wim@fluendo.com>
13035
13036         * tools/gst-launch.c: (main):
13037         NO_PREROLL is not an ERROR so don't send confusing messages
13038         to the user.
13039
13040 2006-02-14  Wim Taymans  <wim@fluendo.com>
13041
13042         Patch by: Torsten Schoenfeld
13043
13044         * gst/gstregistry.c: (gst_registry_get_default),
13045         (_gst_registry_cleanup):
13046         Protect default registry with lock and ref/sink it.
13047         Fixes #324818
13048
13049 2006-02-14  Wim Taymans  <wim@fluendo.com>
13050
13051         * gst/gstbuffer.c:
13052         * gst/gstquery.c: (gst_query_list_add_format),
13053         (gst_query_set_formatsv), (gst_query_parse_formats_length),
13054         (gst_query_parse_formats_nth):
13055         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13056         Docs fixes.
13057
13058 2006-02-14  Wim Taymans  <wim@fluendo.com>
13059
13060         * docs/gst/gstreamer-sections.txt:
13061         Reworked query docs.
13062
13063         * gst/gstquery.c: (gst_query_new_formats),
13064         (gst_query_list_add_format), (gst_query_set_formats),
13065         (gst_query_set_formatsv), (gst_query_parse_formats_length),
13066         (gst_query_parse_formats_nth):
13067         * gst/gstquery.h:
13068         Flesh out formats query, added some new methods.
13069         Fix part of #324398.
13070
13071         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
13072         Added query creation tests.
13073
13074 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
13075
13076         * gst/gstpad.c: (fixate_value):
13077         Add a default fixation for fraction lists.
13078
13079 2006-02-13  Wim Taymans  <wim@fluendo.com>
13080
13081         * gst/gsttask.c: (gst_task_init), (gst_task_func),
13082         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
13083         (gst_task_join):
13084         * gst/gsttask.h:
13085         Detect and warn for obvious deadlocks. fixes #320340
13086         Fix error case where lock was not released.
13087
13088         * tests/check/Makefile.am:
13089         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
13090         (task_func), (gst_element_suite), (main):
13091         Add task check.
13092
13093 2006-02-13  Wim Taymans  <wim@fluendo.com>
13094
13095         * docs/gst/gstreamer-sections.txt:
13096         * gst/gstbus.c:
13097         Add new functions to docs.
13098
13099 2006-02-13  Wim Taymans  <wim@fluendo.com>
13100
13101         * docs/design/part-TODO.txt:
13102         Updated TODO list, basesrc supports seeking to non-bytes
13103         formats.
13104
13105         * docs/design/part-element-sink.txt:
13106         Update docs.
13107
13108         * gst/gstbin.c: (bin_replace_message),
13109         (gst_bin_handle_message_func):
13110         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
13111         * gst/gstevent.c: (gst_event_finalize):
13112         * gst/gstpad.c: (gst_pad_event_default_dispatch),
13113         (gst_pad_send_event):
13114         Use shiny new _TYPE_NAME macros.
13115
13116         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13117         Move debug statement up.
13118
13119         * gst/gstelement.c: (gst_element_set_locked_state):
13120         Add some debugging.
13121
13122 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
13123
13124         * docs/gst/gstreamer-sections.txt:
13125         * gst/gstmessage.h:
13126         * gst/gstquery.h:
13127           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
13128           macros (#330906). Also, document the already existing
13129           GST_QUERY_TYPE macro.
13130
13131 2006-02-13  Wim Taymans  <wim@fluendo.com>
13132
13133         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
13134         (event_probe), (GST_START_TEST):
13135         Only events up to the pipeline EOS are counted, there are
13136         some more when going to NULL currently which we don't care
13137         about for now.
13138
13139 2006-02-13  Wim Taymans  <wim@fluendo.com>
13140
13141         * gst/gstpad.c: (gst_pad_send_event):
13142         Correctly check flushing and emit probes. fixes #330125
13143
13144 2006-02-10  Andy Wingo  <wingo@pobox.com>
13145
13146         * gst/gstbus.c (gst_bus_class_init): Declare our private data
13147         structure.
13148         (gst_bus_init): Cache the location of the private data in the
13149         instance structure.
13150         (gst_bus_enable_sync_message_emission) 
13151         (gst_bus_disable_sync_message_emission): Implement new public
13152         functions.
13153         (gst_bus_post): Emit the sync-message signal if the user asked for
13154         it. Fixes #330684.
13155
13156         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
13157         location of the bus-private structure.
13158         (gst_bus_enable_sync_message_emission)
13159         (gst_bus_disable_sync_message_emission): API addition
13160
13161 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
13162
13163         Patch by: Vincent Torri
13164
13165         * docs/pwg/building-boiler.xml:
13166         PWG patch from #326800
13167
13168 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
13169
13170         * configure.ac:
13171         * docs/Makefile.am:
13172         * docs/design/Makefile.am:
13173           Dist design docs.
13174
13175 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
13176
13177         * configure.ac:
13178           back to CVS
13179
13180 === release 0.10.3 ===
13181
13182 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
13183
13184         * configure.ac:
13185           releasing 0.10.3, "Like a virgin"
13186
13187 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
13188
13189         * configure.ac:
13190           2nd prerelease of 0.10.3
13191           Bump libtool versioning.
13192
13193 2006-02-07  Andy Wingo  <wingo@pobox.com>
13194
13195         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
13196         update last_stop if we're in TIME format and the timestamp is
13197         valid.
13198
13199         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
13200         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
13201         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
13202         If we get a new newsegment with a different format, adapt
13203         accordingly.
13204
13205         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
13206         of 0. Not a problem, really.
13207
13208         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
13209         warn if sync=true.
13210
13211 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
13212
13213         * configure.ac:
13214           Prelease of 0.10.3
13215
13216 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
13217
13218         * win32/vs7:
13219           project files updated to the default vs7 configuration
13220         * win32/common/libgstbase.def:
13221         * win32/common/libgstreamer.def:
13222           added new symbols,
13223           removed empty lines,
13224           sorted all exported symbols alphabetically
13225         * win32/common/dirent.c:
13226         * win32/common/dirent.h:
13227         * win32/common/gchar.h:
13228           use windows line end.
13229           
13230 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
13231
13232         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13233           Send EOS event when stopping.
13234
13235 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
13236
13237         * docs/README:
13238           Tell folks what to do if the plugin-foobar.xml file
13239           hasn't been generated for a newly-added plugin.
13240
13241 2006-02-05  Julien MOUTTE  <julien@moutte.net>
13242
13243         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13244         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13245         (gst_collect_pads_start), (gst_collect_pads_stop),
13246         (gst_collect_pads_event): Collectpads now holds a reference
13247         to the GstPad that was added. Indeed we don't want to look
13248         at pads that might just go away with no warning...
13249
13250 2006-02-05  Julien MOUTTE  <julien@moutte.net>
13251
13252         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13253         (gst_collect_pads_start), (gst_collect_pads_stop),
13254         (gst_collect_pads_event), (gst_collect_pads_chain):
13255         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
13256         Mark Nauwelaerts's patch on bug #328491.
13257
13258 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
13259
13260         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
13261         (gst_utils_suite):
13262           Add some simple tests for gst_parse_bin_from_description() and
13263           gst_bin_find_unconnected_pad() (#329069).
13264
13265 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
13266
13267         * tools/gst-launch.c: (event_loop), (main):
13268           Catch errors during preroll (#320084).
13269
13270 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
13271
13272         * plugins/elements/gsttypefindelement.c:
13273         (gst_type_find_element_activate):
13274           Post TYPE_NOT_FOUND error message when typefinding
13275           is unsuccessful in the activate function as well.
13276
13277 2006-02-02  Wim Taymans  <wim@fluendo.com>
13278
13279         * docs/design/part-element-sink.txt:
13280         Updated doc.
13281
13282 2006-02-02  Wim Taymans  <wim@fluendo.com>
13283
13284         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13285         (gst_base_sink_render_object),
13286         (gst_base_sink_queue_object_unlocked):
13287         Only keep track of prerollable items when we are 
13288         prerolling.
13289         Before rendering after preroll, always check if we
13290         have queued items.
13291         Added some more debugging.
13292
13293 2006-02-02  Wim Taymans  <wim@fluendo.com>
13294
13295         * gst/gstelement.c: (gst_element_continue_state),
13296         (gst_element_set_state_func), (gst_element_change_state):
13297         Fixed #326576, been running this for quite some time with
13298         no regressions at all.
13299
13300 2006-02-02  Wim Taymans  <wim@fluendo.com>
13301
13302         * common/gst.supp:
13303         Added more suppressions
13304
13305 2006-02-02  Wim Taymans  <wim@fluendo.com>
13306
13307         * docs/design/part-element-sink.txt:
13308         Updated document.
13309
13310         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13311         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
13312         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
13313         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13314         (gst_base_sink_do_sync), (gst_base_sink_render_object),
13315         (gst_base_sink_preroll_object),
13316         (gst_base_sink_queue_object_unlocked),
13317         (gst_base_sink_queue_object), (gst_base_sink_event),
13318         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
13319         (gst_base_sink_loop), (gst_base_sink_activate_pull),
13320         (gst_base_sink_get_position), (gst_base_sink_change_state):
13321         * libs/gst/base/gstbasesink.h:
13322         Totally refactored matching the design doc.
13323         Use two segments, one to clip incomming buffers and another to
13324         perform sync.
13325         Handle queueing correctly, bypass the queue when playing.
13326         Make EOS cancelable.
13327         Handle errors correctly when operating in pull based mode.
13328
13329         * tests/check/elements/fakesink.c: (GST_START_TEST),
13330         (fakesink_suite):
13331         Added new check for sinks.
13332
13333 2006-02-02  Wim Taymans  <wim@fluendo.com>
13334
13335         * gst/gstsegment.c: (gst_segment_clip):
13336         No reason to refuse to clip when start == -1
13337
13338 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
13339
13340         * docs/README:
13341         * docs/manual/intro-basics.xml:
13342         * docs/manual/intro-preface.xml:
13343         * docs/manual/manual.xml:
13344         * docs/pwg/advanced-dparams.xml:
13345         * docs/pwg/intro-basics.xml:
13346         * docs/pwg/intro-preface.xml:
13347         * docs/pwg/pwg.xml:
13348           describe dparams (controller) for plugins
13349           unify docs a little more
13350
13351 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
13352
13353         * docs/gst/gstreamer-sections.txt:
13354         * gst/gstutils.c: (element_find_unconnected_pad),
13355         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
13356         * gst/gstutils.h:
13357           Add new API: gst_parse_bin_from_description() and
13358           gst_bin_find_unconnected_pad() (#329069).
13359
13360 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
13361
13362         * docs/manual/README:
13363           uncover a nasty detail of the docs build
13364
13365 2006-01-31  Wim Taymans  <wim@fluendo.com>
13366
13367         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
13368         Don't cache duration messages if we're not going to use or
13369         free them.
13370
13371 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
13372
13373         * docs/manual/advanced-dparams.xml:
13374         * docs/pwg/advanced-dparams.xml:
13375           more dparam docs
13376         * gst/gstindex.c:
13377           fix docs
13378         * libs/gst/controller/lib.c: (gst_controller_init):
13379           init just once
13380
13381 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13382
13383         * gst/gstelement.c: (gst_element_message_full):
13384           also show file/line/func if no additional debug was given
13385
13386 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
13387         
13388         * win32/vs7/grammar.vcproj:
13389           activate copy of autogenerated files for Release mode
13390
13391 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
13392         
13393         * win32/common/libgstreamer.def:
13394           export gst_value_compare
13395
13396 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
13397
13398         * plugins/elements/Makefile.am:
13399         * plugins/elements/gstelements.c:
13400         * plugins/elements/gstfdsink.c: (_do_init),
13401         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
13402         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
13403         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
13404         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
13405         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
13406         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
13407         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
13408         * plugins/elements/gstfdsink.h:
13409         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
13410
13411 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
13412
13413         * docs/manual/advanced-dparams.xml:
13414           describe controller
13415         * docs/manual/advanced-position.xml:
13416         * docs/manual/basics-init.xml:
13417         * docs/manual/manual.xml:
13418         * docs/manual/titlepage.xml:
13419         * docs/pwg/pwg.xml:
13420         * docs/pwg/titlepage.xml:
13421           cleanup xml (more to come)
13422         * libs/gst/controller/gstcontroller.c:
13423           fix typo
13424
13425 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
13426         
13427         * win32/vs6/grammar.dsp:
13428           add autogen of gstmarshal.c,h for Release mode
13429                 
13430 2006-01-30  Wim Taymans  <wim@fluendo.com>
13431
13432         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13433         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
13434         (gst_base_sink_handle_object), (gst_base_sink_event),
13435         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
13436         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13437         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
13438         (gst_base_sink_deactivate), (gst_base_sink_activate),
13439         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13440         (gst_base_sink_query), (gst_base_sink_change_state):
13441         Basesink cleanups, remove some old code.
13442         Handle the case where a subclass can preroll in the render
13443         method (mostly audiosinks).
13444         Handle more events.
13445         Remove some locks around variables that are now protected
13446         with the PREROLL_LOCK (clock_id, flushing, ..).
13447         Optimize position query some more, do correct locking.
13448         Remove old code to push queue in state change, this is not
13449         needed anymore since preroll blocks on all prerollable items 
13450         now.
13451         Almost implemented as described in design doc.
13452
13453 2006-01-30  Wim Taymans  <wim@fluendo.com>
13454
13455         * tests/check/gst/gstbin.c: (GST_START_TEST):
13456         Wait for refcount to settle down before checking.
13457
13458 2006-01-30  Wim Taymans  <wim@fluendo.com>
13459
13460         * docs/design/part-element-sink.txt:
13461         Pseudo code overview of desired sink behaviour regarding
13462         preroll.
13463
13464 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
13465         * win32/vs6/grammar.dsp:
13466           fix some bugs in Release mode for autogenerated files
13467                 
13468 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
13469         * win32/common/libgstbase.def:
13470         * win32/common/libgstreamer.def:
13471           export some new symbols: gst_base_src_set_format,
13472           gst_iterator_next, gst_structure_set_valist
13473
13474 2006-01-29  Julien MOUTTE  <julien@moutte.net>
13475
13476         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13477         Set pad functions unconditionally. Fixes #329105.
13478
13479 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
13480         * win32/vs8:
13481           add vs8 project files created by Sergey Scobich
13482
13483 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
13484
13485         * gst/gstutils.c: (gst_element_unlink_pads):
13486         Don't leak pad references.
13487
13488         * tests/check/elements/fakesink.c: (GST_START_TEST):
13489         * tests/check/generic/sinks.c: (GST_START_TEST):
13490         * tests/check/generic/states.c: (GST_START_TEST):
13491         * tests/check/gst/gstbin.c: (GST_START_TEST):
13492         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13493         * tests/check/gst/gstelement.c: (GST_START_TEST):
13494         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13495         * tests/check/gst/gstiterator.c: (GST_START_TEST):
13496         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13497         Fix a bunch of leaks. Make generic/sinks.c
13498         use a bit less cpu by slowing the buffer rate
13499         between fakesrc and fakesink.
13500         
13501 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
13502         * gst/gstcaps.c:
13503         * gst/gstelement.c: (gst_element_send_event):
13504         * gst/gstevent.c:
13505         * gst/gstinfo.c:
13506         * gst/gstiterator.c:
13507         * gst/gstiterator.h:
13508         * gst/gstpad.c: (gst_pad_send_event):
13509         * gst/gststructure.c:
13510         * gst/gsturi.c:
13511         * gst/gstutils.c:
13512         * gst/gstvalue.c:
13513         * libs/gst/base/gstadapter.c:
13514           doc fixes, to link to function, just write gst_cool_function(), don't
13515           prefix with '#'
13516
13517 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
13518
13519         * plugins/elements/gsttee.c: (gst_tee_do_push),
13520         (gst_tee_handle_buffer):
13521         Always prefer an actual return value from a src
13522         pad in place of NOT_LINKED. This means we return
13523         WRONG_STATE when all src pads are WRONG_STATE
13524         instead of NOT_LINKED.
13525
13526         Lock when replacing the last message to prevent
13527         racing with the get_property method.
13528
13529         Add debug output
13530
13531 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
13532
13533         * tests/check/Makefile.am:
13534         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
13535         (main):
13536         Add a very simple check that should have caught the memleak I fixed
13537         last night (if not for the slice allocator hiding it)
13538
13539 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
13540
13541         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13542         (gst_bin_remove_func), (gst_bin_handle_message_func),
13543         (bin_query_duration_fold), (bin_query_generic_fold):
13544         Clean up references to the clock provider when disposed or when
13545         handling a clock-lost message from it.
13546
13547         Unref sinks when performing a query via gst_iterator_fold, as the
13548         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
13549
13550         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
13551         (gst_clock_set_master):
13552         Drop our reference to the master clock, if any, when we are disposed.
13553
13554         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
13555         Chain up in dispose. 
13556
13557 2006-01-26  Wim Taymans  <wim@fluendo.com>
13558
13559         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13560         Add some debugging.
13561
13562 2006-01-26  Julien MOUTTE  <julien@moutte.net>
13563
13564         * plugins/elements/gsttee.c: (gst_tee_do_push),
13565         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
13566         handles pad being NOT_LINKED or in WRONG_STATE.
13567
13568 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
13569
13570         * win32/MANIFEST:
13571           more updating
13572
13573 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
13574
13575         * win32/MANIFEST:
13576           remove obsolete entry
13577
13578 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
13579
13580         * docs/gst/gstreamer-sections.txt:
13581         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
13582         (gst_bin_iterate_sources), (gst_bin_send_event):
13583         * gst/gstbin.h:
13584         * gst/gstelement.c: (gst_element_send_event):
13585         * gst/gstevent.c:
13586         * gst/gstpad.c: (gst_pad_send_event):
13587           added code for downstream events, reviewed docs in gstevent.c
13588
13589 2006-01-25  Julien MOUTTE  <julien@moutte.net>
13590
13591         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13592         We only query position using the clock in the playing state.
13593         Query peer in the other cases.
13594         * win32/common/config.h: Updates.
13595
13596 2006-01-24  Wim Taymans  <wim@fluendo.com>
13597
13598         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13599         A clock entry that is scheduled for the exact time of the
13600         clock is still in time.
13601
13602         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13603         (gst_base_sink_do_sync):
13604         Add some more debug info.
13605
13606 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
13607
13608         * win32/vs7:
13609           Add new vs7 project files and solution.
13610
13611 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
13612
13613         * win32/vs7:
13614           all files removed as they were out-dated.
13615
13616 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13617
13618         * docs/random/release:
13619           update notes
13620         * gst/gstbin.c: (gst_bin_init):
13621         * gst/gstbus.c: (gst_bus_new):
13622         * gst/gstbus.h:
13623         * gst/gstpipeline.c: (gst_pipeline_init):
13624           use gst_bus_new(), improve logging, fix docs
13625         * win32/common/config.h:
13626           update for cvs build
13627
13628 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13629
13630         * autogen.sh:
13631           up required version of automake to 1.7
13632
13633 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
13634
13635         * win32/common/libgstreamer.def:
13636           export gst_buffer_is_metadata_writable
13637
13638 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
13639
13640         * docs/gst/gstreamer-sections.txt:
13641         * gst/gstevent.h:
13642           Add gst_event_replace() (#327001)
13643
13644 2006-01-20  Wim Taymans  <wim@fluendo.com>
13645
13646         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
13647         Make it actually compile too..
13648
13649 2006-01-20  Wim Taymans  <wim@fluendo.com>
13650
13651         * gst/gstcaps.c:
13652         Clarify behaviour of _is_equal() when passing NULL parameters.
13653
13654         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13655         (gst_pad_set_caps):
13656         Cleanups. Don't unref NULL caps.
13657         When setting the same caps, protect caps of the pad with
13658         proper lock.
13659         Use full functionality of _is_equal() when comparing caps.
13660
13661 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
13662
13663         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13664         Don't loop infinitely if there are no buffers to present. Partially
13665         fixes #327197, but collectpads is just broken for reusing elements
13666         to do multiple encodes atm.
13667
13668 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
13669
13670         * tools/gst-inspect.c: (print_element_features):
13671         * tools/gst-xmlinspect.c: (main):
13672         URL_HANDLER is not a plugin feature we can search for in
13673         the registry.
13674
13675 2006-01-19  Edward Hervey  <edward@fluendo.com>
13676
13677         * gst/gstelement.c: (gst_element_pads_activate): 
13678         When activating, do src pads first, then sink pads.
13679         When de-activating, do sink pads first, then src pads.
13680
13681 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13682
13683         * docs/gst/gstreamer-sections.txt:
13684         Add gst_index_add_associationv to the docs
13685
13686 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13687
13688         * gst/gstevent.c:
13689           Fix docs typo
13690
13691         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
13692         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
13693           Do some refactoring. Doesn't actually change functionality,
13694           but makes landing the DRAIN event easier later.
13695
13696 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
13697
13698         * docs/pwg/advanced-scheduling.xml:
13699           Update from 0.9.x to 0.10 API and make example a bit
13700           clearer.
13701
13702 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13703
13704         * docs/gst/gstreamer-sections.txt:
13705         Add gst_buffer_(is|make)_metadata_writable methods.
13706
13707 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13708
13709         * docs/design/part-sparsestreams.txt:
13710         Update sparse streams doc, hopefully for greater clarity
13711
13712 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
13713
13714         * docs/design/part-events.txt:
13715         Remove mention of FILLER events.
13716         Add DRAIN event.
13717
13718         * docs/design/part-sparsestreams.txt:
13719         Write some things about using NEWSEGMENT to keep sparse streams
13720         flowing.
13721
13722 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
13723
13724         * gst/gstbin.c: (gst_bin_dispose):
13725           Guard gst_object_unref call against a NULL object (dispose
13726           can theoretically be called multiple times).
13727           
13728 2006-01-18  Wim Taymans  <wim@fluendo.com>
13729
13730         * gst/gstbin.c: (gst_bin_element_set_state):
13731         * gst/gstclock.c: (gst_clock_id_wait):
13732         Added some more debug info.
13733
13734         * libs/gst/base/gstadapter.c:
13735         Added more docs.
13736
13737         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13738         (gst_base_sink_do_sync), (gst_base_sink_chain):
13739         Added some comments.
13740
13741 2006-01-18  Wim Taymans  <wim@fluendo.com>
13742
13743         * tests/check/Makefile.am:
13744         * tests/check/elements/fakesink.c: (chain_async_buffer),
13745         (chain_async), (chain_async_return), (GST_START_TEST),
13746         (fakesink_suite), (main):
13747         Added fakesink test that checks prerolling and clipping
13748         behaviour.
13749
13750         * tests/check/gst/gstutils.c: (GST_START_TEST):
13751         Make check run faster so that buildbots don't timeout.
13752
13753 2006-01-18  Wim Taymans  <wim@fluendo.com>
13754
13755         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13756         (gst_base_sink_do_sync):
13757         Some cleanups.
13758         When the sink finishes blocking on the preroll buffer, it can
13759         immediatly render it instead of rendering when the next buffer
13760         arrives.
13761
13762 2006-01-18  Wim Taymans  <wim@fluendo.com>
13763
13764         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
13765         (gst_base_sink_get_property), (gst_base_sink_do_sync),
13766         (gst_base_sink_chain):
13767         Small cleanups.
13768         GST_ELEMENT_CLOCK and sync are protected with LOCK.
13769         Don't store _last_stop if the buffer is dropped.
13770
13771 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
13772
13773         * plugins/elements/gsttypefindelement.c:
13774         (gst_type_find_element_class_init):
13775           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
13776           object method handler that sets the caps on the pad and we want
13777           that to happen before we emit the signal (fixes e.g. feeding a
13778           plain text file to decodebin).
13779
13780 2006-01-18  Christian Schaller  <Christian@fluendo.com>
13781
13782         * gst/gstplugin.c: Add MPL and Proprietary as license options
13783
13784 2006-01-18  Andy Wingo  <wingo@pobox.com>
13785
13786         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
13787         symbol was exported before, it appears this was just an oversight.
13788         Fixes #168703.
13789         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
13790
13791         * gst/gstindex.c (gst_index_add_associationv): Changed int in
13792         prototype to gint. OK since this prototype was not in the header.
13793
13794 2006-01-17  Andy Wingo  <wingo@pobox.com>
13795
13796         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
13797         registry while we remove plugins.
13798
13799         * tools/gst-inspect.c (print_element_info): Don't unref the
13800         factory arg, that should be the responsibility of whatever code
13801         received the ref. Fixes a double-free when called from
13802         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
13803         (main): Unref the factory if we have one.
13804         (print_element_list): No change -- relies on the
13805         plugin_feature_list_free to free the list of features.
13806
13807 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
13808
13809         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13810         (gst_buffer_make_metadata_writable):
13811         * gst/gstbuffer.h:
13812         * libs/gst/base/gstbasetransform.c:
13813         (gst_base_transform_prepare_output_buf):
13814         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13815         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13816           Replace gst_buffer_(make|is)_metadata_writable patch now
13817           that the release is out.
13818
13819 2006-01-17  Andy Wingo  <wingo@pobox.com>
13820
13821         * gst/gstregistry.c: Reflow design comment. Update so as to speak
13822         in the present tense without reference to versions.
13823
13824         * gst/gstregistry.c (gst_registry_add_plugin)
13825         (gst_registry_remove_plugin, gst_registry_remove_feature)
13826         (gst_registry_find_feature, gst_registry_get_feature_list)
13827         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
13828         (gst_registry_lookup, gst_registry_scan_path)
13829         (_gst_registry_remove_cache_plugins)
13830         (gst_registry_get_feature_list_by_plugin): Add argument
13831         validation.
13832
13833 === release 0.10.2 ===
13834
13835 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
13836
13837         * configure.ac:
13838           releasing 0.10.2, "If man is five"
13839
13840 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
13841
13842         * gst/gstbuffer.c:
13843         * gst/gstbuffer.h:
13844         * libs/gst/base/gstbasetransform.c:
13845         (gst_base_transform_prepare_output_buf):
13846         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13847         * tests/check/gst/gstbuffer.c: (gst_test_suite):
13848           Back out patch until after the release.
13849
13850 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
13851
13852         * gst/gstminiobject.c:
13853           Spelling fix in docs.
13854         * ChangeLog - remove conflict indicator
13855
13856 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
13857
13858         Reviewed By: Andy Wingo
13859
13860         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13861         (gst_buffer_make_metadata_writable):
13862         * gst/gstbuffer.h:
13863           Add gst_buffer_(is|make)_metadata_writable as analogues of
13864           gst_buffer_(is|make)_writable.
13865
13866         * libs/gst/base/gstbasetransform.c:
13867         (gst_base_transform_prepare_output_buf):
13868         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13869           Use name gst_buffer_(is|make)_metadata_writable functions.
13870
13871         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13872           Test gst_buffer_(is|make)_metadata_writable
13873         
13874           (Closes: #324162)
13875
13876 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
13877
13878         * docs/manual/Makefile.am:
13879           don't do parallel make
13880         * configure.ac:
13881           AC_SUBST HOST_CPU
13882         * win32/common/config.h.in:
13883           add generations for HOST_CPU and GST_MAJORMINOR
13884         * win32/common/config.h:
13885           commit generated result
13886
13887 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
13888
13889         * docs/manual/appendix-integration.xml:
13890           Update GNOME integration section to use gst_init_get_option_group()
13891           instead of the old popt stuff (#322911). Also, GNOME applications
13892           should  now use gconf*sink and gconf*src instead of the old gconf
13893           helper lib we had.
13894
13895 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
13896
13897
13898         * docs/gst/gstreamer-docs.sgml:
13899         * docs/gst/gstreamer-sections.txt:
13900         * docs/libs/gstreamer-libs-sections.txt:
13901           add new API entries to the docs
13902         * libs/gst/controller/Makefile.am:
13903         * libs/gst/controller/gstcontroller.c:
13904         * libs/gst/controller/gstcontroller.h:
13905         * libs/gst/controller/gstcontrollerprivate.h:
13906         * libs/gst/controller/gsthelper.c:
13907         * libs/gst/controller/gstinterpolation.c:
13908           move private structs to private header
13909         * po/README:
13910           gstreamer-0.7 -> gstreamer-0.10
13911         * tests/check/libs/struct_i386.h:
13912           remove private structs
13913
13914 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13915
13916         * plugins/indexers/Makefile.am:
13917           Fixes as part of #317048
13918
13919 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13920
13921         * plugins/indexers/Makefile.am:
13922           fix #316086 - compilation when mmap is missing
13923
13924 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
13925
13926         * libs/gst/base/gstbasesink.c:
13927           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
13928           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
13929         * win32/common/config.h:
13930           added some defines GST_MAJORMINOR and HOST_CPU
13931         * win32/common/libgstbase.def:
13932         * win32/common/libgstreamer.def:
13933           added some exported functions.
13934
13935 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
13936
13937         * libs/gst/controller/gstcontroller.c:
13938         (gst_controlled_property_set_interpolation_mode),
13939         (gst_controlled_property_new):
13940         * libs/gst/controller/gstcontroller.h:
13941         * libs/gst/controller/gstinterpolation.c:
13942         (interpolate_none_get_string_value_array):
13943           make G_TYPE_STRING controlable
13944
13945 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
13946
13947         * tools/README:
13948         * tools/gst-feedback.1.in:
13949         * tools/gst-inspect.1.in:
13950         * tools/gst-launch.1.in:
13951         * tools/gst-md5sum.1.in:
13952         * tools/gst-typefind.1.in:
13953         * tools/gst-xmlinspect.1.in:
13954         * tools/gst-xmllaunch.1.in:
13955           cleanup man-pages, remove reference to gst-register, document env-vars
13956
13957 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
13958
13959         * gst/gstbuffer.c: (gst_buffer_span):
13960           gst_buffer_span should copy the timestamp of the first buffer
13961           if they were both originally overlapping subbuffers of the 
13962           same parent, using the same logic as the 'slow copy' case.
13963
13964 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
13965
13966         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
13967           Need to awaken ALL the pads when we pop a buffer, otherwise
13968           collectpads only works when there is 2 input streams.
13969
13970 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
13971
13972         * docs/random/ensonic/media-device-daemon.txt:
13973           more ideas (dbus)
13974         * gst/gstbuffer.c:
13975           fix doc example, add clarification
13976         * tools/gst-launch.1.in:
13977           add initial info about GST_PLUGIN_PATH, needs more work
13978
13979 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
13980
13981         * docs/manual/basics-bins.xml:
13982         * docs/manual/basics-elements.xml:
13983         * docs/manual/intro-basics.xml:
13984           Some more minor docs additions and updates.
13985
13986 2006-01-11  Wim Taymans  <wim@fluendo.com>
13987
13988         * docs/manual/basics-bins.xml:
13989         * docs/manual/basics-elements.xml:
13990         Some small fixes as pointed out by Ser-ver on IRC.
13991
13992 2006-01-10  Edward Hervey  <edward@fluendo.com>
13993
13994         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13995         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
13996         the single-segment mode.
13997
13998 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
13999
14000         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14001
14002         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
14003         (gst_base_src_perform_seek), (gst_base_src_send_event),
14004         (gst_base_src_set_property), (gst_base_src_get_property),
14005         (gst_base_src_loop), (gst_base_src_start),
14006         (gst_base_src_activate_push):
14007         * libs/gst/base/gstbasesrc.h:
14008           Name (private) union; makes Sun's Forte compiler happy (#324900).
14009
14010 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
14011
14012         * README:
14013           gst-register is gone.
14014
14015 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14016
14017         * gst/gstvalue.c: (_gst_value_initialize):
14018           make the G_TYPE_DATE instantiation work if debug is disabled
14019
14020 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
14021
14022         * gst/gstmessage.c: (gst_message_parse_tag),
14023         (gst_message_parse_error), (gst_message_parse_warning):
14024           Don't crash when return location for error/warning debug
14025           string is NULL; add fact that return locations can be
14026           NULL to docs where appropriate.
14027
14028 2006-01-05  Wim Taymans  <wim@fluendo.com>
14029
14030         * gst/gstplugin.c: (gst_plugin_load_file):
14031         Replace strdup by g_strdup.
14032
14033 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14034
14035         * docs/pwg/advanced-types.xml:
14036           fix doc borkage
14037
14038 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14039
14040         submitted by: Abel Cheung
14041
14042         * po/LINGUAS:
14043         * po/zh_TW.po:
14044           Added Chinese (traditional) translation
14045
14046 2006-01-04  Wim Taymans  <wim@fluendo.com>
14047
14048         * docs/manual/basics-pads.xml:
14049         * docs/plugins/Makefile.am:
14050         * docs/plugins/gstreamer-plugins-docs.sgml:
14051         * docs/plugins/gstreamer-plugins-sections.txt:
14052         * docs/pwg/advanced-clock.xml:
14053         * docs/pwg/advanced-scheduling.xml:
14054         * docs/pwg/advanced-types.xml:
14055         * plugins/elements/gstfdsink.c:
14056         * plugins/elements/gstfdsrc.c:
14057         * plugins/elements/gstfdsrc.h:
14058         * plugins/elements/gstidentity.c: (gst_identity_class_init):
14059         * plugins/elements/gstidentity.h:
14060         * plugins/elements/gstqueue.h:
14061         * plugins/elements/gsttee.c:
14062         * plugins/elements/gsttee.h:
14063         * plugins/elements/gsttypefindelement.c:
14064         (gst_type_find_element_class_init):
14065         * plugins/elements/gsttypefindelement.h:
14066         Small updates to various docs.
14067         Added core plugins to docs.
14068
14069 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14070
14071         * common/gst.supp:
14072           add a suppression for liboil's uninitialized variable
14073
14074 2006-01-02  James Livingston  <jrl at ids dot org dot au>
14075
14076         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14077
14078         * gst/gstutils.h:
14079           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
14080           macro, so that gcc doesn't complain if the -Wmissing-prototypes
14081           compiler switch is being used (#325429).
14082
14083 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
14084
14085         * gst/gstbin.c: (gst_bin_query):
14086           Disable duration query caching in bins until it gets
14087           fixed (see #324807).
14088
14089 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
14090
14091         * tools/gst-inspect.c: (print_element_properties_info):
14092           Handle properties of POINTER and BOXED type.
14093
14094 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
14095
14096         * gst/gst.c: (init_post):
14097           Init tags stuff and some other things before loading
14098           any static plugins (there may be other static plugins
14099           than just the GStreamer ones, and they may want to
14100           register their own tags or formats or whatever, and
14101           preferably without segfaulting).
14102
14103         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
14104           Print at least a warning in the debug logs if we drop a
14105           query just because we don't know how to adjust the value
14106           in the particular format.
14107
14108 2005-12-24  David Schleef  <ds@schleef.org>
14109
14110         * tools/gstreamer-completion:
14111           Replacement for gst-complete written in sh and sed.  Only
14112           completes names of features, but that's 90% of what I want
14113           it for.  Properties are not available in registry.xml.  (Maybe
14114           they should be...)
14115
14116 === release 0.10.1 ===
14117
14118 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
14119
14120         * configure.ac:
14121           releasing 0.10.1, "Nollaig chridheil"
14122
14123 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
14124
14125         * docs/faq/cvs.xml:
14126           Add missing quote, should be make ERROR_CFLAGS="".
14127
14128 2005-12-20  Wim Taymans  <wim@fluendo.com>
14129
14130         * docs/design/part-trickmodes.txt:
14131         More documentation on trickmodes.
14132
14133 2005-12-20  Edward Hervey  <edward@fluendo.com>
14134
14135         * gst/gstcaps.c: (gst_static_caps_get_type):
14136         * gst/gstcaps.h:
14137           API addition: GST_TYPE_STATIC_CAPS
14138         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
14139         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
14140         * gst/gstpadtemplate.h:
14141           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
14142         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
14143         bindings.
14144
14145 2005-12-18  Wim Taymans  <wim@fluendo.com>
14146
14147         * libs/gst/base/gstadapter.c:
14148         * libs/gst/base/gstadapter.h:
14149         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14150         (gst_base_sink_get_position):
14151         * libs/gst/base/gstbasesink.h:
14152         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14153         (gst_base_src_default_query), (gst_base_src_default_do_seek),
14154         (gst_base_src_do_seek), (gst_base_src_perform_seek),
14155         (gst_base_src_send_event), (gst_base_src_update_length),
14156         (gst_base_src_get_range), (gst_base_src_loop),
14157         (gst_base_src_start):
14158         * libs/gst/base/gstbasesrc.h:
14159         * libs/gst/base/gstbasetransform.h:
14160         * libs/gst/base/gstcollectpads.h:
14161         * libs/gst/base/gstpushsrc.c:
14162         * libs/gst/base/gstpushsrc.h:
14163         * libs/gst/dataprotocol/dataprotocol.c:
14164         * libs/gst/dataprotocol/dataprotocol.h:
14165         * libs/gst/net/gstnetclientclock.h:
14166         * libs/gst/net/gstnettimeprovider.h:
14167         Documentation updates.
14168
14169 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
14170
14171         * docs/manual/basics-helloworld.xml:
14172           Remove superfluous closing bracket in helloworld example.
14173
14174 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
14175
14176         * tools/gst-launch.1.in:
14177           Update gst-launch man page; add a section with useful
14178           environment variables. Fixes #323882.
14179
14180 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
14181
14182         * gst/gst.c:
14183         * gst/gst_private.h:
14184           change some char* into char[]
14185
14186 2005-12-16  Wim Taymans  <wim@fluendo.com>
14187
14188         * gst/gstregistryxml.c: (load_feature):
14189         Cleanups.
14190         Don't use g_object_unref on GstObjects so that we avoid
14191         leaks on unsafe glibs.
14192
14193 2005-12-16  Wim Taymans  <wim@fluendo.com>
14194
14195         * gst/gstbin.c: (gst_bin_recalc_state):
14196         Small doc updates.
14197
14198 2005-12-16  Wim Taymans  <wim@fluendo.com>
14199
14200         * common/check.mak:
14201         Added make forever target for check.
14202
14203 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14204
14205         * gst/gst.c: (init_post):
14206           make the registry cache file HOST_CPU-dependent
14207
14208 2005-12-16  Andy Wingo  <wingo@pobox.com>
14209
14210         * plugins/elements/gstbufferstore.c
14211         (gst_buffer_store_cleared_func): Pay attention to g_list_append
14212         return value.
14213
14214         * tests/check/gst/gstobject.c
14215         (test_fake_object_name_threaded_unique): Pay attention to
14216         g_list_sort return value.
14217
14218 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
14219
14220         * tools/gst-feedback-m.m:
14221           Update for 0.9/0.10 (fixes #323870).
14222
14223 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
14224
14225         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
14226           Fix lcopy for mini objects, the mini object needs to be ref'ed.
14227           
14228         * tests/check/gst/gstminiobject.c: (my_foo_init),
14229         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
14230         (test_value_collection), (gst_mini_object_suite):
14231           Add test to ensure refcounts end up as expected when passing
14232           GstMiniObjects through g_object_get() and g_object_set().
14233
14234 2005-12-14  Julien MOUTTE  <julien@moutte.net>
14235
14236         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14237         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
14238         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
14239         of collectpads. This version removes a lot of races without
14240         touching API/ABI. Yay !
14241
14242 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
14243
14244         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
14245           Don't allow activation of a srcpad in pull_range if it has no
14246           getrange function.
14247           Change some debug statements to be a little clearer
14248
14249         * plugins/elements/gsttypefindelement.c:
14250         (gst_type_find_handle_src_query):
14251           Check that we have a peer before executing queries thereupon.
14252
14253         * tests/examples/metadata/read-metadata.c: (message_loop):
14254           Use gst_bus_pop instead of gst_bus_poll when we just want it to
14255           immediately return us any available message with 0 timeout.
14256
14257 2005-12-12  Michael Smith  <msmith@fluendo.com>
14258
14259         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
14260           Don't unref factories after calling them.
14261         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
14262         * plugins/elements/gsttypefindelement.c:
14263         (gst_type_find_element_chain):
14264           Free lists of factories after using them. Fixing typefinding memory
14265           leaks.
14266
14267 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14268
14269         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14270         (gst_plugin_feature_load):
14271           more meaningful debug output
14272         * configure.ac:
14273         * tests/Makefile.am:
14274         * tests/old/examples/Makefile.am:
14275           make make distcheck happy again
14276
14277 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
14278
14279         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14280           Catch the special case where we are operating chain-based,
14281           but the downstream peer pad has no chain function. Emit a
14282           custom error message in this case instead of letting the
14283           core generate one implying that this is some sort of core
14284           bug. It's not, it just means that whatever got plugged
14285           into the pipeline downstream when we announced the type
14286           can only operate pull-based, while our source can only
14287           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
14288           Error string has not been marked for translation yet, as
14289           it probably needs some more work first.
14290
14291         (gst_type_find_element_get_best_possibility):
14292           Add helper function to find the best of all available
14293           found possibilities that qualify given the min. threshold.
14294
14295         (gst_type_find_element_handle_event):
14296           Fix the case where we get an EOS while still in TYPEFIND
14297           mode (we want to chose the best of all possible types,
14298           not just the first type that happens to be in our unsorted
14299           list of possible types).
14300
14301         (gst_type_find_element_chain):
14302           Make sure we return GST_FLOW_ERROR when we errored out
14303           in stop_typefinding(); also, don't just find the best of
14304           all found type entries and then use the last examined
14305           type entry, but actually use the best entry.
14306
14307 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
14308
14309         * tests/examples/typefind/typefind.c: (type_found):
14310         * tests/examples/xml/runxml.c: (xml_loaded):
14311           More gcc4 fixes and a mem leak fix.
14312
14313 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14314
14315         * tests/examples/xml/createxml.c: (object_saved):
14316           gcc 4 fixes
14317
14318 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14319
14320         * tests/Makefile.am:
14321           enable the examples even more
14322
14323 2005-12-12  Andy Wingo  <wingo@pobox.com>
14324
14325         * libs/gst/net/gstnettimeprovider.c
14326         (gst_net_time_provider_class_init, gst_net_time_provider_init)
14327         (gst_net_time_provider_set_property)
14328         (gst_net_time_provider_get_property):
14329         API addition: Export "active" as a GObject property.
14330         (gst_net_time_provider_thread): Only respond to time queries if
14331         the time provider is active.
14332
14333         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
14334         NetTimeProvider, preserving binary compat.
14335
14336 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14337
14338         * tests/examples/controller/audio-example.c: (main):
14339         * tests/examples/launch/Makefile.am:
14340           convert comments again
14341
14342 2005-12-12  Wim Taymans  <wim@fluendo.com>
14343
14344         * libs/gst/base/gstpushsrc.c:
14345         Fix typo.
14346
14347 2005-12-12  Wim Taymans  <wim@fluendo.com>
14348
14349         * docs/libs/gstreamer-libs-sections.txt:
14350         Added new symbol to docs.
14351
14352         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14353         (gst_base_src_init), (gst_base_src_set_format),
14354         (gst_base_src_default_query), (gst_base_src_query),
14355         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
14356         (gst_base_src_perform_seek), (gst_base_src_send_event),
14357         (gst_base_src_default_event), (gst_base_src_event_handler),
14358         (gst_base_src_set_property), (gst_base_src_get_property),
14359         (gst_base_src_wait), (gst_base_src_do_sync),
14360         (gst_base_src_update_length), (gst_base_src_get_range),
14361         (gst_base_src_check_get_range), (gst_base_src_loop),
14362         (gst_base_src_default_negotiate), (gst_base_src_start),
14363         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14364         (gst_base_src_change_state):
14365         * libs/gst/base/gstbasesrc.h:
14366         Implement seeking to other formats than _BYTES.
14367         Implement more seeking methods correctly.
14368         Doc updates.
14369         Added query vmethod.
14370         Added do_seek vmethod to make life easier for subclasses
14371         when seeking.
14372         API addition: gst_base_src_set_format()
14373
14374 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14375
14376         * tests/examples/Makefile.am:
14377           added that too
14378
14379 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14380
14381         * configure.ac:
14382         * docs/random/ensonic/media-device-daemon.txt:
14383         * tests/examples/controller/.cvsignore:
14384         * tests/examples/controller/Makefile.am:
14385         * tests/examples/controller/audio-example.c: (main):
14386         * tests/examples/helloworld/.cvsignore:
14387         * tests/examples/helloworld/Makefile.am:
14388         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
14389         * tests/examples/launch/.cvsignore:
14390         * tests/examples/launch/Makefile.am:
14391         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
14392         * tests/examples/metadata/.cvsignore:
14393         * tests/examples/metadata/Makefile.am:
14394         * tests/examples/metadata/read-metadata.c: (message_loop),
14395         (make_pipeline), (print_tag), (main):
14396         * tests/examples/queue/.cvsignore:
14397         * tests/examples/queue/Makefile.am:
14398         * tests/examples/queue/queue.c: (event_loop), (main):
14399         * tests/examples/typefind/.cvsignore:
14400         * tests/examples/typefind/Makefile.am:
14401         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
14402         (main):
14403         * tests/examples/xml/.cvsignore:
14404         * tests/examples/xml/Makefile.am:
14405         * tests/examples/xml/createxml.c: (object_saved), (main):
14406         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
14407         * tests/old/examples/Makefile.am:
14408         * tests/old/examples/TODO:
14409         * tests/old/examples/controller/.cvsignore:
14410         * tests/old/examples/controller/Makefile.am:
14411         * tests/old/examples/controller/audio-example.c:
14412         * tests/old/examples/helloworld/.cvsignore:
14413         * tests/old/examples/helloworld/Makefile.am:
14414         * tests/old/examples/helloworld/helloworld.c:
14415         * tests/old/examples/launch/.cvsignore:
14416         * tests/old/examples/launch/Makefile.am:
14417         * tests/old/examples/launch/mp3parselaunch.c:
14418         * tests/old/examples/launch/mp3play:
14419         * tests/old/examples/manual/Makefile.am:
14420         * tests/old/examples/metadata/Makefile.am:
14421         * tests/old/examples/metadata/read-metadata.c:
14422         * tests/old/examples/queue/.cvsignore:
14423         * tests/old/examples/queue/Makefile.am:
14424         * tests/old/examples/queue/queue.c:
14425         * tests/old/examples/typefind/.cvsignore:
14426         * tests/old/examples/typefind/Makefile.am:
14427         * tests/old/examples/typefind/typefind.c:
14428         * tests/old/examples/xml/.cvsignore:
14429         * tests/old/examples/xml/Makefile.am:
14430         * tests/old/examples/xml/createxml.c:
14431         * tests/old/examples/xml/runxml.c:
14432           applied some simple fixing to some examples
14433           re-enabled the working examples
14434
14435 2005-12-12  Wim Taymans  <wim@fluendo.com>
14436
14437         * gst/gstsegment.c: (gst_segment_init),
14438         (gst_segment_set_last_stop), (gst_segment_set_seek),
14439         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14440         (gst_segment_to_running_time):
14441         Added more documentation.
14442         Make sure the last_pos value is updated properly.
14443         Make sure to_stream_time and to_running_time don't
14444         operate on wrong values.
14445
14446         * tests/check/gst/gstsegment.c: (GST_START_TEST):
14447         Update check.
14448
14449 2005-12-12  Michael Smith  <msmith@fluendo.com>
14450
14451         * plugins/elements/gsttypefindelement.c: (free_entry),
14452         (gst_type_find_element_chain):
14453           Now that we're not leaking factories, make sure we keep references
14454           to them while we need them.
14455
14456 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14457
14458         * tests/check/gst/struct_i386.h:
14459           ifdef out the XML structs
14460
14461 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14462
14463         * gst/gstvalue.c: (gst_value_transform_double_fraction):
14464           floor is not needed, F is always positive; this obviates the
14465           need for adding -lm when building without libxml
14466
14467 2005-12-12  Wim Taymans  <wim@fluendo.com>
14468
14469         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14470         Take current playback rate into account when reporting
14471         the position.
14472
14473 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14474
14475         * docs/manual/mime-world.fig:
14476           Let's try this again, this time with a file that is
14477           actually in XFig format.
14478
14479 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14480
14481         * docs/manual/mime-world.fig:
14482           Add audioconvert element to diagram so that it
14483           matches the text and the code (fixes #319526).
14484
14485 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14486
14487         * docs/pwg/building-chainfn.xml:
14488         * docs/pwg/building-pads.xml:
14489         * docs/pwg/building-state.xml:
14490         * docs/pwg/other-source.xml:
14491           Update state change stuff for 0.10 (fixes #322969).
14492
14493 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14494
14495         * docs/manual/advanced-dataaccess.xml:
14496         * docs/manual/appendix-checklist.xml:
14497         * docs/manual/appendix-programs.xml:
14498         * docs/manual/basics-pads.xml:
14499         * docs/manual/highlevel-components.xml:
14500         * docs/manual/manual.xml:
14501           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
14502           add converters in front of pipelines; remove curly
14503           brackets for threads stuff, they no longer exist; use
14504           GST_TYPE_FRACTION for framerates; update some pieces of
14505           code to 0.10, but there's plenty more to do.
14506
14507         * docs/manual/appendix-porting.xml:
14508           Expand on asynchroneous state changes; s/0.9/0.10/;
14509           mention disappearance of gst_init_get_popt_table()
14510           (fixes #322916).
14511
14512 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14513
14514         * docs/faq/using.xml:
14515           Spider no longer exists, and neither does gst-launch-ext.
14516           Update examples to use decodebin and playbin and put
14517           converters in front of sinks (fixes #323726).
14518
14519 2005-12-09  Michael Smith  <msmith@fluendo.com>
14520
14521         * plugins/elements/gsttypefindelement.c: (find_peek),
14522         (gst_type_find_element_chain):
14523           Fix leaking element factories in typefinding.
14524           Fix problem where we forgot about a probable type on non-seekable
14525           files, and thus later mis-typefound it.
14526
14527 2005-12-09  Michael Smith  <msmith@fluendo.com>
14528
14529         * common/m4/gst-makecontext.m4:
14530         * common/m4/gst-mcsc.m4:
14531         * configure.ac:
14532         * win32/common/config.h:
14533         * win32/common/config.h.in:
14534           Remove makecontext stuff; not used in 0.10 and causes problems on
14535           HPUX according to bug #322441
14536
14537 2005-12-07  Wim Taymans  <wim@fluendo.com>
14538
14539         * tests/check/Makefile.am:
14540         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
14541         (main):
14542         * tests/check/libs/struct_i386.h:
14543         Added ABI check for libs
14544
14545 2005-12-07  Wim Taymans  <wim@fluendo.com>
14546
14547         * tests/check/Makefile.am:
14548         And add the struct_i386.h to dist.
14549
14550 2005-12-07  Wim Taymans  <wim@fluendo.com>
14551
14552         * tests/check/Makefile.am:
14553         * tests/check/gst/.cvsignore:
14554         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
14555         (main):
14556         * tests/check/gst/struct_i386.h:
14557         Added check for ABI compatibility.
14558
14559 2005-12-07  Wim Taymans  <wim@fluendo.com>
14560
14561         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14562         (gst_fake_src_get_times), (gst_fake_src_create):
14563         Fix broken sync option, fixes #323259
14564
14565 2005-12-07  Wim Taymans  <wim@fluendo.com>
14566
14567         * gst/gstbuffer.c:
14568         Small docs update.
14569
14570         * gst/gstcaps.c: (gst_caps_is_equal):
14571         Don't assert on NULL <--> X. Fixes #323260
14572
14573         * gst/gstminiobject.c: (gst_mini_object_replace):
14574         If we're doing atomic operations, we might just as well use
14575         the proper way to get an atomic pointer.
14576
14577         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14578         Clean up debugging.
14579
14580 2005-12-07  Michael Smith  <msmith@fluendo.com>
14581
14582         * gst/parse/grammar.y:
14583           Remove handling of { } for threads.
14584
14585 2005-12-06  David Schleef  <ds@schleef.org>
14586
14587         * libs/gst/base/gstbasetransform.c: speling fix.
14588
14589 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14590
14591         * docs/libs/tmpl/gstdataprotocol.sgml:
14592         * docs/random/omega/testing/gstobject.c:
14593         * gst/gst.c:
14594         * gst/gstclock.c:
14595         * gst/gstelement.c:
14596         * gst/gstelementfactory.c:
14597         * gst/gsterror.c:
14598         * gst/gstevent.c:
14599         * gst/gstghostpad.c:
14600         * gst/gstinfo.c:
14601         * gst/gstpadtemplate.c:
14602         * gst/gstregistryxml.c:
14603         * gst/gsttaglist.c:
14604         * gst/gsttagsetter.c:
14605         * gst/gsttypefind.c:
14606         * gst/gstvalue.c:
14607         * libs/gst/base/gstbasesrc.c:
14608         * libs/gst/net/gstnetclientclock.c:
14609         * libs/gst/net/gstnettimeprovider.c:
14610         * plugins/elements/gstfakesrc.c:
14611         * plugins/elements/gstfdsrc.c:
14612         * plugins/elements/gstfilesrc.c:
14613         * plugins/elements/gstidentity.c:
14614         * plugins/elements/gstqueue.c:
14615         * plugins/elements/gsttypefindelement.c:
14616         * plugins/indexers/gstfileindex.c:
14617         * plugins/indexers/gstmemindex.c:
14618         * tests/check/gst/gsttag.c:
14619         * tests/old/examples/cutter/cutter.c:
14620         * tests/old/examples/mixer/mixer.c:
14621         * tests/old/examples/xml/runxml.c: (main):
14622         * tests/old/testsuite/caps/normalisation.c:
14623         * tests/old/testsuite/debug/global.c:
14624         * tests/old/testsuite/parse/parse1.c:
14625         * tools/gst-xmlinspect.c:
14626         * win32/common/dirent.c:
14627           expand tabs
14628
14629 === release 0.10.0 ===
14630
14631 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14632
14633         * configure.ac:
14634           releasing 0.10.0, "Maroilles"
14635
14636 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14637
14638         submitted by: Funda Wang <fundawang@linux.net.cn>
14639
14640         * po/LINGUAS:
14641         * po/zh_CN.po:
14642           added Chinese (Traditional) translation
14643
14644 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14645
14646         * docs/gst/gstreamer-sections.txt:
14647         * docs/libs/tmpl/gstdataprotocol.sgml:
14648         * docs/random/thomasvs/TODO:
14649         * gst/gstutils.c:
14650         * gst/gstutils.h:
14651           fix docs
14652
14653 2005-12-05  Andy Wingo  <wingo@pobox.com>
14654
14655         patch by: Wim Taymans <wim@fluendo.com>
14656
14657         * libs/gst/base/gstbasetransform.c
14658         (gst_base_transform_prepare_output_buf)
14659         (gst_base_transform_buffer_alloc):
14660         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
14661         alloc_buffer_and_set_caps.
14662
14663         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
14664         set_caps on the source pad.
14665         (gst_pad_alloc_buffer_and_set_caps): New function, does what
14666         alloc_buffer used to do. Fixes #322874.
14667
14668         * docs/gst/gstreamer-sections.txt: 
14669         * docs/design/part-negotiation.txt: 
14670         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
14671         changes.
14672
14673 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14674
14675         patch by: Sebastien Moutte
14676
14677         * win32/MANIFEST:
14678         * win32/common/config.h.in:
14679         * win32/vs6/libgstcontroller.dsp:
14680           win32 build fixes
14681
14682 2005-12-05  Wim Taymans  <wim@fluendo.com>
14683
14684         * gst/gstcaps.c: (gst_caps_is_equal):
14685         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14686         (gst_fake_src_create):
14687         Back out previous code changes, leave doc updates, file bugs 
14688         instead. 
14689
14690 2005-12-05  Wim Taymans  <wim@fluendo.com>
14691
14692         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14693         (gst_fake_src_get_times), (gst_fake_src_create):
14694         * plugins/elements/gstfakesrc.h:
14695         Fix broken sync code.
14696
14697 2005-12-05  Wim Taymans  <wim@fluendo.com>
14698
14699         * gst/gstcaps.c: (gst_caps_is_equal):
14700         Comparing NULL against !NULL yields different caps, not a
14701         failure.
14702
14703 2005-12-05  Wim Taymans  <wim@fluendo.com>
14704
14705         * gst/gstpipeline.c:
14706         Fix small typo in docs.
14707
14708 2005-12-05  Andy Wingo  <wingo@pobox.com>
14709
14710         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
14711
14712         * gst/gst.c (init_post): remove hard-coded 0.9 location for
14713         registries/plugins with a MAJORMINOR one.
14714         (plugin_desc): Rename library from gstcoreleements to
14715         staticelements. Fixes #323222.
14716
14717 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
14718
14719         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
14720           Change debug category to 'collectpads' from 'collect_pads'
14721           (fixes #323250).
14722
14723 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
14724
14725         patch by: Sebastien Moutte
14726
14727         * libs/gst/controller/gstinterpolation.c:
14728           use convert function for uint64/double
14729         * win32/vs6/libgstcontroller.dsp:
14730           link to GLib
14731
14732 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
14733
14734         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
14735         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
14736         * gst/gstutils.h:
14737         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14738           add tests that seem to show that the guint64/gdouble conversions
14739           are correct.
14740
14741 2005-12-02  Wim Taymans  <wim@fluendo.com>
14742
14743         * gst/gstregistry.c: (gst_registry_add_path):
14744         * gst/gstregistry.h:
14745         * gst/gstregistryxml.c:
14746         Fix docs again.
14747
14748 2005-12-02  Wim Taymans  <wim@fluendo.com>
14749
14750         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14751         (gst_util_uint64_scale_int):
14752         Small cleanup.
14753
14754         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14755         Add debug log line.
14756
14757         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
14758         Add FIXME.
14759
14760 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14761
14762         * win32/MANIFEST:
14763         * win32/common/config.h:
14764         * win32/vs6/gstreamer.dsw:
14765         * win32/vs6/libgstcoreelements.dsp:
14766         * win32/vs6/libgstelements.dsp:
14767           renamed core elements plugin
14768
14769 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14770
14771         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
14772         (get_candidates):
14773           do piece-wise major/minor comparison so 0.9 < 0.10
14774           also allow .exe extensions for tools
14775
14776 2005-12-02  Michael Smith  <msmith@fluendo.com>
14777
14778         * gst/gst.c:
14779           Escape a % to make gtkdoc happier; bug 322958.
14780
14781 === release 0.9.7 ===
14782
14783 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14784
14785         * configure.ac:
14786           releasing 0.9.7, "My Dog Has No Nose"
14787
14788 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14789
14790         * common/gst-xmlinspect.py:
14791         * configure.ac:
14792         * docs/libs/tmpl/gstdataprotocol.sgml:
14793         * docs/random/release:
14794         * po/af.po:
14795         * po/az.po:
14796         * po/bg.po:
14797         * po/ca.po:
14798         * po/cs.po:
14799         * po/de.po:
14800         * po/en_GB.po:
14801         * po/fr.po:
14802         * po/it.po:
14803         * po/nb.po:
14804         * po/nl.po:
14805         * po/ru.po:
14806         * po/sq.po:
14807         * po/sr.po:
14808         * po/sv.po:
14809         * po/tr.po:
14810         * po/uk.po:
14811         * po/vi.po:
14812         * win32/common/config.h:
14813         * win32/common/config.h.in:
14814         * win32/vs6/gst_inspect.dsp:
14815         * win32/vs6/gst_launch.dsp:
14816         * win32/vs6/libgstbase.dsp:
14817         * win32/vs6/libgstelements.dsp:
14818         * win32/vs6/libgstreamer.dsp:
14819         * win32/vs7/GStreamer.vcproj:
14820         * win32/vs7/gst-inspect.vcproj:
14821         * win32/vs7/gst-launch.vcproj:
14822         * win32/vs7/libgstbase.vcproj:
14823           bump GST_MAJORMINOR to 0.10
14824           reset libtool version
14825
14826 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14827
14828         * po/LINGUAS:
14829         * po/bg.po:
14830           Added Bulgarian translation by (Alexander Shopov)
14831
14832 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14833
14834         * tests/check/gst/gstplugin.c:
14835           fix test
14836
14837 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14838
14839         * common/gst-xmlinspect.py:
14840         * common/gtk-doc-plugins.mak:
14841         * configure.ac:
14842         * docs/Makefile.am:
14843         * docs/gst/Makefile.am:
14844         * docs/gst/gstreamer-docs.sgml:
14845         * docs/gst/gstreamer-sections.txt:
14846         * docs/gst/gstreamer.types:
14847         * docs/gst/gstreamer.types.in:
14848         * docs/plugins/Makefile.am:
14849         * docs/plugins/gstreamer-plugins-docs.sgml:
14850         * docs/plugins/gstreamer-plugins-sections.txt:
14851         * docs/plugins/gstreamer-plugins.types:
14852         * docs/plugins/inspect.stamp:
14853         * docs/plugins/inspect/plugin-coreelements.xml:
14854         * docs/plugins/inspect/plugin-coreindexers.xml:
14855         * docs/plugins/scanobj-build.stamp:
14856         * gstreamer.spec.in:
14857         * plugins/elements/Makefile.am:
14858         * plugins/elements/gstelements.c:
14859         * plugins/elements/gstfakesink.c:
14860         * plugins/elements/gstfakesrc.c:
14861         * plugins/elements/gstfilesink.c:
14862         * plugins/elements/gstfilesrc.c:
14863         * plugins/elements/gstqueue.c:
14864         * plugins/indexers/Makefile.am:
14865         * plugins/indexers/gstindexers.c:
14866           document core plugins in a separate document just like all the
14867           others
14868           rename these plugins to something starting with core
14869
14870 2005-12-01  Andy Wingo  <wingo@pobox.com>
14871
14872         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
14873         padding here before, but it missed the commit.
14874
14875 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14876
14877         * libs/gst/controller/gstinterpolation.c:
14878           whitespace prices have crashed, we should feel free to use some now
14879           use gst_guint64_to_gdouble
14880
14881 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14882
14883         * libs/gst/controller/gstcontroller.c:
14884         * libs/gst/controller/gsthelper.c:
14885         * libs/gst/controller/gstinterpolation.c:
14886         * libs/gst/controller/lib.c:
14887           wrap config.h include
14888
14889 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14890
14891         * docs/gst/gstreamer-sections.txt:
14892           update docs
14893
14894 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14895
14896         * plugins/elements/gstelements.c:
14897         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
14898         (gst_fd_sink__class_init), (gst_fd_sink__init),
14899         (gst_fd_sink__chain), (gst_fd_sink__set_property),
14900         (gst_fd_sink__get_property):
14901         * plugins/elements/gstfdsink.h:
14902         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
14903         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
14904         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
14905         (gst_fd_src_unlock), (gst_fd_src_set_property),
14906         (gst_fd_src_get_property), (gst_fd_src_create),
14907         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
14908         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
14909         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
14910         (gst_fd_src_uri_handler_init):
14911         * plugins/elements/gstfdsrc.h:
14912         * plugins/elements/gstqueue.c: (gst_queue_get_type):
14913           more anal cleanup
14914
14915 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14916
14917         * docs/gst/Makefile.am:
14918         * docs/gst/gstreamer.types.in:
14919         * gst/Makefile.am:
14920           fix the docs build
14921
14922 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14923
14924         * configure.ac:
14925         * gst/Makefile.am:
14926         * gst/gst.c:
14927         * gst/gstplugin.h:
14928         * gst/gstregistry.h:
14929         * tests/benchmarks/complexity.c:
14930         * tests/benchmarks/mass-elements.c:
14931         * tests/check/Makefile.am:
14932         * tools/Makefile.am:
14933         * tools/gst-inspect.c:
14934         * tools/gst-xmlinspect.c:
14935           various fixes to make
14936           --disable-nls --disable-registry --disable-loadsave
14937           --disable-parse --disable-gst-debug
14938           work and get the core .so down to 360444 bytes after stripping
14939
14940 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14941
14942         * Makefile.am:
14943         * configure.ac:
14944           descend into tests
14945         * docs/random/thomasvs/TODO:
14946         * tests/Makefile.am:
14947         * tests/README:
14948           add a README
14949
14950 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14951
14952         * win32/GStreamer.vcproj:
14953         * win32/MANIFEST:
14954         * win32/Makefile:
14955         * win32/Makefile.inspect:
14956         * win32/Makefile.launch:
14957         * win32/Makefile.register:
14958         * win32/README.txt:
14959         * win32/gst-inspect.vcproj:
14960         * win32/gst-launch.vcproj:
14961         * win32/gst-register.vcproj:
14962         * win32/gstelements.vcproj:
14963         * win32/gstgetbits.def:
14964         * win32/gstgetbits.vcproj:
14965         * win32/gstreamer-dbg.def:
14966         * win32/gstreamer.def:
14967         * win32/libgstbase.def:
14968         * win32/libgstbase.vcproj:
14969         * win32/link_oldruntime.c:
14970         * win32/mman.c:
14971         * win32/mman.h:
14972         * win32/mman.inl:
14973         * win32/msvc71.sln:
14974           move even more stuff, win32/ is nice and clean now
14975
14976 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14977
14978         * libs/gst/control/.cvsignore:
14979         * win32/MANIFEST:
14980         * win32/config.h:
14981         * win32/dirent.c:
14982         * win32/dirent.h:
14983         * win32/gstbytestream.def:
14984         * win32/gstbytestream.vcproj:
14985         * win32/gstconfig.h:
14986         * win32/gstenumtypes.c:
14987         * win32/gstenumtypes.h:
14988         * win32/gstoptimalscheduler.vcproj:
14989         * win32/gstversion.h:
14990         * win32/gtchar.h:
14991         * win32/testsuite/bins.vcproj:
14992         * win32/testsuite/bytestream.vcproj:
14993         * win32/testsuite/caps.vcproj:
14994         * win32/testsuite/cleanup.vcproj:
14995         * win32/testsuite/clock.vcproj:
14996         * win32/testsuite/debug.vcproj:
14997         * win32/testsuite/dlopen.vcproj:
14998         * win32/testsuite/dynparams.vcproj:
14999         * win32/testsuite/elements.vcproj:
15000         * win32/testsuite/ghostpads.vcproj:
15001         * win32/testsuite/indexers.vcproj:
15002         * win32/testsuite/negotiation.vcproj:
15003         * win32/testsuite/parse.vcproj:
15004         * win32/testsuite/plugin.vcproj:
15005         * win32/testsuite/refcounting.vcproj:
15006         * win32/testsuite/schedulers.vcproj:
15007         * win32/testsuite/states.vcproj:
15008         * win32/testsuite/tags.vcproj:
15009         * win32/testsuite/threads.vcproj:
15010           remove old win32 stuff that isn't maintained and should be
15011           reorganized
15012
15013 2005-11-30  Andy Wingo  <wingo@pobox.com>
15014
15015         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
15016         loading the gst.interfaces python module bork.
15017
15018         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
15019         available since GLib 2.2. Fixes #318031.
15020
15021 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15022
15023         * Makefile.am:
15024         * check/.cvsignore:
15025         * check/Makefile.am:
15026         * check/elements/.cvsignore:
15027         * check/elements/fakesrc.c:
15028         * check/elements/fdsrc.c:
15029         * check/elements/identity.c:
15030         * check/generic/.cvsignore:
15031         * check/generic/states.c:
15032         * check/gst-libs/.cvsignore:
15033         * check/gst-libs/controller.c:
15034         * check/gst-libs/gdp.c:
15035         * check/gst/.cvsignore:
15036         * check/gst/capslist.h:
15037         * check/gst/gst.c:
15038         * check/gst/gstbin.c:
15039         * check/gst/gstbuffer.c:
15040         * check/gst/gstbus.c:
15041         * check/gst/gstcaps.c:
15042         * check/gst/gstelement.c:
15043         * check/gst/gstevent.c:
15044         * check/gst/gstghostpad.c:
15045         * check/gst/gstiterator.c:
15046         * check/gst/gstmessage.c:
15047         * check/gst/gstminiobject.c:
15048         * check/gst/gstobject.c:
15049         * check/gst/gstpad.c:
15050         * check/gst/gstpipeline.c:
15051         * check/gst/gstplugin.c:
15052         * check/gst/gstsegment.c:
15053         * check/gst/gststructure.c:
15054         * check/gst/gstsystemclock.c:
15055         * check/gst/gsttag.c:
15056         * check/gst/gstutils.c:
15057         * check/gst/gstvalue.c:
15058         * check/net/.cvsignore:
15059         * check/net/gstnetclientclock.c:
15060         * check/net/gstnettimeprovider.c:
15061         * check/pipelines/.cvsignore:
15062         * check/pipelines/cleanup.c:
15063         * check/pipelines/simple_launch_lines.c:
15064         * check/pipelines/stress.c:
15065         * check/states/.cvsignore:
15066         * check/states/sinks.c:
15067         * configure.ac:
15068         * examples/Makefile.am:
15069         * examples/appreader/.cvsignore:
15070         * examples/appreader/Makefile.am:
15071         * examples/appreader/appreader.c:
15072         * examples/controller/.cvsignore:
15073         * examples/controller/Makefile.am:
15074         * examples/controller/audio-example.c:
15075         * examples/cutter/.cvsignore:
15076         * examples/cutter/Makefile.am:
15077         * examples/cutter/cutter.c:
15078         * examples/cutter/cutter.h:
15079         * examples/events/Makefile.am:
15080         * examples/events/seek.c:
15081         * examples/helloworld/.cvsignore:
15082         * examples/helloworld/Makefile.am:
15083         * examples/helloworld/helloworld.c:
15084         * examples/helloworld2/.cvsignore:
15085         * examples/helloworld2/Makefile.am:
15086         * examples/helloworld2/helloworld2.c:
15087         * examples/launch/.cvsignore:
15088         * examples/launch/Makefile.am:
15089         * examples/launch/mp3parselaunch.c:
15090         * examples/launch/mp3play:
15091         * examples/manual/.cvsignore:
15092         * examples/manual/Makefile.am:
15093         * examples/manual/extract.pl:
15094         * examples/metadata/Makefile.am:
15095         * examples/metadata/read-metadata.c:
15096         * examples/mixer/.cvsignore:
15097         * examples/mixer/Makefile.am:
15098         * examples/mixer/mixer.c:
15099         * examples/mixer/mixer.h:
15100         * examples/pingpong/.cvsignore:
15101         * examples/pingpong/Makefile.am:
15102         * examples/pingpong/pingpong.c:
15103         * examples/plugins/.cvsignore:
15104         * examples/plugins/Makefile.am:
15105         * examples/plugins/example.c:
15106         * examples/plugins/example.h:
15107         * examples/pwg/.cvsignore:
15108         * examples/pwg/Makefile.am:
15109         * examples/pwg/extract.pl:
15110         * examples/queue/.cvsignore:
15111         * examples/queue/Makefile.am:
15112         * examples/queue/queue.c:
15113         * examples/queue2/.cvsignore:
15114         * examples/queue2/Makefile.am:
15115         * examples/queue2/queue2.c:
15116         * examples/queue3/.cvsignore:
15117         * examples/queue3/Makefile.am:
15118         * examples/queue3/queue3.c:
15119         * examples/queue4/.cvsignore:
15120         * examples/queue4/Makefile.am:
15121         * examples/queue4/queue4.c:
15122         * examples/retag/.cvsignore:
15123         * examples/retag/Makefile.am:
15124         * examples/retag/retag.c:
15125         * examples/retag/transcode.c:
15126         * examples/thread/.cvsignore:
15127         * examples/thread/Makefile.am:
15128         * examples/thread/thread.c:
15129         * examples/typefind/.cvsignore:
15130         * examples/typefind/Makefile.am:
15131         * examples/typefind/typefind.c:
15132         * examples/xml/.cvsignore:
15133         * examples/xml/Makefile.am:
15134         * examples/xml/createxml.c:
15135         * examples/xml/runxml.c:
15136         * tests/Makefile.am:
15137         * tests/check/Makefile.am:
15138         * testsuite/.cvsignore:
15139         * testsuite/Makefile.am:
15140         * testsuite/Rules:
15141         * testsuite/caps/.cvsignore:
15142         * testsuite/caps/Makefile.am:
15143         * testsuite/caps/app_fixate.c:
15144         * testsuite/caps/audioscale.c:
15145         * testsuite/caps/caps.c:
15146         * testsuite/caps/caps.h:
15147         * testsuite/caps/caps_strings:
15148         * testsuite/caps/compatibility.c:
15149         * testsuite/caps/deserialize.c:
15150         * testsuite/caps/enumcaps.c:
15151         * testsuite/caps/eratosthenes.c:
15152         * testsuite/caps/filtercaps.c:
15153         * testsuite/caps/fixed.c:
15154         * testsuite/caps/fraction-convert.c:
15155         * testsuite/caps/fraction-multiply-and-zero.c:
15156         * testsuite/caps/intersect2.c:
15157         * testsuite/caps/intersection.c:
15158         * testsuite/caps/normalisation.c:
15159         * testsuite/caps/random.c:
15160         * testsuite/caps/renegotiate.c:
15161         * testsuite/caps/sets.c:
15162         * testsuite/caps/simplify.c:
15163         * testsuite/caps/string-conversions.c:
15164         * testsuite/caps/structure.c:
15165         * testsuite/caps/subtract.c:
15166         * testsuite/caps/union.c:
15167         * testsuite/debug/.cvsignore:
15168         * testsuite/debug/Makefile.am:
15169         * testsuite/debug/category.c:
15170         * testsuite/debug/commandline.c:
15171         * testsuite/debug/global.c:
15172         * testsuite/debug/output.c:
15173         * testsuite/debug/printf_extension.c:
15174         * testsuite/dlopen/.cvsignore:
15175         * testsuite/dlopen/Makefile.am:
15176         * testsuite/dlopen/dlopen_gst.c:
15177         * testsuite/dlopen/loadgst.c:
15178         * testsuite/elements/.cvsignore:
15179         * testsuite/elements/Makefile.am:
15180         * testsuite/elements/gst-inspect-check.in:
15181         * testsuite/elements/struct_i386.h:
15182         * testsuite/elements/struct_size.c:
15183         * testsuite/indexers/.cvsignore:
15184         * testsuite/indexers/Makefile.am:
15185         * testsuite/indexers/cache1.c:
15186         * testsuite/indexers/indexdump.c:
15187         * testsuite/parse/.cvsignore:
15188         * testsuite/parse/Makefile.am:
15189         * testsuite/parse/parse1.c:
15190         * testsuite/parse/parse2.c:
15191         * testsuite/plugin/.cvsignore:
15192         * testsuite/plugin/Makefile.am:
15193         * testsuite/plugin/README:
15194         * testsuite/plugin/dynamic.c:
15195         * testsuite/plugin/linked.c:
15196         * testsuite/plugin/loading.c:
15197         * testsuite/plugin/registry.c:
15198         * testsuite/plugin/static.c:
15199         * testsuite/plugin/static2.c:
15200         * testsuite/plugin/testplugin.c:
15201         * testsuite/plugin/testplugin2.c:
15202         * testsuite/plugin/testplugin2_s.c:
15203         * testsuite/plugin/testplugin_s.c:
15204         * testsuite/refcounting/.cvsignore:
15205         * testsuite/refcounting/Makefile.am:
15206         * testsuite/refcounting/bin.c:
15207         * testsuite/refcounting/element.c:
15208         * testsuite/refcounting/element_pad.c:
15209         * testsuite/refcounting/mainloop.c:
15210         * testsuite/refcounting/mem.c:
15211         * testsuite/refcounting/mem.h:
15212         * testsuite/refcounting/object.c:
15213         * testsuite/refcounting/pad.c:
15214         * testsuite/refcounting/sched.c:
15215         * testsuite/refcounting/thread.c:
15216         * testsuite/states/.cvsignore:
15217         * testsuite/states/Makefile.am:
15218         * testsuite/states/bin.c:
15219         * testsuite/states/locked.c:
15220         * testsuite/states/parent.c:
15221         * testsuite/threads/.cvsignore:
15222         * testsuite/threads/159566.c:
15223         * testsuite/threads/159852.c:
15224         * testsuite/threads/Makefile.am:
15225         * testsuite/threads/queue.c:
15226         * testsuite/threads/signals.c:
15227         * testsuite/threads/staticrec.c:
15228         * testsuite/threads/thread.c:
15229         * testsuite/threads/threadb.c:
15230         * testsuite/threads/threadc.c:
15231         * testsuite/threads/threadd.c:
15232         * testsuite/threads/threade.c:
15233         * testsuite/threads/threadf.c:
15234         * testsuite/threads/threadg.c:
15235         * testsuite/threads/threadh.c:
15236         * testsuite/threads/threadi.c:
15237           move all of these under tests
15238
15239 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15240
15241         * configure.ac:
15242         * tests/Makefile.am:
15243           fix distcheck
15244
15245 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15246
15247         * docs/gst/gstreamer-sections.txt:
15248         * tests/sched/.cvsignore:
15249         * tests/sched/Makefile.am:
15250         * tests/sched/cases/(fs-fs).xml:
15251         * tests/sched/cases/(fs-i-fs).xml:
15252         * tests/sched/cases/(fs-i-i-fs).xml:
15253         * tests/sched/cases/(fs-i-q[i-fs]).xml:
15254         * tests/sched/dynamic-pipeline.c:
15255         * tests/sched/interrupt1.c:
15256         * tests/sched/interrupt2.c:
15257         * tests/sched/interrupt3.c:
15258         * tests/sched/runtestcases:
15259         * tests/sched/runxml.c:
15260         * tests/sched/sched-stress.c:
15261         * tests/sched/sort.c:
15262         * tests/sched/testcases:
15263         * tests/sched/testcases1.tc:
15264         * tests/seeking/.cvsignore:
15265         * tests/seeking/Makefile.am:
15266         * tests/seeking/seeking1.c:
15267         * tests/threadstate/.cvsignore:
15268         * tests/threadstate/Makefile.am:
15269         * tests/threadstate/test1.c:
15270         * tests/threadstate/test2.c:
15271         * tests/threadstate/threadstate1.c:
15272         * tests/threadstate/threadstate2.c:
15273         * tests/threadstate/threadstate3.c:
15274         * tests/threadstate/threadstate4.c:
15275         * tests/threadstate/threadstate5.c:
15276           remove obsolete tests
15277         * configure.ac:
15278         * tests/bench-complexity.scm:
15279         * tests/bench-mass_elements.scm:
15280         * tests/complexity.c:
15281         * tests/complexity.gnuplot:
15282         * tests/instantiate/.cvsignore:
15283         * tests/instantiate/Makefile.am:
15284         * tests/instantiate/caps.c:
15285         * tests/mass_elements.c:
15286         * tests/network-clock-utils.scm:
15287         * tests/network-clock.scm:
15288         * tests/plot-data:
15289         First pass at cleaning up tests/ dir before moving the rest
15290         Combined with CVS surgery
15291
15292 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15293
15294         * po/POTFILES.in:
15295           queue has moved, update
15296
15297 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15298
15299         * docs/gst/gstreamer-sections.txt:
15300           remove double entries from the docs
15301         * gst/gst_private.h:
15302         * gst/gstinfo.c: (_gst_debug_init):
15303           remove the THREAD debug category
15304         * gst/Makefile.am:
15305         * gst/gstqueue.c:
15306         * gst/gstqueue.h:
15307         * docs/gst/gstreamer.types:
15308         * plugins/elements/gstqueue.c: (gst_queue_get_type),
15309         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
15310           completely move queue and fix up debugging categories
15311
15312 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15313
15314         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15315           make initialization portable, using LL is not
15316
15317 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15318
15319         * win32/common/gstconfig.h:
15320           add large padding
15321
15322 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15323
15324         * win32/common/libgstreamer.def:
15325           rename symbols; sort base section
15326
15327 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15328
15329         * gst/gstclock.c: (do_linear_regression):
15330           remove crack non-portable handrolled DEBUG macro
15331
15332 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15333
15334         * docs/random/release:
15335           update notes
15336         * win32/common/gstenumtypes.c: (register_gst_object_flags),
15337         (gst_object_flags_get_type), (register_gst_bin_flags),
15338         (gst_bin_flags_get_type), (register_gst_buffer_flag),
15339         (gst_buffer_flag_get_type), (register_gst_bus_flags),
15340         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15341         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
15342         (gst_caps_flags_get_type), (register_gst_clock_return),
15343         (gst_clock_return_get_type), (register_gst_clock_entry_type),
15344         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15345         (gst_clock_flags_get_type), (register_gst_state),
15346         (gst_state_get_type), (register_gst_state_change_return),
15347         (gst_state_change_return_get_type), (register_gst_state_change),
15348         (gst_state_change_get_type), (register_gst_element_flags),
15349         (gst_element_flags_get_type), (register_gst_core_error),
15350         (gst_core_error_get_type), (register_gst_library_error),
15351         (gst_library_error_get_type), (register_gst_resource_error),
15352         (gst_resource_error_get_type), (register_gst_stream_error),
15353         (gst_stream_error_get_type), (register_gst_event_type_flags),
15354         (gst_event_type_flags_get_type), (register_gst_event_type),
15355         (gst_event_type_get_type), (register_gst_seek_type),
15356         (gst_seek_type_get_type), (register_gst_seek_flags),
15357         (gst_seek_flags_get_type), (register_gst_format),
15358         (gst_format_get_type), (register_gst_index_certainty),
15359         (gst_index_certainty_get_type), (register_gst_index_entry_type),
15360         (gst_index_entry_type_get_type),
15361         (register_gst_index_lookup_method),
15362         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15363         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15364         (gst_index_resolver_method_get_type), (register_gst_index_flags),
15365         (gst_index_flags_get_type), (register_gst_debug_level),
15366         (gst_debug_level_get_type), (register_gst_debug_color_flags),
15367         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15368         (gst_iterator_result_get_type), (register_gst_iterator_item),
15369         (gst_iterator_item_get_type), (register_gst_message_type),
15370         (gst_message_type_get_type), (register_gst_mini_object_flags),
15371         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15372         (gst_pad_link_return_get_type), (register_gst_flow_return),
15373         (gst_flow_return_get_type), (register_gst_activate_mode),
15374         (gst_activate_mode_get_type), (register_gst_pad_direction),
15375         (gst_pad_direction_get_type), (register_gst_pad_flags),
15376         (gst_pad_flags_get_type), (register_gst_pad_presence),
15377         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15378         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15379         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15380         (gst_plugin_error_get_type), (register_gst_plugin_flags),
15381         (gst_plugin_flags_get_type), (register_gst_rank),
15382         (gst_rank_get_type), (register_gst_query_type),
15383         (gst_query_type_get_type), (register_gst_tag_merge_mode),
15384         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15385         (gst_tag_flag_get_type), (register_gst_task_state),
15386         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15387         (gst_alloc_trace_flags_get_type),
15388         (register_gst_type_find_probability),
15389         (gst_type_find_probability_get_type), (register_gst_uri_type),
15390         (gst_uri_type_get_type), (register_gst_parse_error),
15391         (gst_parse_error_get_type):
15392         * win32/common/gstenumtypes.h:
15393         * win32/common/gstversion.h:
15394           update visual studio generated files
15395
15396 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15397
15398         * win32/vs6/libgstbase.dsp:
15399         * win32/vs6/libgstelements.dsp:
15400           update project files for new locations
15401
15402 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15403
15404         * Makefile.am:
15405           remove some files
15406         * README:
15407           reinstate and update
15408         * DEVEL:
15409         * REQUIREMENTS:
15410           removed
15411         * LICENSE:
15412         * docs/random/LICENSE:
15413           moved to random
15414
15415 2005-11-30  Edward Hervey  <edward@fluendo.com>
15416
15417         * gst/gsttypefind.c: (gst_type_find_register):
15418         * gst/gsttypefind.h:
15419         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
15420         (gst_type_find_factory_dispose):
15421         * gst/gsttypefindfactory.h:
15422         Fix memory leak in GstTypeFindFactory.
15423
15424 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15425
15426         * gst/gst.c:
15427         * plugins/elements/Makefile.am:
15428         * plugins/elements/gstelements.c:
15429         * plugins/elements/gstqueue.c:
15430           move queue from core to the elements plugin
15431
15432 2005-11-29  Andy Wingo  <wingo@pobox.com>
15433
15434         * libs/gst/base/gstbasetransform.h: 
15435         * libs/gst/base/gstbasesrc.h: 
15436         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
15437
15438         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
15439         of pointers by which to pad very extensible base classes (like the
15440         ones in libs/gst/base).
15441
15442 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15443
15444         * docs/gst/gstreamer-docs.sgml:
15445         * docs/gst/gstreamer-sections.txt:
15446         * docs/libs/gstreamer-libs-docs.sgml:
15447         * docs/libs/gstreamer-libs-sections.txt:
15448           moving documentation from core to lib
15449
15450 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15451
15452         * check/Makefile.am:
15453         * configure.ac:
15454         * docs/gst/Makefile.am:
15455         * gst/Makefile.am:
15456         * gst/base/.cvsignore:
15457         * gst/base/Makefile.am:
15458         * gst/base/README:
15459         * gst/base/gstadapter.c:
15460         * gst/base/gstadapter.h:
15461         * gst/base/gstbasesink.c:
15462         * gst/base/gstbasesink.h:
15463         * gst/base/gstbasesrc.c:
15464         * gst/base/gstbasesrc.h:
15465         * gst/base/gstbasetransform.c:
15466         * gst/base/gstbasetransform.h:
15467         * gst/base/gstcollectpads.c:
15468         * gst/base/gstcollectpads.h:
15469         * gst/base/gstpushsrc.c:
15470         * gst/base/gstpushsrc.h:
15471         * gst/base/gsttypefindhelper.c:
15472         * gst/base/gsttypefindhelper.h:
15473         * gst/check/Makefile.am:
15474         * gst/check/gstcheck.c:
15475         * gst/check/gstcheck.h:
15476         * gst/net/Makefile.am:
15477         * gst/net/gstnet.h:
15478         * gst/net/gstnetclientclock.c:
15479         * gst/net/gstnetclientclock.h:
15480         * gst/net/gstnettimepacket.c:
15481         * gst/net/gstnettimepacket.h:
15482         * gst/net/gstnettimeprovider.c:
15483         * gst/net/gstnettimeprovider.h:
15484         * libs/gst/Makefile.am:
15485         * libs/gst/base/Makefile.am:
15486         * libs/gst/base/gstbasetransform.c:
15487         * libs/gst/check/Makefile.am:
15488         * plugins/elements/Makefile.am:
15489         * po/POTFILES.in:
15490           CVS surgery + support to move base, check, and net out of gst
15491           and into libs/gst
15492
15493 2005-11-29  Andy Wingo  <wingo@pobox.com>
15494
15495         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
15496
15497         * gst/gststructure.h (struct _GstStructure): Only one pointer of
15498         padding.
15499
15500         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
15501
15502         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
15503
15504         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
15505
15506         * gst/gstobject.h: (struct _GstObject): Only one pointer of
15507         padding; reduces object size by about 30%. We don't expect
15508         anything else to go into gstobject.
15509
15510         * gst/gstminiobject.h (struct _GstMiniObject)
15511         (struct _GstMiniObjectClass): Only one pointer of padding; the
15512         payload is only a pointer and two ints anyway. For the class there
15513         are only two methods as well.
15514         
15515         * gst/gstelement.h (struct _GstElementClass): Removed
15516         the state_changed signal callback, it is not used.
15517
15518 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15519
15520         * docs/gst/gstreamer.types:
15521           fix includes, though they are a little dinky
15522
15523 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15524
15525         * check/Makefile.am:
15526           look in the right place for elements, a lot more chance of
15527           success
15528         * gst/Makefile.am:
15529           remove indexers and elements subdirs
15530         * plugins/Makefile.am:
15531           make indexers conditional
15532
15533 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15534
15535         * Makefile.am:
15536         * configure.ac:
15537         * plugins/elements/Makefile.am:
15538         * plugins/elements/gstcapsfilter.c:
15539         * plugins/elements/gstfilesink.c:
15540         * plugins/elements/gstfilesrc.c:
15541         * plugins/elements/gstidentity.c:
15542         * plugins/indexers/Makefile.am:
15543           do CVS surgery and related build fixery to move elements
15544           and indexers in a new gstreamer/plugins directory, out of the
15545           gst/ directory
15546
15547 2005-11-29  Andy Wingo  <wingo@pobox.com>
15548
15549         * check/Makefile.am:
15550         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15551         * pkgconfig/gstreamer-net.pc.in:
15552         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
15553         #322257.
15554
15555 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15556
15557         * tools/Makefile.am:
15558         * tools/gst-complete.1.in:
15559         * tools/gst-complete.c:
15560         * tools/gst-compprep.1.in:
15561         * tools/gst-compprep.c:
15562           removing -compprep and -complete
15563
15564 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15565
15566         * gst/gstevent.c: (gst_event_new_new_segment),
15567         (gst_event_parse_new_segment):
15568         * gst/gstevent.h:
15569           fix #320529 - clean up new_segment API and structure.
15570           Let's hope everyone was using the methods, and not the structure.
15571
15572 2005-11-29  Edward Hervey  <edward@fluendo.com>
15573
15574         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15575         (gst_base_sink_event), (gst_base_sink_do_sync),
15576         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15577         Properly handle non GST_FORMAT_TIME segment
15578         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15579         Properly handle non GST_FORMAT_TIME segment
15580         * gst/gstsegment.c:
15581         This function is valid if the accumulator is 0 and the format
15582         is different from the requested format.
15583         
15584 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
15585
15586         * docs/gst/gstreamer-sections.txt:
15587         Add gst_query_new_seeking and gst_query_parse_seeking to the
15588         docs.
15589
15590 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
15591
15592         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15593           Treat a pad alloc with new caps the same as if we were not
15594           negotiated, in order to allow a changing upstream output
15595           to produce a new format of data.
15596
15597 2005-11-29  Edward Hervey  <edward@fluendo.com>
15598
15599         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15600         (gst_base_transform_event), (gst_base_transform_eventfunc):
15601         The event virtual method is now properly implemented, with a default
15602         handler
15603         Sub classes should call the parent_class event method. They should
15604         return FALSE if they had a problem handling the given event, or don't
15605         want GstBaseTransform to send that even downstream
15606         * gst/elements/gstidentity.c: (gst_identity_class_init),
15607         (gst_identity_init), (gst_identity_event),
15608         (gst_identity_transform_ip), (gst_identity_set_property),
15609         (gst_identity_get_property):
15610         * gst/elements/gstidentity.h:
15611         Added the single-segment boolean property.
15612         If set to TRUE, it will output a single segment of data, starting from
15613         0, will eat up all incoming newsegment, and modify the timestamp of the
15614         buffers accordingly
15615
15616 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
15617
15618         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
15619           Don't ref NULL target pad (#322751). Improve docs.
15620
15621 2005-11-29  Michael Smith  <msmith@fluendo.com>
15622
15623         * gst/gstregistryxml.c: (load_plugin):
15624           Don't crash if we failed to load a feature from a plugin. 
15625
15626 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15627
15628         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
15629         (GST_START_TEST):
15630           use more check API and less GLib API
15631
15632 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15633
15634         * Makefile.am:
15635           don't run checks if we don't have check
15636         * common/check.mak:
15637           remove the registry when running make torture
15638         * docs/gst/gstreamer-sections.txt:
15639           remove second multiply
15640         * gst/gstqueue.c: (gst_queue_loop):
15641           fix a compile warning when disabling debug
15642
15643 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
15644
15645         * gst/gstinfo.h:
15646         Hey! Let's print the pad name if the pointer != NULL instead
15647         of when it == NULL :-)
15648
15649 2005-11-28  Wim Taymans  <wim@fluendo.com>
15650
15651         * check/gst/gstutils.c: (GST_START_TEST):
15652         Updated check, add some scaling accuracy checking code.
15653
15654         * gst/gstutils.c: (gst_util_div128_64),
15655         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
15656         (gst_util_uint64_scale_int):
15657         Fix 6 times faster division code. Optimize for common 
15658         1/1 and less common X/1 cases.
15659
15660 2005-11-28  Wim Taymans  <wim@fluendo.com>
15661
15662         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15663         More checks.
15664
15665         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
15666         (do_linear_regression), (gst_clock_add_observation):
15667         Cleanups.
15668         Release lock when the clock cannot be slaved.
15669         Catch the case where the regression returned an invalid denominator.
15670
15671         * gst/gstutils.c: (gst_util_div128_64_iterate),
15672         (gst_util_div128_64), (gst_util_uint64_scale_int64),
15673         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15674         Add protentially more performant non-iterative 128/64 divide function
15675         that unfortunatly does not work yet.
15676         Shortcut the trivial 0/X = 0 case.
15677         Remove the warnings on overflow.
15678
15679 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15680
15681         * gst/gstplugin.c: (gst_plugin_register_func):
15682           everything causing a plugin not to load should be at least a WARNING
15683
15684 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
15685
15686         * docs/random/ensonic/dparams.txt:
15687           some TODOs for the next dev cycle
15688         * libs/gst/controller/gstcontroller.c:
15689         (gst_controlled_property_set_interpolation_mode),
15690         (gst_controlled_property_new):
15691         * libs/gst/controller/gstcontroller.h:
15692           use base type to assign acccessor functions
15693
15694 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
15695
15696         * check/Makefile.am:
15697         Oops, that should have been top_srcdir
15698
15699 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
15700
15701         * check/Makefile.am:
15702         * check/elements/fdsrc.c: (GST_START_TEST):
15703         Use a cmdline define to specify the location of a file to use for
15704         testing, to avoid breaking distcheck.
15705
15706 2005-11-28  Andy Wingo  <wingo@pobox.com>
15707
15708         * gst/gstpad.c (fixate_value): Use array functions for arrays.
15709
15710 2005-11-28  Edward Hervey  <edward@fluendo.com>
15711
15712         * tools/gst-launch.c: (main):
15713         Clarify the output strings, makes it easier to translate.
15714         Fixes #322626
15715
15716 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15717
15718         * gst/Makefile.am:
15719           don't try and build net if we don't even have <sys/socket.h>
15720
15721 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
15722
15723         * check/Makefile.am:
15724         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
15725         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
15726           Add tests for fdsrc seekability
15727
15728         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15729         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
15730         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
15731         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
15732         * gst/elements/gstfdsrc.h:
15733           fdsrc should not be a 'live' source.
15734           Implement seeking on seekable fd's.
15735
15736         * gst/gstquery.c: (gst_query_new_seeking),
15737         (gst_query_parse_seeking):
15738         * gst/gstquery.h:
15739           Implement SEEKING query functions: 
15740             *_new_seeking and *_parse_seeking
15741
15742 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
15743
15744         * gst/gstelement.c: (gst_element_dispose):
15745           don't loop forever
15746
15747         * gst/gstiterator.c:
15748         * gst/gststructure.c:
15749           doc fixes
15750
15751         * libs/gst/controller/gstcontroller.c:
15752         (gst_controlled_property_set_interpolation_mode):
15753         * libs/gst/controller/gstcontroller.h:
15754         * libs/gst/controller/gstinterpolation.c:
15755         (interpolate_none_get_enum_value_array):
15756           support controlling enums
15757
15758 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
15759
15760         * gst/gstvalue.c:
15761           Improve documentation for gst_value_union().
15762
15763         * gst/gstvalue.h:
15764           Change return value for union, intersect and subtract functions
15765           from gint to gboolean.
15766
15767 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
15768
15769         * gst/gstvalue.c: (gst_value_serialize_any_list),
15770         (gst_value_transform_any_list_string),
15771         (gst_value_deserialize_list), (gst_value_deserialize_array),
15772         (gst_value_set_int_range), (gst_value_deserialize_int_range),
15773         (gst_value_set_double_range), (gst_value_deserialize_double_range),
15774         (gst_value_set_fraction_range_full),
15775         (gst_value_deserialize_fraction_range),
15776         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
15777         (gst_value_deserialize_boolean),
15778         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
15779         (gst_value_serialize_float), (gst_value_deserialize_float),
15780         (gst_string_wrap), (gst_value_deserialize_string),
15781         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
15782         (gst_value_union_int_range_int_range),
15783         (gst_value_intersect_int_range_int_range),
15784         (gst_value_intersect_double_range_double_range),
15785         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
15786         (gst_value_subtract_int_range_int_range),
15787         (gst_value_subtract_double_double_range),
15788         (gst_value_subtract_double_range_double_range),
15789         (gst_value_deserialize_fraction):
15790         * gst/gstvalue.h:
15791           Use gint, gdouble and gchar in our API instead of int, double and
15792           char (and make usage in gstvalue.c more consistent).
15793
15794 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15795
15796         * check/Makefile.am:
15797         * libs/gst/controller/Makefile.am:
15798         * libs/gst/dataprotocol/Makefile.am:
15799           fix up Makefile.am and remove GST_ENABLE_NEW
15800
15801 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15802
15803         * configure.ac:
15804         * gst/Makefile.am:
15805         * gst/base/Makefile.am:
15806         * gst/check/Makefile.am:
15807         * gst/elements/Makefile.am:
15808         * gst/net/Makefile.am:
15809           update LDFLAGS use some more
15810
15811 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15812
15813         * common/m4/gst-doc.m4:
15814           Fixes #312589
15815
15816 2005-11-26  Edward Hervey  <edward@fluendo.com>
15817
15818         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15819         This shouldn't issue a g_warning since it returns NULL if it
15820         couldn't find the plugin, and all functions using this behave
15821         properly on a NULL return. Switching to a GST_WARNING.
15822
15823 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
15824
15825         * gst/gstbin.c: (gst_bin_handle_message_func):
15826         Don't leak clock messages.
15827
15828 2005-11-25  Wim Taymans  <wim@fluendo.com>
15829
15830         * gst/gstutils.c: (gst_util_uint64_scale_int64),
15831         (gst_util_uint64_scale_int):
15832         Optimisations, remove unneeded vars.
15833
15834 2005-11-25  Wim Taymans  <wim@fluendo.com>
15835
15836         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15837         Added more checks for the high precision uint64 cases.
15838
15839         * gst/gstutils.c: (gst_util_uint64_scale_int64),
15840         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15841         Implement high precision (guint64 * guint64) / guint64.
15842
15843 2005-11-24  Wim Taymans  <wim@fluendo.com>
15844
15845         * gst/base/gstbasesrc.c: (gst_base_src_query):
15846         Fix wrong percentage query.
15847
15848         * gst/gstutils.c: (gst_util_uint64_scale),
15849         (gst_util_uint64_scale_int):
15850         Add some more common cases that can be handled 
15851         efficiently to _scale.
15852
15853 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15854
15855         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
15856         (gst_mini_object_suite):
15857           don't use check calls from threads; check probably isn't
15858           threadsafe and using a lock to make it threadsafe would
15859           defeat the purpose of this check
15860         * gst/check/gstcheck.c:
15861         * gst/check/gstcheck.h:
15862           use GST_DEBUG some more
15863
15864 2005-11-24  Wim Taymans  <wim@fluendo.com>
15865
15866         * gst/gstutils.c: (gst_util_uint64_scale),
15867         (gst_util_uint64_scale_int):
15868         Chain trivial case to _scale_int.
15869
15870 2005-11-24  Wim Taymans  <wim@fluendo.com>
15871
15872         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15873         Added test for scaling.
15874
15875         * gst/gstclock.h:
15876         Small doc fix.
15877
15878         * gst/gstutils.c: (gst_util_uint64_scale_int):
15879         Implemented high precision scaling code.
15880
15881 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
15882
15883         * gst/gstinfo.h:
15884           do not crash on pad==NULL
15885
15886 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15887
15888         Patch by: Stefan Kost
15889
15890         * common/gtk-doc.mak:
15891         * docs/gst/Makefile.am:
15892         * docs/libs/Makefile.am:
15893           Fix distcheck issues for the libraries docs build
15894           Closes #319599.
15895
15896 2005-11-24  Michael Smith <msmith@fluendo.com>
15897
15898         * docs/manual/basics-helloworld.xml:
15899           Fix bug #315027: memory leak in example code in docs.
15900
15901 2005-11-24  Michael Smith <msmith@fluendo.com>
15902
15903         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15904           Unlock the PREROLL_LOCK in a failure case.
15905
15906 2005-11-24  Wim Taymans  <wim@fluendo.com>
15907
15908         * docs/gst/gstreamer-sections.txt:
15909         * gst/base/gstadapter.h:
15910         * gst/base/gstbasesink.h:
15911         * gst/base/gstbasesrc.h:
15912         * gst/base/gstbasetransform.h:
15913         * gst/base/gstpushsrc.h:
15914         * gst/elements/gstfakesink.h:
15915         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
15916         * gst/elements/gstfakesrc.h:
15917         * gst/elements/gstfilesink.h:
15918         * gst/elements/gstfilesrc.h:
15919         * gst/gst.c:
15920         * gst/gstbin.c:
15921         * gst/gstbuffer.c: (_gst_buffer_copy):
15922         * gst/gstbus.h:
15923         * gst/gstcaps.c:
15924         * gst/gstchildproxy.c:
15925         * gst/gstclock.c:
15926         * gst/gstelement.c:
15927         * gst/gstelementfactory.c:
15928         * gst/gstelementfactory.h:
15929         * gst/gstevent.c:
15930         * gst/gstghostpad.h:
15931         * gst/gstindex.h:
15932         * gst/gstinterface.h:
15933         * gst/gstminiobject.c:
15934         * gst/gstminiobject.h:
15935         * gst/gstpad.c:
15936         * gst/gstpad.h:
15937         * gst/gstpadtemplate.h:
15938         * gst/gstpipeline.h:
15939         * gst/gstpluginfeature.h:
15940         * gst/gstquery.h:
15941         * gst/gstqueue.h:
15942         * gst/gsttaglist.c:
15943         * gst/gsttaglist.h:
15944         * gst/gsttagsetter.c:
15945         * gst/gsttagsetter.h:
15946         * gst/gsttrace.c:
15947         * gst/gsttrace.h:
15948         * gst/gsttypefind.h:
15949         * gst/gsturi.h:
15950         * gst/gstvalue.c:
15951         * gst/net/gstnetclientclock.c:
15952         * gst/net/gstnetclientclock.h:
15953         * gst/net/gstnettimepacket.c:
15954         * gst/net/gstnettimeprovider.c:
15955         * gst/net/gstnettimeprovider.h:
15956         Doc fixes.
15957
15958 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15959
15960         * configure.ac: back to HEAD
15961
15962 === release 0.9.6 ===
15963
15964 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
15965
15966         * configure.ac:
15967           releasing 0.9.6, "Always On Time"
15968
15969 2005-11-23  Wim Taymans  <wim@fluendo.com>
15970
15971         * docs/gst/gstreamer-sections.txt:
15972         * gst/glib-compat.c:
15973         * gst/gsttagsetter.c:
15974         * gst/gstvalue.c:
15975         * gst/net/gstnetclientclock.c:
15976         * gst/net/gstnettimepacket.h:
15977         Doc updates.
15978
15979 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15980
15981         * docs/faq/using.xml:
15982         * docs/libs/tmpl/gstcontrol.sgml:
15983         * docs/manual/advanced-dparams.xml:
15984         * docs/manual/appendix-checklist.xml:
15985         * docs/manual/basics-elements.xml:
15986         * docs/pwg/other-source.xml:
15987         * docs/random/moving-plugins:
15988         * gst/gstpad.c:
15989         * tools/gst-launch.1.in:
15990           remove mentions of sinesrc
15991
15992 2005-11-23  Michael Smith <msmith@fluendo.com>
15993
15994         * docs/gst/gstreamer-sections.txt:
15995           Update for new API and API changes.
15996         * gst/gstobject.h:
15997           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
15998         * gst/gstvalue.c:
15999           Documentation typo fix.
16000         * gst/net/gstnettimepacket.c:
16001           Documentation fixes for arguments.
16002
16003 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
16004
16005         * gst/gststructure.c: (gst_structure_get_fraction),
16006         (gst_structure_parse_value),
16007         (gst_structure_fixate_field_nearest_fraction):
16008         * gst/gststructure.h:
16009         * gst/gstutils.c: (gst_util_uint64_scale_int):
16010         * gst/gstutils.h:
16011         * scripts/update-funcnames:
16012         API Changes. 
16013         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
16014         Make gst_structure_fixate_field_nearest_fraction take a numerator
16015         and denominator argument instead of a GValue
16016         add gst_structure_get_fraction helper function.
16017
16018 2005-11-23  Wim Taymans  <wim@fluendo.com>
16019
16020         * docs/design/part-TODO.txt:
16021         Update TODO.
16022
16023         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
16024         * gst/net/gstnetclientclock.h:
16025         Use parent fields for timeout and window_size.
16026
16027 2005-11-23  Andy Wingo  <wingo@pobox.com>
16028
16029         * check/net/gstnetclientclock.c (test_functioning): Adjust to
16030         rate_num/rate_denom change.
16031
16032         * gst/net/gstnetclientclock.c
16033         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
16034         OBJECT_LOCK. Don't call add_observation with the lock.
16035
16036         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
16037         fraction.
16038         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
16039         rate fraction.
16040         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
16041         deal with rate as a fraction whose numerator and denominator are
16042         GstClockTime values.
16043         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
16044         master; the other fields are protected by the SLAVE_LOCK.
16045         (do_linear_regression): Note that this must be called with the
16046         SLAVE_LOCK.
16047         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
16048         OBJECT_LOCK. Call set_calibration instead of touching the
16049         variables directly.
16050         (gst_clock_set_property, gst_clock_get_property): Protect
16051         master/slave parameters with the SLAVE_LOCK.
16052
16053         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
16054         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
16055         note that all of the instance variables that add_observation and
16056         the set_master functions use are protected by that lock and not
16057         the OBJECT_LOCK.
16058         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
16059
16060         * gst/gstclock.c (gst_clock_add_observation): No longer requires
16061         the caller to take the object lock.
16062
16063 2005-11-23  Wim Taymans  <wim@fluendo.com>
16064
16065         * gst/gsterror.c: (_gst_core_errors_init):
16066         * gst/gsterror.h:
16067         Add error for clock stuff.
16068
16069         * gst/gstpipeline.c: (gst_pipeline_change_state),
16070         (gst_pipeline_set_clock):
16071         Post clock error when clock cannot be used in a pipeline.
16072
16073 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
16074
16075         * docs/gst/gstreamer-sections.txt:
16076           make two symbols from gstinfo private for the docs
16077         * gst/base/gstcollectpads.h:
16078         * gst/gstutils.c:
16079           fix doc typos, update docs
16080
16081 2005-11-22  Wim Taymans  <wim@fluendo.com>
16082
16083         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16084         (gst_base_sink_wait), (gst_base_sink_do_sync),
16085         (gst_base_sink_handle_event):
16086         * gst/base/gstbasesink.h:
16087         No need to store the clock, the parent element class already
16088         has it.
16089
16090         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
16091         Updates for clock_set returning a gboolean
16092
16093         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
16094         (gst_clock_id_wait_async), (gst_clock_class_init),
16095         (gst_clock_init), (gst_clock_finalize),
16096         (gst_clock_get_internal_time), (gst_clock_get_time),
16097         (gst_clock_slave_callback), (gst_clock_set_master),
16098         (gst_clock_get_master), (do_linear_regression),
16099         (gst_clock_add_observation), (gst_clock_set_property),
16100         (gst_clock_get_property):
16101         * gst/gstclock.h:
16102         Implement master/slave. When setting a clock as a slave, a
16103         periodic timeout is scheduled to sample master and slave times.
16104         Then the slave clock is recalibrated to match offset and rate
16105         of the master clock.
16106         Update logging a bit.
16107         Add flag so that a clock can state that is cannot be slaved to
16108         another clock.
16109
16110         * gst/gstelement.c: (gst_element_set_clock):
16111         * gst/gstelement.h:
16112         The set clock returns a gboolean for when an element cannot
16113         deal with the selected clock in the pipeline. 
16114
16115         * gst/gstpipeline.c: (gst_pipeline_change_state),
16116         (gst_pipeline_set_clock):
16117         * gst/gstpipeline.h:
16118         Handle the case where the selected clock cannot be set on
16119         the pipeline.
16120
16121         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
16122         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
16123         (gst_net_client_clock_set_property),
16124         (gst_net_client_clock_get_property),
16125         (gst_net_client_clock_observe_times):
16126         * gst/net/gstnetclientclock.h:
16127         Use regression code in GstClock parent, remove duplicated
16128         functionality.
16129
16130 2005-11-22  Michael Smith <msmith@fluendo.com>
16131
16132         * gst/gstutils.c: (gst_util_clock_time_scale):
16133         * gst/gstutils.h:
16134         * docs/gst/gstreamer-sections.txt:
16135           Rename method to have extra underscore.
16136
16137 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16138
16139         * gst/elements/Makefile.am:
16140         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
16141         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16142         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16143         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
16144         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
16145         * gst/elements/gstfakesrc.h:
16146         * gst/gstqueue.c: (queue_leaky_get_type):
16147           correctly fix GEnumValues so that nick is the short lowercase
16148           dashed tag
16149         * tools/gst-inspect.c: (print_element_properties_info):
16150           also show the nick, since it's useful to use from parse_launch
16151           syntax
16152           Fixes #322139
16153
16154 2005-11-22  Michael Smith <msmith@fluendo.com>
16155
16156         * gst/gstutils.c: (gst_util_clocktime_scale):
16157         * gst/gstutils.h:
16158         * docs/gst/gstreamer-sections.txt:
16159           Add util method for scaling a clocktime by a fraction. Useful 
16160           implementation is left as an exercise for the reader.
16161
16162 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16163
16164         * gst/gstvalue.c: (gst_value_collect_fraction_range):
16165         If needed, allocate storage in the destination value during
16166         collection.
16167
16168 2005-11-22  Edward Hervey  <edward@fluendo.com>
16169
16170         * docs/gst/gstreamer-sections.txt:
16171         * gst/Makefile.am:
16172         * gst/gst.h:
16173         * gst/gsturitype.c:
16174         * gst/gsturitype.h:
16175         * gst/gstutils.c: (gst_util_set_object_arg):
16176         * tools/gst-compprep.c: (main):
16177         * tools/gst-inspect.c: (print_element_properties_info):
16178         Removed GstURI, closes bug #321061
16179
16180 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16181
16182         * check/gst/gststructure.c: (GST_START_TEST):
16183         * gst/gststructure.c: (gst_structure_parse_value):
16184           Oops, broke automatic string type parsing.
16185           Add a test to catch it in future.
16186
16187 2005-11-22  Andy Wingo  <wingo@pobox.com>
16188
16189         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
16190         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
16191         Actually rename the function implementations. Grr.
16192
16193 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16194
16195         * check/gst/capslist.h:
16196           Comment test cases
16197         * check/gst/gststructure.c: (GST_START_TEST),
16198         (gst_structure_suite):
16199           Test automatic value type detection in gst_structure_from_string.
16200         * gst/gststructure.c: (gst_structure_parse_value):
16201           Add fraction as a type we try and guess automatically in
16202           caps/structure strings.
16203
16204 2005-11-22  Andy Wingo  <wingo@pobox.com>
16205
16206         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
16207
16208         * gst/gsttagsetter.h:
16209         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
16210         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
16211         (gst_tag_setter_add_tag_valist)
16212         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
16213         _add_values, _add_valist, and _add_valist_values. Since this is an
16214         interface the function suffixes should be more explicit so
16215         language binding don't end up with element.add_valist ->
16216         gst_tag_setter_add_valist, for example. Fixes #322069.
16217
16218 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16219
16220         * check/gst/gstcaps.c: (GST_START_TEST):
16221           Extend caps string tests to check that a caps to string
16222           conversion is reversible and produces the same caps.
16223
16224         * gst/gststructure.c: (gst_structure_value_get_generic_type):
16225           Output "fraction" as the generic type fraction range, so caps
16226           serialisation and deserialisation works.
16227         * check/gst/capslist.h:
16228         * gst/gstvalue.c: (gst_value_deserialize_fraction):
16229           Support 'MIN' and 'MAX' for deserialising fractions.
16230
16231 2005-11-22  Andy Wingo  <wingo@pobox.com>
16232
16233         * gst/gstevent.h (gst_event_new_new_segment)
16234         (gst_event_parse_new_segment, gst_event_new_buffer_size)
16235         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
16236         Renamed from *_newsegment, *_buffersize, *_notarget.
16237
16238         * scripts/update-funcnames: New script, performs the changes
16239         listed above.
16240
16241 2005-11-22  Wim Taymans  <wim@fluendo.com>
16242
16243         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16244         Make sure the GstFlowReturn is returned.
16245
16246         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
16247         (gst_bus_add_signal_watch):
16248         * gst/gstbus.h:
16249         add gst_bus_add_signal_watch_full.
16250
16251         * gst/gstplugin.c: (gst_plugin_load_file):
16252         Small style cleanup.
16253
16254 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16255
16256         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
16257           Block the fakesrc srcpad when we send an event, to avoid
16258           contention on the stream_lock causing random test failures.
16259
16260 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16261
16262         * check/gst/gstvalue.c: (GST_START_TEST):
16263         * gst/gstvalue.c: (gst_value_fraction_subtract):
16264           Fix subtraction.
16265
16266 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
16267
16268         * gst/gst.h:
16269           include "gstchildproxy.h"
16270         * gst/gstchildproxy.h:
16271         * libs/gst/controller/gstcontroller.h:
16272           use G_GNUC_NULL_TERMINATED
16273
16274 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16275
16276         * check/gst/capslist.h:
16277         * check/gst/gstcaps.c: (GST_START_TEST):
16278         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16279         * gst/gststructure.c: (gst_structure_parse_range),
16280         (gst_structure_fixate_field_nearest_fraction):
16281         * gst/gststructure.h:
16282         * gst/gstvalue.c: (gst_value_init_fraction_range),
16283         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
16284         (gst_value_collect_fraction_range),
16285         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
16286         (gst_value_set_fraction_range_full),
16287         (gst_value_get_fraction_range_min),
16288         (gst_value_get_fraction_range_max),
16289         (gst_value_serialize_fraction_range),
16290         (gst_value_transform_fraction_range_string),
16291         (gst_value_compare_fraction_range),
16292         (gst_value_deserialize_fraction_range),
16293         (gst_value_intersect_fraction_fraction_range),
16294         (gst_value_intersect_fraction_range_fraction_range),
16295         (gst_value_subtract_fraction_fraction_range),
16296         (gst_value_subtract_fraction_range_fraction),
16297         (gst_value_subtract_fraction_range_fraction_range),
16298         (gst_value_collect_fraction), (gst_value_fraction_multiply),
16299         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
16300         (gst_value_transform_string_fraction), (_gst_value_initialize):
16301         * gst/gstvalue.h:
16302           Implement fraction ranges and extend GstFraction to support
16303           arithmetic subtraction, as well as deserialization from integer
16304           strings such as "100"
16305           Add a testsuite as for int and double range set operations
16306
16307 2005-11-21  Andy Wingo  <wingo@pobox.com>
16308
16309         * gst/gsttaglist.h: 
16310         * gst/gstcaps.h: 
16311         * gst/gststructure.h: Add glib-compat.h.
16312
16313 2005-11-21  Wim Taymans  <wim@fluendo.com>
16314
16315         * gst/gstbin.c: (gst_bin_change_state_func):
16316         Fix for #321595
16317
16318 2005-11-21  Wim Taymans  <wim@fluendo.com>
16319
16320         * gst/gstsegment.h:
16321         And add a nice define too.
16322
16323 2005-11-21  Wim Taymans  <wim@fluendo.com>
16324
16325         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
16326         (gst_segment_new), (gst_segment_free), (gst_segment_init),
16327         (gst_segment_set_duration), (gst_segment_set_last_stop),
16328         (gst_segment_set_seek), (gst_segment_set_newsegment),
16329         (gst_segment_to_stream_time), (gst_segment_to_running_time),
16330         (gst_segment_clip):
16331         * gst/gstsegment.h:
16332         Make binding friendly.
16333
16334 2005-11-21  Andy Wingo  <wingo@pobox.com>
16335
16336         * gst/gsttagsetter.h: 
16337         * gst/gsttaglist.h: 
16338         * gst/gststructure.h: 
16339         * gst/gstcaps.h: 
16340         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
16341         #319940.
16342
16343         * gst/gsterror.c (_gst_core_errors_init):
16344         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
16345         category.
16346
16347         * gst/Makefile.am (gst_headers): Add glib-compat.h.
16348         (noinst_HEADERS): noinst the -private.
16349
16350 2005-11-21  Michael Smith <msmith@fluendo.com>
16351
16352         * gst/gstplugin.h:
16353         * gst/gstregistry.h:
16354           Remove unimplemented declarations for which we can see no sensible
16355           use.
16356
16357 2005-11-21  Andy Wingo  <wingo@pobox.com>
16358
16359         * gst/gst.h: Include glib-compat.h.
16360
16361         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
16362
16363         * gst/glib-compat.c: Include the public and the private header.
16364
16365         * gst/glib-compat-private.h: Copied here from glib-compat.h.
16366
16367         * gst/gstvalue.c: 
16368         * gst/gstpad.c: 
16369         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
16370
16371         * check/gst/gstevent.c (create_custom_events): Check that
16372         FLUSH_STOP is serialized.
16373
16374         * check/elements/identity.c (event_func): 
16375         * check/elements/fakesrc.c (event_func): No stream lock, the core
16376         takes it.
16377
16378         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
16379         stream lock taking, yay.
16380
16381         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
16382         ensure that core takes the stream lock.
16383
16384         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
16385         lock name change.
16386
16387         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
16388         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
16389         it already. For the flush start we do take it though so we get the
16390         right preroll state change messages.
16391
16392         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
16393         the stream lock here, the core does it for us.
16394
16395         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
16396         GST_STREAM_GET_LOCK.
16397         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
16398         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
16399         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
16400         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
16401         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
16402         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
16403
16404         * gst/gstpad.c: Update for stream lock name change.
16405
16406         * gst/base/gstbasesink.c: Update for preroll lock name change.
16407
16408 2005-11-21  Wim Taymans  <wim@fluendo.com>
16409
16410         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
16411         (gst_clock_get_master):
16412         * gst/gstclock.h:
16413         * gst/gstsystemclock.c: (gst_system_clock_init):
16414         Convert Clock flags to object flags.
16415         Added methods to manage master/slave clocks.
16416
16417 2005-11-21  Wim Taymans  <wim@fluendo.com>
16418
16419         * check/gst/gstsegment.c: (GST_START_TEST):
16420         * docs/design/part-TODO.txt:
16421         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16422         (gst_base_sink_event), (gst_base_sink_do_sync),
16423         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16424         (gst_base_sink_query), (gst_base_sink_change_state):
16425         * gst/base/gstbasesink.h:
16426         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16427         (gst_base_src_default_newsegment),
16428         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16429         (gst_base_src_get_range), (gst_base_src_loop),
16430         (gst_base_src_change_state):
16431         * gst/base/gstbasesrc.h:
16432         * gst/base/gstbasetransform.c:
16433         (gst_base_transform_prepare_output_buf),
16434         (gst_base_transform_event), (gst_base_transform_change_state):
16435         * gst/base/gstbasetransform.h:
16436         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
16437         (gst_collect_pads_event):
16438         * gst/base/gstcollectpads.h:
16439         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
16440         (gst_fake_src_create):
16441         * gst/elements/gstfakesrc.h:
16442         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16443         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16444         (gst_segment_set_last_stop), (gst_segment_set_seek),
16445         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16446         (gst_segment_to_running_time), (gst_segment_clip):
16447         * gst/gstsegment.h:
16448         More segment updates, replace code in plugins with segment
16449         helper functions.
16450
16451 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
16452
16453         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
16454         Don't ignore sscanf results
16455
16456 2005-11-21  Andy Wingo  <wingo@pobox.com>
16457
16458         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
16459
16460         * *.h:
16461         * *.c: Ran scripts/update-macros. Oh yes.
16462
16463         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
16464         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
16465         GST_GET_LOCK, etc.
16466
16467         * scripts/update-macros: New script. Run it on your files to
16468         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
16469         well.
16470
16471 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
16472
16473         * docs/gst/Makefile.am:
16474         * docs/gst/gstreamer-docs.sgml:
16475         * docs/gst/gstreamer-sections.txt:
16476         * docs/gst/gstreamer.types:
16477         * gst/gstinfo.h:
16478           more docs fixes, add new api to the docs
16479
16480 2005-11-21  Andy Wingo  <wingo@pobox.com>
16481
16482         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
16483         state_broadcast call.
16484
16485         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
16486
16487 2005-11-21  Julien MOUTTE  <julien@moutte.net>
16488
16489         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
16490         function calls for arrays.
16491
16492 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
16493
16494         * docs/random/ensonic/media-device-daemon.txt:
16495           wild idea, can this be done?
16496         * docs/gst/gstreamer-sections.txt:
16497         * gst/gsterror.h:
16498         * gst/gstfilter.c:
16499         * gst/gstfilter.h:
16500         * gst/gstplugin.h:
16501         * gst/gstpluginfeature.c:
16502         * gst/gsttrace.c:
16503         * gst/gstvalue.c:
16504         * gst/gstvalue.h:
16505           doc fixes and additions
16506
16507 2005-11-21  Andy Wingo  <wingo@pobox.com>
16508
16509         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
16510         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
16511         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
16512         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
16513         private to the basesrc implementation.
16514
16515         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
16516         behalf of event function if necessary. It should no longer be
16517         necessary to take the stream lock in pad's event functions. Fixes
16518         #320299.
16519
16520 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
16521         * docs/gst/gstreamer-sections.txt:
16522         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
16523         (gst_structure_fixate_field_nearest_double),
16524         (gst_structure_fixate_field_boolean):
16525         * gst/gststructure.h:
16526         * win32/common/libgstreamer.def:
16527         * win32/gstreamer.def:
16528
16529         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
16530         (#322027)
16531
16532 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
16533
16534         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
16535         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
16536         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
16537         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
16538         (gst_fdsrc_uri_handler_init):
16539         * gst/elements/gstfdsrc.h:
16540           Port fd:// URI handler from 0.8 to fdsrc
16541
16542 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16543
16544         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
16545         (gst_value_serialize_fourcc):
16546         * gst/gstvalue.h:
16547           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
16548           consistent with our other format defines (#320324).
16549
16550 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16551
16552         * gst/gstvalue.c: (gst_value_is_fixed):
16553           Revert previous commit. Value lists are by definition
16554           not fixed, as they are a list of possible values.
16555
16556 2005-11-21  Andy Wingo  <wingo@pobox.com>
16557
16558         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
16559         during the stable series if we need it. Fixes #319178.
16560
16561         * gst/gstevent.c (gst_event_new_filler): Removed.
16562
16563         * check/gst/gstevent.c: Update comment about filler events.
16564
16565 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16566
16567         * gst/gstvalue.c: (gst_value_is_fixed):
16568           Should handle both value arrays and value lists.
16569
16570 2005-11-21  Andy Wingo  <wingo@pobox.com>
16571
16572         patch by: Alessandro Dessina <alessandro nnva org>
16573
16574         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
16575         functions to access arrays. Fixes #321962.
16576
16577 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16578
16579         * docs/gst/gstreamer.types:
16580           gst_collectpads_get_type => gst_collect_pads_get_type.
16581           
16582         * gst/base/gstbasetransform.c:
16583           Remove unused SIGNAL_HANDOFF enum.
16584
16585 2005-11-21  Andy Wingo  <wingo@pobox.com>
16586
16587         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
16588         the event type (upstream, downstream, serialized). Renamed
16589         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
16590         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
16591         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
16592
16593         * gst/gstevent.c: Update for new CUSTOM event names.
16594
16595         * check/gst/gstevent.c: Update check for new CUSTOM event names.
16596
16597         * gst/gstevent.h:
16598         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
16599         bug #319392.
16600
16601 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16602
16603         * docs/gst/gstreamer-sections.txt:
16604         * win32/common/libgstbase.def:
16605         * win32/libgstbase.def:
16606         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16607         (gst_collect_pads_class_init), (gst_collect_pads_init),
16608         (gst_collect_pads_finalize), (gst_collect_pads_new),
16609         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
16610         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
16611         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
16612         (gst_collect_pads_start), (gst_collect_pads_stop),
16613         (gst_collect_pads_peek), (gst_collect_pads_pop),
16614         (gst_collect_pads_available), (gst_collect_pads_read),
16615         (gst_collect_pads_flush), (gst_collect_pads_event),
16616         (gst_collect_pads_chain):
16617         * gst/base/gstcollectpads.h:
16618           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
16619           unimplemented functions as unimplemented. Add padding to
16620           GstCollectData. (#320766, #320423)
16621
16622 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16623
16624         * gst/gstmessage.c:
16625           Improve docs for DURATION message (usage of duration parameter)
16626           (#320113)
16627
16628 2005-11-20  Wim Taymans  <wim@fluendo.com>
16629
16630         * check/Makefile.am:
16631         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
16632         (main):
16633         * gst/Makefile.am:
16634         * gst/gst.h:
16635         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16636         (gst_segment_set_seek), (gst_segment_set_newsegment),
16637         (gst_segment_to_stream_time), (gst_segment_to_running_time),
16638         (gst_segment_clip):
16639         * gst/gstsegment.h:
16640         Added segment helper structure and methods. Not fully implemented
16641         yet.
16642         Added segment check.
16643
16644 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
16645
16646         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16647           Add a deserialisation test for fractions
16648         * examples/metadata/read-metadata.c: (message_loop),
16649         (make_pipeline), (main):
16650           Fix up metadata reading sample.
16651         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16652           Debug format fix
16653         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16654           Don't try and fixate empty caps
16655         * gst/gst_private.h:
16656           Wrap in G_BEGIN_DECLS/G_END_DECLS
16657         * gst/gstvalue.c: (gst_value_collect_fraction),
16658         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
16659         (gst_value_transform_string_fraction),
16660         (gst_value_compare_fraction):
16661           Add some extra guards to ensure that we don't end up 
16662           with an invalid denominator of 0 in a gstfraction and
16663           that fractions always get reduced.
16664
16665 2005-11-20  Wim Taymans  <wim@fluendo.com>
16666
16667         * docs/gst/gstreamer-sections.txt:
16668         * gst/gstbuffer.h:
16669         * gst/gstelement.c:
16670         * gst/gstformat.c:
16671         * gst/gstformat.h:
16672         * gst/gstindex.h:
16673         * gst/gstquery.c:
16674         * gst/gstquery.h:
16675         * gst/gstvalue.c:
16676         Doc fixes.
16677
16678 2005-11-20  Wim Taymans  <wim@fluendo.com>
16679
16680         * docs/design/part-TODO.txt:
16681         * gst/gstcaps.h:
16682         Make a proper enum of the flag.
16683
16684 2005-11-19  Wim Taymans  <wim@fluendo.com>
16685
16686         * docs/design/part-TODO.txt:
16687         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
16688         (gst_format_to_quark), (gst_format_register):
16689         * gst/gstformat.h:
16690         * gst/gstquery.c: (_gst_query_initialize),
16691         (gst_query_type_get_name), (gst_query_type_to_quark),
16692         (gst_query_type_register):
16693         * gst/gstquery.h:
16694         Add type to quark and type to string conversions.
16695
16696 2005-11-19  Andy Wingo  <wingo@pobox.com>
16697
16698         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
16699         #320097.
16700
16701 2005-11-19  Wim Taymans  <wim@fluendo.com>
16702
16703         * docs/design/part-TODO.txt:
16704         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16705         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
16706         (gst_bin_handle_message_func):
16707         * gst/gstbin.h:
16708         Make message handling overridable.
16709
16710 2005-11-19  Andy Wingo  <wingo@pobox.com>
16711
16712         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
16713
16714         * gst/gstclock.h:
16715         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
16716         be a GstClockTime.
16717         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
16718         is a GstClockTime. Fixes #321710.
16719
16720         * gst/gstclock.h (GstClock): Remove offset property. Add
16721         internal_calibration and external_calibration. Fix padding. Pad
16722         also by GstClockTime so we don't run into problems.
16723
16724         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
16725         (gst_clock_get_rate_offset): Remove.
16726         (gst_clock_set_time_adjust): Remove. Fixes #321712.
16727
16728         * gst/gstutils.h:
16729         * gst/gstutils.c (g_static_rec_cond_wait)
16730         (g_static_rec_cond_timed_wait): Removed, no longer needed.
16731
16732         * gst/gstbin.c: Remove terrible continue_state prototype.
16733
16734         * gst/gstelement.h (gst_element_continue_state): Make public.
16735
16736         * gst/gstelement.h:
16737         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
16738         by continue_state. Fixes #319389.
16739
16740         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
16741         Really fixes #168438. However I don't see anywhere where the
16742         filter function is called... stupid GStreamer...
16743         
16744         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
16745         don't have a dispose function, so it won't get called when the
16746         object is unreffed, but oh well!
16747
16748         * gst/gstindex.c (gst_index_set_filter_full): New API function,
16749         allows a destroy function to be set so user_data can be freed.
16750         Fixes #168438.
16751         (gst_index_set_filter): Call gst_index_set_filter_full.
16752
16753         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
16754
16755         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
16756         string should produce an error, given the lack of a way to
16757         represent NULL strings. Fixes #165650.
16758         
16759         * gst/gstvalue.h: 
16760         * gst/gstvalue.c (gst_value_array_append_value) 
16761         (gst_value_array_prepend_value, gst_value_array_get_size) 
16762         (gst_value_array_get_value): New API, copied from
16763         gst_value_list_*, only operates on arrays.
16764         (gst_value_list_append_value, gst_value_list_prepend_value) 
16765         (gst_value_list_concat, gst_value_list_get_size) 
16766         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
16767
16768         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
16769         init_list, because it works on both.
16770         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
16771         (gst_value_copy_list_or_array): Renamed from copy_list.
16772         (gst_value_free_list_or_array): Renamed from free_list.
16773         (gst_value_collect_list_or_array): Renamed from collect_list.
16774         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
16775         (gst_value_list_or_array_peek_pointer): Renamed from
16776         list_peek_pointer.
16777         (_gst_value_array_value_table, _gst_value_list_value_table):
16778         Update value table functions.
16779         (gst_value_compare_list_or_array): Renamed from compare_list.
16780
16781         * gsttaglist.h: Whoops, foreach function returns void. Also fix
16782         some constness.
16783
16784         * gst/gsttaglist.c:
16785         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
16786         GstTagList*. Fixes #143472.
16787
16788         * gst/gststructure.h: Clarify what the foreach/map functions can
16789         or can't do to their arguments.
16790
16791 2005-11-18  Wim Taymans  <wim@fluendo.com>
16792
16793         * gst/gstclock.c: (gst_clock_set_calibration),
16794         (gst_clock_get_calibration):
16795         Doc and API fixes.
16796         Calibration can be set with internal time equal to current
16797         internal time too.
16798
16799 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16800
16801         * gst/gsterror.c:
16802         * gst/gsterror.h:
16803           document
16804
16805 2005-11-18  Andy Wingo  <wingo@pobox.com>
16806
16807         * configure.ac: 
16808         * pkgconfig/gstreamer-net.pc.in:
16809         * pkgconfig/gstreamer-net-uninstalled.pc.in:
16810         * pkgconfig/Makefile.am: Add net pkgconfig files.
16811
16812 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
16813
16814         * gst/gstcaps.c:
16815         * gst/gstghostpad.c:
16816         * gst/gsttrace.c:
16817         * gst/gstvalue.c:
16818         * gst/gstvalue.h:
16819           docs fixes
16820
16821 2005-11-18  Andy Wingo  <wingo@pobox.com>
16822
16823         * gst/net/gstnetclientclock.c: Turn off debugging.
16824
16825         * check/net/gstnetclientclock.c (test_functioning): Assert that the
16826         times connverge somewhat. Can't make a real test.
16827
16828         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
16829         integer arithmetic. Return the minimum of the domain, which can be
16830         set as "internal" for gst_clock_set_calibration.
16831         (gst_net_client_clock_observe_times): Call _set_calibration.
16832         (gst_net_client_clock_new): Call _set_calibration instead of
16833         rate_offset.
16834
16835         * check/net/gstnetclientclock.c (test_functioning): Use the right
16836         adjustment api.
16837
16838         * gst/gstclock.h:
16839         * gst/gstclock.c (gst_clock_get_calibration) 
16840         (gst_clock_set_calibration): New functions, obsolete the ones I
16841         added yesterday. Doh. Precision issues mean we have to extrapolate
16842         from a point in the more recent past than 1970.
16843         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
16844         obsolete.
16845         (gst_clock_adjust_unlocked): Use the right calibration data.
16846
16847 2005-11-18  Edward Hervey  <edward@fluendo.com>
16848
16849         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
16850         Also reset the ->current_* values in READY->PAUSED
16851
16852 2005-11-18  Andy Wingo  <wingo@pobox.com>
16853
16854         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
16855         Whoops, check the right fd. Also add some debugging.
16856         (gst_net_client_clock_observe_times): Adjust for int64 offset.
16857         (do_linear_regression): Add a crapload of debugging. Subtract off
16858         the minimum values from the input series to discard unneeded bits.
16859         Use only int arithmetic. There is still double arithmetic when
16860         calculating the intercept that needs fixing. Return boolean to
16861         indicate success; FALSE would mean the domain or range is too
16862         great. Still needs fixes.
16863
16864 2005-11-18  Wim Taymans  <wim@fluendo.com>
16865
16866         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16867         For the current position in stream time, we need to subtract
16868         accumulated time.
16869         
16870         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16871         Release lock before calling the callback function of async
16872         entries.
16873
16874 2005-11-18  Andy Wingo  <wingo@pobox.com>
16875
16876         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
16877         Port goes all the way to MAXUINT16.
16878
16879         * gst/net/gstnettimeprovider.c: Make the port range the same as
16880         for the kernel: 0 assigns, otherwise ports are less than
16881         MAXUINT16.
16882
16883         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
16884         port change.
16885
16886         * check/net/gstnetclientclock.c (test_functioning): Add the start
16887         of another test. 
16888
16889 2005-11-18  Wim Taymans  <wim@fluendo.com>
16890
16891         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16892         (gst_bin_remove_func), (bin_bus_handler):
16893         * gst/gstbin.h:
16894         Removing a clock provider from a bin, triggers a clock lost message
16895         so that a new clock will be selected.
16896         Adding a clock to a bin triggers a clock provider message.
16897         Make sure we reselect a clock when we received a clock lost message.
16898         Keep a reference to the element that provided the clock.
16899
16900 2005-11-18  Andy Wingo  <wingo@pobox.com>
16901
16902         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
16903         the clock initially so it produces values around the base time.
16904         (gst_net_client_clock_class_init): Typo fix.
16905         (gst_net_client_clock_thread): Add note on when the socket gets
16906         closed.
16907
16908 2005-11-17  Wim Taymans  <wim@fluendo.com>
16909
16910         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
16911         Free remote and local time arrays.
16912
16913 2005-11-17  Wim Taymans  <wim@fluendo.com>
16914
16915         * gst/net/gstnetclientclock.c: (do_linear_regression),
16916         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
16917         Fix compilation, uninitialized vars and a forgotten continue.
16918
16919 2005-11-17  Andy Wingo  <wingo@pobox.com>
16920
16921         * check/Makefile.am (check_PROGRAMS): 
16922         * check/net/gstnetclientclock.c: Add a most minimal test for the
16923         net client clock. More to come later.
16924
16925         * gst/net/gstnet.h: 
16926         * gst/net/Makefile.am: Add netclientclock.
16927
16928         * gst/net/gstnetclientclock.h:
16929         * gst/net/gstnetclientclock.c: New files, implement an untested
16930         GstClock that takes its time from a network time provider.
16931         Implements the algorithm in network-clock.scm.
16932
16933         * tests/network-clock.scm (*window-size*): Rename from
16934         *queue-length*.
16935         * tests/network-clock.scm (network-time): 
16936         * tests/network-clock-utils.scm (q-push): Update callers.
16937
16938 2005-11-17  Wim Taymans  <wim@fluendo.com>
16939
16940         * gst/gstbin.c: (gst_bin_provide_clock_func),
16941         (gst_bin_sort_iterator_new):
16942         And unref the child too..
16943
16944 2005-11-17  Wim Taymans  <wim@fluendo.com>
16945
16946         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16947         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
16948         Refactor the sort iterator so it can be used while holding the
16949         LOCK too.
16950         Make clock selection select a clock closest to the source.
16951
16952 2005-11-17  Michael Smith <msmith@fluendo.com>
16953
16954         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
16955         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
16956         * gst/gstclock.h:
16957           Anonymous structs are a gcc (and some other compilers) extension, so
16958           don't use them. Since this is only for ABI-compatibility, and our
16959           API/ABI freeze is over in a few days, this whole thing will only
16960           last a few days, so don't bother trying to think up a meaningful
16961           name for the struct.
16962
16963 2005-11-17  Andy Wingo  <wingo@pobox.com>
16964
16965         * gst/gstclock.h (GstClock): Add rate and offset properties,
16966         preserving ABI stability. Add rate/offset accessors. Will file bug
16967         for the freeze break.
16968
16969         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
16970         and offset, trying to keep precision and avoiding
16971         underflow/overflow.
16972         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
16973         functions. Make gst_clock_set_time_adjust obsolete.
16974         (gst_clock_set_time_adjust): Note that this function is obsolete.
16975         Will file bug soon.
16976
16977         * gst/base/gstbasetransform.h: Make the ABI-stability hack
16978         greppable by using GST_PADDING-1+1.
16979
16980 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
16981
16982         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16983
16984         * gst/gstmessage.c: (gst_message_parse_clock_lost):
16985           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
16986
16987         * gst/gstpadtemplate.h:
16988         * gst/gstpluginfeature.h:
16989           Don't use c++ style comments in headers (#321638).
16990
16991 2005-11-16  Andy Wingo  <wingo@pobox.com>
16992
16993         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
16994         buffer.
16995
16996         * check/net/gstnettimeprovider.c: Check to see that the time
16997         provider actually provides times. Works, yo!
16998
16999 2005-11-16  Wim Taymans  <wim@fluendo.com>
17000
17001         * check/Makefile.am:
17002         Enable more tests.
17003
17004         * check/elements/fakesrc.c: (GST_START_TEST):
17005         Set element to NULL before disposing it.
17006
17007 2005-11-16  Andy Wingo  <wingo@pobox.com>
17008
17009         * gst/net/Makefile.am:
17010         * gst/net/gstnet.h:
17011         * gst/net/gstnettimeprovider.c: 
17012         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
17013         provider, include it from gstnet.h, and add it to the build.
17014
17015         * gst/net/gstnettimepacket.h: 
17016         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
17017         sending and receiving.
17018
17019 2005-11-16  Wim Taymans  <wim@fluendo.com>
17020
17021         * check/Makefile.am:
17022         Enable valgrind check.
17023
17024         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
17025         (gst_fake_src_alloc_buffer):
17026         Fix memleak.
17027
17028 2005-11-16  Wim Taymans  <wim@fluendo.com>
17029
17030         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
17031         Call parent finalize too.
17032
17033 2005-11-16  Wim Taymans  <wim@fluendo.com>
17034
17035         * check/Makefile.am:
17036         Enable valgrind check that should work fine now.
17037
17038         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17039         * gst/gstqueue.c: (gst_queue_init):
17040         Fix memleaks in pad allocation.
17041
17042 2005-11-16  Andy Wingo  <wingo@pobox.com>
17043
17044         * gst/net/Makefile.am:
17045         * gst/net/gstnet.h: New part of core to hold network elements and
17046         objects. Put in core because it exposes API that applications want
17047         to use. The library is named libgstnet-tempname right now because
17048         of the existing libgstnet in gst-plugins-base. Solution is
17049         probably to rename the one in plugins-base; will file a bug for
17050         the freeze break.
17051
17052         * gst/net/gstnettimeprovider.c: 
17053         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
17054         get_time call over the network.
17055
17056         * configure.ac: 
17057         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
17058
17059         * check/Makefile.am:
17060         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
17061         get additions shortly.
17062
17063 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17064
17065         * gst/gstpad.c: (gst_pad_new_from_static_template):
17066         * gst/gstpad.h:
17067           add gst_pad_new_from_static_template functions
17068         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
17069         (gst_check_setup_sink_pad):
17070         * gst/elements/gsttee.c: (gst_tee_init):
17071           and use them
17072
17073 2005-11-16  Wim Taymans  <wim@fluendo.com>
17074
17075         * gst/gstpad.c: (gst_pad_pause_task):
17076         Removed warning, it's not really an error either.
17077
17078 2005-11-16  Wim Taymans  <wim@fluendo.com>
17079
17080         * gst/base/gstbasetransform.c:
17081         (gst_base_transform_prepare_output_buf),
17082         (gst_base_transform_event):
17083         Check if the caps are NULL, this can happen if the element
17084         is shutting down and the pad caps are set to NULL.
17085
17086 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17087
17088         * gst/elements/gsttee.c: (gst_tee_init):
17089           fix pad template leak in tee
17090
17091 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17092
17093         * gst/glib-compat.c: (g_value_dup_gst_object):
17094         * gst/glib-compat.h:
17095         * gst/gstpad.c: (gst_pad_set_property):
17096           use gst_object_ref when setting the pad template; this will
17097           trigger the pad template leaks on GLib 2.6 and the slaves
17098
17099 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17100
17101         * gst/glib-compat.c: (gst_flags_get_first_value):
17102         * gst/glib-compat.h:
17103         * gst/gstregistryxml.c:
17104           remove functions copied from GLib 2.6
17105
17106 2005-11-16  Michael Smith <msmith@fluendo.com>
17107
17108         * gst/Makefile.am:
17109           Don't link against VALGRIND_LIBS. That was always the wrong thing to
17110           do, but only breaks with newer valgrind versions. We're not a
17111           valgrind tool, we have no link-time dependencies on libcoregrind.
17112
17113 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17114
17115         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17116           some debug changes
17117         * gst/gstmessage.h:
17118           typo fixes
17119
17120 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17121
17122         * gst/base/gstbasesrc.c: (gst_base_src_init):
17123         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17124         * gst/gstqueue.c: (gst_queue_init):
17125         * gst/gstregistryxml.c: (load_feature):
17126           Revert all these unrefs, they don't even pass make check !
17127
17128 2005-11-15  Johan Dahlin  <johan@gnome.org>
17129
17130         * gst/base/gstbasesrc.c: (gst_base_src_init):
17131         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17132         * gst/gstqueue.c: (gst_queue_init): 
17133         Free pad templates, fixes a couple of leaks.
17134
17135 2005-11-15  Daniel Fischer  <dan at f3c dot com>
17136
17137         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17138
17139         * gst/gstpad.c: (gst_pad_get_property):
17140           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
17141           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
17142           (#321452)
17143
17144 2005-11-15  Wim Taymans  <wim@fluendo.com>
17145
17146         * gst/gstevent.c:
17147         Small doc update.
17148
17149 2005-11-15  Andy Wingo  <wingo@pobox.com>
17150
17151         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
17152
17153         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
17154         using GST_CLOCK_TIME_NONE to disable base time management.
17155         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
17156         time if it was NONE before.
17157         (gst_pipeline_change_state): Only munge the base time if
17158         stream_time != GST_CLOCK_TIME_NONE.
17159
17160         * check/gst/gstpipeline.c (test_base_time): Punt around the
17161         problem of the probe not being called, because that's not the
17162         issue I'm looking at. Add a check that setting stream_time to NONE
17163         disables base time management.
17164         
17165 2005-11-15  Wim Taymans  <wim@fluendo.com>
17166
17167         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17168         segment_stop == -1 at startup.
17169
17170         * gst/base/gstbasetransform.c: (gst_base_transform_event),
17171         (gst_base_transform_change_state):
17172         Init segment values at start.
17173
17174 2005-11-15  Wim Taymans  <wim@fluendo.com>
17175
17176         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17177         0 segment values are 0 in any format.
17178
17179         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17180         * gst/base/gstbasetransform.h:
17181         Parse newsegment correctly in basetransform
17182
17183         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17184         Sync to clock using updated segment values.
17185
17186 2005-11-15  Andy Wingo  <wingo@pobox.com>
17187
17188         * check/gst/gstpipeline.c (test_base_time): Add check that the
17189         base time and stream time are reset correctly.
17190
17191 2005-11-15  Wim Taymans  <wim@fluendo.com>
17192
17193         * docs/design/part-TODO.txt:
17194         Some more TODO items.
17195
17196 2005-11-15  Andy Wingo  <wingo@pobox.com>
17197
17198         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
17199         error if the user selected "no clock" as the clocking method.
17200
17201         * check/gst/gstpipeline.c (test_base_time): New test for buffer
17202         timestamps with live capture.
17203
17204         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
17205         is 0 but we are a live source, timestamp the buffers using the
17206         element's clock.
17207
17208 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
17209
17210         * docs/gst/gstreamer-sections.txt:
17211         * gst/gsterror.c:
17212         * gst/gstghostpad.c:
17213         * gst/gstobject.h:
17214         * gst/gstxml.c:
17215           more section docs
17216
17217 2005-11-14  Wim Taymans  <wim@fluendo.com>
17218
17219         * common/gst.supp:
17220           add suppressions from Wim's Debian machine
17221
17222 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17223
17224         * common/gst.supp:
17225           add suppressions from Andy's AMD64 Ubuntu machine
17226
17227 2005-11-14  Andy Wingo  <wingo@pobox.com>
17228
17229         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
17230         STATE_LOCK not necessary. Fixes #311489.
17231
17232         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
17233         #305291.
17234
17235         * gst/gstindex.c (gst_index_add_object): Note in the docs that
17236         this function is not implemented.
17237
17238 2005-11-14  Julien MOUTTE  <julien@moutte.net>
17239
17240         * gst/base/gstbasetransform.c:
17241         (gst_base_transform_prepare_output_buf):
17242         Ref the source pad caps while we need them.
17243         Fixes (#321386)
17244
17245 2005-11-11  Wim Taymans  <wim@fluendo.com>
17246
17247         * docs/gst/gstreamer-sections.txt:
17248         Added some docs for GstCollectData.
17249
17250         * gst/base/gstadapter.c:
17251         Some small code example fix.
17252
17253         * gst/base/gstcollectpads.c:
17254         * gst/base/gstcollectpads.h:
17255         Document some more.
17256
17257 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17258
17259         * configure.ac: back to HEAD
17260
17261 === release 0.9.5 ===
17262
17263 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
17264
17265         * configure.ac:
17266           releasing 0.9.5, "Bike Lunch Day"
17267
17268 2005-11-11  Wim Taymans  <wim@fluendo.com>
17269
17270         * gst/gstbuffer.c: (_gst_buffer_copy):
17271         Copy more flags.
17272
17273         * gst/gstcaps.c: (gst_caps_is_equal):
17274         Fix some docs.
17275         Make _is_equal fast in the trivial cases.
17276
17277         * gst/gstminiobject.c:
17278         * gst/gstminiobject.h:
17279         More docs. Spifify .h file.
17280
17281         * gst/gstutils.c:
17282         Small doc update.
17283
17284 2005-11-11  Wim Taymans  <wim@fluendo.com>
17285
17286         * gst/base/gstbasetransform.c:
17287         (gst_base_transform_prepare_output_buf),
17288         (gst_base_transform_handle_buffer):
17289         Small cleanups.
17290         If we're processing a buffer and need to allocate an output
17291         buffer, we cannot accept a format change. If we did get a 
17292         format change, we have to alloc a buffer ourselves of the 
17293         right size.
17294
17295 2005-11-11  Wim Taymans  <wim@fluendo.com>
17296
17297         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
17298         While checking the flag for reentrancy in the gstcaps function
17299         is nice to detect recursive invocations, it also makes it 
17300         impossible to call getcaps from multiple threads, which must be
17301         possible. So, checking for recursive calls has to go.
17302
17303 2005-11-11  Michael Smith <msmith@fluendo.com>
17304
17305         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17306           Don't sync on buffers that fall partially outside our current
17307           segment. Prevents an assertion failure/abort playing some files.
17308
17309 2005-11-10  Andy Wingo  <wingo@pobox.com>
17310
17311         * check/gst/gstbin.c (test_message_state_changed_children): Style
17312         fix..
17313
17314         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
17315         gst_bus_poll with the signal watch. Ensures that poll and a signal
17316         watch see the same messages.
17317
17318         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
17319         a poll and a watch at the same time get the same messages.
17320
17321 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17322
17323         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
17324         * gst/gstcaps.c: (gst_caps_intersect):
17325           Don't call gst_caps_do_simplify - it doesn't respect order of caps
17326           and it's not needed.
17327
17328 2005-11-10  Wim Taymans  <wim@fluendo.com>
17329
17330         * docs/design/part-TODO.txt:
17331         Updated todo.
17332
17333 2005-11-10  Wim Taymans  <wim@fluendo.com>
17334
17335         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17336         * gst/base/gstbasesrc.c: (gst_base_src_wait),
17337         (gst_base_src_do_sync), (gst_base_src_get_range):
17338         Implement clock sync in base class.
17339
17340 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17341
17342         patch by: Tim-Philipp Müller <tim at centricular dot net>
17343
17344         * gst/gststructure.c: (gst_structure_parse_field),
17345         (gst_structure_from_string):
17346           Forward-port a 0.8 patch to handle escaped spaces in structure string,
17347           so that gst_parse_launch() can deal with spaces in filtered link
17348           caps (fixes #164479)
17349         * check/gst/capslist.h:
17350         * check/gst/gststructure.c: (GST_START_TEST):
17351           add unit tests for this change
17352
17353 2005-11-10  Wim Taymans  <wim@fluendo.com>
17354
17355         * docs/gst/gstreamer-sections.txt:
17356         * gst/gstelement.c:
17357         * gst/gstelement.h:
17358         Fix docs, move some STATE macros to private.
17359
17360 2005-11-10  Wim Taymans  <wim@fluendo.com>
17361
17362         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17363         Added check for bug #317341
17364
17365         * gst/gstbuffer.c:
17366         * gst/gstbuffer.h:
17367         Some more spiffifying.
17368
17369         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
17370         Call peer linkfunction if we are a source pad. Totally fixes
17371         #317341
17372
17373         * gst/gstpad.c:
17374         Update docs, source pads should call the peer linkfunction
17375         so they can atomically perform the pad link.
17376
17377 2005-11-09  Wim Taymans  <wim@fluendo.com>
17378
17379         * gst/gstbuffer.c:
17380         * gst/gstbuffer.h:
17381         Uber-spiffy-spiffify some more.
17382
17383 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
17384
17385         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
17386         * gst/elements/gstfilesink.c: (gst_file_sink_init):
17387         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17388         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
17389         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
17390         * gst/gstpad.c: (gst_pad_init):
17391           Use GST_DEBUG_FUNCPTR() more extensively.
17392
17393 2005-11-09  Wim Taymans  <wim@fluendo.com>
17394
17395         * gst/gstobject.c: (gst_object_class_init):
17396         * gst/gstobject.h:
17397         Documentation fixes.
17398
17399 2005-11-09  Edward Hervey  <edward@fluendo.com>
17400
17401         * gst/gsttypefindfactory.c:
17402         Fix docs.
17403         
17404 2005-11-09  Edward Hervey  <edward@fluendo.com>
17405
17406         * gst/base/gsttypefindhelper.c:
17407         * gst/gsttypefind.c:
17408         * gst/gsttypefind.h:
17409         Fix docs.
17410
17411 2005-11-09  Wim Taymans  <wim@fluendo.com>
17412
17413         * gst/gstiterator.c:
17414         Fix revision data.
17415
17416         * gst/gsttask.c:
17417         * gst/gsttask.h:
17418         Fix docs.
17419
17420 2005-11-09  Wim Taymans  <wim@fluendo.com>
17421
17422         * gst/gstevent.h:
17423         * gst/gsturi.h:
17424         Fix docs.
17425
17426 2005-11-09  Wim Taymans  <wim@fluendo.com>
17427
17428         * docs/gst/gstreamer-sections.txt:
17429         Moved the message async delivery private lock and cond
17430         to the private section.
17431
17432         * gst/gstmessage.c:
17433         * gst/gstmessage.h:
17434         Fixed docs.
17435
17436 2005-11-09  Edward Hervey  <edward@fluendo.com>
17437
17438         * docs/gst/gstreamer-sections.txt:
17439         * gst/gsturi.c:
17440         * gst/gsturi.h:
17441         Document GstURIHandler
17442
17443 2005-11-09  Wim Taymans  <wim@fluendo.com>
17444
17445         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
17446         (gst_iterator_find_custom):
17447         * gst/gstiterator.h:
17448         Fix iterator docs.
17449
17450 2005-11-09  Wim Taymans  <wim@fluendo.com>
17451
17452         * gst/gstbin.h:
17453         Document another field.
17454
17455         * gst/gststructure.c:
17456         * gst/gststructure.h:
17457         Document.
17458
17459 2005-11-09  Wim Taymans  <wim@fluendo.com>
17460
17461         * gst/gstbin.h:
17462         Documented structs.
17463
17464 2005-11-09  Wim Taymans  <wim@fluendo.com>
17465
17466         * docs/gst/gstreamer-sections.txt:
17467         Added some new macros.
17468
17469         * gst/gstclock.c:
17470         * gst/gstclock.h:
17471         * gst/gstobject.h:
17472         Docs updates.
17473
17474 2005-11-09  Wim Taymans  <wim@fluendo.com>
17475
17476         * docs/design/part-TODO.txt:
17477         Some more items for the TODO
17478
17479         * gst/gstcaps.c:
17480         * gst/gstcaps.h:
17481         Document GstCaps.
17482
17483 2005-11-09  Andy Wingo  <wingo@pobox.com>
17484
17485         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
17486         to work on something else now tho...
17487
17488         * gst/base/gstadapter.c: More adapter docs.
17489
17490         * gst/elements/gstfilesink.c (gst_file_sink_start) 
17491         (gst_file_sink_stop): New functions, replace the state change
17492         handler.
17493         (gst_file_sink_class_init): Hook up the start and stop functions.
17494         (gst_file_sink_base_init): Don't set the state change handler any
17495         more. It was a bit ugly too, being set from here...
17496         (gst_file_sink_get_property, gst_file_sink_set_property):
17497         Cleanups...
17498         (gst_file_sink_set_location): More robust check that doesn't call
17499         GST_STATE. Ugggggg.
17500
17501 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
17502
17503         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17504           Hold STREAM_LOCK while pushing newsegment or tag events as well.
17505
17506 2005-11-08  Wim Taymans  <wim@fluendo.com>
17507
17508         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17509         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17510         (gst_base_sink_chain), (gst_base_sink_change_state):
17511         * gst/base/gstbasesink.h:
17512         * gst/base/gstbasesrc.h:
17513         * gst/gstelement.h:
17514         * gst/gstevent.h:
17515         Avoid excessive typechecking in macros.
17516
17517         * gst/gstminiobject.c: (gst_mini_object_get_type),
17518         (gst_mini_object_init), (gst_mini_object_new),
17519         (gst_mini_object_free):
17520         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17521         (gst_object_finalize):
17522         Remove cruft code, optimize alloc_trace.
17523
17524 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17525
17526         * docs/faq/gst-uninstalled:
17527           fix up PS1 for systems that try to reset it
17528
17529 2005-11-07  Wim Taymans  <wim@fluendo.com>
17530
17531         * gst/base/gstbasesrc.c: (gst_base_src_init),
17532         (gst_base_src_get_range):
17533         Set the segment_end to -1 initially. Fixed typefind.
17534
17535 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
17536
17537         * gst/base/gstadapter.c:
17538           Debug category should be 'adapter', not 'GstAdapter'.
17539           
17540         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
17541         (gst_collectpads_class_init), (gst_collectpads_init),
17542         (gst_collectpads_peek), (gst_collectpads_pop),
17543         (gst_collectpads_event), (gst_collectpads_chain):
17544           Add debug category and some debugging output. Use boilerplate
17545           macros. Remove some extraneous words from docs.
17546
17547 2005-11-05  Andy Wingo  <wingo@pobox.com>
17548
17549         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
17550         macro.
17551
17552 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
17553
17554         * docs/gst/gstreamer-sections.txt:
17555         * gst/gstcaps.h:
17556         * gst/gstinfo.c:
17557         * gst/gstminiobject.h:
17558         * gst/gstobject.h:
17559         * gst/gstutils.h:
17560           more docs added
17561
17562 2005-11-04  Wim Taymans  <wim@fluendo.com>
17563
17564         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17565         Small update to stop at the configured segment_end
17566         position.
17567
17568 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
17569
17570         * gst/gstregistry.c:
17571         * gst/gstregistry.h:
17572           added missing docs
17573
17574 2005-11-04  Edward Hervey  <edward@fluendo.com>
17575
17576         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17577         Check if we are doing a segment seek and have arrived at the
17578         end of that segment.
17579
17580 2005-11-04  Wim Taymans  <wim@fluendo.com>
17581
17582         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
17583         Don't leak a mutex unlock in case of an error.
17584
17585         * gst/gstbus.h:
17586         Doc fixes.
17587
17588 2005-11-04  Wim Taymans  <wim@fluendo.com>
17589
17590         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
17591         (gst_bus_post):
17592         Get the context to wake up only once.
17593
17594 2005-11-03  Wim Taymans  <wim@fluendo.com>
17595
17596         * check/states/sinks.c: (GST_START_TEST):
17597         Uncomment fixed check.
17598
17599         * docs/design/part-TODO.txt:
17600         Updated TODO.
17601
17602         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17603         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17604         (gst_base_sink_get_position):
17605         If we are going to PLAYING, post the right pending state
17606         when we post the intermediate paused message.
17607
17608         * gst/gstelement.c: (gst_element_continue_state),
17609         (gst_element_set_state_func), (gst_element_change_state):
17610         Don't post state changes that were between the same state
17611         and were not ASYNC.
17612
17613 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
17614
17615         * docs/gst/gstreamer-sections.txt:
17616         * gst/gstcaps.h:
17617         * gst/gstinfo.c:
17618         * gst/gstminiobject.h:
17619         * gst/gstobject.h:
17620         * gst/gstutils.h:
17621           more docs and doc style fixes
17622
17623 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
17624
17625         * docs/gst/gstreamer-sections.txt:
17626         * gst/gstelement.c:
17627         * gst/gstminiobject.c:
17628         doc fixes
17629
17630 2005-11-03  Andy Wingo  <wingo@pobox.com>
17631
17632         * check/states/sinks.c (test_livesrc_sink): Add checks that the
17633         state-changed messages actually have the right order and the right
17634         values.
17635
17636 2005-11-03  Wim Taymans  <wim@fluendo.com>
17637
17638         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17639         Added some more checks. Specifically the case where NO_PREROLL
17640         elements are in the pipeline.
17641
17642         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17643         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17644         (gst_base_sink_get_position):
17645         Post READY->PAUSED state change messages too.
17646         Fix bug where VOID was posted as pending state...
17647
17648         * gst/gstbin.c: (gst_bin_recalc_state):
17649         use _element_continue_state() to continue the state change.
17650
17651         * gst/gstelement.c: (gst_element_continue_state),
17652         (gst_element_commit_state), (gst_element_set_state_func),
17653         (gst_element_change_state), (gst_element_change_state_func):
17654         Lots of state change cleanups, assign the STATE_RETURN in
17655         a new continue_state() function that also propagates the
17656         last return value from a state change to the app.
17657         Update some debug statements with proper category.
17658
17659 2005-11-03  Wim Taymans  <wim@fluendo.com>
17660
17661         * docs/design/part-events.txt:
17662         * docs/design/part-gstpipeline.txt:
17663         * docs/design/part-messages.txt:
17664         * docs/design/part-overview.txt:
17665         * docs/design/part-seeking.txt:
17666         * docs/design/part-states.txt:
17667         * docs/design/part-trickmodes.txt:
17668         * docs/manual/advanced-position.xml:
17669         Small docs updates.
17670
17671         * gst/gstobject.h:
17672         People think !! is ugly, this looks better.
17673
17674         * gst/gstpad.c: (gst_pad_set_blocked_async):
17675         Remove !! since it's fixed elsewhere now.
17676
17677 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
17678
17679         * gst/gstminiobject.h:
17680         * gst/gstobject.h:
17681           Add !! to _FLAG_IS_SET macros to make the result boolean.
17682
17683 2005-11-03  Edward Hervey  <edward@fluendo.com>
17684
17685         * gst/gstpad.c: (gst_pad_set_blocked_async):
17686         comparing a flag and a gboolean rarely returns coherent results...
17687         Added two characters (!!) to make that work correctly.
17688         
17689 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
17690
17691         * gst/gstbus.c: (gst_bus_class_init):
17692           Fix some typos.
17693           
17694         * gst/gstqueue.c: (gst_queue_loop):
17695           Don't assume a miniobject that isn't a buffer is an
17696           event (it could be that there is a refcounting
17697           problem somewhere and the pointer is stale and
17698           refers to an already destroyed miniobject).
17699
17700 2005-11-03  Julien MOUTTE  <julien@moutte.net>
17701
17702         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
17703
17704 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
17705
17706         * docs/manual/advanced-position.xml:
17707           Update seek example and explanations to current 0.9 API.
17708
17709         * gst/elements/gsttypefindelement.c:
17710         (gst_type_find_element_activate):
17711           Remove FIXME comment now that the found caps
17712           are unreffed.
17713
17714 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17715
17716         * gst/gstregistryxml.c: (load_feature):
17717           Add another GST_STR_NULL instance
17718
17719 2005-11-02  Edward Hervey  <edward@fluendo.com>
17720
17721         * gst/gstpad.c: (handle_pad_block):
17722         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
17723         
17724 2005-11-02  Wim Taymans  <wim@fluendo.com>
17725
17726         * gst/gstbin.c:
17727         Fix typo in docs.
17728
17729         * gst/gstelement.c: (gst_element_commit_state):
17730         Remove unused value.
17731
17732         * gst/gstiterator.c:
17733         Mention that the returned element is reffed in the docs.
17734
17735 2005-11-02  Wim Taymans  <wim@fluendo.com>
17736
17737         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
17738         (gst_pad_push), (gst_pad_push_event):
17739         Unlock blocked pads when they are flushed.
17740
17741 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17742
17743         * docs/README:
17744         * docs/gst/gstreamer-sections.txt:
17745         * gst/gstbin.c:
17746           doc updates
17747         * gst/gstregistry.c: (gst_registry_scan_path_level):
17748           fix for a nasty little missed situation where an installed plug-in
17749           which was in the cache did not get overridden by an uninstalled one
17750           which was earlier in the plugin path because the newly created plugin
17751           for the uninstalled one (not in the registry) didn't get its
17752           ->registered set to TRUE
17753
17754 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
17755
17756         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
17757         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
17758         (gst_collectpads_is_active), (gst_collectpads_collect),
17759         (gst_collectpads_collect_range), (gst_collectpads_start),
17760         (gst_collectpads_stop), (gst_collectpads_peek),
17761         (gst_collectpads_pop), (gst_collectpads_available),
17762         (gst_collectpads_read), (gst_collectpads_flush):
17763           Guard public API with assertions.
17764         
17765         * gst/gstpad.c:
17766           Fix docs for gst_pad_set_link_function().
17767
17768 2005-11-02  Johan Dahlin  <johan@gnome.org>
17769
17770         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
17771         Unref found_caps after we used it.
17772
17773 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
17774
17775         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
17776           Don't try to ref NULL.
17777
17778 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17779
17780         * win32/common/config.h.in:
17781           provide a GST_FUNCTION that just gives a string for now
17782
17783 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17784
17785         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17786         (gst_object_flags_get_type), (register_gst_bin_flags),
17787         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17788         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17789         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17790         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
17791         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17792         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17793         (gst_clock_flags_get_type), (register_gst_state),
17794         (gst_state_get_type), (register_gst_state_change_return),
17795         (gst_state_change_return_get_type), (register_gst_state_change),
17796         (gst_state_change_get_type), (register_gst_element_flags),
17797         (gst_element_flags_get_type), (register_gst_core_error),
17798         (gst_core_error_get_type), (register_gst_library_error),
17799         (gst_library_error_get_type), (register_gst_resource_error),
17800         (gst_resource_error_get_type), (register_gst_stream_error),
17801         (gst_stream_error_get_type), (register_gst_event_type),
17802         (gst_event_type_get_type), (register_gst_seek_type),
17803         (gst_seek_type_get_type), (register_gst_seek_flags),
17804         (gst_seek_flags_get_type), (register_gst_format),
17805         (gst_format_get_type), (register_gst_index_certainty),
17806         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17807         (gst_index_entry_type_get_type),
17808         (register_gst_index_lookup_method),
17809         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17810         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17811         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17812         (gst_index_flags_get_type), (register_gst_debug_level),
17813         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17814         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17815         (gst_iterator_result_get_type), (register_gst_iterator_item),
17816         (gst_iterator_item_get_type), (register_gst_message_type),
17817         (gst_message_type_get_type), (register_gst_mini_object_flags),
17818         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17819         (gst_pad_link_return_get_type), (register_gst_flow_return),
17820         (gst_flow_return_get_type), (register_gst_activate_mode),
17821         (gst_activate_mode_get_type), (register_gst_pad_direction),
17822         (gst_pad_direction_get_type), (register_gst_pad_flags),
17823         (gst_pad_flags_get_type), (register_gst_pad_presence),
17824         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17825         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17826         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17827         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17828         (gst_plugin_flags_get_type), (register_gst_rank),
17829         (gst_rank_get_type), (register_gst_query_type),
17830         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17831         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17832         (gst_tag_flag_get_type), (register_gst_task_state),
17833         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17834         (gst_alloc_trace_flags_get_type),
17835         (register_gst_type_find_probability),
17836         (gst_type_find_probability_get_type), (register_gst_uri_type),
17837         (gst_uri_type_get_type), (register_gst_parse_error),
17838         (gst_parse_error_get_type):
17839         * win32/common/gstversion.h:
17840           update win32 copies
17841
17842 2005-11-01  Luca Ognibene  <luogni@tin.it>
17843
17844         * gst/gst.c:
17845           fix docs. popt is dead, long live GOption.
17846
17847 2005-10-31  Wim Taymans  <wim@fluendo.com>
17848
17849         * gst/gstbuffer.h:
17850         Small doc fix.
17851
17852 2005-10-31  Andy Wingo  <wingo@pobox.com>
17853
17854         * Boo!
17855
17856         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
17857
17858         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
17859         need to serialize property notifications on GLib 2.8. GLib 2.6 has
17860         the possibility of deadlocks here if code calling notify() or
17861         set() has a lock that can be taken in another notify handler (ABBA
17862         with class lock and e.g. python GIL state lock).
17863
17864 2005-10-28  Julien MOUTTE  <julien@moutte.net>
17865
17866         * gst/gstbus.c: Doc updates.
17867
17868 2005-10-28  Wim Taymans  <wim@fluendo.com>
17869
17870         * docs/design/part-TODO.txt:
17871         * gst/gstiterator.c:
17872         * gst/gstsystemclock.c:
17873         * gst/gstsystemclock.h:
17874         Doc updates.
17875
17876 2005-10-28  Edward Hervey  <edward@fluendo.com>
17877
17878         * docs/gst/gstreamer-docs.sgml:
17879         * docs/gst/gstreamer-sections.txt:
17880         the GstURIType documentation page is private, it only defines GstURIType
17881         which should be defined in the GstURIHandler page
17882         
17883 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17884
17885         * gst/gstbin.c: (gst_bin_class_init):
17886         * gst/gstbin.h:
17887         * gst/gstutils.c:
17888         Documentation updates.
17889
17890 2005-10-28  Wim Taymans  <wim@fluendo.com>
17891
17892         * docs/gst/gstreamer-sections.txt:
17893         * gst/gstclock.c:
17894         * gst/gstclock.h:
17895         Documented the clocks.
17896
17897 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
17898
17899         * docs/gst/gstreamer-sections.txt:
17900           move some macros to private sections
17901         * gst/gstminiobject.c:
17902         * gst/gstminiobject.h:
17903           add descriptions provided by ds and some more
17904         * gst/gstpad.h:
17905           mark macro as to be removed
17906
17907 2005-10-28  Wim Taymans  <wim@fluendo.com>
17908
17909         * docs/design/part-TODO.txt:
17910         Add an item to TODO.
17911
17912         * gst/gstiterator.c: (gst_iterator_fold),
17913         (gst_iterator_find_custom):
17914         * gst/gstiterator.h:
17915         Add iterator docs.
17916
17917 2005-10-28  Wim Taymans  <wim@fluendo.com>
17918
17919         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17920         (gst_base_transform_init):
17921         Don't leak class.
17922
17923         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
17924         An EOS event marks the queue as completely filled.
17925
17926 2005-10-27  Wim Taymans  <wim@fluendo.com>
17927
17928         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17929         (gst_base_sink_do_sync), (gst_base_sink_get_position):
17930         Some more debugging.
17931
17932         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
17933         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
17934         (gst_base_transform_event), (gst_base_transform_getrange),
17935         (gst_base_transform_chain):
17936         * gst/base/gstbasetransform.h:
17937         Fix debugging,
17938         Protect transform and concurrent buffer alloc with a new lock.
17939         Try not to break ABI/API.
17940
17941 2005-10-27  Wim Taymans  <wim@fluendo.com>
17942
17943         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17944         (gst_base_src_init), (gst_base_src_query),
17945         (gst_base_src_default_newsegment),
17946         (gst_base_src_configure_segment), (gst_base_src_do_seek),
17947         (gst_base_src_send_event), (gst_base_src_event_handler),
17948         (gst_base_src_pad_get_range), (gst_base_src_loop),
17949         (gst_base_src_unlock), (gst_base_src_default_negotiate),
17950         (gst_base_src_start), (gst_base_src_deactivate),
17951         (gst_base_src_activate_push), (gst_base_src_change_state):
17952         Move some stuff around and cleanup things.
17953
17954 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
17955
17956         * gst/base/gstbasesrc.c: (gst_base_src_query):
17957           Add missing break statements.
17958
17959 2005-10-27  Wim Taymans  <wim@fluendo.com>
17960
17961         * check/gst/gstbin.c: (GST_START_TEST):
17962         An extra refcount is taken in basesrc.
17963
17964         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
17965         (gst_base_src_get_range), (gst_base_src_pad_get_range),
17966         (gst_base_src_loop):
17967         Small cleanups, check for flushing after being unlocked from the 
17968         LIVE_LOCK. take refcounts correctly (not yet everywhere).
17969         Don't send out EOS when going to READY.
17970
17971 2005-10-27  Wim Taymans  <wim@fluendo.com>
17972
17973         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17974         (gst_base_sink_get_position):
17975         Some more debug.
17976
17977         * gst/gstbin.c: (message_check), (bin_replace_message),
17978         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17979         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17980         (bin_query_duration_init), (bin_query_duration_fold),
17981         (bin_query_duration_done), (bin_query_generic_fold),
17982         (gst_bin_query):
17983         * tools/gst-launch.c: (main):
17984         Remove old option.
17985
17986 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
17987
17988         * examples/controller/audio-example.c: (main):
17989         * examples/queue/queue.c: (event_loop):
17990         * gst/base/gstbasetransform.h:
17991         * gst/gstelement.c: (gst_element_send_event):
17992         * gst/gstevent.h:
17993         * gst/gstpad.c: (gst_pad_send_event):
17994           fixing examples
17995           fixing docs typos
17996           changing log priority in error situations
17997
17998 2005-10-25  Wim Taymans  <wim@fluendo.com>
17999
18000         * gst/gstbin.c: (message_check), (bin_replace_message),
18001         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18002         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18003         (bin_query_duration_init), (bin_query_duration_fold),
18004         (bin_query_duration_done), (bin_query_generic_fold),
18005         (gst_bin_query):
18006         Some doc and debug updates.
18007         Cache previously requested query DURATION for speed. invalidate
18008         cached duration if element posts a DURATION message.
18009
18010 2005-10-25  Wim Taymans  <wim@fluendo.com>
18011
18012         * docs/design/part-TODO.txt:
18013         Update TODO.
18014
18015         * gst/gstbin.c: (message_check), (bin_replace_message),
18016         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18017         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18018         (bin_query_duration_init), (bin_query_duration_fold),
18019         (bin_query_duration_done), (bin_query_generic_fold),
18020         (gst_bin_query):
18021         Handle SEGMENT_START/DONE messages correctly.
18022         More evolved query algorithm that handles duration queries
18023         correctly.
18024
18025         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
18026         (gst_element_get_state_func), (gst_element_abort_state),
18027         (gst_element_commit_state), (gst_element_lost_state):
18028         Some more debugging.
18029
18030         * gst/gstmessage.h:
18031         Added doc.
18032
18033 2005-10-25  Wim Taymans  <wim@fluendo.com>
18034
18035         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18036         Don't use invalid stream_time.
18037
18038         * gst/gstevent.c: (gst_event_new_newsegment):
18039         stream_time in newsegment cannot be undefined.
18040
18041 2005-10-24  Wim Taymans  <wim@fluendo.com>
18042
18043         * gst/gstbus.c:
18044         Doc fix.
18045
18046         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18047         (gst_queue_loop):
18048         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
18049
18050 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
18051
18052         * docs/libs/tmpl/gstdparam.sgml:
18053         * docs/libs/tmpl/gstdplinint.sgml:
18054         * docs/libs/tmpl/gstdpman.sgml:
18055         * docs/libs/tmpl/gstdpsmooth.sgml:
18056         * docs/libs/tmpl/gstunitconvert.sgml:
18057           these are obsolete
18058
18059 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18060
18061         * configure.ac:
18062           back to HEAD
18063
18064 === release 0.9.4 ===
18065
18066 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18067
18068         * configure.ac:
18069           releasing 0.9.4, "Tyrannosaurus Rex"
18070
18071 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
18072
18073         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18074         (gst_file_sink_get_current_offset):
18075           Use fseeko() and ftello() if available. When falling back on
18076           lseek() to get the current offset, fflush() first to make sure
18077           everything is up-to-date and we get the right offset.
18078
18079 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18080
18081         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18082         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18083         * gst/gsterror.c: (_gst_stream_errors_init):
18084         * gst/gsterror.h:
18085         * gst/gstqueue.c: (gst_queue_loop):
18086         * po/POTFILES.in:
18087           remove prematurely added error category and clean up the instances
18088
18089 2005-10-21  Wim Taymans  <wim@fluendo.com>
18090
18091         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18092         (gst_base_sink_get_position), (gst_base_sink_query),
18093         (gst_base_sink_change_state):
18094         Simply set the right flag when going to playing, that's all
18095         we need to do instead of calling a function inside the object
18096         lock (that could take the lock as well and deadlock)
18097
18098 2005-10-21  Wim Taymans  <wim@fluendo.com>
18099
18100         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
18101         (gst_base_src_loop):
18102         Don't warn, the peer element knows what to do best when
18103         the seek failed, it might try something else.
18104
18105 2005-10-21  Wim Taymans  <wim@fluendo.com>
18106
18107         * gst/base/gstbasesrc.c: (gst_base_src_init),
18108         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18109         Fix seeking.
18110
18111 2005-10-21  Wim Taymans  <wim@fluendo.com>
18112
18113         * docs/design/part-segments.txt:
18114         More docs.
18115
18116         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18117         Correctly set caps, even on the subbufer.
18118
18119 2005-10-21  Wim Taymans  <wim@fluendo.com>
18120
18121         * docs/gst/gstreamer-docs.sgml:
18122         * docs/gst/gstreamer-sections.txt:
18123         * gst/gstelement.h:
18124         * gst/gstevent.c:
18125         * gst/gstevent.h:
18126         * gst/gstmessage.h:
18127         * gst/gstpad.h:
18128         * gst/gstparse.h:
18129         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
18130         * gst/gsttask.h:
18131         * gst/gstutils.c:
18132         * gst/gstutils.h:
18133         And 2% more doc coverage.
18134
18135 2005-10-21  Andy Wingo  <wingo@pobox.com>
18136
18137         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
18138         position reporting.
18139
18140 2005-10-20  Wim Taymans  <wim@fluendo.com>
18141
18142         * gst/gsterror.c: (gst_error_get_message):
18143         * gst/gstparse.h:
18144         * gst/gstquery.h:
18145         * gst/gststructure.c:
18146         * gst/gsttrace.c:
18147         * gst/gstutils.c:
18148         More docs.
18149
18150 2005-10-20  Wim Taymans  <wim@fluendo.com>
18151
18152         * gst/gstbuffer.h:
18153         * gst/gstpad.c:
18154         * gst/gstparse.c:
18155         Another 1% more coverage.
18156
18157 2005-10-20  Wim Taymans  <wim@fluendo.com>
18158
18159         * docs/gst/gstreamer-sections.txt:
18160         * gst/gstelement.c: (gst_element_get_state_func),
18161         (gst_element_abort_state), (gst_element_commit_state),
18162         (gst_element_lost_state):
18163         * gst/gstevent.h:
18164         * gst/gstquery.c: (gst_query_set_position),
18165         (gst_query_parse_position), (gst_query_set_duration),
18166         (gst_query_parse_duration), (gst_query_new_convert):
18167         * gst/gstutils.c:
18168         Yay! 1% more docs coverage.
18169
18170 2005-10-20  Wim Taymans  <wim@fluendo.com>
18171
18172         * gst/gstpad.h:
18173         * gst/gstquery.c: (gst_query_set_position),
18174         (gst_query_parse_position), (gst_query_set_duration),
18175         (gst_query_parse_duration), (gst_query_new_convert):
18176         * gst/gstquery.h:
18177         * gst/gstutils.c: (gst_element_query_convert):
18178         * gst/gstutils.h:
18179         Docs and consistency fixes.
18180
18181 2005-10-20  Wim Taymans  <wim@fluendo.com>
18182
18183         * gst/gsttask.c:
18184         * gst/gsttask.h:
18185         More docs.
18186
18187 2005-10-20  Wim Taymans  <wim@fluendo.com>
18188
18189         * gst/gstbin.c: (message_check), (bin_replace_message),
18190         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18191         (update_degree), (gst_bin_sort_iterator_next),
18192         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
18193         Reworked the message handling a bit, cache the messages instead of
18194         only the senders. alows us to do more in the future.
18195
18196 2005-10-20  Wim Taymans  <wim@fluendo.com>
18197
18198         * docs/design/part-TODO.txt:
18199         Update TODO
18200
18201         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18202         (gst_base_sink_query):
18203         Don't use clock time to report position when in EOS.
18204
18205 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
18206
18207         * tools/gst-inspect.c: (print_interfaces),
18208         (print_element_properties_info), (print_element_info):
18209           Fix interface output with gst-inspect -a; don't print
18210           newlines after double/float properties.
18211
18212 2005-10-20  Wim Taymans  <wim@fluendo.com>
18213
18214         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18215         (gst_base_sink_query):
18216         Speed up current position calculation.
18217
18218         * gst/base/gstbasesrc.c: (gst_base_src_query),
18219         (gst_base_src_default_newsegment):
18220         Correctly set stream position in newsegment.
18221
18222         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
18223         (update_degree), (gst_bin_sort_iterator_next),
18224         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
18225         * gst/gstmessage.c: (gst_message_new_custom):
18226         Clean up debugging info
18227
18228         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18229         (gst_queue_loop), (gst_queue_handle_src_query):
18230         Pause task faster.
18231
18232 2005-10-19  Wim Taymans  <wim@fluendo.com>
18233
18234         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18235         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18236         Fix query handling again.
18237
18238 2005-10-19  Wim Taymans  <wim@fluendo.com>
18239
18240         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18241         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18242         * gst/base/gstbasesrc.c: (gst_base_src_query):
18243         * gst/elements/gstfilesink.c: (gst_file_sink_query):
18244         * gst/elements/gsttypefindelement.c:
18245         (gst_type_find_handle_src_query), (find_element_get_length),
18246         (gst_type_find_element_activate):
18247         API change fix.
18248
18249         * gst/gstquery.c: (gst_query_new_position),
18250         (gst_query_set_position), (gst_query_parse_position),
18251         (gst_query_new_duration), (gst_query_set_duration),
18252         (gst_query_parse_duration), (gst_query_set_segment),
18253         (gst_query_parse_segment):
18254         * gst/gstquery.h:
18255         Bundling query position/duration is not a good idea since duration
18256         does not change much and we don't want to recalculate it for every
18257         position query, so they are separated again..
18258         Base value in segment query is not needed.
18259
18260         * gst/gstqueue.c: (gst_queue_handle_src_query):
18261         * gst/gstutils.c: (gst_element_query_position),
18262         (gst_element_query_duration), (gst_pad_query_position),
18263         (gst_pad_query_duration):
18264         * gst/gstutils.h:
18265         Updates for query API change.
18266         Added some docs here and there.
18267
18268 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18269
18270         * check/gst/gstbin.c: (GST_START_TEST):
18271         * check/gst/gstghostpad.c: (GST_START_TEST):
18272         * check/pipelines/cleanup.c: (GST_START_TEST):
18273           wait on thread to die so we can check refcount correctly
18274
18275 2005-10-18  Wim Taymans  <wim@fluendo.com>
18276
18277         * check/pipelines/stress.c: (GST_START_TEST):
18278         Make check a little more time consuming.
18279
18280 2005-10-18  Wim Taymans  <wim@fluendo.com>
18281
18282         * check/Makefile.am:
18283         * check/pipelines/stress.c: (GST_START_TEST),
18284         (simple_launch_lines_suite), (main):
18285         Small state change torture test.
18286
18287         * docs/design/part-states.txt:
18288         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18289         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
18290         (gst_base_sink_change_state):
18291         Never take state lock from streaming thread, clean up ugly
18292         hacks. Unfortunatly core does not yet support nice ways to
18293         async commit state.
18294         
18295         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
18296         (bin_bus_handler):
18297         Start state recalc if a STATE_DIRTY message is posted, but only
18298         on the toplevel bin.
18299
18300         * gst/gstelement.c: (gst_element_sync_state_with_parent),
18301         (gst_element_get_state_func), (gst_element_abort_state),
18302         (gst_element_commit_state), (gst_element_lost_state),
18303         (gst_element_set_state_func), (gst_element_change_state):
18304         * gst/gstelement.h:
18305         State variables are now protected with the LOCK, the state
18306         lock is only used to serialize _set_state().
18307
18308 2005-10-18  Wim Taymans  <wim@fluendo.com>
18309
18310         * check/gst/gstbin.c: (GST_START_TEST):
18311         * check/gst/gstmessage.c: (GST_START_TEST):
18312         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18313         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
18314         (bin_bus_handler):
18315         * gst/gstelement.c: (gst_element_abort_state),
18316         (gst_element_commit_state), (gst_element_lost_state):
18317         * gst/gstmessage.c: (gst_message_new_state_changed),
18318         (gst_message_new_state_dirty), (gst_message_new_segment_start),
18319         (gst_message_new_segment_done), (gst_message_new_duration),
18320         (gst_message_parse_state_changed),
18321         (gst_message_parse_segment_start),
18322         (gst_message_parse_segment_done), (gst_message_parse_duration):
18323         * gst/gstmessage.h:
18324         * tools/gst-launch.c: (event_loop):
18325         Seriously, this is better than a previous commit as we only need
18326         to notify the fact that an element changed state in a streaming
18327         thread, marking the state of the parents dirty, hence the 
18328         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
18329         message.
18330
18331 2005-10-18  Wim Taymans  <wim@fluendo.com>
18332
18333         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
18334         (gst_bin_recalc_func):
18335         * gst/gstelement.c: (gst_element_set_clock),
18336         (gst_element_abort_state), (gst_element_lost_state):
18337         Cleanups, prepare for state change fixes.
18338
18339 2005-10-18  Wim Taymans  <wim@fluendo.com>
18340
18341         * gst/gstbin.h:
18342         * gst/gstelement.c: (gst_element_class_init),
18343         (gst_element_set_state), (gst_element_set_state_func):
18344         * gst/gstelement.h:
18345         Pending ABI changes.
18346         GThreadPool in GstBinClass to monitor async state changes.
18347         state_cookie in GstElement to detect concurrent gst/set state.
18348         set_state is now virtual too in case a very complicated element
18349         has to be constructed.
18350
18351 2005-10-18  Wim Taymans  <wim@fluendo.com>
18352
18353         * check/gst/gstbin.c: (GST_START_TEST):
18354         * check/gst/gstmessage.c: (GST_START_TEST):
18355         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18356         * gst/gstbin.c: (bin_bus_handler):
18357         * gst/gstelement.c: (gst_element_commit_state),
18358         (gst_element_lost_state):
18359         * gst/gstmessage.c: (gst_message_new_state_changed),
18360         (gst_message_new_segment_start), (gst_message_new_segment_done),
18361         (gst_message_new_duration), (gst_message_parse_state_changed),
18362         (gst_message_parse_segment_start),
18363         (gst_message_parse_segment_done), (gst_message_parse_duration):
18364         * gst/gstmessage.h:
18365         * tools/gst-launch.c: (event_loop):
18366         Make messages future proof.
18367         state-change gets a flag if it was a message comming from the
18368         streaming thread.
18369         segment-start/stop can also be specified in other formats.
18370         A message to notify an app that a pipeline changed playback 
18371         duration.
18372         Also fix a GstMessage leak in -launch
18373
18374 2005-10-18  Andy Wingo  <wingo@pobox.com>
18375
18376         * gst/gstelement.c (gst_element_dispose): More helpful message.
18377
18378 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18379
18380         reviewed by: <delete if not using a buddy>
18381
18382         * common/gtk-doc.mak:
18383
18384 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18385
18386         * gst/gstregistry.c: (gst_registry_scan_path_level):
18387           unref a plug-in we get that was already initialized
18388
18389 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
18390
18391         * docs/gst/gstreamer-sections.txt:
18392         * docs/libs/gstreamer-libs-sections.txt:
18393         * gst/gstelement.h:
18394           add new api entries
18395           hide internal macro
18396
18397 2005-10-17  Andy Wingo  <wingo@pobox.com>
18398
18399         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
18400         cleanup.
18401
18402         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
18403
18404         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
18405
18406         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
18407         (gst_element_get_state_func): Better debug message.
18408         (gst_element_commit_state): s/INFO/DEBUG/.
18409         (gst_element_lost_state, gst_element_change_state): 
18410
18411         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
18412         (gst_message_new_custom): s/INFO/LOG/.
18413
18414 2005-10-17  Michael Smith <msmith@fluendo.com>
18415
18416         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18417           Check if end time is valid using end time, not start time.
18418
18419 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
18420
18421         * check/gst-libs/controller.c: (GST_START_TEST),
18422         (gst_controller_suite):
18423         * libs/gst/controller/gstcontroller.c:
18424         (gst_controlled_property_set_interpolation_mode):
18425         * libs/gst/controller/gstcontroller.h:
18426         * libs/gst/controller/gstinterpolation.c:
18427         * testsuite/controller/.cvsignore:
18428         * testsuite/controller/Makefile.am:
18429         * testsuite/controller/interpolator.c:
18430           merge controller testsuites
18431           fix broken tests
18432           remove mem-chunk from docs
18433
18434 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18435
18436         * gst/gstmemchunk.c:
18437         * gst/gstmemchunk.h:
18438         * gst/gsttrashstack.c:
18439         * gst/gsttrashstack.h:
18440           out.  get out.  you're fired.  to the Attic !
18441
18442 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18443
18444         * gst/gstcaps.c: (gst_caps_intersect):
18445           fix signedness issues in a (hopefully) correct way
18446         * gst/gstelement.c: (gst_element_pads_activate):
18447           some debugging
18448         * gst/gstobject.c: (gst_object_set_parent):
18449           some debugging
18450
18451 2005-10-17  Julien MOUTTE  <julien@moutte.net>
18452
18453         * gst/gstvalue.h: Fix prototypes.
18454
18455 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18456
18457         * docs/gst/gstreamer-sections.txt:
18458         * gst/gst.c: (gst_version_string):
18459         * gst/gst.h:
18460         * gst/gstversion.h.in:
18461         * win32/common/libgstreamer.def:
18462           add gst_version_string ()
18463
18464 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18465
18466         * configure.ac:
18467           clean up further
18468         * gst/gst.c: (init_post):
18469         * win32/common/config.h.in:
18470           it's PLUGINDIR now
18471         * gst/gstcaps.c: (gst_caps_intersect):
18472           use gint64, the range could be bigger than a guint
18473
18474 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18475
18476         * gst/gstclock.h:
18477           document potential problem in 2038
18478
18479 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18480
18481         * gst/gstcaps.c: (gst_caps_intersect):
18482           Fix guint j diving under 0
18483
18484 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18485
18486         * configure.ac:
18487         * win32/common/config.h:
18488         * win32/common/config.h.in:
18489           check for process.h, declares getpid() on Windows
18490         * gst/gstinfo.c:
18491           include process.h if we have it
18492         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
18493         * gst/gstmemchunk.h:
18494           fix signedness issues
18495         * win32/common/libgstreamer.def:
18496           fix get_type's
18497
18498 2005-10-16  Julien MOUTTE  <julien@moutte.net>
18499
18500         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
18501         fix. Because of unsigned ints, caps intersection was going nuts and
18502         trying to access structures with G_MAXUINT index. That fixes
18503         videotestsrc ! ffmpegcolorspace ! fakesink
18504         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
18505         consistency.
18506
18507 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18508
18509         * configure.ac:
18510           use the gettext macro
18511         * gst/elements/gstelements.c:
18512         * gst/gst.c:
18513         * gst/indexers/gstindexers.c:
18514           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
18515         * win32/common/config.h:
18516           updated config.h
18517         * win32/common/config.h.in:
18518           add the template to generate config.h
18519         * win32/common/gstenumtypes.c:
18520         * win32/common/gstversion.h:
18521           updated copies
18522
18523 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18524
18525         * gst/gst.c: (gst_version):
18526         * gst/gstversion.h.in:
18527           add the nano
18528
18529 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
18530
18531         * gst/gstevent.h:
18532           Oops, add missing closing bracket.
18533
18534 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18535
18536         * configure.ac:
18537           use common m4's for argument checking
18538
18539 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
18540
18541         * docs/gst/gstreamer-sections.txt:
18542         * gst/gstevent.h:
18543           Add GST_EVENT_TYPE_NAME() macro.
18544
18545 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18546
18547         * gst/gstinfo.c:
18548         * gst/gstpluginfeature.c:
18549         * gst/gsttask.c:
18550           privatize more symbols
18551
18552 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18553
18554         * configure.ac:
18555           add srcdir, builddir includes to GST_ALL_CFLAGS, since
18556           everything that uses GStreamer API should have the includes
18557
18558 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18559
18560         * docs/gst/gstreamer-sections.txt:
18561         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
18562         * gst/gstvalue.h:
18563           give each value a _get_type, removes the DATA exports
18564
18565 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18566
18567         * gst/gst.c:
18568         * gst/gst.h:
18569           remove _gst_registry_auto_load, not used anymore
18570         * gst/gstbin.c: (gst_bin_get_type):
18571         * gst/gstbin.h:
18572         * gst/gstelement.c: (gst_element_get_type):
18573         * gst/gstelement.h:
18574         * gst/gstobject.c: (gst_object_get_type):
18575         * gst/gstobject.h:
18576         * gst/gstpad.c: (gst_pad_get_type):
18577         * gst/gstpad.h:
18578           make _get_type functions similar, fixes data export from library
18579
18580 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18581
18582         * configure.ac:
18583           correctly make conditionals
18584         * gst/elements/Makefile.am:
18585         * gst/elements/gstelements.c:
18586           fix typo causing fdsrc not to build
18587
18588 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18589
18590         * testsuite/Makefile.am:
18591         * testsuite/bytestream/.cvsignore:
18592         * testsuite/bytestream/Makefile.am:
18593         * testsuite/bytestream/filepadsink.c:
18594         * testsuite/bytestream/gstbstest.c:
18595         * testsuite/bytestream/test1.c:
18596         * testsuite/bytestream/testfile1:
18597         * testsuite/caps/normalisation.c:
18598         * testsuite/caps/random.c: (main):
18599         * testsuite/cleanup/.cvsignore:
18600         * testsuite/cleanup/Makefile.am:
18601         * testsuite/cleanup/cleanup1.c:
18602         * testsuite/cleanup/cleanup2.c:
18603         * testsuite/cleanup/cleanup3.c:
18604         * testsuite/cleanup/cleanup4.c:
18605         * testsuite/cleanup/cleanup5.c:
18606         * testsuite/controller/interpolator.c:
18607         * testsuite/debug/printf_extension.c: (main):
18608         * testsuite/elements/tee.c:
18609         * testsuite/negotiation/.cvsignore:
18610         * testsuite/negotiation/Makefile.am:
18611         * testsuite/negotiation/pad_link.c:
18612         * testsuite/pad/Makefile.am:
18613         * testsuite/pad/chainnopull.c:
18614         * testsuite/pad/getnopush.c:
18615         * testsuite/pad/link.c:
18616         * testsuite/refcounting/sched.c: (create_pipeline):
18617         * testsuite/registry/Makefile.am:
18618         * testsuite/registry/gst-print-formats.c:
18619         * testsuite/schedulers/.cvsignore:
18620         * testsuite/schedulers/142183-2.c:
18621         * testsuite/schedulers/142183.c:
18622         * testsuite/schedulers/143777-2.c:
18623         * testsuite/schedulers/143777.c:
18624         * testsuite/schedulers/147713.c:
18625         * testsuite/schedulers/147819.c:
18626         * testsuite/schedulers/147894-2.c:
18627         * testsuite/schedulers/147894.c:
18628         * testsuite/schedulers/Makefile.am:
18629         * testsuite/schedulers/group_link.c:
18630         * testsuite/schedulers/queue_link.c:
18631         * testsuite/schedulers/relink.c:
18632         * testsuite/schedulers/unlink.c:
18633         * testsuite/schedulers/unref.c:
18634         * testsuite/schedulers/useless_iteration.c:
18635         * testsuite/states/bin.c:
18636           clean out/remove some stuff from the testsuite directories
18637
18638 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18639
18640         * configure.ac:
18641           check for some headers
18642         * gst/elements/Makefile.am:
18643         * gst/elements/gstelements.c:
18644           don't compile fdsrc without sys/socket.h
18645         * gst/indexers/Makefile.am:
18646         * gst/indexers/gstindexers.c: (plugin_init):
18647           don't compile fileindex without mmap
18648
18649 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18650
18651         * configure.ac:
18652           reorganize
18653           clean up
18654           document more
18655           remove cruft
18656         * check/Makefile.am:
18657         * docs/gst/Makefile.am:
18658         * examples/helloworld/Makefile.am:
18659         * gst/Makefile.am:
18660         * gst/base/Makefile.am:
18661         * gst/check/Makefile.am:
18662         * gst/elements/Makefile.am:
18663         * gst/indexers/Makefile.am:
18664         * gst/parse/Makefile.am:
18665         * libs/gst/controller/Makefile.am:
18666         * libs/gst/dataprotocol/Makefile.am:
18667         * examples/helloworld/helloworld.c: (event_loop):
18668           compile fixes, though it's not being compiled currently
18669
18670 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
18671
18672         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
18673           Add some simple tests for the new taglist date API.
18674
18675 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
18676
18677         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
18678         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
18679           Beautify 'last-message' output: print 'none' for buffer timestamps
18680           and durations if none is set; improve alignment with next messages.
18681
18682 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
18683
18684         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
18685         * gst/gstpluginfeature.h:
18686         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
18687         * gst/gstregistry.h:
18688         * docs/gst/gstreamer-sections.txt:
18689           Add new API to check plugin feature version requirements.
18690
18691         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
18692           Some basic tests for the above.         
18693
18694 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18695
18696         * gst/gststructure.c: (gst_structure_to_string):
18697           guard against NULL printf - happens when for example
18698           a message structure with GstClock gets serialized
18699
18700 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
18701
18702         * gst/base/gstcollectpads.c: (gst_collectpads_event):
18703           Fix presumable copy'n'pasto.
18704
18705 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18706
18707         * gst/elements/gstfakesrc.h:
18708         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
18709         * gst/elements/gsttypefindelement.c:
18710           fix some signedness
18711         * gst/elements/gstfilesink.c: (gst_file_sink_render):
18712           I wonder if this could actually write +2GB files before
18713
18714 2005-10-13  Andy Wingo  <wingo@pobox.com>
18715
18716         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
18717         Fix Timmeke Waymans bug.
18718         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
18719         string of the proper length to gst_caps_from_string. There's a
18720         potential for, before this fix, that this could cause someone
18721         connecting over the network to cause a segfault if the payload is
18722         not NUL-terminated.
18723
18724 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
18725
18726         * docs/design/draft-push-pull.txt:
18727         * docs/design/part-overview.txt:
18728         * docs/random/TODO-pre-0.9:
18729         * docs/random/old/ChangeLog.gstreamer:
18730         * gst/base/gstpushsrc.c:
18731         * gst/gstclock.c:
18732           fixed typos
18733
18734 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18735
18736         * gst/glib-compat.c: (gst_flags_get_first_value):
18737         * gst/glib-compat.h:
18738         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
18739         (gst_value_compare_double), (gst_value_serialize_flags):
18740           GLib 2.6 g_flags_get_first_value has a bug that triggers an
18741           infinite loop
18742
18743 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18744
18745         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18746         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18747           fix up debugging
18748         * tools/gst-launch.c: (event_loop):
18749           print out clock nicely
18750
18751 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
18752
18753         * docs/gst/gstreamer-sections.txt:
18754         * gst/gsttaglist.h:
18755         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
18756         (gst_tag_list_get_date_index):
18757           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
18758           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
18759
18760 2005-10-13  Julien MOUTTE  <julien@moutte.net>
18761
18762         * gst/base/gstcollectpads.c: (gst_collectpads_event),
18763         (gst_collectpads_chain):
18764         * gst/base/gstcollectpads.h: Handle newsegment and store informations
18765         in CollectData.
18766
18767 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
18768
18769         * docs/gst/gstreamer-sections.txt:
18770         * gst/gst.c:
18771         * gst/gsterror.h:
18772         * tools/gst-inspect.c: (main):
18773         * tools/gst-launch.c: (main):
18774         * tools/gst-run.c: (main):
18775         * tools/gst-xmlinspect.c: (main):
18776           fix GOption context leaks
18777           doc fixes
18778
18779 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18780
18781         * gst/gstbus.c:
18782           use HAVE_UNISTD_H
18783         * win32/common/config.h:
18784           update config
18785         * win32/vs6/grammar.dsp:
18786         * win32/vs6/libgstelements.dsp:
18787         * win32/vs6/libgstreamer.dsp:
18788           update vs6 files
18789
18790 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18791
18792         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18793         * gst/base/gstbasesrc.c: (gst_base_src_query):
18794           fix more guint64<->gdouble conversions
18795
18796 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18797
18798         * Makefile.am:
18799           add win32-update target
18800         * win32/common/gstconfig.h:
18801         * win32/common/gstenumtypes.c:
18802         * win32/common/gstenumtypes.h:
18803         * win32/common/gstversion.h:
18804           add files that visual studio can't generate
18805
18806 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18807
18808         * Makefile.am:
18809           add a win32-update target
18810         * configure.ac:
18811
18812 2005-10-12  Wim Taymans  <wim@fluendo.com>
18813
18814         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18815         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
18816         * gst/gstelement.c: (gst_element_commit_state),
18817         (gst_element_set_state):
18818         Protect flags with proper lock.
18819         unref provided cached clock in dispose.
18820
18821 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
18822
18823         * gst/gst.c:
18824         * gst/gstminiobject.h:
18825         * gst/gstpad.h:
18826         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
18827           removed unused flags from miniobject
18828           doc fixes
18829
18830 2005-10-12  Wim Taymans  <wim@fluendo.com>
18831
18832         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18833         (gst_file_sink_event), (gst_file_sink_render):
18834         Flush before seeking.
18835
18836 2005-10-12  Andy Wingo  <wingo@pobox.com>
18837
18838         * gst/gst.c (gst_init_check): Ignore unknown options, as has
18839         always been the case.
18840
18841 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
18842
18843         * check/gst/gstbin.c: (GST_START_TEST):
18844         * docs/gst/gstreamer-sections.txt:
18845         * gst/base/gstbasesink.c: (gst_base_sink_init):
18846         * gst/base/gstbasesrc.c: (gst_base_src_init),
18847         (gst_base_src_get_range), (gst_base_src_check_get_range),
18848         (gst_base_src_start), (gst_base_src_stop):
18849         * gst/base/gstbasesrc.h:
18850         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
18851         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18852         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
18853         (bin_bus_handler):
18854         * gst/gstbin.h:
18855         * gst/gstbuffer.h:
18856         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
18857         * gst/gstbus.h:
18858         * gst/gstelement.c: (gst_element_is_locked_state),
18859         (gst_element_set_locked_state), (gst_element_commit_state),
18860         (gst_element_set_state):
18861         * gst/gstelement.h:
18862         * gst/gstindex.c: (gst_index_init):
18863         * gst/gstindex.h:
18864         * gst/gstminiobject.h:
18865         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
18866         (gst_object_set_parent):
18867         * gst/gstobject.h:
18868         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
18869         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
18870         * gst/gstpad.h:
18871         * gst/gstpadtemplate.h:
18872         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
18873         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
18874         * gst/gstpipeline.h:
18875         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18876         (gst_file_index_commit):
18877         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
18878         * testsuite/pad/link.c: (gst_test_src_init),
18879         (gst_test_filter_init), (gst_test_sink_init):
18880         * testsuite/states/locked.c: (main):
18881           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
18882           moved bitshift from macro to enum definition
18883
18884 2005-10-12  Wim Taymans  <wim@fluendo.com>
18885
18886         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
18887         * gst/elements/gstfilesink.c: (gst_file_sink_event),
18888         (gst_file_sink_render):
18889         Some more debugging info.
18890
18891 2005-10-12  Wim Taymans  <wim@fluendo.com>
18892
18893         * docs/design/part-states.txt:
18894         * tools/gst-launch.c: (main):
18895         Some doc updates.
18896         Revert non-intentional change.
18897
18898 2005-10-12  Wim Taymans  <wim@fluendo.com>
18899
18900         * check/gst/gstbin.c: (GST_START_TEST):
18901         * check/gst/gstelement.c: (GST_START_TEST):
18902         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
18903         * check/gst/gstghostpad.c: (GST_START_TEST):
18904         * check/gst/gstpipeline.c: (GST_START_TEST):
18905         * check/pipelines/simple_launch_lines.c: (run_pipeline):
18906         * check/states/sinks.c: (GST_START_TEST):
18907         * gst/elements/gsttypefindelement.c: (stop_typefinding):
18908         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18909         (gst_bin_remove_func), (gst_bin_get_state_func),
18910         (gst_bin_recalc_state), (gst_bin_change_state_func),
18911         (bin_bus_handler):
18912         * gst/gstelement.c: (gst_element_get_state_func),
18913         (gst_element_get_state), (gst_element_abort_state),
18914         (gst_element_commit_state), (gst_element_set_state),
18915         (gst_element_change_state), (gst_element_change_state_func):
18916         * gst/gstelement.h:
18917         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
18918         (gst_pipeline_provide_clock_func):
18919         * gst/gstutils.c: (gst_element_link_pads_filtered):
18920         * tools/gst-launch.c: (main):
18921         * tools/gst-typefind.c: (main):
18922         Use GstClockTime in _get_state() instead of GTimeVal.
18923         Remove old code in gstutils.c
18924
18925 2005-10-12  Andy Wingo  <wingo@pobox.com>
18926
18927         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
18928         removed.
18929
18930         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
18931         there is no task. Shouldn't affect any code, as nothing in our
18932         plugins checks this return value.
18933         (gst_pad_stop_task): Also take the stream lock if the pad has no
18934         task. Docs updated.
18935
18936 2005-10-12  Wim Taymans  <wim@fluendo.com>
18937
18938         * gst/gstpad.c: (pre_activate), (post_activate),
18939         (gst_pad_activate_pull), (gst_pad_activate_push):
18940         Cleanup activation code. Reset old state if
18941         activation failed.
18942
18943 2005-10-12  Wim Taymans  <wim@fluendo.com>
18944
18945         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18946         (gst_base_sink_change_state):
18947         No need to prerol after receiving EOS.
18948
18949         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18950         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
18951         * gst/elements/gstidentity.c: (gst_identity_event):
18952         Print events more verbosely.
18953
18954 2005-10-12  Wim Taymans  <wim@fluendo.com>
18955
18956         * check/Makefile.am:
18957         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
18958         * check/states/sinks2.c:
18959         Moved sinks2 testcode in sinks check.
18960
18961         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18962         (gst_bin_remove_func), (gst_bin_recalc_state),
18963         (gst_bin_change_state_func), (bin_bus_handler):
18964         Fix potential race condition when _get_state() iterated over an
18965         ASYNC element right before it posted a state completion.
18966
18967         * gst/gstclock.h:
18968         Do proper cast here.
18969
18970         * gst/gstevent.c: (gst_event_new_newsegment),
18971         (gst_event_parse_newsegment):
18972         A playback rate of 0.0 is not allowed.
18973
18974 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18975
18976         * win32/common/config.h:
18977         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
18978         (_trewinddir), (_ttelldir), (_tseekdir):
18979         * win32/common/dirent.h:
18980         * win32/common/gtchar.h:
18981         * win32/common/libgstbase.def:
18982         * win32/common/libgstreamer.def:
18983         * win32/vs6/grammar.dsp:
18984         * win32/vs6/gst_inspect.dsp:
18985         * win32/vs6/gst_launch.dsp:
18986         * win32/vs6/gstreamer.dsw:
18987         * win32/vs6/libgstbase.dsp:
18988         * win32/vs6/libgstelements.dsp:
18989         * win32/vs6/libgstreamer.dsp:
18990           Visual Studio 6 project files, and a new common directory.
18991           Phear.
18992
18993 2005-10-11  Wim Taymans  <wim@fluendo.com>
18994
18995         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18996         (gst_base_sink_do_sync), (gst_base_sink_query),
18997         (gst_base_sink_change_state):
18998         * gst/base/gstbasesink.h:
18999         Correctly parse newsegment info.
19000
19001 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19002
19003         * gst/gst.c: (init_post):
19004           split plugin paths correctly
19005
19006 2005-10-11  Wim Taymans  <wim@fluendo.com>
19007
19008         * check/gst/gstevent.c: (GST_START_TEST):
19009         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19010         (gst_base_sink_change_state):
19011         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
19012         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19013         * gst/elements/gstfilesink.c: (gst_file_sink_event):
19014         * gst/gstevent.c: (gst_event_new_newsegment),
19015         (gst_event_parse_newsegment):
19016         * gst/gstevent.h:
19017         Added extra flag to newsegment for future API freeze.
19018         Updated check and base elements.
19019
19020 2005-10-11  Julien MOUTTE  <julien@moutte.net>
19021
19022         * gst/base/gstcollectpads.c: (gst_collectpads_init),
19023         (gst_collectpads_add_pad), (gst_collectpads_pop),
19024         (gst_collectpads_event), (gst_collectpads_chain):
19025         * gst/base/gstcollectpads.h: Handle EOS correctly.
19026
19027 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19028
19029         * tools/gst-launch.c: (main):
19030           more null protecting
19031
19032 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19033
19034         * gst/gst-i18n-lib.h:
19035           check for ENABLE_NLS, not GETTEXT_PACKAGE
19036         * gst/gstregistry.c: (gst_registry_add_plugin),
19037         (gst_registry_scan_path_level),
19038         (_gst_registry_remove_cache_plugins):
19039           protect possibly NULL strings
19040         * gst/parse/types.h:
19041           config.h already included before
19042         * tools/gst-inspect.c: (main):
19043           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
19044           check for ENABLE_NLS, not GETTEXT_PACKAGE
19045         * tools/gst-launch.c: (main):
19046           check for ENABLE_NLS, not GETTEXT_PACKAGE
19047
19048 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19049
19050         * configure.ac:
19051           if we don't have glib, fail before testing 2.8
19052         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
19053           fix a leak, should fix plugins-base testsuite
19054
19055 2005-10-11  Andy Wingo  <wingo@pobox.com>
19056
19057         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
19058         take the mode we're going to as an arg. Go head and set the mode
19059         and flushing flags now, so that if the activate function starts a
19060         thread all the flags will be in the right state.
19061         (post_activate): Renamed also. Just handle making sure streaming
19062         finishes for the deactivation case, and setting the deactivated
19063         mode.
19064         (gst_pad_set_active): Complain loudly if deactivation fails.
19065         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
19066         (gst_pad_activate_push): Adapt to pre/post_activate changes,
19067         remove the terrible hack.
19068
19069 2005-10-11  Wim Taymans  <wim@fluendo.com>
19070
19071         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19072         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
19073         (gst_bin_recalc_state), (gst_bin_change_state_func),
19074         (gst_bin_dispose), (bin_bus_handler):
19075         * gst/gstbin.h:
19076         Prepare to make current EOS message queue more generic.
19077         Fix some typos.
19078
19079         * gst/gstevent.c: (gst_event_new_newsegment),
19080         (gst_event_parse_newsegment):
19081         * gst/gstevent.h:
19082         Rename base to stream_time.
19083
19084         * gst/gstmessage.h:
19085         Fix typo in docs.
19086
19087 2005-10-11  Wim Taymans  <wim@fluendo.com>
19088
19089         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19090         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
19091         (gst_bin_change_state_func), (bin_bus_handler):
19092         * gst/gstbin.h:
19093         Work on proper clock selection.
19094
19095 2005-10-11  Edward Hervey  <edward@fluendo.com>
19096
19097         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
19098         * libs/gst/controller/gstcontroller.h:
19099         Added GList* version of _remove_properties() in order to be able to wrap
19100         it in bindings.
19101
19102 2005-10-11  Wim Taymans  <wim@fluendo.com>
19103
19104         * docs/design/part-states.txt:
19105         Some more docs.
19106
19107         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
19108         (gst_bin_change_state_func), (bin_bus_handler):
19109         Doc updates. Don't distribute the same clock over and over again.
19110
19111         * gst/gstclock.c:
19112         * gst/gstclock.h:
19113         Doc updates.
19114
19115         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
19116         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
19117         (gst_pad_send_event):
19118         * gst/gstpad.h:
19119         Make probe emission threadsafe again.
19120         Register quarks and move _get_name() from utils.
19121         Doc updates.
19122
19123         * gst/gstpipeline.c: (gst_pipeline_class_init),
19124         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19125         Only redistribute the clock of it changed.
19126
19127         * gst/gstsystemclock.h:
19128         Doc updates. 
19129
19130         * gst/gstutils.c:
19131         * gst/gstutils.h:
19132         Moved the _flow_get_name() to GstPad.
19133
19134 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19135
19136         * check/gst-libs/gdp.c: (GST_START_TEST):
19137         * check/gst/gstcaps.c: (GST_START_TEST):
19138         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
19139         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
19140         (gst_dp_packet_from_caps):
19141           fix more valgrind warnings before turning up the heat
19142
19143 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19144
19145         * gst/parse/grammar.y:
19146           some cleanup before the hacking
19147
19148 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19149
19150         * gst/base/gstbasesrc.c: (gst_base_src_query):
19151           use conversions
19152         * gst/gstutils.c: (gst_guint64_to_gdouble),
19153         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
19154         * gst/gstutils.h:
19155           externalize, basesrc uses it
19156           obviously the implementation needs testing
19157
19158 2005-10-10  Wim Taymans  <wim@fluendo.com>
19159
19160         * tests/sched/Makefile.am:
19161         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
19162         (make_pipeline3), (make_pipeline4), (print_elem), (main):
19163
19164 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19165
19166         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
19167           apparently converting from guint64 to double is not implemented
19168           on MSVC
19169
19170 2005-10-10  Wim Taymans  <wim@fluendo.com>
19171
19172         * check/Makefile.am:
19173         * check/generic/states.c: (GST_START_TEST):
19174         * check/gst/gstbin.c: (GST_START_TEST):
19175         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19176         * check/states/sinks.c: (GST_START_TEST):
19177         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
19178         (main):
19179         Check fixes, use API as stated in design docs, remove hacks.
19180
19181         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19182         (gst_base_sink_change_state):
19183         Catch stopping our task while we're shutting down.
19184
19185         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
19186         (gst_bin_remove_func), (gst_bin_get_state_func),
19187         (gst_bin_recalc_state), (gst_bin_change_state_func),
19188         (bin_bus_handler):
19189         * gst/gstbin.h:
19190         * gst/gstelement.c: (gst_element_init),
19191         (gst_element_get_state_func), (gst_element_abort_state),
19192         (gst_element_commit_state), (gst_element_lost_state),
19193         (gst_element_set_state), (gst_element_change_state),
19194         (gst_element_change_state_func):
19195         * gst/gstelement.h:
19196         New state change algorithm (see #318116)
19197
19198         * gst/gstpipeline.c: (gst_pipeline_class_init),
19199         (gst_pipeline_init), (gst_pipeline_set_property),
19200         (gst_pipeline_get_property), (do_pipeline_seek),
19201         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19202         * gst/gstpipeline.h:
19203         Remove crude state change hacks.
19204
19205         * gst/gstutils.h:
19206         Remove crude hacks.
19207
19208         * tools/gst-launch.c: (main):
19209         Fixes for state change. Needs some more work to fully use the
19210         new stuff.
19211
19212 2005-10-10  Andy Wingo  <wingo@pobox.com>
19213
19214         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
19215
19216         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
19217         this flag, but it's not even in GLib 2.6. Odd. Hack around the
19218         issue.
19219
19220 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19221
19222         * gst/gstiterator.c: (gst_iterator_new):
19223           Fix my previous commit: GTypes passed to gst_iterator_new()
19224           can be fundamental types.
19225
19226 2005-10-10  Wim Taymans  <wim@fluendo.com>
19227
19228         * gst/gstelement.c: (gst_element_iterate_pad_list),
19229         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
19230         (gst_element_iterate_sink_pads):
19231         Use src/sink pads lists for the respective iterators instead
19232         of filtering.
19233
19234 2005-10-10  Andy Wingo  <wingo@pobox.com>
19235
19236         Merged in popt removal + GOption addition patch from Ronald, bug
19237         #169772.
19238
19239         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
19240         GstElement macros around, remove popt-related symbols, add goption
19241         stuff.
19242
19243         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
19244         
19245         * docs/gst/Makefile.am:
19246         * docs/libs/Makefile.am: No POPT_CFLAGS.
19247         
19248         * examples/manual/Makefile.am:
19249         * docs/manual/basics-init.xml: Doc updates with an example.
19250         
19251         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
19252         (gst_init), (parse_one_option), (parse_goption_arg):
19253         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
19254         bit of hand merging and debugging to get the GOption stuff working
19255         tho.
19256         
19257         * tests/Makefile.am:
19258         * tools/Makefile.am:
19259         * tools/gst-inspect.c: (main):
19260         * tools/gst-launch.c: (main):
19261         * tools/gst-run.c: (main):
19262         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
19263
19264 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19265
19266         * gst/gstiterator.c: (gst_iterator_new):
19267           Add assertions to make sure passed GType is likely to really
19268           be a GType (as the compiler won't catch it if the size and
19269           GType arguments get mixed up, see #318447).
19270
19271 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
19272
19273         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19274
19275         * gst/gstbin.c: (gst_bin_iterate_sorted):
19276           Pass GType and size arguments to gst_iterator_new() in the right
19277           order (maybe we should make _new() take the GType as first argument
19278           just like _new_list()?) (#318447).
19279           
19280
19281 2005-10-10  Wim Taymans  <wim@fluendo.com>
19282
19283         * gst/gstelement.c: (gst_element_finalize):
19284         And free the GStaticRecMutex too
19285
19286 2005-10-10  Andy Wingo  <wingo@pobox.com>
19287
19288         * gst/gstelement.c (gst_element_init, gst_element_finalize):
19289         Allocate and free the mutex properly.
19290
19291         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
19292         New macros.
19293         (GstElement): The state_lock is now recursive. Rebuild your
19294         plugins, suckers. Old macros adapted.
19295
19296         * docs/gst/gstreamer-sections.txt: Doc updates.
19297
19298         * gst/gstutils.h:
19299         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
19300         (g_static_rec_cond_wait): Ported from state changes patch, while
19301         we wait on bug #317802 to be solved in a well-distributed GLib.
19302
19303         * gst/gstelement.c (gst_element_change_state_func): Renamed from
19304         gst_element_change_state, variable name changes.
19305         (gst_element_change_state): Split out of gst_element_set_state in
19306         preparation for the state change merge. Doesn't pay attention to
19307         the 'transition' argument.
19308         (gst_element_set_state): Updates, hopefully purely cosmetic.
19309         (gst_element_sync_state_with_parent): MT-safety. Ported from the
19310         state change patch.
19311         (gst_element_get_state_func): Renamed from get_state, cosmetic
19312         changes.
19313
19314 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19315
19316         * gst/elements/gstelements.c:
19317         * win32/GStreamer.vcproj:
19318         * win32/config.h:
19319         * win32/dirent.c: (_tseekdir):
19320         * win32/gst-inspect.vcproj:
19321         * win32/gst-launch.vcproj:
19322         * win32/gstconfig.h:
19323         * win32/gstelements.vcproj:
19324         * win32/gstenumtypes.c: (gst_object_flags_get_type):
19325         * win32/gstreamer.def:
19326         * win32/msvc71.sln:
19327           updates for the win32 build (patch from Sebastien Moutte)
19328
19329 2005-10-10  Andy Wingo  <wingo@pobox.com>
19330
19331         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
19332         gst_bin_get_state, cleaned up (but no logic changes).
19333         (bin_element_is_sink): Comment updates.
19334         (sink_iterator_filter): Remove needless cast.
19335         (gst_bin_iterate_sinks): Doc update.
19336         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
19337         cleaned up (but no logic changes).
19338
19339         * check/states/sinks.c (test_src_sink): Cleanups from the state
19340         change patch.
19341         (test_livesrc_sink): Sync on the state.
19342
19343         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
19344         the state change patch.
19345
19346         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
19347         change patch.
19348
19349         * check/gst/gstbin.c: Merge in some style fixes and additional
19350         checks from Wim's state change patch.
19351
19352 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19353
19354         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19355         (gst_type_find_helper):
19356           Check whether we have the requested data already in our list of
19357           cached buffers before pulling a new buffer; also make the buffer
19358           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
19359
19360 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19361
19362         * gst/gstcaps.c:
19363         * gst/gstevent.c:
19364           doc updates
19365         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19366           don't use long long, it's not portable.  Replacing with
19367           gint64 seems to work; let's hope no skeletons fall out of the closet.
19368
19369 2005-10-10  Andy Wingo  <wingo@pobox.com>
19370
19371         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
19372
19373 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
19374
19375         * docs/gst/gstreamer-sections.txt:
19376         * gst/gstevent.c:
19377         * gst/gstevent.h:
19378         * gst/gstinfo.c:
19379         * gst/gstinfo.h:
19380         * gst/gstmessage.c: (gst_message_parse_state_changed):
19381         * gst/gstpad.c:
19382         * gst/gstpad.h:
19383           more docs, fix compilation
19384
19385 2005-10-09  Philippe Khalaf <burger@speedy.org>
19386         * gst/gstmessage.c:
19387           Fixed a few forgotten variables on previous commit
19388
19389 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
19390
19391         * gst/base/gsttypefindhelper.c: (helper_find_peek):
19392           Fix evil typefind crasher: getrange() might return a short
19393           buffer at the end of a file, but gst_type_find_peek() must
19394           either return the full data as requested or NULL, but
19395           never a short buffer.
19396
19397 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19398
19399         * gst/gstmessage.c: (gst_message_new_state_changed),
19400         (gst_message_parse_state_changed):
19401         * gst/gstmessage.h:
19402           don't use "new", it's a C++ keyword
19403
19404 2005-10-08  Wim Taymans  <wim@fluendo.com>
19405
19406         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
19407         * gst/gstelement.c: (gst_element_post_message):
19408         * gst/gstpipeline.c: (gst_pipeline_change_state):
19409         Small docs and debug updates.
19410
19411 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
19412
19413         * docs/gst/gstreamer-sections.txt:
19414         * gst/gstelementfactory.c:
19415         * gst/gstevent.c:
19416         * gst/gsttaglist.c:
19417           more docs
19418
19419 2005-10-08  Wim Taymans  <wim@fluendo.com>
19420
19421         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
19422         (gst_bin_dispose), (bin_bus_handler):
19423         Fix typos, add comments.
19424         Clear EOS list when going to PAUSED from any direction and do it
19425         in a threadsafe way.
19426         Get base time in a threadsafe way too.
19427         Fix confusing debug in the change_state function.
19428         Various other small cleanups.
19429         
19430         * gst/gstelement.c: (gst_element_post_message):
19431         Fix very verbose bus posting code.
19432
19433         * gst/gstpipeline.c: (gst_pipeline_class_init),
19434         (gst_pipeline_set_property), (gst_pipeline_get_property),
19435         (gst_pipeline_change_state):
19436         Small ARG_ -> PROP_ cleanup
19437
19438 2005-10-08  Wim Taymans  <wim@fluendo.com>
19439
19440         * gst/gstbin.c: (is_eos), (bin_bus_handler):
19441         Do a less CPU demanding EOS check because we can.
19442
19443 2005-10-08  Wim Taymans  <wim@fluendo.com>
19444
19445         * libs/gst/dataprotocol/dataprotocol.c:
19446         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
19447         (gst_dp_packet_from_event):
19448         * libs/gst/dataprotocol/dataprotocol.h:
19449         * libs/gst/dataprotocol/dp-private.h:
19450         It's about time we bump the version number.
19451         Since event types don't fit in the guint8 anymore describing
19452         the payload type, make payload type 16 bits wide.
19453
19454 2005-10-08  Wim Taymans  <wim@fluendo.com>
19455
19456         * docs/design/part-TODO.txt:
19457         * docs/design/part-clocks.txt:
19458         * docs/design/part-events.txt:
19459         * docs/design/part-gstbin.txt:
19460         * docs/design/part-gstelement.txt:
19461         * docs/design/part-gstpipeline.txt:
19462         * docs/design/part-live-source.txt:
19463         * docs/design/part-messages.txt:
19464         * docs/design/part-overview.txt:
19465         * docs/design/part-states.txt:
19466         Many doc updates.
19467
19468 2005-10-08  Wim Taymans  <wim@fluendo.com>
19469
19470         * gst/gstevent.c:
19471         * gst/gstevent.h:
19472         Fix event quark registration.
19473         Add some space between events so we can insert them in the
19474         right groups.
19475
19476 2005-10-08  Wim Taymans  <wim@fluendo.com>
19477
19478         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19479         (gst_base_sink_handle_buffer):
19480         Better log message.
19481
19482         * gst/gstbus.h:
19483         * gst/gstelement.h:
19484         More docs.
19485
19486         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19487         (gst_queue_set_property), (gst_queue_get_property):
19488         * gst/gstqueue.h:
19489         Remove old unused properties.
19490
19491 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
19492         * docs/gst/gstreamer-sections.txt:
19493         * gst/gstmessage.c:
19494         * gst/gstmessage.h:
19495         * gst/gstminiobject.c:
19496         * gst/gstminiobject.h:
19497         * gst/gstobject.h:
19498         * gst/gstpad.h:
19499         * gst/gstutils.h:
19500           lots of new docs and doc fixes
19501
19502 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19503
19504         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
19505         * gst/gstplugin.h:
19506         * gst/gstregistry.c: (gst_registry_lookup_locked),
19507         (gst_registry_scan_path_level):
19508         * gst/gstregistryxml.c: (load_plugin):
19509           Only ever load one plugin for a given plugin basename.
19510           This ensures correct overriding of GST_PLUGIN_PATH over
19511           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
19512           system installed plugins.
19513
19514 2005-10-08  Wim Taymans  <wim@fluendo.com>
19515
19516         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19517         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
19518         Prepare for doing QOS.
19519
19520 2005-10-08  Wim Taymans  <wim@fluendo.com>
19521
19522         * check/gst/gstbin.c: (GST_START_TEST):
19523         * check/pipelines/cleanup.c: (GST_START_TEST):
19524         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19525         Allow new clock message too.
19526
19527 2005-10-08  Wim Taymans  <wim@fluendo.com>
19528
19529         * gst/gstmessage.c: (gst_message_new_error),
19530         (gst_message_new_warning), (gst_message_new_tag),
19531         (gst_message_new_state_changed), (gst_message_new_clock_provide),
19532         (gst_message_new_clock_lost), (gst_message_new_new_clock),
19533         (gst_message_new_segment_start), (gst_message_new_segment_done),
19534         (gst_message_parse_state_changed),
19535         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
19536         (gst_message_parse_new_clock):
19537         * gst/gstmessage.h:
19538         Also carry the clock in question.
19539
19540 2005-10-08  Wim Taymans  <wim@fluendo.com>
19541
19542         * gst/gstmessage.c: (gst_message_new_custom),
19543         (gst_message_new_eos), (gst_message_new_error),
19544         (gst_message_new_warning), (gst_message_new_tag),
19545         (gst_message_new_state_changed), (gst_message_new_clock_provide),
19546         (gst_message_new_new_clock), (gst_message_new_segment_start),
19547         (gst_message_new_segment_done), (gst_message_parse_state_changed),
19548         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
19549         * gst/gstmessage.h:
19550         Clean up.
19551         Added clock related messages.
19552
19553         * gst/gstpipeline.c: (gst_pipeline_change_state):
19554         Post message when the clock changed.
19555
19556         * tools/gst-launch.c: (event_loop):
19557         Print new clock.
19558
19559 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
19560
19561         * tools/gst-inspect.c: (print_element_properties_info):
19562           Can't pass NULL strings to g_print() on windows.
19563
19564 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19565
19566         * docs/Makefile.am:
19567         * docs/gst/Makefile.am:
19568         * docs/gst/gstreamer-docs.sgml:
19569         * docs/gst/running.xml:
19570         * docs/version.entities.in:
19571           add a chapter on running GStreamer.
19572           document GST_DEBUG and GST_PLUGIN* env vars
19573
19574 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19575
19576         * Makefile.am:
19577           remove include dir
19578         * configure.ac:
19579           remove PLUGINS_BUILDDIR stuff
19580         * gst/gst.c: (init_post):
19581           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
19582         * idiottest.mak:
19583           remove, it was condescending and not needed
19584
19585 2005-10-08  Wim Taymans  <wim@fluendo.com>
19586
19587         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
19588         (gst_base_sink_handle_object), (gst_base_sink_event),
19589         (gst_base_sink_wait), (gst_base_sink_handle_event),
19590         (gst_base_sink_change_state):
19591         * gst/base/gstbasesink.h:
19592         Repost EOS message while going to PLAYING if still EOS.
19593         Make sure that when receiving a FLUSH_START we don't attempt
19594         to sync on the clock anymore.
19595
19596 2005-10-08  Wim Taymans  <wim@fluendo.com>
19597
19598         * tools/gst-launch.c: (event_loop):
19599         Better message printout.
19600
19601 2005-10-08  Wim Taymans  <wim@fluendo.com>
19602
19603         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
19604         (gst_bin_child_proxy_get_children_count):
19605         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19606         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
19607         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
19608         (gst_child_proxy_set_valist):
19609         * gst/parse/grammar.y:
19610         Make ChildProxy threadsafe and fix mem leaks.
19611
19612 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19613
19614         * gst/gst.c: (init_post):
19615           debug the GST_PLUGIN_ env vars
19616
19617 2005-10-08  Wim Taymans  <wim@fluendo.com>
19618
19619         * check/gst/gstbin.c: (GST_START_TEST):
19620         * check/gst/gstmessage.c: (GST_START_TEST):
19621         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19622         * gst/gstelement.c: (gst_element_commit_state),
19623         (gst_element_lost_state):
19624         * gst/gstmessage.c: (gst_message_new_state_changed),
19625         (gst_message_parse_state_changed):
19626         * gst/gstmessage.h:
19627         * tools/gst-launch.c: (event_loop):
19628         Added extra field to STATE_CHANGE message with the pending
19629         state, which will be different from the new state soon.
19630
19631 2005-10-08  Wim Taymans  <wim@fluendo.com>
19632
19633         * gst/gstbus.c: (gst_bus_pop):
19634         * gst/gstclock.c:
19635         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19636         Small cleanups and doc updates.
19637
19638 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19639
19640         * gst/gst.c: (init_pre):
19641         * gst/gstbin.c: (gst_bin_add_func):
19642           log distributing clocks and base time
19643         * gst/gstregistry.c: (gst_registry_add_plugin),
19644         (gst_registry_scan_path_level), (gst_registry_scan_path):
19645           clean up the debugging output a little
19646         * gst/gstutils.c: (gst_element_state_get_name):
19647           warn about a memleak (I've actually seen this be used, though
19648           it was probably a bug)
19649
19650 2005-10-07  Wim Taymans  <wim@fluendo.com>
19651
19652         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19653         (gst_base_src_init), (gst_base_src_default_newsegment),
19654         (gst_base_src_newsegment), (gst_base_src_do_seek),
19655         (gst_base_src_loop), (gst_base_src_start):
19656         * gst/base/gstbasesrc.h:
19657         Make the newsegment event customizable by subclasses.
19658
19659 2005-10-07  Wim Taymans  <wim@fluendo.com>
19660
19661         * gst/gstevent.c: (gst_event_new_buffersize),
19662         (gst_event_parse_buffersize):
19663         * gst/gstevent.h:
19664         New event for future idea.
19665
19666 2005-10-07  Andy Wingo  <wingo@pobox.com>
19667
19668         * gst/gstelement.c (gst_element_post_message): Doc update.
19669
19670         * docs/gst/gstreamer-sections.txt: Update.
19671
19672         * gst/gstmessage.c (gst_message_new_application): Made into a
19673         function like honest API calls.
19674         (gst_message_new_element): New message type.
19675
19676         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
19677
19678         * check/elements/fakesrc.c (test_no_preroll): New check, checks
19679         that setting a live fakesrc to PAUSED returns NO_PREROLL both
19680         times.
19681
19682         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
19683         NO_PREROLL from gst_element_change_state to fall through.
19684
19685 2005-10-07  Wim Taymans  <wim@fluendo.com>
19686
19687         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
19688         (gst_ghost_pad_do_activate_push):
19689         Activating a ghostpad with no internal pad in push mode
19690         is ok.
19691
19692 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19693
19694         * gst/gstobject.h:
19695           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
19696           Fixes compilation on Windows.
19697
19698 2005-10-07  Michael Smith <msmith@fluendo.com>
19699
19700         * tools/gst-inspect.c:
19701           Print out feature and plugin count at the end when printing out
19702           all features.
19703
19704 2005-10-04  Michael Smith <msmith@fluendo.com>
19705
19706         * gst/gsterror.c: (_gst_stream_errors_init):
19707           Add another error string used in a few existing plugins.
19708
19709         * gst/gstplugin.c:
19710         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19711         * tools/gst-inspect.c: (print_element_info):
19712           When a feature disappears from a plugin (and the feature exists in
19713           the cached registry file), things went horribly wrong. This isn't a
19714           complete fix, we should actually be removing the 'missing' features
19715           from the features list when we load the actual plugin. That's not
19716           yet implemented. 
19717
19718 2005-10-04  Johan Dahlin  <johan@gnome.org>
19719
19720         * check/gst/gstiterator.c: (GST_START_TEST):
19721         * gst/gstbin.c: (gst_bin_iterate_elements),
19722         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
19723         * gst/gstelement.c: (gst_element_iterate_pads):
19724         * gst/gstformat.c: (gst_format_iterate_definitions):
19725         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19726         (gst_iterator_new_list), (gst_iterator_filter):
19727         * gst/gstiterator.h:
19728         * gst/gstquery.c: (gst_query_type_iterate_definitions):
19729         Add a GType to GstIterator, update callsites and tests.
19730
19731 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19732
19733         * gst/gstpad.c: (gst_pad_event_default_dispatch):
19734           give events a chance to be handled by event probes when the pad
19735           is not linked
19736
19737 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19738
19739         * gst/gstevent.c: (gst_event_type_get_name),
19740         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
19741         * gst/gstevent.h:
19742           add string representations for event types
19743
19744 2005-10-06  Wim Taymans  <wim@fluendo.com>
19745
19746         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
19747         Don't use NULL pointers.
19748
19749 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19750
19751         * gst/gst_private.h:
19752         * gst/gstbus.c:
19753         * gst/gstelement.c:
19754         * gst/gstinfo.c:
19755         * gst/gstpluginfeature.c:
19756           widen the debug category in output to fit the biggest one we have
19757           add a bus category and use it
19758           play with the colors
19759           fix up some categories
19760
19761 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19762
19763         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
19764           add push activation of sink ghost pads.
19765           Andye, please verify
19766
19767 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19768
19769         * gst/gstutils.c: (gst_element_link_pads):
19770           fix a bug in the case where neither element has a pad
19771         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19772           add a test for that case
19773
19774 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19775
19776         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
19777           emit have-data before checking for peers.  This allows
19778           for probe handlers to connect elements.  This helps autopluggers.
19779         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
19780         (gst_pad_suite):
19781           add six checks, linked/unlinked with no/true/false probe
19782
19783 2005-10-04  Wim Taymans  <wim@fluendo.com>
19784
19785         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
19786         (gst_fake_sink_event), (gst_fake_sink_preroll),
19787         (gst_fake_sink_render), (gst_fake_sink_change_state):
19788         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
19789         (gst_fake_src_get_property), (gst_fake_src_create),
19790         (gst_fake_src_stop):
19791         * gst/elements/gstidentity.c: (gst_identity_stop):
19792         Protect last_message with lock.
19793
19794 2005-10-04  Edward Hervey  <edward@fluendo.com>
19795
19796         * gst/gstformat.h: 
19797         Added precision in the comments for GST_FORMAT_DEFAULT
19798
19799 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
19800
19801         * tools/gst-launch.c: (main):
19802           Don't try to run erroneous pipelines.
19803
19804 2005-10-04  Julien MOUTTE  <julien@moutte.net>
19805
19806         * gst/gstbus.c: We don't need this header.
19807
19808 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19809
19810         * configure.ac:
19811           back to development
19812
19813 === release 0.9.3 ===
19814
19815 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19816
19817         * README:
19818         * configure.ac:
19819           Releasing 0.9.3, "Unregistered"
19820
19821 2005-10-03  Andy Wingo  <wingo@pobox.com>
19822
19823         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
19824         whereby calling a pad's activatepush() function can start a thread
19825         that starts to push or pull before the pad gets the FLUSHING flag
19826         unset. Hack around it by holding the stream lock until the flag is
19827         set. Need to replace this with a proper solution. Together with
19828         the ghost pad fixes, this fixes mp3 playing/tagreading.
19829
19830         * docs/design/part-gstghostpad.txt: Add a note about activation of
19831         proxy pads outside of ghost pads.
19832
19833         * gst/gstghostpad.c: Implement the ghost pad activation design.
19834
19835 2005-10-02  Andy Wingo  <wingo@pobox.com>
19836
19837         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
19838         It is volatile, after all.
19839
19840         * docs/design/part-gstghostpad.txt: Flesh out activation with
19841         ghost pads.
19842
19843         * gst/base/gstbasesrc.c (gst_base_src_init): Use
19844         GST_DEBUG_FUNCPTR.
19845
19846 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
19847
19848         * configure.ac:
19849           Fix (unused) AM_CONDITIONAL tests.
19850
19851 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
19852
19853         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19854
19855         * gst/gstutils.c: (gst_pad_query_convert):
19856           Add assertion that makes sure src_val is >=0, just like
19857           gst_query_new_convert() has. (#315895)
19858
19859 2005-09-30  Edward Hervey  <edward@fluendo.com>
19860
19861         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
19862         Let's not iterate pads we're not interested in, it avoids getting 
19863         sky-high refcounts on sinkpad.
19864
19865 2005-09-30  Wim Taymans  <wim@fluendo.com>
19866
19867         * gst/gstelement.c: (gst_element_set_state),
19868         (gst_element_change_state):
19869         Small tweak, element in ASYNC remains ASYNC.
19870
19871 2005-09-30  Wim Taymans  <wim@fluendo.com>
19872
19873         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19874         Only error is an error.
19875
19876         * gst/gstbin.c: (gst_bin_change_state):
19877         Better debugging.
19878
19879         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
19880         Also call pad_block in pad alloc.
19881
19882         * gst/gstutils.c: (gst_flow_get_name):
19883         Better debugging.
19884
19885 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
19886
19887         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19888         (gst_base_src_get_range):
19889           Fix documentation typos. Add some more debug info.
19890
19891 2005-09-29  David Schleef  <ds@schleef.org>
19892
19893         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
19894           more end-user friendly.
19895         * tools/gst-inspect.c: (main): Check if command-line argument is
19896           a file and attempt to load that file as a plugin.
19897
19898 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19899
19900         * check/gst/gstbin.c:
19901         * check/states/sinks.c:
19902           fix tests for the new warning
19903         * check/gst/gstpipeline.c:
19904           add a test for pipeline and bus interaction
19905         * gst/gstelement.c:
19906           elements should be NULL if they get disposed; add a warning if not
19907
19908 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19909
19910         * gst/gstobject.c:
19911           for 2.6 refcounting, make debug log more correct by printing
19912           the actual refcounts at the time of swap (Wim)
19913
19914 2005-09-29  Andy Wingo  <wingo@pobox.com>
19915
19916         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
19917         removes signal watches previously added via
19918         gst_bus_add_signal_watch.
19919         (gst_bus_add_signal_watch): Don't return the source id, just store
19920         it on the bus if there wasn't an id already.
19921
19922         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
19923         add_signal_watch and remove_signal_watch.
19924
19925 2005-09-29  Edward Hervey  <edward@fluendo.com>
19926
19927         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
19928         Better if we actually iterate the list :)
19929
19930 2005-09-29  Wim Taymans  <wim@fluendo.com>
19931
19932         * check/gst/gstbin.c: (GST_START_TEST):
19933         Change for new bus API.
19934
19935         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19936         (send_messages), (GST_START_TEST), (gstbus_suite):
19937         Change for new bus signal API.
19938
19939         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
19940         (gst_bus_source_prepare), (gst_bus_source_check),
19941         (gst_bus_create_watch), (gst_bus_add_watch_full),
19942         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
19943         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
19944         * gst/gstbus.h:
19945         Remove support for multiple GSources operating on different
19946         message types as it is too complex and unneeded when using
19947         signals.
19948         Added support for receiving signals from the bus.
19949
19950 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19951
19952         * docs/libs/tmpl/gstdataprotocol.sgml:
19953         * docs/manual/advanced-dataaccess.xml:
19954         * gst/elements/gstcapsfilter.c:
19955         * gst/gstutils.c:
19956           rename filter-caps to caps property
19957
19958 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
19959
19960         * gst/gstvalue.c: (gst_value_deserialize_fraction):
19961           More robust fraction string parsing.
19962
19963         * docs/pwg/appendix-porting.xml:
19964           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
19965
19966 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
19967
19968         * gst/gstcaps.c: (gst_caps_do_simplify):
19969           Thou shalt not free a structure and then continue using it
19970           in the next loop iteration.
19971
19972         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
19973         (gst_caps_suite):
19974           Add test case for caps simplification.
19975
19976 2005-09-29  Wim Taymans  <wim@fluendo.com>
19977
19978         * check/gst/gstbin.c: (GST_START_TEST):
19979         Oops.
19980
19981 2005-09-29  Wim Taymans  <wim@fluendo.com>
19982
19983         * check/gst/gstbin.c: (GST_START_TEST):
19984         Add bus to bin.
19985
19986         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
19987         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19988         (find_element), (gst_bin_sort_iterator_next),
19989         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19990         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19991         (gst_bin_change_state), (gst_bin_dispose):
19992         A bin does not have a bus, it gets the bus from the parent.
19993
19994         * gst/gstelement.c: (gst_element_requires_clock),
19995         (gst_element_provides_clock), (gst_element_is_indexable),
19996         (gst_element_is_locked_state), (gst_element_change_state),
19997         (gst_element_set_bus_func):
19998         Small cleanups.
19999
20000         * gst/gstpipeline.c: (gst_pipeline_class_init),
20001         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
20002         The pipeline provides a bus.
20003
20004 2005-09-28  Johan Dahlin  <johan@gnome.org>
20005
20006         * gst/gstmessage.c (gst_message_parse_state_changed): Use
20007         gst_structure_get_enum instead of gst_structure_get_int
20008
20009         * gst/gststructure.c (gst_structure_get_enum): Impl.
20010
20011         * gst/gststructure.h (gst_structure_get_enum): Add
20012
20013         * docs/gst/gstreamer-sections.txt: Ditto
20014
20015         * gst/gstmessage.c (gst_message_new_state_changed): Use
20016         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
20017         which does introspection.
20018         Reviewed by Christian Schaller
20019
20020 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
20021
20022         * gst/gstinfo.c: (gst_debug_log_default):
20023           don't do dummy g_strdup()s
20024         * libs/gst/controller/gstcontroller.c:
20025         (on_object_controlled_property_changed),
20026         (gst_controlled_property_new), (gst_controller_new_valist),
20027         (gst_controller_new_list),
20028         (gst_controller_remove_properties_valist), (gst_controller_set),
20029         (gst_controller_get), (gst_controller_sync_values),
20030         (gst_controller_get_value_array), (_gst_controller_class_init),
20031         (gst_controller_get_type):
20032         * libs/gst/controller/gstcontroller.h:
20033         * libs/gst/controller/gstinterpolation.c:
20034         (gst_controlled_property_find_timed_value_node):
20035           convert // to /**/ comments
20036
20037 2005-09-28  Wim Taymans  <wim@fluendo.com>
20038
20039         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
20040         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
20041         (gst_bus_sync_signal_handler):
20042         * gst/gstbus.h:
20043         Added async-message and sync-message signals to the bus.
20044         Added helper BusFunc to emit signals for all posted messages.
20045
20046         * gst/gstmessage.c: (gst_message_type_get_name),
20047         (gst_message_type_to_quark), (gst_message_get_type):
20048         * gst/gstmessage.h:
20049         Register quarks for message names.
20050
20051 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
20052
20053         * docs/libs/gstreamer-libs-sections.txt:
20054         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
20055         (gst_controller_new_list):
20056         * libs/gst/controller/gstcontroller.h:
20057           added another constructor for language bindings
20058
20059 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20060
20061         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20062           add another check
20063         * gst/gstbus.c:
20064           add some doc
20065         * gst/gstinfo.c: (_gst_debug_init):
20066           slightly more readable color for refcount debugging
20067
20068 2005-09-28  Wim Taymans  <wim@fluendo.com>
20069
20070         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20071         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20072         (find_element), (gst_bin_sort_iterator_next),
20073         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20074         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20075         (gst_bin_change_state), (gst_bin_dispose):
20076         Small doc fixes. get_clock -> provide_clock.
20077
20078         * gst/gstelement.c: (gst_element_class_init),
20079         (gst_element_provides_clock), (gst_element_provide_clock),
20080         (gst_element_get_clock), (gst_element_commit_state),
20081         (gst_element_lost_state):
20082         * gst/gstelement.h:
20083         Make get/set_clock() symetric. Add provide_clock vmethod since
20084         that is actually what this function does.
20085
20086         * gst/gstpipeline.c: (gst_pipeline_class_init),
20087         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
20088         (gst_pipeline_get_clock):
20089         get_clock -> provide_clock.
20090
20091 2005-09-28  Andy Wingo  <wingo@pobox.com>
20092
20093         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
20094         lieu of real docs...
20095
20096         * gst/elements/gstfdsrc.c: Cleaned up a bit.
20097
20098 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
20099
20100         * gst/elements/gstcapsfilter.c:
20101         * gst/elements/gstfakesink.c:
20102         * gst/elements/gstfakesrc.c:
20103         * gst/elements/gstfdsink.c:
20104         * gst/elements/gstfdsrc.c:
20105         * gst/elements/gstfilesink.c:
20106         * gst/elements/gstfilesrc.c:
20107         * gst/elements/gstidentity.c:
20108         * gst/elements/gsttee.c:
20109         * gst/elements/gsttypefindelement.c:
20110           Make element details static.
20111
20112 2005-09-28  Wim Taymans  <wim@fluendo.com>
20113
20114         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20115         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20116         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20117         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20118         (gst_bin_change_state), (gst_bin_dispose):
20119         Some documentation updates.
20120         Clean up dispose handlers.
20121
20122         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
20123         * gst/gstpad.c: (gst_pad_dispose):
20124         Clean up dispose handler.
20125
20126         * gst/gstpipeline.c: (gst_pipeline_change_state):
20127         Removed spurious UNLOCK.
20128
20129 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
20130
20131         * docs/gst/gstreamer-sections.txt:
20132         * gst/base/gstbasesrc.h:
20133         * gst/gstelement.h:
20134         * gst/gstevent.h:
20135         * gst/gstobject.h:
20136         * gst/gstpad.h:
20137         * gst/gstpipeline.c:
20138         * gst/gstpipeline.h:
20139         * gst/gstutils.h:
20140         * gst/gstxml.h:
20141           added two new functions to the docs
20142                 documents all undocumented GstXXXFlags
20143                 completed some incomplete docs 
20144
20145 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20146
20147         * gst/gstbin.c: (gst_bin_dispose):
20148         * gst/gstelement.c: (gst_element_dispose):
20149           remove now useless and leaky resurrection code in dispose
20150         * gst/base/gstbasesrc.c: (gst_base_src_init):
20151         * gst/gstelementfactory.c: (gst_element_factory_create):
20152         * gst/gstobject.c: (gst_object_set_parent):
20153           add some debugging
20154
20155 2005-09-27  Wim Taymans  <wim@fluendo.com>
20156
20157         * docs/design/part-TODO.txt:
20158         Update TODO.
20159
20160         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20161         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20162         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20163         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20164         (gst_bin_change_state):
20165         * gst/gstelement.h:
20166         Remove element variable, we keep element info in the iterator now.
20167
20168 2005-09-27  Andy Wingo  <wingo@pobox.com>
20169
20170         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
20171         values.
20172
20173 2005-09-27  Wim Taymans  <wim@fluendo.com>
20174
20175         * check/gst/gstbin.c: (GST_START_TEST):
20176         Enable check that works now.
20177
20178         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20179         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20180         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20181         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20182         (gst_bin_change_state):
20183         * gst/gstbin.h:
20184         Redid the state change algorithm using a topological sort algo.
20185         Handles all cases correctly.
20186         Exposed iterator for state change order.
20187
20188         * gst/gstelement.h:
20189         Temp storage for state changes. Need to get rid of this soon.
20190
20191 2005-09-27  Wim Taymans  <wim@fluendo.com>
20192
20193         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
20194         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
20195         (link_fold_func), (gst_pad_proxy_setcaps):
20196         Leak fixes, the fold functions need to unref the passed object and
20197         _get_parent_*() returns ref to parent.
20198
20199 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20200
20201         * check/gst/gstbuffer.c: (test_make_writable):
20202           Plug leak in test case and fix 'make check-valgrind'
20203
20204 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20205
20206         * gst/gstbuffer.c: (gst_subbuffer_init):
20207           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
20208           works correctly in all circumstances (we could have just copied
20209           the parent buffer's readonly flag, but conceptually it seems
20210           cleaner to mark all subbuffers as read-only). (based on patch
20211           by Alessandro Decina, #314710).
20212         
20213         * check/gst/gstbuffer.c: (create_read_only_buffer),
20214         (test_make_writable), (test_subbuffer_make_writable),
20215         (gst_test_suite):
20216           Add some tests for gst_buffer_make_writable().
20217
20218 2005-09-27  Wim Taymans  <wim@fluendo.com>
20219
20220         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
20221         use gst_object_has_ancestor().
20222
20223         * gst/gstobject.c: (gst_object_has_ancestor):
20224         * gst/gstobject.h:
20225         gst_object_has_ancestor() copied from gstbin.c as it is a
20226         useful function.
20227
20228         * tests/instantiate/create.c: (create_all_elements):
20229         * tests/lat.c: (handoff_src), (handoff_sink):
20230         * tests/sched/runxml.c: (main):
20231         * tests/seeking/seeking1.c: (main):
20232         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20233         (main):
20234         Fix compilation of some tests.
20235
20236 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20237
20238         * gst/gsterror.h:
20239           Remove comment. GST_TYPE_G_ERROR is here to stay,
20240           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
20241           (#316961, #300610).
20242
20243 2005-09-26  Wim Taymans  <wim@fluendo.com>
20244
20245         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20246         Added check that shows error in state change order.
20247
20248 2005-09-26  Wim Taymans  <wim@fluendo.com>
20249
20250         * gst/gstbin.c: (gst_bin_change_state):
20251         Make state change function use 3 queues again, we were
20252         adding elements in the wrong order.
20253
20254         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
20255         Some debug info,
20256
20257         * gst/gstpad.c: (gst_pad_dispose):
20258         Added some debug info first.
20259
20260 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
20261
20262         * docs/design/draft-push-pull.txt:
20263         * docs/design/part-events.txt:
20264         * docs/design/part-overview.txt:
20265         * docs/design/part-scheduling.txt:
20266           Replace all _pull_region() with _pull_range()
20267           
20268 2005-09-26  Andy Wingo  <wingo@pobox.com>
20269
20270         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
20271
20272         * check/gst-libs/controller.c: Update for controller api change.
20273
20274         * configure.ac: 
20275         * tests/Makefile.am:
20276         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
20277         over by GLib bug 118439.
20278         
20279         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
20280         routines to a function.
20281
20282         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
20283
20284         * libs/gst/controller/gsthelper.c:
20285         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
20286         (gst_object_sync_values): Renamed from sink_values. Ugh.
20287
20288         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
20289
20290         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
20291         Renamed from controller_key, as it is exported.
20292
20293         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
20294
20295 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20296
20297         * gst/Makefile.am:
20298         * gst/gst.h:
20299         * gst/gstpad.h:
20300         * gst/gstpadtemplate.h:
20301         * gst/gstquery.c:
20302         * gst/gstquery.h:
20303         * gst/gstqueryutils.c:
20304         * gst/gstqueryutils.h:
20305           remove queryutils headers after moving the two used functions
20306           to gstquery.  also fixes build problem for gstsiddec
20307
20308 2005-09-26  Michael Smith <msmith@fluendo.com>
20309
20310         * tools/gst-launch.1.in:
20311         Correct documentation in manpage of debug syntax
20312
20313 2005-09-26  Wim Taymans  <wim@fluendo.com>
20314
20315         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
20316         (gst_base_src_is_seekable), (gst_base_src_change_state):
20317         Some more debugging info.
20318
20319 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20320
20321         * docs/gst/gstreamer-sections.txt:
20322         * gst/base/gstbasetransform.h:
20323         * gst/gstindex.h:
20324           added more docs
20325
20326 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20327
20328         * docs/gst/.cvsignore:
20329         * docs/gst/tmpl/.cvsignore:
20330         * docs/gst/tmpl/gstpipeline.sgml:
20331         * docs/gst/tmpl/gstplugin.sgml:
20332         * gst/gstpipeline.c:
20333         * gst/gstplugin.c:
20334         * gst/gstplugin.h:
20335           inlined the last two docs files
20336           removed the tmpl directory from cvs (no more conflicts here!)
20337
20338 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20339
20340         * docs/gst/gstreamer-sections.txt:
20341         * docs/gst/tmpl/.cvsignore:
20342         * docs/gst/tmpl/gstpad.sgml:
20343         * docs/gst/tmpl/gstpadtemplate.sgml:
20344         * gst/Makefile.am:
20345         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
20346         (gst_pad_finalize), (gst_pad_set_pad_template):
20347         * gst/gstpad.h:
20348         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
20349         (gst_pad_template_class_init), (gst_pad_template_init),
20350         (gst_pad_template_dispose), (name_is_valid),
20351         (gst_static_pad_template_get), (gst_pad_template_new),
20352         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
20353         (gst_pad_template_pad_created):
20354         * gst/gstpadtemplate.h:
20355           inlined two more docs
20356           factored gstpadtemplate out of gstpad
20357
20358 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
20359
20360         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20361         (test_children_state_change_order_semi_sink):
20362           Fix test case: we can't rely on a fixed state change order when
20363           going from READY => PAUSED because the sink might commit its 
20364           new state first when the first buffer created by the source 
20365           reaches the sink before the source has finished its change state.
20366           (Test case still fails at times, see #316856, comment 5 onwards)
20367
20368 2005-09-24  Wim Taymans  <wim@fluendo.com>
20369
20370         * docs/design/part-events.txt:
20371         * docs/design/part-gstbus.txt:
20372         * docs/design/part-gstpipeline.txt:
20373         * docs/design/part-messages.txt:
20374         * docs/design/part-overview.txt:
20375         * docs/design/part-segments.txt:
20376         * gst/gstbin.c:
20377         * gst/gstbuffer.c:
20378         * gst/gstclock.c:
20379         * gst/gstelement.c:
20380         * gst/gstevent.c:
20381         * gst/gstfilter.c:
20382         * gst/gstiterator.c:
20383         Various documentation updates.
20384
20385 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20386
20387         * gst/gstclock.h:
20388           Well, that's embarassing.  Luckily we weren't using
20389           GST_CLOCK_DIFF anywhere.
20390
20391 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20392
20393         * common/gtk-doc.mak:
20394           don't fail on building XML, FC4 slave shows a bunch of doc
20395           missing bits that I don't get
20396         * gst/gstpad.c:
20397         * gst/gstpipeline.c:
20398         * gst/gststructure.c:
20399           some doc updates
20400
20401 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
20402
20403         * docs/design/part-gstbin.txt:
20404         * docs/design/part-gstbus.txt:
20405         * gst/gstbus.c:
20406           Add blurb about how the bus goes into flushing mode and
20407           drops all messages when its bin goes from READY into NULL 
20408           state.
20409
20410 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20411
20412         * docs/gst/gstreamer-sections.txt:
20413         * gst/gststructure.c: (gst_structure_get_clock_time):
20414         * gst/gststructure.h:
20415           add a method to get a GstClockTime out of a structure
20416
20417 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
20418
20419         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20420         (test_children_state_change_order_semi_sink), (gst_bin_suite):
20421           Added test to check state change order in bins (can still be made
20422           to fail here under heavy disk load; bails out with 'Push on pad
20423           fakesink:sink0, but it was not activated in push mode').
20424
20425         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
20426           Fix state change order when there is only a semi sink (#316856)
20427
20428         * gst/gstbus.c: (gst_bus_class_init):
20429           Use _class_peek_parent(), not _class_ref(); fix docs to say
20430           'default main context' instead of 'mainloop' where that is
20431           what's meant.
20432
20433         * gst/gstelement.c: (gst_element_commit_state),
20434         (gst_element_set_state):
20435           Fix typos in debug messages
20436
20437 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20438
20439         * docs/README:
20440         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
20441         * gst/gstpluginfeature.c:
20442         * gst/gstutils.c:
20443           various doc updates
20444         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20445           change an assert into an error until it gets fixed properly
20446
20447 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
20448
20449         * docs/gst/gstreamer-sections.txt:
20450         * docs/gst/tmpl/.cvsignore:
20451         * docs/gst/tmpl/gstelement.sgml:
20452         * docs/gst/tmpl/gstinfo.sgml:
20453         * docs/gst/tmpl/gstobject.sgml:
20454         * gst/gstelement.c:
20455         * gst/gstelement.h:
20456         * gst/gstinfo.c:
20457         * gst/gstinfo.h:
20458         * gst/gstobject.c: (gst_object_class_init):
20459         * gst/gstobject.h:
20460           inlined 3 more biiiig doc files and added some missing docs on the fly
20461
20462 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20463
20464         * check/gst/.cvsignore:
20465         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
20466         * gst/gstregistryxml.c: (load_plugin),
20467         (gst_registry_xml_save_plugin):
20468           put back source in registry.  add checks for find_plugin.
20469         * testsuite/states/bin.c: (assert_state), (empty_bin),
20470         (test_adding_one_element), (main):
20471         * testsuite/states/locked.c: (main):
20472           some compile/run fixes
20473
20474 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20475
20476         * check/gst/gstvalue.c: (GST_START_TEST):
20477           fix leaks in the test itself
20478
20479 2005-09-22  Wim Taymans  <wim@fluendo.com>
20480
20481         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20482         (gst_base_sink_send_event), (gst_base_sink_peer_query),
20483         (gst_base_sink_query):
20484         Prepare for more accurate position reporting and query
20485         handling.
20486
20487         * gst/gstelement.c: (gst_element_send_event),
20488         (gst_element_set_state):
20489         Add some comment.
20490
20491 2005-09-22  Wim Taymans  <wim@fluendo.com>
20492
20493         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
20494         (gst_query_parse_segment):
20495         * gst/gstquery.h:
20496         More documentation.
20497         Add segment query for future use.
20498
20499 2005-09-22  Wim Taymans  <wim@fluendo.com>
20500
20501         * gst/gstbin.c: (gst_bin_add_func):
20502         Some more debug info.
20503
20504         * gst/gstelement.c: (gst_element_send_event):
20505         Simplify send_event
20506
20507         * gst/gstelement.h:
20508         Don't know how flags got broken.
20509
20510         * gst/gstquery.h:
20511         Added new query.
20512
20513 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
20514
20515         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
20516           Add simplistic test suite for GST_TYPE_DATE serialisation and
20517           deserialisation.
20518
20519 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
20520
20521         * docs/gst/gstreamer-sections.txt:
20522         * gst/gststructure.c: (gst_structure_set_valist),
20523         (gst_structure_get_date):
20524         * gst/gststructure.h:
20525         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
20526         (gst_date_copy), (gst_value_compare_date),
20527         (gst_value_serialize_date), (gst_value_deserialize_date),
20528         (gst_value_transform_date_string),
20529         (gst_value_transform_string_date), (_gst_value_initialize):
20530         * gst/gstvalue.h:
20531           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
20532           bunch of utility functions along with a hack that checks that
20533           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
20534           is required. Part of the grand scheme in #170777.
20535
20536 2005-09-22  Andy Wingo  <wingo@pobox.com>
20537
20538         * gst/gstconfig.h.in: Psych out gtk-doc.
20539
20540         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
20541
20542         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
20543
20544         * tools/gst-inspect.c (print_element_list): Plug some
20545         inconsequential leaks.
20546
20547         * gst/gstregistry.c (gst_registry_get_default): Doc.
20548
20549         * check/gst/gstplugin.c: 
20550         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
20551         * gst/gstelementfactory.c (gst_element_factory_create): 
20552         * gst/gstindexfactory.c (gst_index_factory_create): Update for
20553         refcount changes.
20554
20555         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
20556         (gst_plugin_feature_load): Doc, don't eat refs.
20557
20558         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
20559         (gst_plugin_list_free): Doc.
20560         (gst_plugin_load_file): Doc updates.
20561
20562         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
20563         accessors returning refcounted objects, return a ref.
20564
20565         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
20566         accessor for caps. IDEMPOTENCE. Oh yes.
20567
20568 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
20569
20570         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20571
20572         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20573         (_gst_debug_register_funcptr):
20574           Add mutex to serialise access to the hash table with
20575           the function pointer => function name string mapping;
20576           make that hash table static scope (#316809).
20577
20578         * gst/registries/.cvsignore:
20579           Remove left-over file.
20580
20581 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
20582
20583         * docs/pwg/appendix-porting.xml:
20584           And something about newsegment events and caps-on-buffers to
20585           the porting guide (feel free to improve).
20586
20587 2005-09-21  Andy Wingo  <wingo@pobox.com>
20588
20589         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
20590         data and event probes on the same pad.
20591         (test_buffer_probe_once): Test that removing probes from within
20592         the probe functions works.
20593
20594 2005-09-21  Andy Wingo  <wingo@pobox.com>
20595
20596         * check/gst/gstutils.c: New file.
20597         (test_buffer_probe_n_times): A simple buffer probe test. More to
20598         come, foolios.
20599
20600         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
20601         have-data::buffer, not have-data.
20602         (gst_pad_add_event_probe): Likewise for have-data::event.
20603         (gst_pad_add_data_probe): More docs. The part about 'resolving the
20604         peer' isn't quite right yet though.
20605         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
20606         (gst_pad_remove_data_probe): Change to take the guint handler_id
20607         as their arg, not the function+data, which is more glib-like.
20608
20609         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
20610         the signal emission to indicate if the data is a buffer or an
20611         event.
20612         (gst_pad_get_type): Initialize buffer and event quarks.
20613         (gst_pad_class_init): have-data is now a detailed signal, yes it
20614         is.
20615
20616 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
20617
20618         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20619         * gst/gstutils.c: (gst_util_set_value_from_string),
20620         (gst_util_set_object_arg):
20621           Don't put functional code in g_return_if_fail() or
20622           g_return_val_if_fail() statements, otherwise things will 
20623           break when G_DISABLE_CHECKS is defined during compilation.
20624
20625 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20626
20627         * docs/gst/tmpl/.cvsignore:
20628         * docs/gst/tmpl/gstvalue.sgml:
20629         * gst/gstvalue.c:
20630         * gst/gstvalue.h:
20631           inlied another one and added  some obvious docs
20632
20633 2005-09-21  Wim Taymans  <wim@fluendo.com>
20634
20635         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20636         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
20637         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
20638         (gst_fdsrc_get_property), (gst_fdsrc_create):
20639         * gst/elements/gstfdsrc.h:
20640         Properly implement fdsrc. Removed signal and timeout,
20641         better implemented somewhere else.
20642
20643 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20644
20645         * docs/gst/tmpl/.cvsignore:
20646         * docs/gst/tmpl/gstimplementsinterface.sgml:
20647         * gst/gstinterface.c:
20648           inlined more docs
20649
20650 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20651
20652         * docs/gst/gstreamer-sections.txt:
20653         * docs/gst/tmpl/.cvsignore:
20654         * docs/gst/tmpl/gstenumtypes.sgml:
20655           remove obsolete doc file
20656
20657 2005-09-21  David Schleef  <ds@schleef.org>
20658
20659         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
20660         little beer, fix a little leak.
20661
20662 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20663
20664         * docs/gst/gstreamer-docs.sgml:
20665         * docs/gst/gstreamer-sections.txt:
20666         * docs/gst/tmpl/.cvsignore:
20667         * gst/Makefile.am:
20668         * gst/gst.h:
20669         * gst/gstbin.c:
20670         * gst/gstelement.h:
20671         * gst/gstindex.c: (gst_index_class_init):
20672         * gst/gstindex.h:
20673         * gst/gstindexfactory.c: (gst_index_factory_get_type),
20674         (gst_index_factory_class_init), (gst_index_factory_init),
20675         (gst_index_factory_finalize), (gst_index_factory_new),
20676         (gst_index_factory_destroy), (gst_index_factory_find),
20677         (gst_index_factory_create), (gst_index_factory_make):
20678         * gst/gstindexfactory.h:
20679         * gst/gstpluginfeature.c:
20680         * gst/gstpluginfeature.h:
20681         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20682           more docs inlined, splitted gstindex.{c,h}
20683
20684 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20685
20686         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20687           fix a leak
20688
20689 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
20690
20691         * gst/elements/gstfilesink.c: (gst_file_sink_init):
20692           Set sync to FALSE by default.
20693
20694 2005-09-20  Wim Taymans  <wim@fluendo.com>
20695
20696         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20697         (gst_base_sink_init):
20698         Make sync property settable from subclass.
20699
20700         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20701         (gst_fake_sink_change_state):
20702         Set sync to FALSE by default.
20703
20704 2005-09-20  Wim Taymans  <wim@fluendo.com>
20705
20706         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
20707         * tools/gst-launch.c: (main):
20708         The timeout handler should have lower priority than the source
20709         so we don't timeout before popping a message with 0 timeout.
20710         Dump error messages after failed state change.
20711
20712 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
20713
20714         * tools/gst-inspect.c: (print_element_properties_info):
20715           Fix two typos.
20716
20717 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20718
20719         * check/gst/gstevent.c:
20720         * gst/elements/gstfakesink.c:
20721         * gst/elements/gstfakesink.h:
20722           remove the sync property from fakesink.
20723           has the side effect of setting sync TRUE
20724           for fakesink, which is a change.  Anyone who knows how
20725           to fix this nicely in a GObject-y way, feel free.
20726
20727 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20728
20729         * docs/gst/gstreamer-docs.sgml:
20730           remove probe refsection
20731
20732 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20733
20734         * check/Makefile.am:
20735           disable valgrinding the controller test again
20736         * docs/gst/gstreamer-sections.txt:
20737           update for api-changes
20738
20739 2005-09-20  Wim Taymans  <wim@fluendo.com>
20740
20741         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20742         (gst_base_sink_set_property), (gst_base_sink_get_property),
20743         (gst_base_sink_do_sync):
20744         * gst/base/gstbasesink.h:
20745         Added sync property to basesink to disable clock sync.
20746
20747 2005-09-20  Andy Wingo  <wingo@pobox.com>
20748
20749         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
20750         eating the caller's refcount.
20751
20752         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
20753         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
20754         refcount.
20755
20756         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
20757         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
20758         of GLib 2.8 public, so we can know which refcount to check in
20759         tests.
20760
20761         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
20762         (gst_object_init): Only set the gst refcount if we're going ahead
20763         with the refcount hack.
20764
20765 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20766
20767         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20768         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20769           more leaks plumbed, added more debug-logging
20770         * gst/gstmacros.h:
20771           whitespace fix
20772
20773 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20774
20775         * gst/gstmessage.c:
20776           remove include of gstmemchunk.h
20777
20778 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20779
20780         * gst/gstclock.c: (_gst_clock_id_free):
20781           Commit from the Political Party For More Atomic CVS Commits,
20782           so that people don't waste too much of their day fishing
20783           out obvious leaks out of massive commits.
20784           Oh, and fix a pretty damn obvious leak in the memchunk
20785           removal code.
20786
20787 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20788
20789         * check/Makefile.am:
20790         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20791           plug mem-leak, re-add to valgrindable tests
20792
20793 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20794
20795         * gst/gstplugin.h:
20796           unbreak the build for those who have chronic arthritis
20797           and typing "make check" is just too taxing on the hands
20798
20799 2005-09-20  Andy Wingo  <wingo@pobox.com>
20800
20801         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
20802         really want it out, you should fix plugins at the same time.
20803
20804 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
20805
20806         * configure.ac:
20807         * docs/gst/gstreamer-sections.txt:
20808         * gst/gstobject.c:
20809           added missing symbols to api docs
20810           disable ref-count hack if we have glib >= 2.8
20811
20812 2005-09-19  David Schleef  <ds@schleef.org>
20813
20814         * docs/gst/Makefile.am: Ignore a few more internal headers
20815         * docs/gst/gstreamer-docs.sgml: Remove old sections
20816         * docs/gst/gstreamer-sections.txt: Remove old sections
20817         * docs/gst/tmpl/gstobject.sgml: update
20818         * docs/gst/tmpl/gstplugin.sgml: update
20819         * docs/gst/tmpl/gstpluginfeature.sgml: update
20820         * docs/random/ds/0.9-suggested-changes: update.
20821         * gst/Makefile.am: remove memchunk and trashstack, since they're
20822           not used.
20823         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
20824         * gst/gst.h: don't include some headers
20825         * gst/gstchildproxy.c: add gstmarshal.h
20826         * gst/gstclock.c: Don't use memchunks
20827         * gst/gstminiobject.c: Add some docs
20828         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
20829         * gst/gstobject.h: same
20830         * gst/gstplugin.c: include gstmacros.h
20831         * gst/gstplugin.h: don't include gstmacros.h, since it's private
20832         * gst/gstquery.c: don't use memchunks
20833         * gst/gstregistry.c: rename gst_registry_deinit()
20834         * gst/gstregistry.h: same
20835
20836 2005-09-19  David Schleef  <ds@schleef.org>
20837
20838         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
20839         * docs/libs/gstreamer-libs-sections.txt:
20840         * docs/libs/tmpl/gstgetbits.sgml:
20841         * docs/libs/tmpl/gstputbits.sgml:
20842
20843 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
20844
20845         * win32/gstenumtypes.c:
20846         * win32/gstenumtypes.h:
20847           Update.
20848
20849 2005-09-19  Wim Taymans  <wim@fluendo.com>
20850
20851         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
20852         Automatically PAUSE and RESUME a pipeline when a flushing seek
20853         is performed.
20854
20855 2005-09-19  Andy Wingo  <wingo@pobox.com>
20856
20857         * gst/gstregistry.h: Spacing fixen.
20858
20859 2005-09-19  Wim Taymans  <wim@fluendo.com>
20860
20861         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
20862         Handle state change failure more correctly.
20863
20864 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20865
20866         * check/Makefile.am:
20867         * check/pipelines/cleanup.c: (run_pipeline):
20868         * check/pipelines/simple_launch_lines.c: (run_pipeline),
20869         (GST_START_TEST):
20870           enable cleanup again after fixing the leak
20871         * docs/README:
20872           some more info on docs
20873
20874 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20875
20876         * check/Makefile.am:
20877           re-enable tests now that leaks are plugged
20878         * check/gst/gst.c:
20879         * check/gst/gstbin.c:
20880         * check/gst/gstpipeline.c:
20881           add some more tests while fixing leaks
20882         * common/check.mak:
20883           make sure binaries are uptodate when valgrinding/gdbing
20884         * gst/gst.c:
20885         * gst/gstelementfactory.c:
20886           remove a ref too many, and add a FIXME for when we get
20887           round to disposing of classes
20888         * gst/gstplugin.c:
20889           fix the refcounting when loading a plugin from a file and
20890           the code pretends that the pointer is the same even though
20891           of course it can change
20892         * gst/gstpluginfeature.c:
20893           unref plugins marked cached (a bit confusing as a name)
20894           as the docs state should be done
20895           various doc additions to explain refcounting
20896         * gst/gstregistry.c:
20897         * gst/gstregistryxml.c:
20898           debugging
20899
20900 2005-09-19  Wim Taymans  <wim@fluendo.com>
20901
20902         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20903         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20904         (send_messages), (GST_START_TEST), (gstbus_suite):
20905         * check/gst/gstpipeline.c: (GST_START_TEST):
20906         * check/pipelines/cleanup.c: (run_pipeline):
20907         * check/pipelines/simple_launch_lines.c: (run_pipeline),
20908         (GST_START_TEST):
20909         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
20910         (gst_bus_source_check), (gst_bus_source_dispatch),
20911         (gst_bus_create_watch), (gst_bus_add_watch_full),
20912         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
20913         * gst/gstbus.h:
20914         * tools/gst-launch.c: (event_loop):
20915         * tools/gst-md5sum.c: (event_loop):
20916         GstBusHandler -> GstBusFunc, return value has the same meaning as
20917         any other GSource (FALSE == remove source).
20918         _add_watch() and _add_watch_full() now take a MessageType mask to
20919         only handle specific types of messages.
20920         _poll() returns the GstMessage instead of the message type to avoid
20921         race conditions.
20922         _have_pending() takes a MessageType mask now too.
20923         Added testsuite for multiple bus watches.
20924         Fix testsuites and applications for new bus API.
20925
20926 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20927
20928         * check/Makefile.am:
20929           mark a bunch of the tests as to fix until we fix them
20930
20931 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20932
20933         * common/check.mak:
20934           use GST_PLUGIN settings for valgrind tests as well, so we're
20935           valgrinding the correct thing
20936         * gst/gst.c: (init_post):
20937           plug another leak
20938
20939 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20940
20941         * gst/gst.c: (init_post), (gst_deinit):
20942         * gst/gstelementfactory.c: (gst_element_factory_class_init),
20943         (gst_element_factory_finalize), (gst_element_factory_cleanup):
20944         * gst/gstindex.c: (gst_index_factory_class_init),
20945         (gst_index_factory_finalize):
20946         * gst/gstobject.c: (gst_object_dispose):
20947         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
20948         (gst_plugin_load_file), (gst_plugin_desc_free):
20949         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
20950         (gst_plugin_feature_finalize):
20951         * gst/gstregistry.c: (gst_registry_class_init),
20952         (gst_registry_init), (gst_registry_finalize),
20953         (gst_registry_get_default), (gst_registry_deinit):
20954         * gst/gstregistry.h:
20955         * gst/gstregistryxml.c: (load_feature), (load_plugin):
20956           various cleanups and memleak plugging.  make valgrind is happy now.
20957
20958 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20959
20960         * common/check.mak:
20961           add a check-valgrind target
20962
20963 2005-09-18  David Schleef  <ds@schleef.org>
20964
20965         * tools/gst-inspect.c: Revert the GOption code.
20966
20967 2005-09-17  David Schleef  <ds@schleef.org>
20968
20969         * check/Makefile.am: Fix environment variables.
20970         * check/gst/gstplugin.c: Fix for API changes.
20971         * tools/gst-inspect.c: Fix for API changes.
20972         * tools/gst-xmlinspect.c: Fix for API changes.
20973         * gst/gstelementfactory.c:
20974         * gst/gstplugin.c:
20975         * gst/gstplugin.h:
20976         * gst/gstpluginfeature.c:
20977         * gst/gstpluginfeature.h:
20978         * gst/gstregistry.c:
20979         * gst/gstregistry.h:
20980         * gst/gstregistryxml.c:
20981         * gst/gsttypefind.c:
20982         * gst/gsttypefindfactory.c:
20983         * gst/indexers/gstfileindex.c:
20984         * gst/indexers/gstmemindex.c:
20985         * gst/schedulers/Makefile.am:
20986           Change registry to keep track of both plugins and features,
20987           removing the feature tracking from plugins themselves.
20988
20989 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20990
20991         * check/Makefile.am:
20992         * tools/gst-register.1.in:
20993           remove gst-register
20994
20995 2005-09-15  David Schleef  <ds@schleef.org>
20996
20997         * check/gst/gstplugin.c:
20998         * gst/gstelementfactory.c:
20999         * gst/gstplugin.c:
21000         * gst/gstpluginfeature.c:
21001         * gst/gstregistry.c:
21002           Getting tired of debugging.  Disabled all the unreffing of
21003           plugins and features, which fixes the segfaults, but of
21004           course leaks like crazy.  At least playbin works.
21005
21006 2005-09-15  David Schleef  <ds@schleef.org>
21007
21008         * check/gst/gstplugin.c: (register_check_elements),
21009         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
21010         More testing
21011         * gst/elements/gsttypefindelement.c: Fix refcounting.
21012         * gst/gsttypefind.c:
21013         * gst/gsttypefindfactory.c:
21014         * gst/gsttypefindfactory.h:
21015
21016 2005-09-15  David Schleef  <ds@schleef.org>
21017
21018         * gst/gstindex.c: get refcounting correct.
21019         * gst/gstregistry.c: Handle the case where a feature/plugin is
21020           not found.
21021
21022 2005-09-15  David Schleef  <ds@schleef.org>
21023
21024         * check/Makefile.am:
21025         * check/gst/gstplugin.c: Add test
21026         * gst/gstplugin.c: Fix problems noticed by testsuite
21027         * gst/gstplugin.h:
21028         * gst/gstregistry.c: 
21029         * gst/gstregistry.h:
21030
21031 2005-09-15  David Schleef  <ds@schleef.org>
21032
21033         * gst/gstplugin.c: Implement semi-decent recounting and locking
21034           in plugins and plugin features.
21035         * gst/gstplugin.h:
21036         * gst/gstpluginfeature.c:
21037         * gst/gstpluginfeature.h:
21038         * gst/gstregistry.c:
21039
21040 2005-09-15  Michael Smith <msmith@fluendo.com>
21041
21042         * gst/gstregistry.c: (gst_registry_get_feature_list):
21043           Implement this. Makes oggdemux work; decodebin still broken.
21044
21045 2005-09-14  David Schleef  <ds@schleef.org>
21046
21047         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
21048           #316076)
21049         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
21050         * gst/check/Makefile.am:
21051         * libs/gst/controller/Makefile.am:
21052         * libs/gst/dataprotocol/Makefile.am:
21053
21054 2005-09-14  David Schleef  <ds@schleef.org>
21055
21056         * configure.ac: Remove getbits library.  Nothing uses it, and
21057           it should be in something like liboil if someone did want
21058           to use it.
21059         * libs/gst/Makefile.am:
21060         * libs/gst/getbits/Makefile.am:
21061         * libs/gst/getbits/gbtest.c:
21062         * libs/gst/getbits/getbits.c:
21063         * libs/gst/getbits/getbits.h:
21064         * libs/gst/getbits/gstgetbits_generic.c:
21065         * libs/gst/getbits/gstgetbits_i386.s:
21066         * libs/gst/getbits/gstgetbits_inl.h:
21067
21068 2005-09-14  David Schleef  <ds@schleef.org>
21069
21070         * gst/Makefile.am: Dist glib-compat.h
21071
21072 2005-09-14  David Schleef  <ds@schleef.org>
21073
21074         * configure.ac: Remove gst/registries, since it's no longer used.
21075         * gst/registries/Makefile.am:
21076         * gst/registries/gstlibxmlregistry.c:
21077         * gst/registries/gstlibxmlregistry.h:
21078         * gst/registries/gstxmlregistry.c:
21079         * gst/registries/gstxmlregistry.h:
21080         * gst/registries/registrytest.c:
21081
21082 2005-09-14  David Schleef  <ds@schleef.org>
21083
21084         * gst/glib-compat.h:
21085         * gst/gstregistryxml.c:
21086           Convergence is near.  Seriously.
21087
21088 2005-09-14  David Schleef  <ds@schleef.org>
21089
21090         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21091         * gst/glib-compat.h:
21092           Attempt #4 to appease the buildbots.
21093
21094 2005-09-14  David Schleef  <ds@schleef.org>
21095
21096         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21097           Attempt #3.
21098
21099 2005-09-14  David Schleef  <ds@schleef.org>
21100
21101         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21102         Attempt #2.
21103
21104 2005-09-14  David Schleef  <ds@schleef.org>
21105
21106         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
21107           the new functions.
21108
21109 2005-09-14  David Schleef  <ds@schleef.org>
21110
21111         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21112         * gst/glib-compat.h: Add some functions that are in newer versions
21113           of glib than we care to require.
21114         * gst/gstregistryxml.c: Use them.
21115
21116 2005-09-14  David Schleef  <ds@schleef.org>
21117
21118         * po/POTFILES.in: remove gst-register.c
21119
21120 2005-09-14  David Schleef  <ds@schleef.org>
21121
21122         * docs/gst/gstreamer-docs.sgml:
21123         * docs/gst/gstreamer-sections.txt:
21124         * docs/gst/gstreamer.types:
21125         * docs/gst/tmpl/gstelement.sgml:
21126         * docs/gst/tmpl/gstplugin.sgml:
21127         * docs/gst/tmpl/gstpluginfeature.sgml:
21128           Documentation updates for registry changes.
21129
21130 2005-09-14  David Schleef  <ds@schleef.org>
21131
21132         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
21133           because we don't require glib-2.8.
21134
21135 2005-09-14  David Schleef  <ds@schleef.org>
21136
21137         * gst/gstregistryxml.c: Added.  Essentially moved out of the
21138           registries directory.
21139
21140 2005-09-14  David Schleef  <ds@schleef.org>
21141
21142         * check/Makefile.am:
21143         * check/generic/states.c:
21144         * gst/Makefile.am:
21145         * gst/gst.c:
21146         * gst/gst.h:
21147         * gst/gst_private.h:
21148         * gst/gstelementfactory.c:
21149         * gst/gstindex.c:
21150         * gst/gstinfo.c:
21151         * gst/gstplugin.c:
21152         * gst/gstplugin.h:
21153         * gst/gstpluginfeature.c:
21154         * gst/gstpluginfeature.h:
21155         * gst/gstregistry.c:
21156         * gst/gstregistry.h:
21157         * gst/gstregistrypool.c: remove
21158         * gst/gstregistrypool.h: remove
21159         * gst/gsttypefind.c:
21160         * gst/gsttypefindfactory.c:
21161         * gst/gsturi.c:
21162         * tools/Makefile.am:
21163         * tools/gst-compprep.c:
21164         * tools/gst-inspect.c:
21165         * tools/gst-register.c: remove
21166         * tools/gst-xmlinspect.c:
21167           Registry rewrite.  Changes registry from being a file created
21168           by a tool into a simple cache file created automatically by 
21169           libgstreamer.  Removed gst-register (because it's no longer
21170           needed).  Remove registry pools, because we only have one
21171           registry implementation (XML).  Fix up other subsystems as
21172           necessary.
21173
21174 2005-09-13  Michael Smith <msmith@fluendo.com>
21175
21176         * gst/gstconfig.h.in:
21177           Don't Use windows linking attributes for MinGW. Fixes #316157
21178
21179 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21180
21181         * gst/gstutils.c: (set_state_async_thread_func),
21182         (gst_element_set_state_async):
21183           Apparently people think it's better if this function doesn't
21184           try to set the state to whatever state was asked for on the first
21185           call to this function for any object.  Seriously.
21186
21187 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21188
21189         * check/gst/gstpipeline.c: (GST_START_TEST):
21190         * docs/gst/gstreamer-sections.txt:
21191         * gst/gstutils.c: (set_state_async_thread_func),
21192         (gst_element_set_state_async):
21193         * gst/gstutils.h:
21194           add a "gst_element_set_state_async" method that
21195           sets the state and starts a thread to make sure the state
21196           change completes as best as it can
21197
21198 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21199
21200         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21201           codify design+behaviour in testsuite after discussion
21202
21203 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21204
21205         * docs/gst/tmpl/gstelement.sgml:
21206         * docs/manual/appendix-quotes.xml:
21207           add a quote
21208         * gst/gstelement.c: (gst_element_set_state):
21209           add some debug
21210
21211 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
21212
21213         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21214         (gst_base_transform_prepare_output_buf),
21215         (gst_base_transform_handle_buffer):
21216         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
21217         (gst_capsfilter_prepare_buf):
21218           Remove the requirement for sub-classes to call the parent
21219           implementation of prepare_output_buffer with a wrapper function.
21220           
21221         * gst/gsttaglist.h:
21222         * gst/gsttagsetter.h:
21223           Fix #define wrapper
21224
21225 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
21226
21227         * docs/gst/gstreamer-sections.txt:
21228           more doc cleanups
21229
21230 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21231
21232         * docs/gst/gstreamer-sections.txt:
21233         * docs/gst/tmpl/gstelement.sgml:
21234         * docs/gst/tmpl/gstplugin.sgml:
21235         * gst/gstminiobject.c:
21236         * gst/gstvalue.h:
21237           docs now stop throwing warnings
21238
21239 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21240
21241         * docs/gst/gstreamer-sections.txt:
21242         * docs/gst/gstreamer.types:
21243         * docs/gst/tmpl/gstpad.sgml:
21244         * docs/gst/tmpl/gsttypes.sgml:
21245         * gst/base/gstadapter.h:
21246         * gst/base/gstbasesink.h:
21247         * gst/base/gstbasesrc.h:
21248         * gst/gstbin.h:
21249         * gst/gstbuffer.h:
21250         * gst/gstbus.h:
21251         * gst/gstcaps.h:
21252         * gst/gstclock.h:
21253         * gst/gstelement.h:
21254         * gst/gstevent.h:
21255         * gst/gstmessage.h:
21256         * gst/gstpad.h:
21257         * gst/gststructure.c:
21258         * gst/registries/gstlibxmlregistry.h:
21259           various documentation fixes
21260
21261 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21262
21263         * docs/gst/gstreamer-sections.txt:
21264         * docs/gst/tmpl/gstvalue.sgml:
21265           rearrange gstvalue section
21266         * gst/gstutils.c: (gst_element_state_get_name):
21267           NONE -> VOID
21268         * gst/gstvalue.c: (_gst_value_initialize):
21269         * gst/gstvalue.h:
21270           doc updates
21271
21272 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
21273
21274         * check/gst-libs/controller.c:
21275           Header include fix.
21276         * gst/base/gstbasetransform.c:
21277         (gst_base_transform_default_prepare_buf),
21278         (gst_base_transform_handle_buffer):
21279         * gst/base/gstbasetransform.h:
21280           Some more basetransform changes and fixes to enable sub-classes
21281           that modify buffer metadata only.
21282         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21283         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
21284         (gst_capsfilter_prepare_buf):
21285           If the output pad has fixed allowed caps and input buffers 
21286           don't have any, set the fixed caps on outgoing buffers.
21287
21288 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
21289         * check/elements/identity.c: (GST_START_TEST):
21290           Make the error a little clearer when the test fails because
21291           identity made a copy of the buffer.
21292         * docs/gst/gstreamer-sections.txt:
21293           New symbols in gstbasetransform.h
21294         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21295         (gst_base_transform_init), (gst_base_transform_transform_size),
21296         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21297         (gst_base_transform_default_prepare_buf),
21298         (gst_base_transform_get_unit_size),
21299         (gst_base_transform_buffer_alloc),
21300         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
21301         (gst_base_transform_change_state),
21302         (gst_base_transform_set_passthrough),
21303         (gst_base_transform_set_in_place),
21304         (gst_base_transform_is_in_place):
21305         * gst/base/gstbasetransform.h:
21306           Change BaseTransform to separate in_place operate from same_caps
21307           output. in_place implies that the element can perform the transform
21308           on incoming buffers in-place, even if the caps on the output are
21309           different.
21310           Sub-class elements can now implement special buffer allocation
21311           methods for outgoing buffers if they wish to.
21312           Big documentation addition.
21313         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
21314         * gst/elements/gstelements.c:
21315           Changes for basetransform modifications.
21316         * gst/elements/Makefile.am:
21317         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
21318           Compile fix. Extra debug output.
21319
21320 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21321
21322         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
21323         (gst_pad_suite):
21324           add tests for valid pad naming
21325         * gst/check/gstcheck.c: (gst_check_log_message_func),
21326         (gst_check_log_critical_func):
21327           add ASSERT_WARNING
21328           remove printing of code, it is fragile when the code contains
21329           % and the line number is enough info
21330         * gst/check/gstcheck.h:
21331         * gst/gstpad.c: (gst_pad_template_new):
21332           fix memleaks
21333
21334 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21335
21336         * configure.ac:
21337           say what CHECK flags we use
21338         * docs/libs/gstreamer-libs.types:
21339         * libs/gst/controller/Makefile.am:
21340         * libs/gst/controller/gst-controller.c:
21341         * libs/gst/controller/gst-controller.h:
21342         * libs/gst/controller/gst-helper.c:
21343         * libs/gst/controller/gst-interpolation.c:
21344         * libs/gst/controller/gstcontroller.c:
21345         * libs/gst/controller/gsthelper.c:
21346         * libs/gst/controller/gstinterpolation.c:
21347         * tools/gst-inspect.c: (print_plugin_info):
21348           we don't use dashes in header names
21349
21350 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21351
21352         * check/Makefile.am:
21353         * check/gst/.cvsignore:
21354         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
21355         (gst_pipeline_suite), (main):
21356           adding a test for pipelines and state changes
21357         * gst/gstutils.c: (get_state_func):
21358           add some debugging
21359         * gstreamer.spec.in:
21360           fix up spec file
21361
21362 2005-09-08  Michael Smith <msmith@fluendo.com>
21363
21364         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
21365         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
21366         (gst_file_src_is_seekable), (gst_file_src_get_size),
21367         (gst_file_src_start):
21368         * gst/elements/gstfilesrc.h:
21369           Various fixes for unseekable, unmmapable, and non-normal files, so
21370           that fallback to read() rather than mmap() works.
21371         * gst/gstevent.c: (gst_event_new_newsegment):
21372           Allow newsegment events with segment_start == segment_end, as will
21373           correctly happen if you use filesrc on a zero-size file, for
21374           example.
21375
21376 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
21377
21378         * gst/gstplugin.c: (gst_plugin_load_file):
21379           Call g_module_close when we don't load the module
21380
21381         * gst/registries/gstlibxmlregistry.c:
21382         (gst_xml_registry_get_property):
21383           Port leak fix from 0.8
21384
21385 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21386
21387         * docs/gst/gstreamer-docs.sgml:
21388         * docs/gst/tmpl/.cvsignore:
21389         * docs/gst/tmpl/gsttrace.sgml:
21390         * docs/gst/tmpl/gsttrashstack.sgml:
21391         * gst/Makefile.am:
21392         * gst/gst.h:
21393         * gst/gstelement.h:
21394         * gst/gstevent.h:
21395         * gst/gstmessage.c:
21396         * gst/gstmessage.h:
21397         * gst/gsttag.c:
21398         * gst/gsttag.h:
21399         * gst/gsttaginterface.c:
21400         * gst/gsttaginterface.h:
21401         * gst/gsttaglist.c:
21402         * gst/gsttaglist.h:
21403         * gst/gsttagsetter.c:
21404         * gst/gsttagsetter.h:
21405         * gst/gsttrace.c:
21406         * gst/gsttrace.h:
21407         * gst/gsttrashstack.c:
21408           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
21409           inlined docs for gsttrace, gsttrashstack
21410
21411 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21412
21413         * gst/Makefile.am:
21414         * gst/elements/gstbufferstore.h:
21415         * gst/elements/gsttypefindelement.c:
21416         * gst/elements/gsttypefindelement.h:
21417         * gst/gst.h:
21418         * gst/gsttypefind.c:
21419         * gst/gsttypefind.h:
21420         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
21421         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
21422         (gst_type_find_factory_dispose),
21423         (gst_type_find_factory_unload_thyself),
21424         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
21425         (gst_type_find_factory_get_caps),
21426         (gst_type_find_factory_get_extensions),
21427         (gst_type_find_factory_call_function):
21428         * gst/gsttypefindfactory.h:
21429         * gst/registries/gstlibxmlregistry.c:
21430         * gst/registries/gstxmlregistry.c:
21431           splitted gsttypefind into gsttypefind, gsttypefindfactory
21432
21433 2005-09-07  Andy Wingo  <wingo@pobox.com>
21434
21435         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
21436         condition whereby the pad's task function is entered before the
21437         pad_mode variable was set.
21438
21439 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
21440
21441         * gst/gstpad.c: (gst_pad_alloc_buffer):
21442           Catch misbehaving pad_alloc functions that don't
21443           set up caps and do it for them.
21444
21445 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21446
21447         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21448           test for pipe!=NULL
21449         * docs/gst/tmpl/.cvsignore:
21450         * docs/gst/tmpl/gstmemchunk.sgml:
21451         * docs/gst/tmpl/gstparse.sgml:
21452         * docs/gst/tmpl/gsttaglist.sgml:
21453         * docs/gst/tmpl/gsttagsetter.sgml:
21454         * docs/gst/tmpl/gsttypefind.sgml:
21455         * docs/gst/tmpl/gsttypefindfactory.sgml:
21456         * gst/gstmemchunk.c:
21457         * gst/gstparse.c:
21458         * gst/gsttag.c:
21459         * gst/gsttaginterface.c:
21460         * gst/gsttypefind.c:
21461         * gst/gsttypefind.h:
21462           inlined more docs
21463
21464 === release 0.9.2 ===
21465
21466 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21467
21468         * NEWS:
21469         * RELEASE:
21470         * configure.ac:
21471           releasing 0.9.2, "South"
21472
21473 2005-09-05  Andy Wingo  <wingo@pobox.com>
21474
21475         * gst/registries/gstxmlregistry.h:
21476         * gst/registries/gstxmlregistry.c: Um... resurrect...
21477         
21478         * gst/registries/gstxmlregistry.h:
21479         * gst/registries/gstxmlregistry.c: and update to newer API.
21480         Incidentally they should be a bit faster now that they don't have
21481         to parse the caps.
21482         
21483 2005-09-05  Andy Wingo  <wingo@pobox.com>
21484
21485         * gst/registries/gstxmlregistry.h:
21486         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
21487         replaced by the libxml registry a while back
21488
21489 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21490
21491         * docs/gst/tmpl/gstplugin.sgml:
21492         * gst/elements/gstelements.c:
21493         * gst/gst.c:
21494         * gst/gstplugin.c: (gst_plugin_register_func),
21495         (gst_plugin_desc_copy), (gst_plugin_desc_free),
21496         (gst_plugin_get_source):
21497         * gst/gstplugin.h:
21498         * gst/registries/gstlibxmlregistry.c: (load_plugin),
21499         (gst_xml_registry_save_plugin):
21500         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
21501         (gst_xml_registry_save_plugin):
21502         * tools/gst-inspect.c: (print_plugin_info):
21503           add a "source" plugin description field, to represent the source
21504           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
21505           will set it to PACKAGE, which is automake's idea of the name of
21506           the source project.
21507
21508 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21509
21510         * Makefile.am:
21511         * autogen.sh:
21512         * configure.ac:
21513         * docs/Makefile.am:
21514         * docs/faq/Makefile.am:
21515         * docs/gst/tmpl/gstelement.sgml:
21516         * docs/gst/tmpl/gsttypes.sgml:
21517         * docs/htmlinstall.mak:
21518         * docs/manual/Makefile.am:
21519         * docs/pwg/Makefile.am:
21520           reorganize doc build a little
21521           split out docbook and gtk-doc stuff
21522           have two separate --enable's and enable them through autogen
21523           but disable by default in configure (to be similar to other
21524           projects)
21525         * gstreamer.spec.in:
21526           clean up docs install
21527         * po/af.po:
21528         * po/az.po:
21529         * po/ca.po:
21530         * po/cs.po:
21531         * po/de.po:
21532         * po/en_GB.po:
21533         * po/fr.po:
21534         * po/it.po:
21535         * po/nb.po:
21536         * po/nl.po:
21537         * po/ru.po:
21538         * po/sq.po:
21539         * po/sr.po:
21540         * po/sv.po:
21541         * po/tr.po:
21542         * po/uk.po:
21543         * po/vi.po:
21544           translation updates
21545
21546 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
21547
21548         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
21549           Add comment.
21550           
21551         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21552         (gst_fake_sink_change_state):
21553           Make state change function thread-safe.
21554           
21555         * gst/gstpad.c: (gst_pad_alloc_buffer):
21556           Set offset on generic buffer allocated by fallback.
21557
21558 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
21559
21560         * docs/gst/gstreamer-sections.txt:
21561         * docs/gst/tmpl/gstelement.sgml:
21562         * gst/gstpad.c:
21563         * libs/gst/controller/gst-controller.c:
21564         (gst_controlled_property_set_interpolation_mode),
21565         (gst_controlled_property_new),
21566         (gst_controller_find_controlled_property):
21567          run the wingo-magic script against the docs
21568
21569 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
21570
21571         * docs/gst/gstreamer-docs.sgml:
21572         * docs/gst/gstreamer-sections.txt:
21573         * docs/gst/tmpl/.cvsignore:
21574         * docs/gst/tmpl/gstelementdetails.sgml:
21575         * docs/gst/tmpl/gstelementfactory.sgml:
21576         * gst/gst.c:
21577         * gst/gstbus.c:
21578         * gst/gstelementfactory.c:
21579         * gst/gstelementfactory.h:
21580           merged elementdetails docs into elementfactory docs
21581           inlined both
21582
21583 2005-09-02  Andy Wingo  <wingo@pobox.com>
21584
21585         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
21586         consider this enum an enum and not a flags.
21587
21588 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
21589
21590         * docs/gst/gstreamer-docs.sgml:
21591         * docs/gst/tmpl/.cvsignore:
21592         * docs/gst/tmpl/gstghostpad.sgml:
21593         * docs/gst/tmpl/gstiterator.sgml:
21594         * docs/gst/tmpl/gstmacros.sgml:
21595         * docs/gst/tmpl/gstrealpad.sgml:
21596         * docs/gst/tmpl/gstregistry.sgml:
21597         * docs/gst/tmpl/gstregistrypool.sgml:
21598         * docs/gst/tmpl/gststructure.sgml:
21599         * docs/gst/tmpl/gstsystemclock.sgml:
21600         * docs/gst/tmpl/gsttrace.sgml:
21601         * gst/gstghostpad.c:
21602         * gst/gstmacros.h:
21603         * gst/gstmemchunk.c:
21604         * gst/gstmemchunk.h:
21605         * gst/gstqueue.c:
21606         * gst/gstregistry.c:
21607         * gst/gstregistrypool.c:
21608         * gst/gststructure.c:
21609         * gst/gstsystemclock.c:
21610           more docs inlined
21611
21612 2005-09-02  Andy Wingo  <wingo@pobox.com>
21613
21614         * gst/gstelement.h (GstState): Renamed from GstElementState,
21615         changed to be a normal enum instead of flags.
21616         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
21617         munged to be GST_STATE_CHANGE_*.
21618         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
21619         work with the new state representation.
21620         (GstStateChange): New enumeration of possible state transitions.
21621         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
21622         (GstElementClass::change_state): Pass the GstStateChange along as
21623         an argument. Helps language bindings, so they don't have to use
21624         tricky lock-needing macros like GST_STATE_CHANGE ().
21625
21626         * scripts/update-states (file): New script. Run it on a file to
21627         update it for state naming and API changes. Updates files in
21628         place.
21629
21630         * All files updated for the new API.
21631
21632 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21633
21634         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
21635         * gst/gstutils.c: (gst_util_set_value_from_string),
21636         (gst_util_set_object_arg):
21637           fix a bunch of unchecked return values
21638         * tools/gst-complete.c: (main):
21639         * gstreamer.spec.in:
21640           clean up a little
21641
21642 2005-09-01  Wim Taymans  <wim@fluendo.com>
21643
21644         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21645         (gst_base_sink_event), (gst_base_sink_do_sync),
21646         (gst_base_sink_handle_event):
21647         * gst/base/gstbasesink.h:
21648         Handle newsegments more correctly.
21649
21650         * gst/gstbus.c:
21651         Fix docs.
21652
21653         * gst/gstevent.c: (gst_event_new_newsegment):
21654         A newsegment cannot have a start_time of -1
21655
21656 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
21657
21658         * win32/gstenumtypes.c:
21659         * win32/gstenumtypes.h:
21660           Update
21661
21662 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
21663
21664         * libs/gst/controller/gst-controller.c:
21665         (gst_controlled_property_set_interpolation_mode),
21666         (gst_controlled_property_new):
21667          fixed boolean again
21668
21669 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
21670
21671         * docs/faq/gst-uninstalled:
21672           add -good
21673         * gst/gstevent.c:
21674         * gst/gstevent.h:
21675           remove wrong docs
21676         * gst/gstutils.c: (gst_element_link_filtered):
21677         * gst/gstutils.h:
21678           add gst_element_link_filtered
21679
21680 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
21681
21682         * docs/gst/gstreamer-docs.sgml:
21683         * docs/gst/gstreamer-sections.txt:
21684         * docs/gst/tmpl/.cvsignore:
21685         * docs/gst/tmpl/gsterror.sgml:
21686         * docs/gst/tmpl/gstfilter.sgml:
21687         * docs/gst/tmpl/gsturihandler.sgml:
21688         * docs/gst/tmpl/gsturitype.sgml:
21689         * docs/gst/tmpl/gstutils.sgml:
21690         * docs/gst/tmpl/gstxml.sgml:
21691         * gst/gsterror.c:
21692         * gst/gsterror.h:
21693         * gst/gstfilter.c:
21694         * gst/gsturi.c:
21695         * gst/gsturitype.c:
21696         * gst/gstutils.c:
21697         * gst/gstxml.c:
21698           inlined more docs, fixed double id-ref
21699
21700 2005-08-31  Wim Taymans  <wim@fluendo.com>
21701
21702         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21703         (gst_base_transform_handle_buffer):
21704         Passthrough elements don't need the caps as they don't care.
21705
21706 2005-08-31  Wim Taymans  <wim@fluendo.com>
21707
21708         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21709         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
21710         Don't leak refcounts on buffers.
21711
21712 2005-08-31  Wim Taymans  <wim@fluendo.com>
21713
21714         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
21715         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21716         (gst_base_transform_chain), (gst_base_transform_change_state):
21717         * gst/base/gstbasetransform.h:
21718         Handle the case where we are not negotiated more gracefully.
21719
21720 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
21721
21722         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
21723         (gst_file_src_map_region):
21724           Set READONLY flag on mmap'ed buffers, otherwise
21725           gst_buffer_make_writable() won't work properly (#314708).
21726
21727 2005-08-31  Wim Taymans  <wim@fluendo.com>
21728
21729         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
21730         passthrough elements can even do inplace on non writable
21731         buffers (as they don't touch them).
21732
21733 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
21734
21735         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21736         (gst_test_mono_source_set_property),
21737         (gst_test_mono_source_class_init), (GST_START_TEST),
21738         (gst_controller_suite):
21739           more tests (hehe I have the most)
21740         * gst/gstbus.c:
21741           describe popping messages whenusing mulltiple sources
21742         * libs/gst/controller/gst-controller.c:
21743         (gst_controlled_property_set_interpolation_mode),
21744         (gst_controlled_property_new):
21745         * libs/gst/controller/gst-controller.h:
21746         * libs/gst/controller/gst-interpolation.c:
21747           implement boolean properties
21748
21749 2005-08-31  Wim Taymans  <wim@fluendo.com>
21750
21751         * gst/gstminiobject.c: (gst_mini_object_ref):
21752         Cannot assert that the refcount has to be positive
21753         since a disposed object can be resurrected.
21754
21755 2005-08-31  Wim Taymans  <wim@fluendo.com>
21756
21757         * gst/gstpad.c: (gst_pad_init):
21758         Revert change, need to first fix badly behaving 
21759         apps.
21760
21761 2005-08-30  Wim Taymans  <wim@fluendo.com>
21762
21763         * check/elements/fakesrc.c: (setup_fakesrc):
21764         * check/elements/identity.c: (setup_identity):
21765         Activate pads before using them.
21766
21767 2005-08-30  Wim Taymans  <wim@fluendo.com>
21768
21769         * gst/base/gstadapter.c: (gst_adapter_flush):
21770         Flushing out 0 bytes is ok for this function.
21771
21772         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21773         no newsegment gives a warning and sets the start/stop to 
21774         invalid.
21775
21776         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
21777         (gst_base_transform_set_passthrough):
21778         Some debug info.
21779
21780         * gst/gstminiobject.c: (gst_mini_object_ref):
21781         Check refcount here too.
21782
21783         * gst/gstpad.c: (gst_pad_init):
21784         Pads are initially flushing and refusing data.
21785
21786         * gst/gstutils.c: (gst_element_link_pads_filtered):
21787         When adding a capsfilter element make sure it has the
21788         same state as the parent bin.
21789
21790 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21791
21792         * docs/gst/tmpl/.cvsignore:
21793         * docs/gst/tmpl/gstformat.sgml:
21794         * docs/gst/tmpl/gstversion.sgml:
21795         * gst/gstbus.h:
21796         * gst/gstformat.c:
21797         * gst/gstformat.h:
21798         * gst/gstversion.h.in:
21799           more docs and two more inlined
21800
21801 2005-08-30  Wim Taymans  <wim@fluendo.com>
21802
21803         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
21804         Don't sync to clock.
21805
21806 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21807
21808         * docs/gst/gstreamer-sections.txt:
21809           ultral33t func10ns deserve to appear in the docs actually
21810         * docs/gst/tmpl/.cvsignore:
21811         * docs/gst/tmpl/gstcompat.sgml:
21812         * docs/gst/tmpl/gstconfig.sgml:
21813         * gst/check/gstcheck.c:
21814         * gst/gstcompat.h:
21815         * gst/gstconfig.h.in:
21816           inlined more docs
21817
21818 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21819
21820         * docs/gst/tmpl/.cvsignore:
21821         * docs/gst/tmpl/gstquery.sgml:
21822         * docs/gst/tmpl/gstutils.sgml:
21823         * gst/gstquery.c:
21824         * gst/gstquery.h:
21825           inlined and extended docs
21826
21827 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21828
21829         * check/gst-libs/controller.c: (GST_START_TEST),
21830         (gst_controller_suite):
21831           more tests
21832         * docs/gst/tmpl/gstutils.sgml:
21833         * docs/libs/gstreamer-libs-sections.txt:
21834         * docs/libs/tmpl/gstdataprotocol.sgml:
21835           include path fixes
21836         * examples/controller/audio-example.c: (main):
21837           controller example works now
21838         * gst/gstclock.h:
21839           doc fixes
21840         * tools/gst-inspect.c: (print_element_properties_info):
21841           show param spec flags
21842
21843 2005-08-29  Andy Wingo  <wingo@pobox.com>
21844
21845         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
21846
21847 2005-08-28  Andy Wingo  <wingo@pobox.com>
21848
21849         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
21850         as having two arguments instead of just one. Allows superclasses
21851         to access information on subclasses -- see the terrible for() loop
21852         in gtype.c:g_type_create_instance for the reason why. All callers
21853         changed.
21854
21855 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
21856
21857         * docs/design/part-messages.txt:
21858           update info
21859         * docs/gst/tmpl/.cvsignore:
21860         * docs/gst/tmpl/gstcaps.sgml:
21861         * docs/gst/tmpl/gstclock.sgml:
21862         * gst/gstbus.c:
21863         * gst/gstcaps.c:
21864         * gst/gstcaps.h:
21865         * gst/gstclock.c:
21866         * gst/gstclock.h:
21867         * gst/gstmessage.c:
21868           added descriptions for bus and message
21869           inline caps and clock docs
21870
21871 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
21872
21873         * gst/gstmessage.c:
21874         * gst/gstmessage.h:
21875           doc fixes
21876
21877 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
21878
21879         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
21880           fix div-by-zero
21881
21882 2005-08-26  Andy Wingo  <wingo@pobox.com>
21883
21884         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
21885         element_set_state's return val.
21886         (test_2_elements): Add test that's been disabled for months.
21887
21888         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
21889         can-activate-pull properties.
21890
21891         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
21892         can-activate-pull properties. Implement is_seekable so fakesrc can
21893         operate in pull mode.
21894
21895         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
21896         properties.
21897         (gst_base_sink_activate, gst_base_sink_activate_pull)
21898         (gst_base_sink_activate_push): Make activation mode choosing work.
21899         Cleanups.
21900         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
21901         is right. Make pull mode work. Post an eos before pausing in pull
21902         mode.
21903         (gst_base_sink_change_state): Pay attention to the core's
21904         change_state() return val.
21905         
21906         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
21907         has-getrange properties. Cleanups.
21908         
21909         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
21910         has_getrange and replace with can_activate_pull and
21911         can_activate_push.
21912
21913         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
21914         locking comments. Remove has_loop, has_chain and replace with
21915         can_activate_pull and can_activate_push.
21916
21917 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
21918
21919         * configure.ac:
21920         * examples/Makefile.am:
21921         * examples/metadata/Makefile.am:
21922         * examples/metadata/read-metadata.c: (message_loop),
21923         (have_pad_handler), (make_pipeline), (print_tag), (main):
21924           Add metadata reading example that loops over a list of filenames,
21925           dumping any tags found.
21926
21927         * gst/gstbus.c: (gst_bus_dispose):
21928         * gst/gstelement.c: (gst_element_dispose):
21929           Release a few potentially-held references in dispose.
21930
21931 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21932
21933         * docs/gst/tmpl/gstminiobject.sgml:
21934           do *not* add tmpl/*.sgml files to CVS!
21935
21936 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21937
21938         * libs/gst/bytestream/.cvsignore:
21939         * libs/gst/bytestream/Makefile.am:
21940         * libs/gst/bytestream/adapter.c:
21941         * libs/gst/bytestream/adapter.h:
21942         * libs/gst/bytestream/bytestream.c:
21943         * libs/gst/bytestream/bytestream.h:
21944         * libs/gst/bytestream/filepad.c:
21945         * libs/gst/bytestream/filepad.h:
21946           removing obsolete files
21947
21948 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21949
21950         * docs/gst/gstreamer-docs.sgml:
21951         * docs/libs/gstreamer-libs-docs.sgml:
21952           disabed additional index entries again, as this makes docs-gen just
21953           slow and they aren't useful yet
21954         * docs/libs/gstreamer-libs-sections.txt:
21955           little -section.txt cleanup for libs
21956
21957 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
21958
21959         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21960         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
21961           fix up some debugging
21962         (gst_base_transform_get_unit_size),
21963         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21964         (gst_base_transform_handle_buffer):
21965         * gst/base/gstbasetransform.h:
21966           handle and store timed NEWSEGMENT events so that subclasses that
21967           calculate time by counting samples have a segment_start time they
21968           need to add to their timestamps - see audioresample
21969
21970 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21971
21972         * gst/gstbin.h:
21973           removed ';' from the end of macro defs
21974         * docs/gst/gstreamer-docs.sgml:
21975         * docs/gst/gstreamer-sections.txt:
21976         * docs/gst/tmpl/.cvsignore:
21977         * gst/gstbus.h:
21978         * gst/gstelement.c: (gst_element_class_init),
21979         (gst_element_set_state), (activate_pads),
21980         (gst_element_save_thyself):
21981         * gst/gstevent.c: (gst_event_new_newsegment):
21982         * gst/gstevent.h:
21983         * gst/gstiterator.c:
21984         * gst/gstiterator.h:
21985         * gst/gstpad.c:
21986         * gst/gstprobe.h:
21987         * gst/gstutils.c: (gst_pad_query_convert):
21988         * gst/gstutils.h:
21989           fixed parameter name mismatches between source, header and docs
21990           added some more docs, resolved the last batch of unused elements in
21991           docs (now someone needs to doc them)
21992
21993 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21994
21995         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
21996         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
21997           don't walk through the plugins backwards.  Where is all this
21998           reversed logic coming from ?
21999
22000 2005-08-25  Wim Taymans  <wim@fluendo.com>
22001
22002         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22003         (gst_base_transform_transform_size),
22004         (gst_base_transform_configure_caps),
22005         (gst_base_transform_get_unit_size),
22006         (gst_base_transform_buffer_alloc),
22007         (gst_base_transform_change_state):
22008         * gst/base/gstbasetransform.h:
22009         Cache caps unit_size.
22010         Make sure we cannot negotiate up and downstream at the
22011         same time.
22012
22013 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22014
22015         * gst/gst.c: (init_pre), (init_post):
22016           register the installed plugin path after the env var
22017         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
22018         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
22019           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
22020           directories, so the tests can prefer uninstalled over installed
22021
22022 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22023
22024         * gst/base/gstbasetransform.h:
22025           comment
22026         * gst/gstpad.c:
22027           add to docs
22028
22029 2005-08-25  Wim Taymans  <wim@fluendo.com>
22030
22031         * gst/gstbin.c: (bin_bus_handler):
22032         Be a bit more conservative about the posted message.
22033         
22034         * gst/gstbus.c: (gst_bus_post):
22035         Some cleanups, warn wrong return values.
22036
22037 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
22038
22039         * check/gst/gstbin.c: (GST_START_TEST):
22040         * gst/gstbin.c: (bin_bus_handler):
22041         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22042         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22043         (gst_message_new_warning), (gst_message_new_tag),
22044         (gst_message_new_state_changed), (gst_message_new_segment_start),
22045         (gst_message_new_segment_done), (gst_message_new_custom):
22046         * gst/gstmessage.h:
22047         * tools/gst-launch.c: (event_loop):
22048         * tools/gst-md5sum.c: (event_loop):
22049           Revert unpopular change for GST_MESSAGE_SRC to GObject.
22050
22051 2005-08-25  Wim Taymans  <wim@fluendo.com>
22052
22053         * check/generic/states.c: (GST_START_TEST):
22054         Cleanup can be done at the end.
22055
22056         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
22057         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22058         (gst_task_get_state), (gst_task_start), (gst_task_pause):
22059         Oh boy.. Thanks for finding this, Thomas. 
22060
22061 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
22062
22063         * docs/gst/gstreamer.types:
22064           added missing types
22065
22066 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
22067
22068         * docs/gst/gstreamer-docs.sgml:
22069         * docs/gst/gstreamer-sections.txt:
22070         * docs/gst/tmpl/.cvsignore:
22071         * gst/gstbin.c:
22072         * gst/gstiterator.c:
22073         * gst/gstutils.c:
22074         * gst/registries/gstxmlregistry.h:
22075           added missing classes and symbols (123 more to go)
22076           removed removed symbols from section file
22077           fixed many doc-comments
22078
22079 2005-08-24  Wim Taymans  <wim@fluendo.com>
22080
22081         * check/generic/states.c: (GST_START_TEST):
22082         Make sure all tasks are stopped.
22083
22084         * check/gst/gstbin.c: (GST_START_TEST):
22085         Unref after usage for proper valgrinding.
22086
22087         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
22088         Really wait for the task to stop before destroying the
22089         mutex.
22090
22091         * gst/gstqueue.c: (gst_queue_sink_activate_push),
22092         (gst_queue_src_activate_push):
22093         Small cleanups. Don't stop the task when we did not start
22094         it.
22095
22096         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
22097         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22098         (gst_task_get_state), (gst_task_start), (gst_task_pause),
22099         (gst_task_join):
22100         * gst/gsttask.h:
22101         Protect the stream lock with the object lock.
22102         Disallow setting the stream lock when running.
22103         Add cleanup_all to wait for the threadpool to finish.
22104         Remove code to autoallocate a mutex if none was provided.
22105         Add _join() to wait for a task to stop.
22106         Protect the thread pool with a global lock.
22107
22108 2005-08-24  Wim Taymans  <wim@fluendo.com>
22109
22110         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22111         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22112         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
22113         * gst/base/gstbasesink.h:
22114         Handle newsegment events correctly.
22115         Drop buffers out of the segment range.
22116
22117 2005-08-22  Andy Wingo  <wingo@pobox.com>
22118
22119         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
22120         macro, implements an interface and gstimplementsinterface for a
22121         new type.
22122
22123 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22124
22125         * check/Makefile.am:
22126         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
22127           add a test that does a bunch of state changes on elements
22128           needs some fixing for valgrind
22129         * check/states/sinks.c: (gst_object_suite):
22130           whitespace
22131         * gst/gstcaps.h:
22132           add prototype for gst_caps_is_equal_fixed
22133         * gst/gstplugin.c:
22134         * gst/gstregistrypool.c:
22135           doc fixes
22136
22137 2005-08-24  Andy Wingo  <wingo@pobox.com>
22138
22139         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
22140         convert a negative value. Doesn't make much sense. Mostly this is
22141         here to force callers to ensure -1 maps to -1.
22142
22143 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
22144
22145         * docs/pwg/advanced-types.xml:
22146           Well done to Michael for catching my deliberate introduction
22147           of this spelling mistake. 
22148         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
22149         * gst/gstelement.h:
22150           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
22151           unlink pads before removing the element from the bin.
22152
22153 2005-08-24  Andy Wingo  <wingo@pobox.com>
22154
22155         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
22156         the same thing as GST_DEBUG=*:4.
22157         (parse_debug_level, parse_debug_category): New helper parsers.
22158
22159 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22160
22161         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22162         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
22163         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
22164         (gst_base_transform_buffer_alloc),
22165         (gst_base_transform_handle_buffer):
22166           use gboolean return values and pointers to size so we can use the
22167           full GST_BUFFER_SIZE range (guint) for buffer sizes
22168           use GstPadDirection for transform_caps
22169         * gst/base/gstbasetransform.h:
22170           rename get_size to get_unit_size since that's what it is
22171         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
22172           use GstPadDirection for transform_caps
22173         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22174         * gst/gstutils.h:
22175           cleanup and debugging
22176
22177 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
22178
22179         * gst/gstelement.c: (gst_element_class_init),
22180         (gst_element_set_state), (activate_pads),
22181         (gst_element_save_thyself):
22182         * tools/gst-compprep.c: (main):
22183         * tools/gst-inspect.c: (print_element_properties_info):
22184         * tools/gst-xmlinspect.c: (print_element_properties):
22185           Fixed long standing mem-leak
22186
22187 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
22188
22189         * check/gst/gstbin.c: (GST_START_TEST):
22190         * gst/gstbin.c: (bin_bus_handler):
22191         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22192         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22193         (gst_message_new_warning), (gst_message_new_tag),
22194         (gst_message_new_state_changed), (gst_message_new_segment_start),
22195         (gst_message_new_segment_done), (gst_message_new_custom):
22196         * gst/gstmessage.h:
22197         * tools/gst-launch.c: (event_loop):
22198         * tools/gst-md5sum.c: (event_loop):
22199           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
22200           that applications can sensibly post custom messages with references
22201           to their own objects.
22202
22203 2005-08-24  Andy Wingo  <wingo@pobox.com>
22204
22205         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
22206         already.
22207
22208 2005-08-24  Wim Taymans  <wim@fluendo.com>
22209
22210         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22211         (gst_base_transform_transform_caps),
22212         (gst_base_transform_transform_size),
22213         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22214         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22215         (gst_base_transform_handle_buffer):
22216         * gst/base/gstbasetransform.h:
22217         Many fixes and new features added by Thomas. Can now also do
22218         transforms with variable sizes and a custom fixate_caps function.
22219
22220 2005-08-24  Wim Taymans  <wim@fluendo.com>
22221
22222         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22223         Some debugging.
22224
22225         * gst/gstclock.h:
22226         Cast to ClockTime before formatting to time.
22227
22228         * gst/gstutils.h:
22229         Cleanups.
22230
22231 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
22232
22233         * check/gst-libs/controller.c: (GST_START_TEST),
22234         (gst_controller_suite):
22235         * docs/gst/tmpl/gstcaps.sgml:
22236         * docs/gst/tmpl/gstghostpad.sgml:
22237         * docs/gst/tmpl/gstquery.sgml:
22238         * docs/gst/tmpl/gstutils.sgml:
22239         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
22240         (gst_object_sink_values), (gst_object_get_value_arrays),
22241         (gst_object_get_value_array):
22242           gracefully handle helper method calls to objects that are not beeing
22243           controlled, added test case for that          
22244
22245 2005-08-23  Wim Taymans  <wim@fluendo.com>
22246
22247         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
22248         (gst_event_new_newsegment), (gst_event_parse_newsegment),
22249         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
22250         (gst_event_parse_qos), (gst_event_new_seek),
22251         (gst_event_parse_seek):
22252         * gst/gstevent.h:
22253         Some more debugging output and doc cleanups.
22254
22255         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22256         Fix possible deadlock.
22257
22258 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22259
22260         * docs/gst/gstreamer-docs.sgml:
22261         * docs/gst/gstreamer-sections.txt:
22262         * docs/gst/gstreamer.types:
22263         * docs/gst/tmpl/.cvsignore:
22264         * gst/gstbin.h:
22265         * gst/gstbus.c:
22266         * gst/gstelement.c:
22267         * gst/gstevent.h:
22268           added 100 symbols from gstreamer-unused.txt to the right sections
22269           fixed more broken comments
22270           added GstBus to docs
22271
22272 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22273
22274         * docs/gst/gstreamer-sections.txt:
22275         * docs/gst/tmpl/.cvsignore:
22276         * docs/gst/tmpl/gstbin.sgml:
22277         * docs/gst/tmpl/gstbuffer.sgml:
22278         * gst/base/gstbasesrc.c:
22279         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
22280         * gst/gstbuffer.c:
22281         * gst/gstbuffer.h:
22282         * tools/gst-launch.1.in:
22283           inlined more doc comments, added missing comments and fixed comments
22284           fixed typos
22285
22286 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22287
22288         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22289           some debugging
22290         * gst/gstcaps.h:
22291           whitespace fixes
22292         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
22293           more debugging
22294         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
22295         * gst/gststructure.h:
22296           add a fixate function for booleans; add a FIXME that these func
22297           names should probably be gst_structure_fixate_*
22298
22299 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22300
22301         * docs/gst/gstreamer-docs.sgml:
22302         * docs/gst/gstreamer-sections.txt:
22303         * gst/Makefile.am:
22304         * gst/gstbin.c: (gst_bin_get_type),
22305         (gst_bin_child_proxy_get_child_by_index),
22306         (gst_bin_child_proxy_get_children_count),
22307         (gst_bin_child_proxy_init):
22308         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22309         (gst_child_proxy_get_child_by_index),
22310         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
22311         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
22312         (gst_child_proxy_get), (gst_child_proxy_set_property),
22313         (gst_child_proxy_set_valist), (gst_child_proxy_set),
22314         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
22315         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
22316         * gst/gstchildproxy.h:
22317         * gst/parse/grammar.y:
22318         * tools/gst-inspect.c: (print_interfaces),
22319         (print_element_properties_info), (print_element_info):
22320           ported gstchildproxy over from 0.8
22321           ported gst-inspect fixes and enhancements over from 0.8
22322
22323 2005-08-22  Wim Taymans  <wim@fluendo.com>
22324
22325         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22326         (gst_base_transform_handle_buffer):
22327         Also call the transform function if we have ANY caps.
22328
22329         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
22330         Fix debug info.
22331
22332 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
22333
22334         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
22335           Don't pretend to handle seek events if the source is not seekable
22336
22337 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
22338
22339         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22340           Remove extra parameter to debug output
22341
22342         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22343         (gst_base_src_do_seek), (gst_base_src_activate_push):
22344           Fix seek event handling.
22345
22346         * gst/gstpipeline.c: (gst_pipeline_change_state):
22347         * gst/gstqueue.c: (gst_queue_handle_sink_event),
22348         (gst_queue_src_activate_push):
22349           Don't start the src pad task on FLUSH_STOP if the pad
22350           isn't linked.
22351           Debug changes.
22352
22353 2005-08-22  Wim Taymans  <wim@fluendo.com>
22354
22355         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
22356         Added check for gst_static_caps_get() refcounting.
22357
22358 2005-08-22  Wim Taymans  <wim@fluendo.com>
22359
22360         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
22361         Make _static_caps_get() refcounting sane.
22362         
22363         * gst/gstelement.c: (gst_element_set_state):
22364         Add g_return_val_if_fail() to protect against segfaults.
22365
22366 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
22367
22368         * docs/gst/tmpl/gstevent.sgml:
22369         * gst/gstevent.c:
22370         * gst/gstevent.h:
22371           inlined remaining docs, added missing doc comments
22372
22373 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22374
22375         * check/gst/gstbin.c: (GST_START_TEST):
22376           since we don't know when preroll is done, use refcount range
22377           check for the sink
22378         * gst/check/gstcheck.h:
22379           add macro for checking refcount range
22380
22381 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22382
22383         * check/Makefile.am:
22384           clean up environment for when registry gets built versus
22385           when actual tests are run; valgrind seems to not report
22386           leaks if GST_PLUGIN_PATH is set to some specific values
22387         * check/gst/gstbin.c: (GST_START_TEST):
22388           add more refcounting checks; maybe this exposes a
22389           preroll lock bug ?
22390         * common/check.mak:
22391         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22392         * gst/check/gstcheck.h:
22393         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
22394         (gst_bin_change_state):
22395         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
22396           add/fix debugging/whitespace
22397
22398 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
22399
22400         * check/gst/gstevent.c: (event_probe), (test_event),
22401         (GST_START_TEST):
22402          Er, don't call gst_bin_watch_for_state_change you idiot.
22403
22404 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
22405
22406         * check/Makefile.am:
22407           Use CHECK_CFLAGS and CHECK_LIBS
22408         * check/gst/gstevent.c: (event_probe), (test_event),
22409         (GST_START_TEST):
22410           Don't leak events.
22411         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22412         (gst_base_src_start), (gst_base_src_stop),
22413         (gst_base_src_activate_push), (gst_base_src_activate_pull),
22414         (gst_base_src_change_state):
22415           Sprinkle gst_base_src_stop liberally around error paths to fix
22416           problems reusing a source after failed state changes.
22417         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22418         (helper_find_suggest), (gst_type_find_helper):
22419           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
22420         * gst/gstevent.h:
22421         * docs/gst/tmpl/gstevent.sgml:
22422           Migrate part of the docs from the SGML file. Wait for ensonic to
22423           tell me how I did it wrong ;)
22424         * tools/gst-typefind.c: (main):
22425           Extra robustness to state changes between files.
22426
22427 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22428
22429         * check/Makefile.am:
22430           don't valgrind the controller test - it's leaking - Stefan, HELP
22431         * gst/check/gstcheck.c: (gst_check_message_error),
22432         (gst_check_chain_func), (gst_check_setup_element),
22433         (gst_check_teardown_element), (gst_check_setup_src_pad),
22434         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
22435         (gst_check_teardown_sink_pad):
22436         * gst/check/gstcheck.h:
22437           add a bunch of methods to set up elements, and src and sink pads
22438         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
22439         * check/elements/identity.c: (setup_identity), (cleanup_identity),
22440         (GST_START_TEST):
22441           use them
22442         * gst/gstmessage.c:
22443         * gst/gsttag.h:
22444           whitespace/doc fixes
22445
22446 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22447
22448         * gst/gstelement.h:
22449           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
22450           be handled by the application and not always printed as well
22451
22452 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22453
22454         * check/Makefile.am:
22455           set GST_TOOLS_DIR
22456         * gst/check/gstcheck.c: (gst_check_message_error):
22457         * gst/check/gstcheck.h:
22458           add a fail_unless_equals_int
22459           add fail_unless for error messages
22460
22461 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22462
22463         * check/Makefile.am:
22464         * check/gst.supp:
22465         * common/Makefile.am:
22466         * common/check.mak:
22467         * common/gst.supp:
22468           factor out some of the common stuff so we can use it
22469
22470 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22471
22472         * check/Makefile.am:
22473         * check/gst/gstiterator.c: (GST_START_TEST):
22474         * check/gst/gstsystemclock.c: (GST_START_TEST),
22475         (gst_systemclock_suite):
22476         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22477         * gst/gstclock.c:
22478           valgrind more tests
22479
22480 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22481
22482         * check/elements/.cvsignore:
22483         * check/elements/gstfakesrc.c:
22484           rename to name of element
22485         * check/elements/identity.c: (chain_func), (event_func),
22486         (setup_identity), (cleanup_identity), (GST_START_TEST),
22487         (identity_suite), (main):
22488           add a test for identity
22489         * check/Makefile.am:
22490         * pkgconfig/Makefile.am:
22491         * pkgconfig/gstreamer-check.pc.in:
22492         * pkgconfig/gstreamer-check-uninstalled.pc.in:
22493         * gst/check:
22494         * gst/Makefile.am:
22495         * configure.ac:
22496           move the check stuff to a library that gets installed
22497         * check/gst-libs/controller.c: (GST_START_TEST):
22498         * check/gst-libs/gdp.c:
22499         * check/gst/gst.c: (GST_START_TEST):
22500         * check/gst/gstbin.c:
22501         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22502         * check/gst/gstbus.c:
22503         * check/gst/gstcaps.c: (GST_START_TEST):
22504         * check/gst/gstelement.c:
22505         * check/gst/gstghostpad.c:
22506         * check/gst/gstiterator.c:
22507         * check/gst/gstmessage.c:
22508         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
22509         * check/gst/gstobject.c:
22510         * check/gst/gstpad.c: (GST_START_TEST):
22511         * check/gst/gststructure.c: (GST_START_TEST):
22512         * check/gst/gstsystemclock.c: (GST_START_TEST),
22513         (gst_systemclock_suite):
22514         * check/gst/gsttag.c: (gst_tag_suite):
22515         * check/gst/gstvalue.c:
22516         * check/pipelines/cleanup.c:
22517         * check/pipelines/simple_launch_lines.c:
22518         * check/states/sinks.c:
22519           change include statement
22520
22521         * docs/gst/gstreamer-sections.txt:
22522         * docs/gst/tmpl/gstpad.sgml:
22523           document more pad stuff
22524         * gst/gstminiobject.c: (gst_mini_object_ref),
22525         (gst_mini_object_unref):
22526           debug refcounting
22527
22528 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
22529
22530         * docs/gst/tmpl/gst.sgml:
22531         * gst/gst.c:
22532           eliminate another tmpl file, fix spelling in the long-description
22533
22534 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22535
22536         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22537         (test_event), (timediff), (gstevents_suite):
22538           Should fix build on 64-bit arch's
22539
22540 2005-08-18  Andy Wingo  <wingo@pobox.com>
22541
22542         Make sure that when a pipeline goes to PLAYING, that data has
22543         actually hit the sink.
22544
22545         * check/states/sinks.c (test_sink): A sink that doesn't get any
22546         data shouldn't return SUCCESS for going to either PLAYING or
22547         PAUSED. Test also the return values on the way back down.
22548
22549         * gst/gstelement.c (gst_element_set_state): When changing the
22550         state of an element currently changing state asynchronously, go to
22551         lost-state after commiting the pending state. Makes future calls
22552         to get_state continue to return ASYNC.
22553
22554         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
22555         ASYNC when going to PLAYING if we still don't have preroll, as can
22556         happen with live sources.
22557
22558 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22559
22560         * docs/pwg/advanced-types.xml:
22561           Hack long paragraph into 2 chunks as a workaround for buggy
22562           jadetex version in sid and breezy that loops infinitely and
22563           eats all RAM.
22564
22565 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22566
22567         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22568         (test_event), (timediff), (gstevents_suite):
22569           Provide more error margin in clock measurements to allow for 
22570           g_get_current_time inaccuracies.
22571
22572 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22573
22574         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22575         (test_event), (timediff), (gstevents_suite):
22576            Fix error message output so I might be able to tell why the
22577            test works here but fails on the build farm.
22578
22579 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22580
22581         * check/Makefile.am:
22582         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22583         (test_event), (timediff), (gstevents_suite), (main):
22584           I wrote a test!
22585
22586         * docs/design/part-seeking.txt:
22587           Spelling correction
22588
22589         * docs/gst/tmpl/gstevent.sgml:
22590         * docs/gst/tmpl/gstfakesrc.sgml:
22591           Docs updates.
22592
22593         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22594           Treat a buffer-without-newsegment the same as a receiving 
22595           a newsegment not in time format, and disable syncing to the clock
22596           with a warning.
22597
22598         * gst/gstbus.c: (gst_bus_set_sync_handler):
22599           Assert if anyone tries to replace the existing sync_handler for bus, 
22600           as only the owner should be setting it.
22601
22602         * gst/gstevent.h:
22603           Have a fixed set of custom event enums with events identified by
22604           their structure name (as in 0.8), rather than a free-for-all
22605           allowing collisions between enum values from different plugins.
22606
22607         * gst/gstpad.c: (gst_pad_class_init):
22608           Docs change.
22609           
22610         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22611           Handle out-of-band downstream events from the sending thread.
22612
22613 2005-08-17  Andy Wingo  <wingo@pobox.com>
22614
22615         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
22616         play-timeout==0 to mean no timeout at all. In that case, don't
22617         bother with a get_state or a warning, just return directly, even
22618         if it's ASYNC.
22619
22620         * gst/base/gstbasetransform.c: Debug changes.
22621
22622         * gst/gstutils.h:
22623         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
22624         ensure bins post state change messages. A bit of a hack but I can't
22625         think of a way to avoid it.
22626
22627         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
22628
22629 2005-08-16  Andy Wingo  <wingo@pobox.com>
22630
22631         * gst/base/gstadapter.h:
22632         * gst/base/gstadapter.c (gst_adapter_take): New function, like
22633         peek() but you own the data. Not terribly efficient atm.
22634
22635 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22636
22637         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
22638         (gst_element_found_tags):
22639         * gst/gstutils.h:
22640           Add two utility functions for tag handling.
22641
22642 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22643
22644         * docs/manual/advanced-dataaccess.xml:
22645         * docs/manual/basics-helloworld.xml:
22646           Fix docs to use _bin_add() before _link(), which fixes the examples
22647           with recent core versions (reported by Madhan Raj M
22648           <raj_madan@rediffmail.com>, #313199).
22649
22650 2005-08-16  Wim Taymans  <wim@fluendo.com>
22651
22652         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22653         Added subtract checks.
22654
22655         * docs/design/part-events.txt:
22656         Some more docs about newsegment
22657
22658         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22659         Fix FIXME
22660
22661         * gst/gstcaps.c: (gst_caps_to_string):
22662         Add comments, cleanups.
22663         
22664         * gst/gstelement.c: (gst_element_save_thyself):
22665         cleanups
22666         
22667         * gst/gstvalue.c: (gst_value_collect_int_range),
22668         (gst_string_unwrap), (gst_value_union_int_int_range),
22669         (gst_value_union_int_range_int_range),
22670         (gst_value_intersect_int_int_range),
22671         (gst_value_intersect_int_range_int_range),
22672         (gst_value_intersect_double_double_range),
22673         (gst_value_intersect_double_range_double_range),
22674         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
22675         (gst_value_subtract_int_range_int),
22676         (gst_value_subtract_double_range_double),
22677         (gst_value_subtract_double_range_double_range),
22678         (gst_value_subtract_from_list), (gst_value_subtract_list),
22679         (gst_value_can_compare), (gst_value_compare_fraction):
22680         Cleanups, add comments, remove unneeded asserts.
22681
22682 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22683
22684         * tools/gst-launch.c: (event_loop):
22685           don't convert NULL structures to strings
22686
22687 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
22688
22689         * docs/gst/gstreamer-sections.txt:
22690           made some defines private
22691         * docs/gst/tmpl/gstconfig.sgml:
22692         * docs/gst/tmpl/gstqueue.sgml:
22693         * docs/gst/tmpl/gsttaglist.sgml:
22694         * docs/gst/tmpl/gsttypes.sgml:
22695         * docs/gst/tmpl/gstutils.sgml:
22696         * docs/pwg/appendix-porting.xml:
22697         * gst/base/gstbasesink.h:
22698         * gst/base/gstbasesrc.c:
22699         * gst/base/gstbasesrc.h:
22700         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
22701         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
22702         * gst/gstelement.c: (gst_element_class_init):
22703         * gst/gstpad.c: (gst_pad_class_init):
22704         * gst/gstqueue.c: (gst_queue_class_init):
22705         * gst/gstxml.c: (gst_xml_class_init):
22706           documented all undocumented signal inline
22707         * libs/gst/controller/gst-controller.h:
22708           added padding
22709
22710 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22711
22712         * docs/pwg/appendix-porting.xml:
22713           Document _set_link_function -> _set_setcaps_function.
22714
22715 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22716
22717         * check/Makefile.am:
22718           add a .check target for running the check
22719         * check/gst-libs/controller.c: (GST_START_TEST):
22720           cosmetic fixups
22721         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22722           complete checks for gstbuffer; would be nice if I could get the
22723           gcov stuff to work so I can see if I actually completed gstbuffer.c
22724         * check/gstcheck.h:
22725           add ASSERT_BUFFER_REFCOUNT
22726
22727 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
22728
22729         * docs/gst/gstreamer-sections.txt:
22730         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
22731         * gst/gsttag.h:
22732           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
22733           spew out a warning if a tag that is already registered
22734           is re-registered, unless it is re-registered with a 
22735           different type (#308438).
22736
22737 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
22738
22739         * docs/pwg/appendix-porting.xml:
22740         * docs/pwg/building-state.xml:
22741           Add some paragraphs about state changes in 0.9 to the PWG
22742           and the porting guide, in particular about the new meaning
22743           of GST_STATE_PAUSED and how to write state change functions
22744           with concurrent access by multiple threads in mind.
22745
22746 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
22747
22748         * docs/gst/gstreamer-docs.sgml:
22749         * docs/libs/gstreamer-libs-docs.sgml:
22750           added deprecation and since indexes
22751         * libs/gst/controller/gst-controller.c:
22752         * libs/gst/controller/gst-helper.c:
22753           added since tags
22754
22755
22756 2005-08-11  Wim Taymans  <wim@fluendo.com>
22757
22758         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
22759         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
22760         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
22761         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
22762         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
22763         (gst_ghost_pad_set_target):
22764         Actually implement (re)setting the target on a ghostpad
22765         as described in the docs.
22766
22767 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
22768
22769         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
22770           Check whether GST_DEBUG_NO_COLOR environment variable is
22771           set and disable coloured debug output if that is the case.
22772
22773 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
22774
22775         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22776         (gst_type_find_helper):
22777           The memory returned by gst_type_find_peek() needs to
22778           stay valid until the end of a typefind function, and
22779           typefind functions may keep results from different 
22780           offsets around, so we can't just unref the buffer from
22781           the previous _peek(), but have to save all buffers 
22782           returned by _peek() until typefinding is done and only
22783           free them then.
22784
22785 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
22786
22787         * docs/gst/gstreamer-sections.txt:
22788         * gst/gstutils.h:
22789           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
22790
22791 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22792
22793         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
22794           Fix a pretty good memleak.
22795
22796 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
22797
22798         * gst/gstiterator.h:
22799           Fix wrong include and 'make distcheck'.
22800
22801 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22802
22803         * gst/gstbin.c: (bin_bus_handler):
22804           Use gst_element_post_message() instead.
22805
22806 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
22807
22808         * gst/base/gstadapter.h:
22809         * gst/base/gstbasesink.h:
22810         * gst/base/gstbasesrc.h:
22811         * gst/base/gstbasetransform.h:
22812         * gst/base/gstcollectpads.h:
22813         * gst/base/gstpushsrc.h:
22814         * gst/gstiterator.h:
22815           Add padding to our base elements' class and instance structs and
22816           to GstIterator (you will need to rebuild all plugins and apps!)
22817
22818 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22819
22820         * gst/gstbin.c: (bin_bus_handler):
22821           Make default message forwarding from child->bus to bin->bus
22822           threadsafe and make it not emit warnings if the parent has no bus.
22823
22824 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22825
22826         * gst/gstelement.c: (activate_pads):
22827           On paused->ready, set pad->caps to NULL, as is the documented
22828           behaviour in this state change. Fixes playback of series of
22829           media files when visualization is enabled in Totem.
22830
22831 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22832
22833         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22834           Allow NULL as filter-caps (which means "any").
22835
22836 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22837
22838         * docs/libs/gstreamer-libs-sections.txt:
22839         * libs/gst/controller/gst-controller.c:
22840         * libs/gst/controller/gst-controller.h:
22841         * libs/gst/controller/gst-helper.c:
22842           adding more entries to the docs and fix small doc-bugs
22843
22844 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22845
22846         * docs/gst/gstreamer-docs.sgml:
22847         * docs/gst/gstreamer-sections.txt:
22848         * docs/gst/gstreamer.types:
22849         * docs/gst/tmpl/gstbasesink.sgml:
22850         * docs/gst/tmpl/gstbasesrc.sgml:
22851         * docs/gst/tmpl/gstbasetransform.sgml:
22852         * docs/gst/tmpl/gstfakesrc.sgml:
22853         * gst/base/gstcollectpads.c:
22854         * gst/base/gstcollectpads.h:
22855         * libs/gst/controller/gst-controller.c:
22856         * libs/gst/controller/gst-controller.h:
22857         * libs/gst/controller/gst-helper.c:
22858         * libs/gst/controller/gst-interpolation.c:
22859         * libs/gst/controller/lib.c:
22860           added long/short desc for controller docs
22861           added collectpads base class docs
22862           added correct includes to base-class docs
22863
22864 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22865
22866         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22867         (gst_test_mono_source_set_property),
22868         (gst_test_mono_source_class_init), (GST_START_TEST),
22869         (gst_controller_suite):
22870         * docs/gst/gstreamer-docs.sgml:
22871         * docs/gst/gstreamer-sections.txt:
22872         * docs/gst/gstreamer.types:
22873         * docs/libs/gstreamer-libs-docs.sgml:
22874         * docs/libs/gstreamer-libs-sections.txt:
22875         * gst/base/gstadapter.c:
22876         * libs/gst/controller/gst-controller.c:
22877         (gst_controlled_property_new), (gst_controlled_property_free),
22878         (gst_controller_new_valist),
22879         (gst_controller_remove_properties_valist),
22880         (gst_controller_sink_values), (_gst_controller_finalize):
22881         * libs/gst/controller/gst-controller.h:
22882         * libs/gst/controller/gst-helper.c:
22883         (gst_object_control_properties), (gst_object_uncontrol_properties),
22884         (gst_object_get_controller), (gst_object_set_controller),
22885         (gst_object_sink_values), (gst_object_get_value_arrays),
22886         (gst_object_get_value_array):
22887           more tests (and fixes) for the controller
22888           more docs for the controller
22889           integrated companies docs for the adapter 
22890
22891 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22892
22893         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
22894         (GST_START_TEST), (fakesrc_suite):
22895           add tests for sizetype
22896
22897 2005-08-04  Andy Wingo  <wingo@pobox.com>
22898
22899         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
22900         fixes buffer_alloc proxying among other things.
22901
22902         * gst/base/gstbasetransform.c:
22903         * gst/base/gstbasetransform.h:
22904         Revert patch to gstbasetransform from 7-28 removing
22905         delay_configure.
22906
22907         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
22908         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
22909         Semantics changed, should return not the size of the output buffer
22910         but the byte size of a buffer with a given caps.
22911
22912         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
22913         debug object.
22914         (gst_base_transform_configure_caps): Don't set out_size here: (in,
22915         out) are not the pad caps until setcaps finishes.
22916         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
22917         not-in-place case as well. Deal with changing from in-place to
22918         not-in-place within calling pad_alloc_buffer. Still a bit
22919         concerned about the overhead here...
22920
22921 2005-08-03  Andy Wingo  <wingo@pobox.com>
22922
22923         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
22924         fixating is an error.
22925
22926 2005-08-04  Edward Hervey  <edward@fluendo.com>
22927
22928         * gst/base/gstadapter.h: 
22929         Added gst_adapter_get_type() to the header
22930
22931 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
22932
22933         * check/Makefile.am:
22934         * check/gst-libs/controller.c:
22935         * libs/gst/controller/gst-controller.c:
22936         (gst_controller_new_valist):
22937           added check test suite for the controller
22938         * gst/base/gstpushsrc.c:
22939           fixed a doc typo
22940
22941 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
22942
22943         * docs/gst/Makefile.am:
22944         * docs/gst/gstreamer-docs.sgml:
22945         * docs/gst/gstreamer-sections.txt:
22946         * docs/gst/gstreamer.types:
22947         * docs/gst/tmpl/gstfakesrc.sgml:
22948         * gst/base/README:
22949         * gst/base/gstbasesink.c:
22950         * gst/base/gstbasesink.h:
22951         * gst/base/gstbasesrc.c:
22952         * gst/base/gstbasesrc.h:
22953         * gst/base/gstbasetransform.c:
22954         * gst/base/gstpushsrc.c:
22955         * gst/base/gstpushsrc.h:
22956           add short/long description docs to base classes
22957           add pushsrc to the docs
22958           remove consolidated doc fragments
22959
22960 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
22961
22962         * configure.ac:
22963         * docs/libs/Makefile.am:
22964         * docs/libs/gstreamer-libs-docs.sgml:
22965         * docs/libs/gstreamer-libs-sections.txt:
22966         * docs/libs/gstreamer-libs.types:
22967         * examples/Makefile.am:
22968         * examples/controller/.cvsignore:
22969         * examples/controller/Makefile.am:
22970         * examples/controller/audio-example.c: (main):
22971         * libs/gst/Makefile.am:
22972         * libs/gst/controller/.cvsignore:
22973         * libs/gst/controller/Makefile.am:
22974         * libs/gst/controller/gst-controller.c:
22975         (on_object_controlled_property_changed), (gst_timed_value_compare),
22976         (gst_timed_value_find),
22977         (gst_controlled_property_set_interpolation_mode),
22978         (gst_controlled_property_new), (gst_controlled_property_free),
22979         (gst_controller_find_controlled_property),
22980         (gst_controller_new_valist), (gst_controller_new),
22981         (gst_controller_remove_properties_valist),
22982         (gst_controller_remove_properties), (gst_controller_set),
22983         (gst_controller_set_from_list), (gst_controller_unset),
22984         (gst_controller_get), (gst_controller_get_all),
22985         (gst_controller_sink_values), (gst_controller_get_value_arrays),
22986         (gst_controller_get_value_array),
22987         (gst_controller_set_interpolation_mode),
22988         (_gst_controller_finalize), (_gst_controller_init),
22989         (_gst_controller_class_init), (gst_controller_get_type):
22990         * libs/gst/controller/gst-controller.h:
22991         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
22992         (g_object_uncontrol_properties), (g_object_get_controller),
22993         (g_object_set_controller), (g_object_sink_values),
22994         (g_object_get_value_arrays), (g_object_get_value_array):
22995         * libs/gst/controller/gst-interpolation.c:
22996         (gst_controlled_property_find_timed_value_node),
22997         (interpolate_none_get), (interpolate_trigger_get),
22998         (interpolate_trigger_get_value_array):
22999         * libs/gst/controller/lib.c: (gst_controller_init):
23000         * pkgconfig/Makefile.am:
23001         * pkgconfig/gstreamer-control-uninstalled.pc.in:
23002         * pkgconfig/gstreamer-control.pc.in:
23003         * testsuite/Makefile.am:
23004         * testsuite/controller/.cvsignore:
23005         * testsuite/controller/Makefile.am:
23006         * testsuite/controller/interpolator.c: (main):
23007           added controller code
23008           removed dparam pc files
23009
23010 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
23011         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
23012         (gst_collectpads_stop):
23013           Broadcast the condition when shutting down, to make sure we wake all
23014           threads up. Shut down pads on finalize, for safety.
23015
23016 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
23017         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23018         (gst_base_transform_handle_buffer),
23019         (gst_base_transform_change_state):
23020           Handle PAUSED->READY->PAUSED transition after negotiation
23021           occurred already.
23022         * gst/gstmessage.c: (gst_message_init):
23023           Extra piece of debug for new messages.
23024
23025 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
23026
23027         * configure.ac:
23028         * docs/gst/tmpl/gstbasesrc.sgml:
23029         * docs/gst/tmpl/gstelement.sgml:
23030         * docs/gst/tmpl/gstevent.sgml:
23031         * docs/gst/tmpl/gstfakesrc.sgml:
23032         * docs/gst/tmpl/gstformat.sgml:
23033         * docs/gst/tmpl/gstghostpad.sgml:
23034         * docs/gst/tmpl/gstpad.sgml:
23035         * docs/gst/tmpl/gstquery.sgml:
23036         * docs/gst/tmpl/gststructure.sgml:
23037         * docs/gst/tmpl/gsttaglist.sgml:
23038         * docs/gst/tmpl/gstvalue.sgml:
23039         * docs/libs/gstreamer-libs-docs.sgml:
23040         * docs/libs/gstreamer-libs-sections.txt:
23041         * docs/libs/gstreamer-libs.types:
23042         * libs/gst/Makefile.am:
23043         * libs/gst/control/.cvsignore:
23044         * libs/gst/control/Makefile.am:
23045         * libs/gst/control/control.c:
23046         * libs/gst/control/control.h:
23047         * libs/gst/control/dparam.c:
23048         * libs/gst/control/dparam.h:
23049         * libs/gst/control/dparam_smooth.c:
23050         * libs/gst/control/dparam_smooth.h:
23051         * libs/gst/control/dparamcommon.h:
23052         * libs/gst/control/dparammanager.c:
23053         * libs/gst/control/dparammanager.h:
23054         * libs/gst/control/dplinearinterp.c:
23055         * libs/gst/control/dplinearinterp.h:
23056         * libs/gst/control/unitconvert.c:
23057         * libs/gst/control/unitconvert.h:
23058         * testsuite/Makefile.am:
23059         * testsuite/dynparams/.cvsignore:
23060         * testsuite/dynparams/Makefile.am:
23061         * testsuite/dynparams/dparamstest.c:
23062         * tools/Makefile.am:
23063         * tools/gst-inspect.c: (print_element_info), (main):
23064         * tools/gst-xmlinspect.c: (print_element_info), (main):
23065           deactivate and remove dparams (libgstcontrol)
23066
23067 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23068
23069         * gst/elements/gsttypefindelement.c:
23070         (gst_type_find_element_have_type), (gst_type_find_element_init),
23071         (stop_typefinding), (gst_type_find_element_handle_event),
23072         (gst_type_find_element_chain), (gst_type_find_element_getrange):
23073         * gst/elements/gsttypefindelement.h:
23074           Set caps on all outgoing buffers, not just the first one.
23075
23076 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23077
23078         * gst/elements/gsttypefindelement.c:
23079         (gst_type_find_element_have_type),
23080         (gst_type_find_element_check_set_buffer_caps),
23081         (gst_type_find_element_init), (stop_typefinding),
23082         (gst_type_find_element_handle_event),
23083         (gst_type_find_element_chain), (gst_type_find_element_getrange):
23084         * gst/elements/gsttypefindelement.h:
23085           Set caps on first outgoing buffer when we've found the type.
23086
23087 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23088
23089         * docs/gst/gstreamer-docs.sgml:
23090         * docs/gst/gstreamer-sections.txt:
23091         * docs/gst/tmpl/gstscheduler.sgml:
23092         * docs/gst/tmpl/gstschedulerfactory.sgml:
23093           Remove some old cruft from docs.
23094
23095 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
23096
23097         * gst/gstpad.h:
23098           Fix inline docs for GstPadLinkReturn.
23099           
23100         * gst/gststructure.c: (gst_structure_has_name):
23101         * gst/gststructure.h:
23102         * docs/gst/gstreamer-sections.txt:
23103           New API: gst_structure_has_name().
23104
23105 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
23106
23107         * configure.ac:
23108           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
23109           and _LARGEFILE_SOURCE in config.h as required. Do not 
23110           export those flags in our .pc files any longer (#142209).
23111
23112           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
23113
23114         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
23115         (gst_file_sink_do_seek), (gst_file_sink_event),
23116         (gst_file_sink_get_current_offset), (gst_file_sink_render):
23117           Redo seek/tell calls with large file support in mind; add some
23118           debugging messages; add log message that tells us when large
23119           file support is unavailable or not enabled for some reason.
23120
23121         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
23122           Add log message that tells us when large file support 
23123           is unavailable or not enabled for some reason.
23124
23125 2005-07-29  Wim Taymans  <wim@fluendo.com>
23126
23127         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23128         Added test for removing an element with ghostpad from a bin.
23129         Fixed test as current implementation does the right thing.
23130
23131         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
23132         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
23133         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
23134         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
23135         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
23136         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
23137         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
23138         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23139         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
23140         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
23141         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
23142         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
23143         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
23144         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
23145         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
23146         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
23147         * gst/gstghostpad.h:
23148         Clean up ghostpads, remove properties for internal stuff.
23149         Make threadsafe.
23150         Fix refcounting.
23151         Prepare for switching targets, not all use cases work yet.
23152
23153 2005-07-29  Wim Taymans  <wim@fluendo.com>
23154
23155         * docs/design/part-gstghostpad.txt:
23156         Small update.
23157
23158         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23159         (gst_bin_remove_func):
23160         Unlinking pads while holding the bin LOCK is not a good
23161         idea.
23162
23163         * gst/gstpad.c: (gst_pad_class_init),
23164         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
23165         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
23166         No prob setting template after creating the pad.
23167
23168 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
23169
23170         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
23171         (gst_bus_peek), (gst_bus_source_dispatch),
23172         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
23173         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
23174           gst_bus_poll may be called from other threads. Handle
23175           this nicely by not making poll_data disappear off the
23176           stack once gst_bus_poll returns.
23177           gst_bus_peek now increments the refcount on the returned
23178           message.
23179
23180 2005-07-29  Wim Taymans  <wim@fluendo.com>
23181
23182         * docs/design/part-gstghostpad.txt:
23183         Overview of current GhostPad datastructures and use
23184         cases for changing the target.
23185
23186 2005-07-28  Wim Taymans  <wim@fluendo.com>
23187
23188         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23189         Added checks for hierarchy consistency whan adding linked
23190         elements to bins.
23191
23192         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23193         Added check to test element scheduling without bin/pipeline.
23194
23195         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23196         First add elements to bin, then link.
23197         
23198         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23199         (gst_bin_remove_func):
23200         Unlink pads from elements added/removed from bin to maintain
23201         hierarchy consistency.
23202
23203 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23204
23205         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23206         (gst_base_transform_handle_buffer):
23207         * gst/base/gstbasetransform.h:
23208           Remove broken delay_configure (fixes renegotiation of software
23209           scaling pipelines); remove some leftover printf()s.
23210
23211 2005-07-28  Wim Taymans  <wim@fluendo.com>
23212
23213         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23214         Added some more tests for wrong hierarchy
23215
23216         * docs/design/part-overview.txt:
23217         Some updates.
23218
23219         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
23220         Cleanups.
23221
23222         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
23223         (gst_element_dispose):
23224         Some more cleanups.
23225
23226         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23227         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
23228         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23229         (gst_pad_set_caps), (gst_pad_send_event):
23230         Check for correct hierarchy when linking pads. Moving to
23231         strict requirement for ghostpads when linking elements in
23232         different bins.
23233
23234         * gst/gstpad.h:
23235         Clean ups. Added WRONG_HIERARCHY return value.
23236
23237 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23238
23239         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23240           Better debug if no transform is possible.
23241
23242 2005-07-27  Wim Taymans  <wim@fluendo.com>
23243
23244         * docs/random/wtay/network-transp:
23245         Some old doc I had.
23246
23247 2005-07-27  Wim Taymans  <wim@fluendo.com>
23248
23249         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23250         (gst_dp_event_from_packet):
23251         Fix serialization of seek events.
23252
23253 2005-07-27  Wim Taymans  <wim@fluendo.com>
23254
23255         * check/gst-libs/gdp.c: (GST_START_TEST):
23256         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23257         Fix compilation and fix event serialization.
23258
23259 2005-07-27  Wim Taymans  <wim@fluendo.com>
23260
23261         * CHANGES-0.9:
23262         * docs/design/part-TODO.txt:
23263         * docs/design/part-events.txt:
23264         Some docs updates
23265
23266         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23267         (gst_base_sink_event), (gst_base_sink_do_sync),
23268         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23269         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23270         (gst_base_src_do_seek), (gst_base_src_event_handler),
23271         (gst_base_src_loop):
23272         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23273         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23274         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23275         (gst_base_transform_event), (gst_base_transform_handle_buffer),
23276         (gst_base_transform_set_passthrough),
23277         (gst_base_transform_is_passthrough):
23278         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23279         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23280         Event updates.
23281
23282         * gst/gstbuffer.h:
23283         Use faster casts.
23284
23285         * gst/gstelement.c: (gst_element_seek):
23286         * gst/gstelement.h:
23287         Update gst_element_seek.
23288
23289         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
23290         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
23291         (gst_event_new_flush_start), (gst_event_new_flush_stop),
23292         (gst_event_new_eos), (gst_event_new_newsegment),
23293         (gst_event_parse_newsegment), (gst_event_new_tag),
23294         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
23295         (gst_event_parse_qos), (gst_event_new_seek),
23296         (gst_event_parse_seek), (gst_event_new_navigation):
23297         * gst/gstevent.h:
23298         Make GstEvent use GstStructure. Add parsing code, make sure the
23299         API is sufficiently generic.
23300         Mark possible directions of events and serialization.
23301
23302         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
23303         (_gst_message_copy), (gst_message_new_segment_start),
23304         (gst_message_new_segment_done), (gst_message_new_custom),
23305         (gst_message_parse_segment_start),
23306         (gst_message_parse_segment_done):
23307         Small cleanups.
23308
23309         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23310         (gst_pad_set_caps), (gst_pad_send_event):
23311         Update for new events. 
23312         Catch events sent in wrong directions.
23313
23314         * gst/gstqueue.c: (gst_queue_link_src),
23315         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23316         (gst_queue_handle_src_query):
23317         Event updates.
23318
23319         * gst/gsttag.c:
23320         * gst/gsttag.h:
23321         Remove event code from this file.
23322
23323         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23324         (gst_dp_event_from_packet):
23325         Event updates.
23326
23327 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23328
23329         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
23330         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23331         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
23332           Make debugging actually useful.
23333
23334 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23335
23336         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
23337         (gst_pad_fixate_caps):
23338           Implement default fixation once again, so that gst_pad_fixate()
23339           actually does anything at all. This probably needs to be some
23340           sort of a last resort, and use profile-based fixation first, but
23341           since that doesn't exist yet, this is the best we have. Fixes
23342           visualization in Totem.
23343
23344 2005-07-22  Wim Taymans  <wim@fluendo.com>
23345
23346         * docs/design/part-events.txt:
23347         Small update.
23348
23349         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23350         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
23351         (gst_base_sink_activate_pull):
23352         Some more comments.
23353
23354         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
23355         (gst_fake_src_create):
23356         Fix handoff marshall.
23357
23358         * gst/elements/gstidentity.c: (gst_identity_class_init),
23359         (gst_identity_transform_ip):
23360         We're a real inplace element.
23361
23362         * gst/gstbus.c: (gst_bus_post):
23363         Added some comments.
23364
23365         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
23366         * tests/muxing/case1.c: (main):
23367         * tests/sched/dynamic-pipeline.c: (main):
23368         * tests/sched/interrupt1.c: (main):
23369         * tests/sched/interrupt2.c: (main):
23370         * tests/sched/interrupt3.c: (main):
23371         * tests/sched/runxml.c: (main):
23372         * tests/sched/sched-stress.c: (main):
23373         * tests/seeking/seeking1.c: (event_received), (main):
23374         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23375         (main):
23376         * tests/threadstate/threadstate3.c: (main):
23377         * tests/threadstate/threadstate4.c: (main):
23378         * tests/threadstate/threadstate5.c: (main):
23379         Fix the tests.
23380
23381 2005-07-21  Wim Taymans  <wim@fluendo.com>
23382
23383         * docs/design/part-seeking.txt:
23384         Some small additions.
23385
23386         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23387         (gst_base_sink_get_times), (gst_base_sink_do_sync),
23388         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23389         * gst/base/gstbasesink.h:
23390         discont values are gint64, handle the math correctly.
23391
23392         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23393         Make the basesrc report error if the source pad is not linked.
23394
23395         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
23396         (gst_queue_loop), (gst_queue_handle_src_query),
23397         (gst_queue_src_activate_push):
23398         Make queue collect data even if the srcpad is not linked.
23399         Start pushing out data as soon as it is linked.
23400
23401         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
23402         * gst/gstutils.h:
23403         Added gst_flow_get_name() to ease error reporting.
23404
23405 2005-07-20  Wim Taymans  <wim@fluendo.com>
23406
23407         * gst/gstmessage.c: (gst_message_new_segment_start),
23408         (gst_message_new_segment_done), (gst_message_parse_segment_start),
23409         (gst_message_parse_segment_done):
23410         * gst/gstmessage.h:
23411         Added a bunch of messages for advanced seeking.
23412
23413         * gst/parse/grammar.y:
23414         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
23415         (gst_dpman_state_changed):
23416         Fix some new-pad -> pad-added signals
23417
23418 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23419
23420         * docs/manual/appendix-porting.xml:
23421         * docs/pwg/appendix-porting.xml:
23422           Document new-pad/state-change signal renames and the FixedList
23423           type rename.
23424
23425 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23426
23427         * docs/manual/advanced-autoplugging.xml:
23428         * docs/manual/basics-helloworld.xml:
23429         * docs/manual/basics-pads.xml:
23430         * docs/random/ds/0.9-suggested-changes:
23431         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
23432         * gst/gstelement.h:
23433         * gst/gstevent.h:
23434         * gst/gstformat.h:
23435         * gst/gstquery.h:
23436         * gst/gststructure.c: (gst_structure_value_get_generic_type),
23437         (gst_structure_parse_array), (gst_structure_parse_value):
23438         * gst/gstvalue.c: (gst_type_is_fixed),
23439         (gst_value_list_prepend_value), (gst_value_list_append_value),
23440         (gst_value_list_get_size), (gst_value_list_get_value),
23441         (gst_value_transform_array_string), (gst_value_serialize_array),
23442         (gst_value_deserialize_array), (gst_value_intersect_array),
23443         (gst_value_is_fixed), (_gst_value_initialize):
23444         * gst/gstvalue.h:
23445           GstElement::new-pad -> pad-added, GstElement::state-change ->
23446           state-changed, GstValueFixedList -> GstValueArray, add format and
23447           flags as their own arguments in gst_element_seek() (should improve
23448           "bindeability"), remove function generators since they don't work
23449           under a whole bunch of compilers (they were deprecated already
23450           anyway).
23451
23452 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23453
23454         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23455         (_gst_debug_register_funcptr):
23456         * gst/gstinfo.h:
23457           Fix illegal cast on some platforms (#309253).
23458
23459 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23460
23461         * gst/gstmessage.c: (gst_message_new_custom):
23462         * gst/gstmessage.h:
23463           Add _new_custom, make _new_application a macro to _new_custom.
23464
23465 2005-07-20  Wim Taymans  <wim@fluendo.com>
23466
23467         * gst/base/gstbasesrc.c: (gst_base_src_init),
23468         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
23469         * gst/base/gstbasesrc.h:
23470         Add a gboolean to decide when to push out a discont.
23471
23472         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23473         (gst_queue_loop), (gst_queue_handle_src_query),
23474         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
23475         (gst_queue_set_property), (gst_queue_get_property):
23476         Some cleanups.
23477
23478         * tests/threadstate/threadstate1.c: (main):
23479         Make a thread test compile and run... very silly..
23480
23481
23482 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23483
23484         * docs/manual/appendix-porting.xml:
23485           Mention removal of libgstgconf-0.9.la and existence of gconf
23486           elements.
23487
23488 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23489
23490         * docs/pwg/advanced-clock.xml:
23491         * docs/pwg/appendix-porting.xml:
23492         * docs/pwg/intro-preface.xml:
23493         * docs/pwg/other-base.xml:
23494         * docs/pwg/other-manager.xml:
23495         * docs/pwg/other-nton.xml:
23496         * docs/pwg/other-ntoone.xml:
23497         * docs/pwg/other-oneton.xml:
23498         * docs/pwg/pwg.xml:
23499           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
23500           demuxer), remove n-to-n (was never written), fix some code examples
23501           and links and update the porting section to include all this.
23502
23503 2005-07-19  Wim Taymans  <wim@fluendo.com>
23504
23505         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
23506         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
23507         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
23508         (gst_queue_src_activate_push), (gst_queue_change_state),
23509         (gst_queue_get_property):
23510         * gst/gstqueue.h:
23511         Propagate GstFlowReturn more intelligently upstream and output
23512         an ERROR/EOS when streaming stopped due to fatal error.
23513
23514 2005-07-19  Wim Taymans  <wim@fluendo.com>
23515
23516         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23517         Don't block forever for the state change to complete, the
23518         pipeline already did with a sensible timeout.
23519
23520 2005-07-19  Wim Taymans  <wim@fluendo.com>
23521
23522         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23523         Make sure we never call the create function is we
23524         got deactivated.
23525
23526 2005-07-19  Andy Wingo  <wingo@pobox.com>
23527
23528         * gst/parse/parse.l: Attempt to solve bug #172815.
23529
23530 2005-07-19  Wim Taymans  <wim@fluendo.com>
23531
23532         * docs/design/part-clocks.txt:
23533         * docs/design/part-events.txt:
23534         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
23535         Small docs updates.
23536         Only update the seeking values when we are not
23537         busy streaming.
23538
23539 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
23540
23541         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23542           Oops, ignore the result of gst_pad_push_event here.
23543
23544 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
23545
23546         * gst/base/gstbasesrc.c: (gst_base_src_loop),
23547         (gst_base_src_activate_push):
23548           Send discont event from the loop function, as pads
23549           aren't activated yet in the activate_push handler.
23550
23551         * gst/gstbin.c: (bin_bus_handler):
23552           Don't leak element name.
23553
23554 2005-07-18  Andy Wingo  <wingo@pobox.com>
23555
23556         * configure.ac: Use AS_LIBTOOL_TAGS.
23557
23558 2005-07-18  Wim Taymans  <wim@fluendo.com>
23559
23560         * docs/gst/gstreamer.types:
23561         Remove deleted types.
23562
23563 2005-07-18  Wim Taymans  <wim@fluendo.com>
23564
23565         * check/elements/gstfakesrc.c: (GST_START_TEST):
23566         * configure.ac:
23567         * gst/Makefile.am:
23568         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
23569         (init_popt_callback):
23570         * gst/gst.h:
23571         * gst/gst_private.h:
23572         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
23573         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
23574         * gst/gstbin.h:
23575         * gst/gstbus.h:
23576         * gst/gstconfig.h.in:
23577         * gst/gstelement.c: (gst_element_class_init),
23578         (gst_element_set_base_time), (gst_element_get_base_time),
23579         (iterator_fold_with_resync), (gst_element_change_state),
23580         (gst_element_dispose), (gst_element_get_bus):
23581         * gst/gstelement.h:
23582         * gst/gstelementfactory.h:
23583         * gst/gsterror.c: (_gst_core_errors_init):
23584         * gst/gsterror.h:
23585         * gst/gstevent.h:
23586         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23587         * gst/gstindex.c:
23588         * gst/gstinfo.c: (_gst_debug_init):
23589         * gst/gstmessage.c: (_gst_message_copy):
23590         * gst/gstmessage.h:
23591         * gst/gstminiobject.h:
23592         * gst/gstobject.c:
23593         * gst/gstobject.h:
23594         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23595         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
23596         * gst/gstpad.h:
23597         * gst/gstparse.h:
23598         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23599         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23600         (gst_pipeline_get_last_stream_time):
23601         * gst/gstpipeline.h:
23602         * gst/gstpluginfeature.h:
23603         * gst/gstquery.h:
23604         * gst/gstscheduler.c:
23605         * gst/gstscheduler.h:
23606         * gst/gststructure.h:
23607         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
23608         (gst_task_finalize), (gst_task_func), (gst_task_create),
23609         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
23610         (gst_task_stop), (gst_task_pause):
23611         * gst/gsttask.h:
23612         * gst/gsttypefind.h:
23613         * gst/gsttypes.h:
23614         * gst/registries/gstlibxmlregistry.c: (load_feature),
23615         (gst_xml_registry_load), (gst_xml_registry_save_feature):
23616         * gst/registries/gstxmlregistry.c:
23617         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
23618         * gst/schedulers/threadscheduler.c:
23619         * libs/gst/control/dparammanager.h:
23620         * tools/gst-inspect.c: (print_element_list),
23621         (print_plugin_features), (print_element_features):
23622         * tools/gst-xmlinspect.c: (print_element_list),
23623         (print_plugin_info), (main):
23624         Removed plugable schedulers.
23625         Removed Scheduler/Manager from elements.
23626         Removed gsttypes.h, rearranged includes.
23627         Removed dependency pad<->element, element<>pipeline, and
23628         various others,  fix includes.
23629         implement gst_pad_get_parent() with gst_object_get_parent()
23630         Make GstTask sefcontained.
23631         Fix _get_state() on GstBin, it did not return ASYNC with a 0
23632         timeout.
23633         Fix endless loop in iterator_fold_with_resync.
23634
23635
23636 2005-07-18  Wim Taymans  <wim@fluendo.com>
23637
23638         * gst/Makefile.am:
23639         * gst/gstarch.h:
23640         Remove old file.
23641
23642 2005-07-18  Wim Taymans  <wim@fluendo.com>
23643
23644         * gst/Makefile.am:
23645         No more cothreads.h
23646
23647 2005-07-18  Wim Taymans  <wim@fluendo.com>
23648
23649         * gst/cothreads.c:
23650         * gst/cothreads.h:
23651         Let's remove these.
23652
23653 2005-07-18  Wim Taymans  <wim@fluendo.com>
23654
23655         * docs/design/part-dynamic.txt:
23656         * docs/design/part-events.txt:
23657         * docs/design/part-seeking.txt:
23658         Some more docs in the works.
23659
23660         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23661         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
23662         (gst_base_transform_setcaps), (gst_base_transform_get_size),
23663         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23664         (gst_base_transform_handle_buffer),
23665         (gst_base_transform_sink_activate_push),
23666         (gst_base_transform_src_activate_pull),
23667         (gst_base_transform_set_passthrough),
23668         (gst_base_transform_is_passthrough):
23669         Refcounting fixes.
23670
23671         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
23672         Cleanups.
23673
23674         * gst/gstevent.c: (gst_event_finalize):
23675         Set SRC to NULL.
23676
23677         * gst/gstutils.c: (gst_element_unlink),
23678         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
23679         (gst_pad_proxy_setcaps):
23680         * gst/gstutils.h:
23681         Add _get_parent_element() to get a pads parent as an element.
23682
23683 2005-07-18  Wim Taymans  <wim@fluendo.com>
23684
23685         * check/gst/gstbin.c: (GST_START_TEST):
23686         Remove bogus test.
23687
23688 2005-07-18  Wim Taymans  <wim@fluendo.com>
23689
23690         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23691         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23692         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23693         (gst_base_sink_event), (gst_base_sink_do_sync),
23694         (gst_base_sink_chain), (gst_base_sink_loop),
23695         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
23696         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
23697         Refcounting fixes.
23698         Fix logic for returning ASYNC when not prerolled.
23699
23700 2005-07-18  Wim Taymans  <wim@fluendo.com>
23701
23702         * gst/gstqueue.c: (gst_queue_handle_sink_event):
23703         Fix nasty refcount bug.
23704
23705 2005-07-16 Philippe Khalaf <burger@speedy.org>
23706
23707         * gst/elements/gstfdsrc.c:
23708         * gst/elements/gstfdsrc.h:
23709         * gst/elements/gstelements.c:
23710         * gst/elements/Makefile.am:
23711         Ported fdsrc to 0.9.
23712
23713 2005-07-16  Wim Taymans  <wim@fluendo.com>
23714
23715         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23716         (gst_base_sink_do_sync):
23717         Fix compile error.
23718
23719 2005-07-16  Wim Taymans  <wim@fluendo.com>
23720
23721         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23722         (gst_base_sink_event), (gst_base_sink_get_times),
23723         (gst_base_sink_do_sync), (gst_base_sink_change_state):
23724         * gst/base/gstbasesink.h:
23725         Store and use discont values when syncing buffers as described
23726         in design docs.
23727         
23728         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23729         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
23730         (gst_base_src_activate_push):
23731         Push discont event when starting.
23732
23733         * gst/elements/gstidentity.c: (gst_identity_transform):
23734         Small cleanups.
23735
23736         * gst/gstbin.c: (gst_bin_change_state):
23737         Small cleanups in base_time  distribution.
23738
23739         * gst/gstelement.c: (gst_element_set_base_time),
23740         (gst_element_get_base_time), (gst_element_change_state):
23741         * gst/gstelement.h:
23742         Added methods for the base_time of the element.
23743         Some MT fixes.
23744
23745         * gst/gstpipeline.c: (gst_pipeline_send_event),
23746         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23747         (gst_pipeline_get_last_stream_time):
23748         * gst/gstpipeline.h:
23749         MT fixes.
23750         Handle seeking as described in design doc, remove stream_time
23751         hack.
23752         Cleanups clock and stream_time selection code. Added accessors
23753         for the stream_time.
23754         
23755
23756 2005-07-16  Andy Wingo  <wingo@pobox.com>
23757
23758         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
23759         (#305291).
23760
23761 2005-07-16  Wim Taymans  <wim@fluendo.com>
23762
23763         * check/gst/gstbin.c: (GST_START_TEST):
23764         Make elements silent as the deep_notify refs the
23765         parent, which might make the test fail.
23766
23767         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23768         Don't hold the lock for too long.
23769
23770 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
23771
23772         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
23773           Don't unref the caps we passed to gst_caps_make_writable() after
23774           passing them. gst_caps_make_writable() will do that for us.
23775
23776 2005-07-15  Andy Wingo  <wingo@pobox.com>
23777
23778         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
23779         (#157311).
23780
23781         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
23782         own marshalling function for the handoff signal. Properly type the
23783         buffer as a buffer. Fixes some warnings. Should do a more general
23784         solution.
23785         (gst_identity_class_init): Plug into the right marshaller.
23786
23787 2005-07-15  Wim Taymans  <wim@fluendo.com>
23788
23789         * docs/design/part-TODO.txt:
23790         * docs/design/part-clocks.txt:
23791         * docs/design/part-element-sink.txt:
23792         * docs/design/part-events.txt:
23793         * docs/design/part-gstpipeline.txt:
23794         Updated docs, mostly DISCONT related.
23795
23796 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
23797
23798         * docs/pwg/building-pads.xml:
23799           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
23800
23801 2005-07-15  Andy Wingo  <wingo@pobox.com>
23802
23803         * tools/gst-typefind.c: Update, add copyright block.
23804
23805         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
23806         Normalize and truncate caps before fixation.
23807
23808         * gst/gstcaps.h:
23809         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
23810         discards all but the first structure from its argument.
23811
23812 2005-07-15  Wim Taymans  <wim@fluendo.com>
23813
23814         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23815         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
23816         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23817         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23818         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
23819         (gst_base_transform_chain), (gst_base_transform_change_state),
23820         (gst_base_transform_set_passthrough),
23821         (gst_base_transform_is_passthrough):
23822         * gst/base/gstbasetransform.h:
23823         Make passthrough work using the bufferpools.
23824         Changed API a bit, subclasses have to write into a buffer
23825         provided by the base class.
23826         More debug info in nego functions.
23827         
23828         * gst/elements/gstidentity.c: (gst_identity_init),
23829         (gst_identity_transform):
23830         Port to new base class.
23831
23832 2005-07-15  Wim Taymans  <wim@fluendo.com>
23833
23834         * gst/gstmessage.c: (gst_message_new_state_changed):
23835         * tools/gst-launch.c: (event_loop), (main):
23836         Totally dump messages in -launch with the -m option.
23837         Fix message name for State messages,
23838
23839 2005-07-14  Wim Taymans  <wim@fluendo.com>
23840
23841         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23842         Post error messages on errors.
23843
23844 2005-07-14  Wim Taymans  <wim@fluendo.com>
23845
23846         * gst/gstcaps.c: (gst_caps_do_simplify):
23847         Remove debug info.
23848
23849         * gst/gsterror.h:
23850         Define error for stream stopped.
23851
23852         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23853         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
23854         Do proper return values.
23855
23856         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23857         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
23858         (gst_pad_get_range):
23859         Better return values.
23860
23861         * gst/gstpad.h:
23862         Reorganise return values, add macro to check for fatal errors.
23863
23864         * gst/gstqueue.c: (gst_queue_chain):
23865         Return proper GstFlowReturn values,
23866
23867 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
23868
23869         * docs/gst/gstreamer-sections.txt:
23870         * docs/gst/gstreamer.types:
23871         * docs/gst/tmpl/gst.sgml:
23872         * docs/gst/tmpl/gstbasesink.sgml:
23873         * docs/gst/tmpl/gstbasesrc.sgml:
23874         * docs/gst/tmpl/gstbasetransform.sgml:
23875         * docs/gst/tmpl/gstbin.sgml:
23876         * docs/gst/tmpl/gstbuffer.sgml:
23877         * docs/gst/tmpl/gstcaps.sgml:
23878         * docs/gst/tmpl/gstclock.sgml:
23879         * docs/gst/tmpl/gstcompat.sgml:
23880         * docs/gst/tmpl/gstconfig.sgml:
23881         * docs/gst/tmpl/gstelement.sgml:
23882         * docs/gst/tmpl/gstelementdetails.sgml:
23883         * docs/gst/tmpl/gstelementfactory.sgml:
23884         * docs/gst/tmpl/gstenumtypes.sgml:
23885         * docs/gst/tmpl/gsterror.sgml:
23886         * docs/gst/tmpl/gstevent.sgml:
23887         * docs/gst/tmpl/gstfakesink.sgml:
23888         * docs/gst/tmpl/gstfakesrc.sgml:
23889         * docs/gst/tmpl/gstfilesink.sgml:
23890         * docs/gst/tmpl/gstfilesrc.sgml:
23891         * docs/gst/tmpl/gstfilter.sgml:
23892         * docs/gst/tmpl/gstformat.sgml:
23893         * docs/gst/tmpl/gstghostpad.sgml:
23894         * docs/gst/tmpl/gstimplementsinterface.sgml:
23895         * docs/gst/tmpl/gstindex.sgml:
23896         * docs/gst/tmpl/gstindexfactory.sgml:
23897         * docs/gst/tmpl/gstinfo.sgml:
23898         * docs/gst/tmpl/gstiterator.sgml:
23899         * docs/gst/tmpl/gstmacros.sgml:
23900         * docs/gst/tmpl/gstmemchunk.sgml:
23901         * docs/gst/tmpl/gstminiobject.sgml:
23902         * docs/gst/tmpl/gstobject.sgml:
23903         * docs/gst/tmpl/gstpad.sgml:
23904         * docs/gst/tmpl/gstpadtemplate.sgml:
23905         * docs/gst/tmpl/gstparse.sgml:
23906         * docs/gst/tmpl/gstpipeline.sgml:
23907         * docs/gst/tmpl/gstplugin.sgml:
23908         * docs/gst/tmpl/gstpluginfeature.sgml:
23909         * docs/gst/tmpl/gstquery.sgml:
23910         * docs/gst/tmpl/gstqueue.sgml:
23911         * docs/gst/tmpl/gstregistry.sgml:
23912         * docs/gst/tmpl/gstregistrypool.sgml:
23913         * docs/gst/tmpl/gstscheduler.sgml:
23914         * docs/gst/tmpl/gstschedulerfactory.sgml:
23915         * docs/gst/tmpl/gststructure.sgml:
23916         * docs/gst/tmpl/gstsystemclock.sgml:
23917         * docs/gst/tmpl/gsttaglist.sgml:
23918         * docs/gst/tmpl/gsttagsetter.sgml:
23919         * docs/gst/tmpl/gsttrace.sgml:
23920         * docs/gst/tmpl/gsttrashstack.sgml:
23921         * docs/gst/tmpl/gsttypefind.sgml:
23922         * docs/gst/tmpl/gsttypefindfactory.sgml:
23923         * docs/gst/tmpl/gsttypes.sgml:
23924         * docs/gst/tmpl/gsturihandler.sgml:
23925         * docs/gst/tmpl/gsturitype.sgml:
23926         * docs/gst/tmpl/gstutils.sgml:
23927         * docs/gst/tmpl/gstvalue.sgml:
23928         * docs/gst/tmpl/gstversion.sgml:
23929         * docs/gst/tmpl/gstxml.sgml:
23930         * docs/libs/tmpl/gstcontrol.sgml:
23931         * docs/libs/tmpl/gstdataprotocol.sgml:
23932         * docs/libs/tmpl/gstdparam.sgml:
23933         * docs/libs/tmpl/gstdplinint.sgml:
23934         * docs/libs/tmpl/gstdpman.sgml:
23935         * docs/libs/tmpl/gstdpsmooth.sgml:
23936         * docs/libs/tmpl/gstgetbits.sgml:
23937         * docs/libs/tmpl/gstunitconvert.sgml:
23938         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
23939         (gst_push_src_base_init), (gst_push_src_class_init),
23940         (gst_push_src_init), (gst_push_src_create):
23941         * gst/base/gstpushsrc.h:
23942         * gst/elements/gstelements.c:
23943         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
23944         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
23945         (gst_fake_sink_init), (gst_fake_sink_set_property),
23946         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
23947         (gst_fake_sink_event), (gst_fake_sink_preroll),
23948         (gst_fake_sink_render), (gst_fake_sink_change_state):
23949         * gst/elements/gstfakesink.h:
23950         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
23951         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
23952         (gst_fake_src_base_init), (gst_fake_src_class_init),
23953         (gst_fake_src_init), (gst_fake_src_event_handler),
23954         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
23955         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
23956         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
23957         (gst_fake_src_create_buffer), (gst_fake_src_create),
23958         (gst_fake_src_start), (gst_fake_src_stop):
23959         * gst/elements/gstfakesrc.h:
23960         * gst/elements/gstfilesink.c: (_do_init),
23961         (gst_file_sink_base_init), (gst_file_sink_class_init),
23962         (gst_file_sink_init), (gst_file_sink_dispose),
23963         (gst_file_sink_set_location), (gst_file_sink_set_property),
23964         (gst_file_sink_get_property), (gst_file_sink_open_file),
23965         (gst_file_sink_close_file), (gst_file_sink_query),
23966         (gst_file_sink_event), (gst_file_sink_render),
23967         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
23968         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
23969         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
23970         * gst/elements/gstfilesink.h:
23971         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
23972         (gst_file_src_class_init), (gst_file_src_init),
23973         (gst_file_src_finalize), (gst_file_src_set_location),
23974         (gst_file_src_set_property), (gst_file_src_get_property),
23975         (gst_file_src_map_region), (gst_file_src_map_small_region),
23976         (gst_file_src_create_mmap), (gst_file_src_create_read),
23977         (gst_file_src_create), (gst_file_src_is_seekable),
23978         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
23979         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
23980         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
23981         (gst_file_src_uri_handler_init):
23982         * gst/elements/gstfilesrc.h:
23983           more autistic cleanliness in functions/names/defines
23984
23985 2005-07-13  Andy Wingo  <wingo@pobox.com>
23986
23987         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
23988         source couldn't negotiate.
23989
23990         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
23991         connections again.
23992
23993         * gst/gstutils.h:
23994         * gst/gstutils.c (gst_element_link_pads_filtered): New old
23995         function. I am channeling Hades. Put your boots on suckers!!!
23996
23997 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23998
23999         * testsuite/caps/Makefile.am:
24000         * testsuite/caps/value_compare.c:
24001         * testsuite/caps/value_intersect.c:
24002         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24003           move two testsuite apps over to the check dir
24004
24005 2005-07-12  Wim Taymans  <wim@fluendo.com>
24006
24007         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
24008         Added more debug info in the negotiate process.
24009
24010         * gst/gstmessage.h:
24011         Prepare for segment playback.
24012
24013         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
24014         Better debugging.
24015
24016         * gst/gstutils.c:
24017         Some more docs.
24018
24019         * tools/gst-launch.c: (main):
24020         NULL pipeline on errors.
24021
24022 2005-07-12  Andy Wingo  <wingo@pobox.com>
24023
24024         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
24025         not it comes from a malloc region. Make sure our copy gets freed.
24026
24027 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24028
24029         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24030         * check/gst/gstmessage.c: (GST_START_TEST):
24031         * check/gst/gststructure.c: (GST_START_TEST),
24032         (gst_structure_suite), (main):
24033           more testing
24034         * gst/gstelement.c: (gst_element_message_full):
24035           clean up GError and debug string now that they get copied
24036         * gst/gstmessage.c: (gst_message_new_error),
24037         (gst_message_new_warning), (gst_message_parse_error),
24038         (gst_message_parse_warning):
24039           use GST_TYPE_G_ERROR for structure_new, and take copies of
24040           arguments, so that we don't mess up refcounting
24041
24042 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24043
24044         * check/Makefile.am:
24045           add per-test valgrind targets
24046         * check/gst-libs/gdp.c: (GST_START_TEST),
24047         (gst_data_protocol_suite), (main):
24048           clean up
24049
24050 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24051
24052         * check/Makefile.am:
24053           instate more valgrindable tests
24054         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24055         (GST_START_TEST), (fakesrc_suite):
24056         * check/gst/gstpad.c: (GST_START_TEST):
24057         * check/gst/gststructure.c: (GST_START_TEST):
24058           fix test leaks
24059         * docs/gst/tmpl/gstminiobject.sgml:
24060         * gst/gstpad.c: (gst_pad_finalize):
24061           fix the static mutex leak
24062
24063 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24064
24065         * check/Makefile.am:
24066           add two more tests for valgrinding
24067         * check/gst/gstvalue.c: (GST_START_TEST):
24068           test refcount of deserialized buffer, found a leak
24069         * docs/gst/gstreamer-docs.sgml:
24070         * docs/gst/gstreamer-sections.txt:
24071         * docs/gst/gstreamer.types:
24072         * docs/gst/tmpl/gstminiobject.sgml:
24073           add miniobject to docs
24074         * gst/gstminiobject.c:
24075           add some docs
24076         * gst/gstvalue.c: (gst_value_deserialize_buffer),
24077         (gst_string_unwrap):
24078           fix a hard-to-find invalid write for one of the tests
24079           fix a leak for deserialized buffers
24080
24081 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24082
24083         * docs/pwg/advanced-events.xml:
24084         * docs/pwg/advanced-request.xml:
24085         * docs/pwg/advanced-scheduling.xml:
24086         * docs/pwg/appendix-porting.xml:
24087         * docs/pwg/building-boiler.xml:
24088         * docs/pwg/intro-preface.xml:
24089         * docs/pwg/other-ntoone.xml:
24090           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
24091           of example code and explanation for pad activation, loop() and
24092           getrange() functions and a bit more. Remove old comments pointing
24093           to loop-functions.
24094         * examples/pwg/Makefile.am:
24095           Add loop/getrange examples.
24096
24097 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24098
24099         * configure.ac:
24100           check for valgrind binary + some fixes
24101         * check/gst.supp:
24102           valgrind suppressions for the tests
24103         * check/Makefile.am:
24104           add a valgrind: target that valgrinds the unit tests
24105         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
24106         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24107         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24108         * check/gst/gstghostpad.c:
24109           added some cleanup
24110         * check/gst/gstdata.c:
24111           removed
24112         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
24113         (thread_unref), (gst_mini_object_suite), (main):
24114           added
24115         * gst/gst.c: (gst_deinit):
24116         * gst/gst.h:
24117           add a method to clean up.
24118         * gst/gstsystemclock.c: (gst_system_clock_dispose),
24119         (gst_system_clock_obtain):
24120           allow for disposing the system clock.
24121         * tools/gst-launch.c: (main):
24122           deinit
24123
24124 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24125
24126         * docs/gst/tmpl/gstbasesrc.sgml:
24127         * docs/gst/tmpl/gstfakesrc.sgml:
24128         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24129         (gst_base_src_init), (gst_base_src_set_property),
24130         (gst_base_src_get_property), (gst_base_src_get_range),
24131         (gst_base_src_start):
24132         * gst/base/gstbasesrc.h:
24133           add num-buffers property
24134         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24135         (gst_fakesrc_init), (gst_fakesrc_set_property),
24136         (gst_fakesrc_get_property), (gst_fakesrc_create),
24137         (gst_fakesrc_start):
24138           remove num-buffers property
24139
24140 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24141
24142         * docs/gst/gstreamer-sections.txt:
24143         * docs/gst/tmpl/gstbasesink.sgml:
24144         * docs/gst/tmpl/gstbasesrc.sgml:
24145         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24146         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24147         (gst_base_sink_finalize), (gst_base_sink_set_clock),
24148         (gst_base_sink_set_property), (gst_base_sink_get_property),
24149         (gst_base_sink_handle_object), (gst_base_sink_event),
24150         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
24151         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
24152         (gst_base_sink_loop), (gst_base_sink_deactivate),
24153         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
24154         (gst_base_sink_change_state):
24155         * gst/base/gstbasesink.h:
24156         * gst/base/gstbasesrc.h:
24157         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
24158         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24159         (gst_filesink_init):
24160           more macro splitting
24161
24162 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24163
24164         * gst/gstelement.c: (gst_element_get_bus):
24165           add debug
24166         * tools/gst-launch.c: (check_intr), (event_loop):
24167           fix bus leaks
24168
24169 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24170
24171         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
24172           fix a caps leak
24173
24174 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24175
24176         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24177         (gst_base_src_finalize):
24178           add finalize method and clean up properly
24179         * gst/gstpipeline.c: (gst_pipeline_dispose):
24180           add debug
24181
24182 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24183
24184         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
24185         (gst_bin_suite):
24186           add more things to check
24187         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24188         * gst/gstelement.c:
24189           more debug
24190
24191 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24192
24193         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24194         (GST_START_TEST), (fakesrc_suite):
24195         * check/gst-libs/gdp.c: (GST_START_TEST):
24196         * check/gst/gst.c: (GST_START_TEST):
24197         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24198         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24199         * check/gst/gstbus.c: (GST_START_TEST):
24200         * check/gst/gstcaps.c: (GST_START_TEST):
24201         * check/gst/gstdata.c: (GST_START_TEST):
24202         * check/gst/gstelement.c: (GST_START_TEST):
24203         * check/gst/gstghostpad.c: (GST_START_TEST):
24204         * check/gst/gstiterator.c: (GST_START_TEST):
24205         * check/gst/gstmessage.c: (GST_START_TEST):
24206         * check/gst/gstobject.c: (GST_START_TEST):
24207         * check/gst/gstpad.c: (GST_START_TEST):
24208         * check/gst/gststructure.c: (GST_START_TEST):
24209         * check/gst/gstsystemclock.c: (GST_START_TEST),
24210         (gst_systemclock_suite):
24211         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24212         * check/gst/gstvalue.c: (GST_START_TEST):
24213         * check/pipelines/cleanup.c: (GST_START_TEST):
24214         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24215         * check/states/sinks.c: (GST_START_TEST):
24216         * check/gstcheck.c: (gst_check_init):
24217         * check/gstcheck.h:
24218           add debugging category
24219           use GST_START_TEST now, so we add a debug line
24220
24221 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24222
24223         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
24224           add test for state change message on a bin
24225         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
24226           add another test
24227         * gst/gstbin.c: (gst_bin_init):
24228         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
24229         * gst/gstelement.c: (gst_element_post_message),
24230         (gst_element_set_state):
24231         * gst/gstelementfactory.c: (gst_element_factory_create):
24232         * gst/gstmessage.c: (gst_message_new):
24233         * gst/gstscheduler.c:
24234           various debugging additions and cleanups
24235
24236 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24237
24238         * check/Makefile.am:
24239         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
24240         (main):
24241           adding tests for elements
24242         * gst/gstelement.c: (gst_element_dispose):
24243
24244 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24245
24246         * gst/registries/gstlibxmlregistry.c: (load_feature):
24247           plug more leaks.  A simple gst_init() now is leakfree, yay.
24248
24249 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24250
24251         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
24252         (gst_xml_registry_load):
24253           plug another memleak
24254
24255 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24256
24257         * configure.ac:
24258           use GST_SET_ERROR_CFLAGS
24259         * docs/faq/cvs.xml:
24260           change to ERROR_CFLAGS
24261
24262 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24263
24264         * configure.ac:
24265           make GST_ERROR_CFLAGS overridable and re-enable Werror
24266         * docs/faq/cvs.xml:
24267           add a note about error CFLAGS
24268         * docs/gst/tmpl/gstfakesrc.sgml:
24269         * gst/elements/gstfakesrc.c:
24270           comment out some unused code
24271         * gst/gst.c: (split_and_iterate):
24272         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
24273         (load_feature):
24274           plug some memleaks
24275
24276 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24277
24278         * common/Makefile.am:
24279         * common/gtk-doc.mak:
24280         * docs/gst/Makefile.am:
24281           factor out gtk-doc.mak
24282
24283 2005-07-07  Wim Taymans  <wim@fluendo.com>
24284
24285         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
24286         (gst_thread_scheduler_dispose):
24287         Unlock the STREAM_LOCK completely.
24288
24289 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24290
24291         * check/Makefile.am:
24292         * check/elements/.cvsignore:
24293         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24294         (START_TEST), (fakesrc_suite), (main):
24295         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24296         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24297         (gst_fakesrc_create), (gst_fakesrc_start):
24298         * gst/elements/gstfakesrc.h:
24299           adding a first element test
24300
24301 2005-07-07  Andy Wingo  <wingo@pobox.com>
24302
24303         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
24304         debug message.
24305
24306 2005-07-07  Wim Taymans  <wim@fluendo.com>
24307
24308         * gst/gstquery.c:
24309         * gst/gstquery.h:
24310         Remove old types
24311
24312 2005-07-07  Wim Taymans  <wim@fluendo.com>
24313
24314         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24315         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
24316         Allow subclasses to implement their own negotiation.
24317
24318 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24319
24320         * docs/design/part-gstbin.txt:
24321         * docs/design/part-gstpipeline.txt:
24322           Update design notes to reflect the movement of
24323           responsibility for bus handling from GstPipeline to
24324           GstBin
24325
24326 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24327
24328         * configure.ac:
24329           Remove unnecessary queue2/3/4 examples.
24330
24331 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24332
24333         * examples/Makefile.am:
24334         * examples/helloworld/helloworld.c: (event_loop), (main):
24335         * examples/queue/queue.c: (event_loop), (main):
24336         * examples/queue2/queue2.c: (main):
24337           Update a couple of the examples to work again.
24338
24339         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24340         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
24341          Spelling corrections and extra debug.
24342         
24343         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
24344         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
24345         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
24346         * gst/gstbin.h:
24347         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24348         (gst_pipeline_change_state):
24349         * gst/gstpipeline.h:
24350           Move the bus handler for children to the GstBin, and create a
24351           separate bus for receiving messages from children to the one the
24352           bus sends 'upwards' on.
24353
24354 2005-07-06  Wim Taymans  <wim@fluendo.com>
24355
24356         * gst/base/README:
24357         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24358         (gst_base_sink_handle_object), (gst_base_sink_loop),
24359         (gst_base_sink_change_state):
24360         * gst/base/gstbasesink.h:
24361         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24362         (gst_base_src_init), (gst_base_src_setcaps),
24363         (gst_base_src_getcaps), (gst_base_src_loop),
24364         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
24365         (gst_base_src_start), (gst_base_src_change_state):
24366         * gst/base/gstbasesrc.h:
24367         Make basesrc negotiate.
24368         Handle the case where preroll fails in basesink.
24369         Update README.
24370
24371 2005-07-06  Wim Taymans  <wim@fluendo.com>
24372
24373         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
24374         Implement the fixate function.
24375         Clean up acceptcaps.
24376
24377 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24378
24379         * docs/pwg/building-filterfactory.xml:
24380         * docs/pwg/pwg.xml:
24381           Remove never-written filter-factory chapter; I'll add the various
24382           base classes to part 4 ("other element types") later on.
24383
24384 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24385
24386         * docs/pwg/advanced-negotiation.xml:
24387         * docs/pwg/building-boiler.xml:
24388         * docs/pwg/building-pads.xml:
24389         * docs/pwg/pwg.xml:
24390         * examples/pwg/Makefile.am:
24391           Add a chapter on caps negotiation, simplify the original code
24392           samples a bit w.r.t. caps negotiation, add link to the advanced
24393           section. Add a bunch of examples showing different use cases of
24394           different types of caps negotiation. Upstream renegotiation isn't
24395           fully documented yet since nobody knows how that works.
24396
24397 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24398
24399         * check/gst/gstpad.c:
24400         * check/gstcheck.c:
24401         * gst/gstpad.c: (gst_pad_get_internal_links_default):
24402           if pad has no parent, return NULL as list of internal links
24403
24404 2005-07-05  Andy Wingo  <wingo@pobox.com>
24405
24406         * gst/elements/gstfilesrc.c:
24407         * gst/elements/gstfakesrc.c: 
24408         * gst/base/gstpushsrc.c:
24409         * gst/base/gstbasesrc.h: 
24410         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
24411         
24412 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
24413
24414         * Makefile.am:
24415           better report generation target (lcov needs a patch)
24416
24417 2005-07-05  Andy Wingo  <wingo@pobox.com>
24418
24419         * gst/elements, testsuite: Null if we got it...
24420
24421 2005-07-05  Wim Taymans  <wim@fluendo.com>
24422
24423         * configure.ac:
24424         * libs/gst/dataprotocol/Makefile.am:
24425         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
24426         * libs/gst/dataprotocol/dataprotocol.h:
24427         * pkgconfig/Makefile.am:
24428         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
24429         * pkgconfig/gstreamer-dataprotocol.pc.in:
24430         Ported dataprotol to 0.9. 
24431         Added pkgconfig files.
24432
24433 2005-07-05  Andy Wingo  <wingo@pobox.com>
24434
24435         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
24436         Default to returning TRUE for the case when tranform_caps returns
24437         a fixed caps, like for identity or volume.
24438
24439         * check/gst/gstbus.c (pound_bus_with_messages): 
24440         * check/gst/gstmessage.c (START_TEST): 
24441         * check/pipelines/simple_launch_lines.c (got_handoff): Application
24442         message API change.
24443
24444         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
24445         logic weaks here: always run transform_caps, trying passthrough
24446         operation only if the original caps intersects with the transform.
24447
24448         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
24449         source and sink caps.
24450
24451         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
24452         Intersect the peer caps with the pad template before going into
24453         transform_caps.
24454         (gst_base_transform_transform_caps): More debugging.
24455
24456         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
24457         src argument.
24458
24459 2005-07-04  Edward Hervey  <edward@fluendo.com>
24460
24461         * gst/gstutils.c:
24462         * gst/gstutils.h:
24463         (gst_pad_add_*_probe): now returns the signal id for better wrapping
24464         in bindings.
24465
24466 2005-07-04  Andy Wingo  <wingo@pobox.com>
24467
24468         * check/gst/gstpad.c: Only set explicit caps on pads.
24469
24470 2005-07-01  Andy Wingo  <wingo@pobox.com>
24471
24472         * tests/network-clock.scm: Commentary update.
24473
24474         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
24475         Didn't really make sense, not implementable with basetransform,
24476         etc.
24477         (gst_identity_transform): Unref inbuf via make_writable. Feeble
24478         attempt at implementing the sync property, needs an unlock method.
24479
24480         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
24481         New func, by default returns the same caps (the identity
24482         transformation).
24483         (gst_base_transform_getcaps): Uses transform_caps to return
24484         something sensible.
24485         (gst_base_transform_setcaps): Complicated logic to get caps on
24486         both pads, even if they are different, and to call set_caps once
24487         for every time both pads get their caps set.
24488         (gst_base_transform_handle_buffer): Give the ref to the transform
24489         function. Allows in-place modification of the buffer.
24490
24491         * gst/base/gstbasetransform.h (transform_caps): New class method.
24492         Given caps on one side, what can I do on the other.
24493         (set_caps): Take two caps, one for each side of the element.
24494
24495         * gst/gstpad.h:
24496         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
24497         caps in place. This is safe because we can check the mutability of
24498         the caps, and a good idea because fixate functions are just called
24499         as a matter of last resort. (Not actually implemented.)
24500         (gst_pad_set_caps): If the caps we're setting is actually the same
24501         as the existing pad caps, just update the pointer without calling
24502         setcaps. Assert that caps is either NULL or fixed, as per the
24503         docs.
24504
24505         * gst/gstghostpad.c: Update for fixate changes.
24506
24507 2005-07-02  Andy Wingo  <wingo@pobox.com>
24508
24509         * gst/gstcaps.c:
24510         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
24511         two refcounts makes it immutable, which is enough. Doc more.
24512
24513 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
24514
24515         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
24516           Put the mini_object into GValue as a mini_object,
24517           not a gpointer, since that's how we declared
24518           the signal.
24519
24520 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24521
24522         * examples/pwg/Makefile.am:
24523           Fix buildbot again.
24524
24525 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24526
24527         * docs/pwg/building-testapp.xml:
24528           Add extra check.
24529         * examples/pwg/Makefile.am:
24530           Fix buildbot.
24531
24532 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24533
24534         * configure.ac:
24535         * examples/Makefile.am:
24536         * examples/pwg/Makefile.am:
24537         * examples/pwg/extract.pl:
24538           Enable building the PWG examples.
24539         * docs/pwg/advanced-interfaces.xml:
24540           Add URI interface stub.
24541         * docs/pwg/advanced-types.xml:
24542         * docs/pwg/other-autoplugger.xml:
24543         * docs/pwg/appendix-porting.xml:
24544         * docs/pwg/pwg.xml:
24545           Add porting guide (mostly stubs), remove autoplugging (see ADM).
24546         * docs/pwg/building-boiler.xml:
24547         * docs/pwg/building-chainfn.xml:
24548         * docs/pwg/building-pads.xml:
24549         * docs/pwg/building-props.xml:
24550         * docs/pwg/building-state.xml:
24551         * docs/pwg/building-testapp.xml:
24552           Update the building-*.xml parts for 0.9 changes. All examples
24553           code blocks compile in examples/pwg/*.
24554
24555 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24556
24557         * docs/manual/advanced-autoplugging.xml:
24558         * docs/manual/appendix-checklist.xml:
24559         * docs/manual/appendix-integration.xml:
24560         * docs/manual/highlevel-components.xml:
24561           Fix playbin/decodebin examples, update docs a bit, mention bus
24562           instead of signals in various places, mention kmplayer and
24563           kaffeine since they have a working GStreamer backend in the KDE
24564           section.
24565
24566 2005-06-30  Wim Taymans  <wim@fluendo.com>
24567
24568         * CHANGES-0.9:
24569         * docs/design/draft-ghostpads.txt:
24570         * docs/design/draft-push-pull.txt:
24571         * docs/design/draft-query.txt:
24572         * docs/design/part-TODO.txt:
24573         * docs/design/part-query.txt:
24574         Added CHANGES-0.9 doc, updated status of other docs.
24575         
24576         * gst/gstquery.h:
24577         Remove "hmm" macro
24578
24579 2005-06-30  Wim Taymans  <wim@fluendo.com>
24580
24581         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24582         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24583         (gst_base_sink_change_state):
24584         * gst/base/gstbasesink.h:
24585         Some tweaks, only EOS and a buffer complete a preroll.
24586
24587 2005-06-30  Andy Wingo  <wingo@pobox.com>
24588
24589         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
24590         activate_push down to the internal pad as well.
24591
24592 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
24593
24594         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24595
24596         * gst/gsttaginterface.c:
24597           Some documentation fixes (#307394 and #307397).
24598
24599 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
24600
24601         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24602
24603         * gst/gstvalue.c: (gst_value_intersect_list):
24604           Fix memleak (#309125).
24605
24606 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24607
24608         * docs/manual/advanced-dataaccess.xml:
24609           Fix fakesrc example to compile; doesn't work, bug somewhere...?
24610         * docs/manual/basics-pads.xml:
24611           Add reference for filtered caps to above chapter.
24612
24613 2005-06-30  Wim Taymans  <wim@fluendo.com>
24614
24615         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
24616         (gst_bin_change_state):
24617         Probes are gone.
24618         Lame attempt at making the state change function a bit
24619         more readable.
24620
24621 2005-06-30  Wim Taymans  <wim@fluendo.com>
24622
24623         * docs/design/part-clocks.txt:
24624         * docs/design/part-element-sink.txt:
24625         * docs/design/part-events.txt:
24626         * docs/design/part-preroll.txt:
24627         * docs/design/part-states.txt:
24628         Some more tweeks and additions to the docs.
24629
24630 2005-06-30  Wim Taymans  <wim@fluendo.com>
24631
24632         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24633         (default_have_data), (gst_pad_class_init), (gst_pad_init),
24634         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24635         (gst_pad_check_pull_range), (gst_pad_get_range),
24636         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
24637         * gst/gstpad.h:
24638         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
24639         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24640         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24641         (gst_pad_remove_buffer_probe):
24642         Removed atomic operations, use existing LOCK.
24643         Move exception handling out of main code path.
24644
24645 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24646
24647         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24648         (silly_return_true_function), (gst_pad_class_init),
24649         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24650         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
24651         (gst_pad_send_event):
24652           Fix accumulator, add default value by using _emitv() instead
24653           of _emit() for signal emission.
24654
24655 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24656
24657         * docs/manual/advanced-dataaccess.xml:
24658         * examples/manual/Makefile.am:
24659           Add probe example.
24660         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
24661           Make work (??).
24662
24663 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
24664
24665         * gst/elements/gstfilesink.c: (gst_filesink_render):
24666           Simplify code so that we don't have to handle short
24667           writes and return GST_FLOW_ERROR if an error occured.
24668
24669 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24670
24671         * docs/gst/gstreamer-docs.sgml:
24672           Remove probes more.
24673
24674 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24675
24676         * docs/gst/gstreamer-sections.txt:
24677         * docs/gst/tmpl/gstpad.sgml:
24678         * docs/gst/tmpl/gstprobe.sgml:
24679         * gst/Makefile.am:
24680         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24681         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
24682         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24683         (gst_pad_push_event), (gst_pad_send_event):
24684         * gst/gstpad.h:
24685         * gst/gstutils.c: (gst_pad_add_data_probe),
24686         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24687         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24688         (gst_pad_remove_buffer_probe):
24689         * gst/gstutils.h:
24690           Remove old probes, add new g-signal-based probes and some utility
24691           functions.
24692
24693 2005-06-29  Edward Hervey  <edward@fluendo.com>
24694
24695         * gst/gstelementfactory.c:
24696         * gst/gstutils.h:
24697         * gst/gstutils.c:
24698         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
24699         the definition to the header file.
24700
24701 2005-06-29  Andy Wingo  <wingo@pobox.com>
24702
24703         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
24704         plugins from the source directory.
24705
24706 2005-06-29  Wim Taymans  <wim@fluendo.com>
24707
24708         * docs/gst/tmpl/gstbuffer.sgml:
24709         * docs/gst/tmpl/gstclock.sgml:
24710         Some fixings for blantently wrong text.
24711
24712 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24713
24714         * check/Makefile.am:
24715         * gst/gst.c: (add_path_func), (init_pre):
24716         * gst/gstregistry.c: (gst_registry_add_path):
24717           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
24718           only scan the GST_PLUGIN_PATH locations, and not add
24719           system locations
24720
24721 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24722
24723         * docs/gst/gstreamer-sections.txt:
24724         * docs/gst/tmpl/gstbasesrc.sgml:
24725         * gst/gstelement.c:
24726         * gst/gstelement.h:
24727         * gst/gstevent.c:
24728         * gst/gstutils.c:
24729           doc fixes
24730
24731 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24732
24733         * docs/manual/advanced-autoplugging.xml:
24734           Fix autoplugging example.
24735
24736 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24737
24738         * docs/manual/advanced-autoplugging.xml:
24739         * docs/manual/mime-world.fig:
24740           Try to get autoplugging working, fix type detection. Fix text
24741           in hello-world image.
24742
24743 2005-06-29  Wim Taymans  <wim@fluendo.com>
24744
24745         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24746         (gst_base_sink_change_state):
24747         Small debug line.
24748
24749         * gst/gstclock.h:
24750         map SIGNAL and BROADCAST to the right function.
24751
24752         * gst/gstobject.h:
24753         Remove redundant braces.
24754
24755         * gst/gstpad.c: (gst_pad_set_caps):
24756         Don't call setcaps function when reseting caps to NULL.
24757
24758         * gst/gstsystemclock.c: (gst_system_clock_dispose),
24759         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
24760         (gst_system_clock_id_unschedule):
24761         Use BROADCAST as this is what we do.
24762
24763 2005-06-29  Wim Taymans  <wim@fluendo.com>
24764
24765         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24766         We are actually prerolling before commiting the state
24767         change. 
24768
24769 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24770
24771         * docs/manual/advanced-clocks.xml:
24772         * docs/manual/advanced-interfaces.xml:
24773         * docs/manual/advanced-metadata.xml:
24774         * docs/manual/advanced-position.xml:
24775         * docs/manual/advanced-schedulers.xml:
24776         * docs/manual/advanced-threads.xml:
24777         * docs/manual/appendix-porting.xml:
24778         * docs/manual/basics-bins.xml:
24779         * docs/manual/basics-bus.xml:
24780         * docs/manual/basics-elements.xml:
24781         * docs/manual/basics-helloworld.xml:
24782         * docs/manual/basics-pads.xml:
24783         * docs/manual/highlevel-components.xml:
24784         * docs/manual/manual.xml:
24785         * docs/manual/thread.fig:
24786           Update (until threads/scheduling) Application Development Manual;
24787           remove GstThread, add GstBus, add simple porting checklist, add
24788           documentation for tag writing, clocks, make all examples until this
24789           part compile and run.
24790         * examples/manual/Makefile.am:
24791           Update from changes to Application Development Manual; add bus
24792           example, remove thread example.
24793
24794 2005-06-28  Wim Taymans  <wim@fluendo.com>
24795
24796         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
24797         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
24798         (gst_bus_source_dispatch):
24799         Add debugging messages.
24800         Make internal methods static.
24801         Handle the case where the bus is flushed in the handler.
24802         
24803         * gst/gstelement.c: (gst_element_get_bus):
24804         Fix refcount in _get_bus();
24805
24806         * gst/gstpipeline.c: (gst_pipeline_change_state),
24807         (gst_pipeline_get_clock_func):
24808         Clock refcounting fixes.
24809         Handle the case where preroll timed out more gracefully.
24810         
24811         * gst/gstsystemclock.c: (gst_system_clock_dispose):
24812         Clean up the internal thread in dispose. This is needed
24813         for subclasses that actually get disposed.
24814         
24815         * gst/schedulers/threadscheduler.c:
24816         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24817         (gst_thread_scheduler_dispose):
24818         Free thread pool in dispose.
24819
24820 2005-06-28  Andy Wingo  <wingo@pobox.com>
24821
24822         * tests/network-clock-utils.scm (debug, print-event): New utils.
24823
24824         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
24825         (*packet-loss*): Unified loss probability.
24826         (network-time): Report out-of-band events.
24827
24828         * tests/plot-data: Add support for out-of-band events. Hack it
24829         into this script instead of passing it down the pipe; should fix
24830         this later.
24831
24832 2005-06-28  Wim Taymans  <wim@fluendo.com>
24833
24834         * docs/gst/gstreamer.types:
24835         * docs/gst/tmpl/gstbasesrc.sgml:
24836         * docs/gst/tmpl/gstpad.sgml:
24837         Docs fixes.
24838
24839 2005-06-28  Wim Taymans  <wim@fluendo.com>
24840
24841         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24842         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
24843         (gst_proxy_pad_do_fixatecaps):
24844         Correctly proxy the check_pull_range function.
24845
24846 2005-06-28  Andy Wingo  <wingo@pobox.com>
24847
24848         * tests/network-clock.scm: Removed need for slib.
24849         
24850 2005-06-28  Wim Taymans  <wim@fluendo.com>
24851
24852         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
24853         (gst_basesink_preroll_queue_flush):
24854         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
24855         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
24856         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24857         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24858         (gst_proxy_pad_set_property):
24859         * gst/gstpad.c:
24860         * gst/gstpad.h:
24861         * gst/gstqueue.c: (gst_queue_init):
24862         The deprecated pad loop function is removed now.
24863
24864 2005-06-28  Andy Wingo  <wingo@pobox.com>
24865
24866         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
24867         New parameters, simulate network packet loss.
24868
24869         * tests/network-clock-utils.scm: Initialize the RNG.
24870
24871 2005-06-28  Wim Taymans  <wim@fluendo.com>
24872
24873         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
24874         (gst_basesink_event), (gst_basesink_deactivate):
24875         Flushing the preroll queue always needs to unlock the waiters.
24876
24877 2005-06-28  Edward Hervey  <edward@fluendo.com>
24878
24879         * gst/gstpipeline.c: (gst_pipeline_send_event): 
24880         Wheen a seek was successful on a pipeline, set the stream_time to the
24881         seek offset in order to have a synchronized stream_time.
24882
24883 2005-06-28  Wim Taymans  <wim@fluendo.com>
24884
24885         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24886         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
24887         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
24888         (gst_proxy_pad_do_fixatecaps):
24889         Call wrapper function instead of just calling the function
24890         pointers. This takes care of any locking and whatmore.
24891
24892 2005-06-28  Wim Taymans  <wim@fluendo.com>
24893
24894         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
24895         (gst_pad_pull_range):
24896         * gst/gstpad.h:
24897         CONNECTED -> LINKED.
24898
24899 2005-06-28  Andy Wingo  <wingo@pobox.com>
24900
24901         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
24902         source-munging commit!!!
24903
24904         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
24905         (gst_object_sink): Take gpointer arguments, not GstObject --
24906         avoids casts. Like GLib.
24907
24908         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
24909         activate.
24910
24911 2005-06-27  Andy Wingo  <wingo@pobox.com>
24912
24913         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
24914         remaining buffer.
24915
24916         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
24917         returns a sorted copy of the trace list.
24918         (gst_alloc_trace_print_live): New API, only prints traces with
24919         live objects. Sort the list.
24920         (gst_alloc_trace_print_all): Sort the list.
24921         (gst_alloc_trace_print): Align columns.
24922
24923         * gst/elements/gstttypefindelement.c:
24924         * gst/elements/gsttee.c:
24925         * gst/base/gstbasesrc.c:
24926         * gst/base/gstbasesink.c:
24927         * gst/base/gstbasetransform.c:
24928         * gst/gstqueue.c: Adapt for pad activation changes.
24929
24930         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
24931         sched.
24932         (gst_pipeline_dispose): Drop ref on sched.
24933
24934         * gst/gstpad.c (gst_pad_init): Set the default activate func.
24935         (gst_pad_activate_default): Push mode by default.
24936         (pre_activate_switch, post_activate_switch): New stubs, things to
24937         do before and after switching activation modes on pads.
24938         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
24939         the pad's activate function to choose which mode to activate.
24940         Shortcut on deactivation and call the right function directly.
24941         (gst_pad_activate_pull): New API, (de)activates a pad in pull
24942         mode.
24943         (gst_pad_activate_push): New API, same for push mode.
24944         (gst_pad_set_activate_function) 
24945         (gst_pad_set_activatepull_function) 
24946         (gst_pad_set_activatepush_function): Setters for new API.
24947
24948         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
24949         Trace all miniobjects.
24950         (gst_mini_object_make_writable): Unref the arg if we copy, like
24951         gst_caps_make_writable.
24952
24953         * gst/gstmessage.c (_gst_message_initialize): No trace init.
24954
24955         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
24956         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
24957         Adapt for new pad API.
24958
24959         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
24960
24961         * gst/gstelement.h:
24962         * gst/gstelement.c (gst_element_iterate_src_pads) 
24963         (gst_element_iterate_sink_pads): New API functions.
24964         
24965         * gst/gstelement.c (iterator_fold_with_resync): New utility,
24966         should fold into gstiterator.c in some form.
24967         (gst_element_pads_activate): Simplified via use of fold and
24968         delegation of decisions to gstpad->activate.
24969
24970         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
24971         help in debugging.
24972
24973         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
24974         class once in init, like gstmessage. Didn't run into this issue
24975         but it seems correct. Don't initialize a trace, gstminiobject does
24976         that.
24977
24978         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
24979         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
24980         to the bus.
24981         (assert_live_count): New util function, uses alloc traces to check
24982         cleanup.
24983
24984         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
24985         To be modified when unlink drops the internal pad.
24986
24987 2005-06-27  Wim Taymans  <wim@fluendo.com>
24988
24989         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
24990         (gst_bin_change_state):
24991         Cleanup the get_state() function a little, make sure it
24992         iterates the same set of elements.
24993         Added stub iterate_state_order().
24994
24995 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24996
24997         * docs/gst/gstreamer-docs.sgml:
24998         * docs/gst/gstreamer-sections.txt:
24999         * docs/gst/gstreamer.types:
25000         * docs/gst/tmpl/gstbasesink.sgml:
25001         * docs/gst/tmpl/gstbasesrc.sgml:
25002         * docs/gst/tmpl/gstbasetransform.sgml:
25003         * docs/gst/tmpl/gstelement.sgml:
25004         * docs/gst/tmpl/gstiterator.sgml:
25005         * gst/base/gstbasesrc.c:
25006         * gst/base/gstbasesrc.h:
25007         * gst/base/gstbasetransform.h:
25008         * gst/gstelement.c:
25009         * gst/gstiterator.h:
25010           adding basetransform and iterator docs
25011
25012 2005-06-27  Andy Wingo  <wingo@pobox.com>
25013
25014         * docs/design/part-activation.txt: Notes on how activation should
25015         work -- not quite implemented yet.
25016
25017 2005-06-25  Wim Taymans  <wim@fluendo.com>
25018
25019         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
25020         At least get the chain function correct, needs more
25021         fixing.
25022
25023 2005-06-25  Wim Taymans  <wim@fluendo.com>
25024
25025         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25026         (gst_basesink_handle_object), (gst_basesink_event),
25027         (gst_basesink_do_sync), (gst_basesink_handle_event),
25028         (gst_basesink_change_state):
25029         * gst/gsttask.h:
25030         Right, two problems here: ghostpads don't take locks and
25031         glib _rec_mutex_lock_full() with depth==0 still locks.
25032         Catch illegal locking and g_warn them.
25033
25034 2005-06-25  Wim Taymans  <wim@fluendo.com>
25035
25036         * check/states/sinks.c: (START_TEST), (gst_object_suite):
25037         Have to check for completion now...
25038
25039 2005-06-25  Wim Taymans  <wim@fluendo.com>
25040
25041         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25042         (gst_basesink_handle_object), (gst_basesink_event),
25043         (gst_basesink_do_sync), (gst_basesink_handle_event),
25044         (gst_basesink_change_state):
25045         * gst/gstpad.h:
25046         Unlock STREAM_LOCK whatever the recursion was.
25047
25048 2005-06-25  Wim Taymans  <wim@fluendo.com>
25049
25050         * gst/base/gstbasesink.c: (gst_basesink_set_property),
25051         (gst_basesink_preroll_queue_empty),
25052         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
25053         (gst_basesink_event), (gst_basesink_do_sync),
25054         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
25055         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
25056         (gst_basesink_change_state):
25057         Reworked the base sink, handle event and buffer serialisation
25058         correctly and removed possible deadlock.
25059         Handle EOS correctly.
25060
25061 2005-06-25  Wim Taymans  <wim@fluendo.com>
25062
25063         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
25064         (gst_pipeline_change_state):
25065         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25066         Allow elements to post EOS in the state change function.
25067         Fix up -launch, make it exit the poll loop when the
25068         pipeline actually changed state.
25069         Fix up warning parsing in -launch.
25070
25071 2005-06-25  Wim Taymans  <wim@fluendo.com>
25072
25073         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
25074         (gst_tee_sink_activate):
25075         Core takes STREAM_LOCK for us now.
25076
25077 2005-06-25  Wim Taymans  <wim@fluendo.com>
25078
25079         * gst/gstelement.c: (gst_element_get_state_func),
25080         (gst_element_set_state):
25081         * gst/gstelement.h:
25082         * gst/gstmessage.c: (gst_message_parse_error),
25083         (gst_message_parse_warning):
25084         Keep track of current target state while performing a state
25085         change so that subclasses can do something interesting.
25086         Fix parsing of warning/error messages when GError is NULL.
25087
25088 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
25089
25090         * docs/gst/Makefile.am:
25091         * docs/gst/gstreamer-docs.sgml:
25092         * docs/gst/gstreamer-sections.txt:
25093         * docs/gst/gstreamer.types:
25094         * docs/gst/tmpl/gstbasesink.sgml:
25095         * docs/gst/tmpl/gstbasesrc.sgml:
25096         * docs/gst/tmpl/gstbin.sgml:
25097         * docs/gst/tmpl/gstcompat.sgml:
25098         * docs/gst/tmpl/gstfakesink.sgml:
25099         * docs/gst/tmpl/gstfakesrc.sgml:
25100         * docs/gst/tmpl/gstfilesink.sgml:
25101         * docs/gst/tmpl/gstfilesrc.sgml:
25102         * docs/gst/tmpl/gstindex.sgml:
25103         * docs/manual/appendix-quotes.xml:
25104         * gst/base/gstbasesrc.h:
25105         * gst/elements/gstfakesrc.h:
25106         * gst/gstmessage.h:
25107           start pulling in base classes and elements in our docs
25108
25109 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
25110
25111         * docs/gst/Makefile.am:
25112         * docs/libs/Makefile.am:
25113           fixed make distcheck with gtk-doc 1.3
25114
25115 2005-06-23  Wim Taymans  <wim@fluendo.com>
25116
25117         * gst/gstelement.c: (gst_element_get_state_func),
25118         (gst_element_set_state), (gst_element_change_state):
25119         When the state did not change, also report NO_PREROLL
25120         when it matters.
25121
25122 2005-06-23  Wim Taymans  <wim@fluendo.com>
25123
25124         * gst/gstpad.c: (gst_pad_event_default):
25125         * gst/gstqueue.c: (gst_queue_loop):
25126         No unsafe task pausing please.
25127
25128 2005-06-23  Wim Taymans  <wim@fluendo.com>
25129
25130         * gst/schedulers/threadscheduler.c:
25131         (gst_thread_scheduler_task_start),
25132         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
25133         Ref the task before pushing it on the threadpool. This
25134         makes sure that we have a ref when the threadfunction is
25135         actually called.
25136
25137 2005-06-23  Andy Wingo  <wingo@pobox.com>
25138
25139         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
25140         offset is greater than the file's size.
25141
25142         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
25143         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
25144         * gst/gstobject.c (gst_object_class_init): Make the class lock
25145         recursive. Wim won't let me drop deep_notify. Decodebin works
25146         again, whoopdy doo.
25147
25148         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
25149         internal pad, and hacks accordingly. Doesn't do it on the target
25150         pad because we change its caps. Probably catches all cases of
25151         interest tho.
25152         (gst_ghost_pad_set_property): Connect to notify::caps as
25153         appropritate.
25154
25155         * tests/network-clock.scm (plot-simulation): Pipe data to the
25156         elite python skript.
25157
25158         * tests/network-clock-utils.scm (define-parameter): New macro,
25159         defines a parameter that can be set via the command line.
25160         (set-parameter!, parse-parameter-arguments): Command line args
25161         parser.
25162
25163         * tests/plot-data: Simple matplotlib-based plotter, takes input on
25164         stdin.
25165
25166 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
25167
25168         * gst/elements/gsttypefindelement.c:
25169         (gst_type_find_element_handle_event):
25170           Don't restart typefinding on a discont.
25171         * gst/gstelement.c: (gst_element_set_state):
25172           Debug spelling fix.
25173         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
25174           Allow changing mode of an active pad.
25175           Debug output fixes.
25176         * gst/registries/gstlibxmlregistry.c: (load_feature):
25177           Don't cast a static pad template to a normal pad template.
25178
25179 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
25180
25181         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25182         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25183           remove gst_strtoll completely, since it didn't actually do
25184           anything more than what g_ascii_strtoull already does.
25185           check for range errors when deserializing
25186           do a cast for the unsigned cases; but further fixing needs
25187           a decision on what the interpretation of "(int)" and
25188           deserialization should be for values that fall outside the
25189           type's boundaries (ie, refuse, or interpret as casting)
25190
25191 2005-06-23  Wim Taymans  <wim@fluendo.com>
25192
25193         * check/Makefile.am:
25194         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
25195         * docs/design/part-live-source.txt:
25196         * docs/design/part-states.txt:
25197         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25198         (gst_basesrc_set_live), (gst_basesrc_is_live),
25199         (gst_basesrc_get_range), (gst_basesrc_activate),
25200         (gst_basesrc_change_state):
25201         * gst/base/gstbasesrc.h:
25202         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25203         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25204         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
25205         * gst/gstelement.c: (gst_element_get_state_func),
25206         (gst_element_set_state):
25207         * gst/gstelement.h:
25208         * gst/gsttypes.h:
25209         * tools/gst-launch.c: (event_loop), (main):
25210         Added support for live sources and other elements that
25211         cannot do preroll.
25212         Updated design docs, added live-source design doc.
25213         Implemented live source functionality in basesrc
25214         Fix error condition in _bin_get_state()
25215         Implement live source handling in -launch.
25216         Added check for live sources.
25217         Fixed case in GstBin where elements were changed state
25218         multiple times.
25219
25220
25221 2005-06-23  Andy Wingo  <wingo@pobox.com>
25222
25223         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
25224         borken refcounting.
25225
25226         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
25227         gst_caps_replace takes care of this for us.
25228
25229         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
25230         gst_pad_set_caps on the target, not just its setcaps() function.
25231
25232         * tests/network-clock.scm: 
25233         * tests/network-clock-utils.scm: A network clock simulator.
25234         Something of an algorithmic testbed before doing something in C.
25235
25236 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25237
25238         * check/Makefile.am:
25239         * check/gst/capslist.h:
25240           copy over from 0.8, and add two with bitmasks specified with
25241           (int) 0xFF...
25242         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25243           add test to parse everything from capslist.h
25244         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
25245         (main):
25246           add test for structure deserialization
25247         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25248           add tests for deserialization of strings to int types
25249         * gst/gststructure.c: (gst_structure_nth_field_name):
25250         * gst/gststructure.h:
25251           add a way to get the name of a field referenced by index
25252         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25253           instead of checking if the resulting long long lies between
25254           min and max, we check if the long long would fit into
25255           a number of bytes for the final type.
25256           This fixes cases where a string represents 2^32 - 1, which
25257           when cast to int would be the (valid) -1, but is bigger than
25258           G_MAXINT
25259
25260 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25261
25262         * gst/parse/grammar.y:
25263           add a log line for type deserialization
25264
25265 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25266
25267         * check/gst/gstvalue.c: (START_TEST):
25268         * gst/gstvalue.c: (gst_value_deserialize):
25269           return long long, not int, so gint64 deserialization actually
25270           works.  Is there any flag that makes the compiler check this ?
25271           Fixes #308559
25272
25273 2005-06-22  Wim Taymans  <wim@fluendo.com>
25274
25275         * gst/gstbuffer.h:
25276         Added convenience macros for setting buffers in GValue.
25277
25278 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25279
25280         * check/gst/.cvsignore:
25281         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25282           add a test deserializing int64, and comment part out because
25283           it fails, yay !
25284
25285 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25286
25287         * check/Makefile.am:
25288         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
25289         * testsuite/Makefile.am:
25290         * testsuite/caps/Makefile.am:
25291         * testsuite/caps/value_serialize.c:
25292         * testsuite/test_gst_init.c:
25293           move a value_serialize test over
25294
25295 2005-06-20  Wim Taymans  <wim@fluendo.com>
25296
25297         * gst/gstpad.c:
25298         Small doc updates.
25299         
25300         * gst/gstvalue.c: (gst_value_compare_buffer),
25301         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
25302         (gst_value_compare_flags), (gst_value_serialize_flags),
25303         (gst_value_deserialize_flags), (_gst_value_initialize):
25304         Fix serialisation of buffers, they are not boxed types anymore
25305
25306 2005-06-20  Wim Taymans  <wim@fluendo.com>
25307
25308         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25309         Testcase to show error in buffer-on-caps serialisation.
25310
25311 2005-06-20  Andy Wingo  <wingo@pobox.com>
25312
25313         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
25314         will be adding to later.
25315
25316         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
25317         if its socks fill with rocks.
25318         (gst_system_clock_obtain): Set the name on object construction.
25319         Avoid double-checked locking.
25320
25321 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
25322
25323         * gst/gsturi.c: (gst_element_make_from_uri):
25324           Fix potential endless loop.
25325
25326 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25327
25328         * check/Makefile.am:
25329           add gsttag
25330         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
25331         (main):
25332           move over from testsuite dir and clean up
25333         * configure.ac:
25334         * gst/gsttag.c:
25335         * testsuite/Makefile.am:
25336         * testsuite/tags/.cvsignore:
25337         * testsuite/tags/Makefile.am:
25338         * testsuite/tags/merge.c:
25339           remove testsuite/tags
25340
25341 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25342
25343         * docs/gst/gstreamer-sections.txt:
25344         * docs/gst/tmpl/gstenumtypes.sgml:
25345         * win32/gstenumtypes.c:
25346           clean up documentation build a little
25347
25348 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25349
25350         * check/gstcheck.h:
25351           add macros for checking refcounts on objects and caps
25352         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
25353           add some more unit tests
25354         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25355         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
25356           fix leaked refcounts (I hope :)) so unittest works
25357         * gst/gstpad.h:
25358           whitespace removal
25359
25360 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25361
25362         * configure.ac: back to HEAD
25363
25364 === release 0.9.1 ===
25365
25366 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
25367
25368         * NEWS:
25369         * RELEASE:
25370           updated
25371
25372 2005-06-17  Andy Wingo  <wingo@pobox.com>
25373
25374         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
25375         assert; it's always possible that the pad gets deactivated in
25376         between the checks in gstpad.c and the implementation. Rely on
25377         finish_preroll() to return a FLUSHING or similar instead of on the
25378         assert.
25379         
25380         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
25381         clock and post an EOS message if we come out of finish_preroll in
25382         the playing state.
25383
25384 2005-06-16  David Schleef  <ds@schleef.org>
25385
25386         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25387         (gst_capsfilter_set_property): Allow NULL as possible value
25388         for filter_caps property, indicating GST_CAPS_ANY.
25389
25390 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25391
25392         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
25393           fix debug output
25394         * gst/schedulers/Makefile.am:
25395           use libgst prefix
25396         * gstreamer.spec.in:
25397           fix spec for it
25398
25399 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25400
25401         * gstreamer.spec.in:
25402           clean up
25403
25404 2005-06-08  Andy Wingo  <wingo@pobox.com>
25405
25406         * gst/gstutils.c: RPAD fixes all around.
25407         (gst_element_link_pads): Refcounting fixes.
25408
25409         * tools/gst-inspect.c:
25410         * tools/gst-xmlinspect.c:
25411         * parse/grammar.y:
25412         * gst/base/gsttypefindhelper.c:
25413         * gst/base/gstbasesink.c:
25414         * gst/gstqueue.c: RPAD fixes.
25415
25416         * gst/gstghostpad.h:
25417         * gst/gstghostpad.c: New ghost pad implementation as full proxy
25418         pads. The tricky thing is they provide both source and sink
25419         interfaces, since they proxy the internal pad for the external
25420         pad, and vice versa. Implement with lower-level ProxyPad objects,
25421         with the interior proxy pad as a child of the exterior ghost pad.
25422         Should write a doc on this.
25423         
25424         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
25425         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
25426         gst_object API.
25427         
25428         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
25429         pads are real pads. No ghost pads in this file. Not documenting
25430         the myriad s/RPAD/PAD/ and REALIZE fixes.
25431         (gst_pad_class_init): Add properties for "direction" and
25432         "template". Both are construct-only, so they can't change during
25433         the life of the pad. Fixes properly deriving from GstPad.
25434         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
25435         derived objects, just set properties when creating the objects via
25436         g_object_new.
25437         (gst_pad_get_parent): Implement as a function, return NULL if the
25438         parent is not an element.
25439         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
25440         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
25441         
25442         * gst/gstobject.c (gst_object_class_init): Make name a construct
25443         property. Don't set it in the object init.
25444
25445         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
25446         with UNKNOWN direction.
25447         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
25448         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
25449         (gst_element_remove_pad): Remove ghost-pad special cases.
25450         (gst_element_pads_activate): Remove rpad cruft.
25451
25452         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
25453         catch the pad's-parent-not-an-element case.
25454
25455         * gst/gst.h: Include gstghostpad.h.
25456
25457         * gst/gst.c (init_post): No more real, ghost pads.
25458
25459         * gst/Makefile.am: Add gstghostpad.[ch].
25460
25461         * check/Makefile.am:
25462         * check/gst/gstbin.c:
25463         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
25464         into a bin creates ghost pads, and that the refcounts are right.
25465         Partly moved from gstbin.c.
25466
25467 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25468
25469         * check/gst-libs/.cvsignore:
25470         * check/gst/.cvsignore:
25471         * check/pipelines/.cvsignore:
25472           ignore more
25473         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
25474         (START_TEST), (cleanup_suite), (main):
25475           add some tests related to cleanup after running pipelines
25476
25477 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25478
25479         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
25480           add a testsuite for GstBuffer
25481
25482 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25483
25484         * gst/gstminiobject.h:
25485           add defines for accessing the refcount
25486
25487 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
25488
25489         * Makefile.am: added support for html unit test coverage reports
25490
25491 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
25492
25493         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25494           Free existing caps if the capsfilter changes. Add a FIXME about
25495           setting those caps on the pads.
25496
25497         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
25498           Before adding a ghost pad to a parent bin, check that there isn't
25499           already one for the element on the bin. Prevents infinite recursion
25500           when using decodebin in parse pipelines. Andy says he'll rewrite the
25501           way this works anyway, so ignore the hack.
25502
25503 2005-06-02  Andy Wingo  <wingo@pobox.com>
25504
25505         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
25506         file size, pass it on to the type find helper.
25507
25508         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
25509         segment_start and segment_end properly according to the seek
25510         method. Segment_end is still a bit flaky because offset can be
25511         negative for CUR and END cases, but it takes -1 as an "unset"
25512         value.
25513
25514 2005-06-02  Wim Taymans  <wim@fluendo.com>
25515
25516         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
25517         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
25518         (gst_basesink_activate):
25519         * gst/base/gstbasesink.h:
25520         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25521         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25522         (gst_pad_query), (gst_pad_start_task):
25523         * gst/gstpad.h:
25524         * gst/gstqueue.c: (gst_queue_bufferalloc),
25525         (gst_queue_handle_sink_event), (gst_queue_chain):
25526         Bufferalloc: return GstFlowReturn to more accuratly report
25527         why allocation failed.
25528
25529 2005-06-02  Wim Taymans  <wim@fluendo.com>
25530
25531         * gst/gstpipeline.c: (gst_pipeline_send_event):
25532         Take snapshot of state without blocking.
25533
25534 2005-06-02  Wim Taymans  <wim@fluendo.com>
25535
25536         * docs/design/part-TODO.txt:
25537         * docs/design/part-caps.txt:
25538         * docs/design/part-clocks.txt:
25539         * docs/design/part-negotiation.txt:
25540         * docs/design/part-preroll.txt:
25541         Small doc updates 
25542
25543 2005-05-30  Wim Taymans  <wim@fluendo.com>
25544
25545         * gst/elements/gstidentity.c: (gst_identity_event),
25546         (gst_identity_transform), (gst_identity_get_property):
25547         Protect last_message property as it is accessed from
25548         multiple threads.
25549
25550 2005-05-30  Wim Taymans  <wim@fluendo.com>
25551
25552         * gst/gstelement.c: (gst_element_init),
25553         (gst_element_pads_activate), (gst_element_change_state):
25554         Slicker pad activation code.
25555
25556 2005-05-30  Wim Taymans  <wim@fluendo.com>
25557
25558         * gst/Makefile.am:
25559         * gst/gstelement.h:
25560         * gst/gstelementfactory.h:
25561         * gst/gsttypes.h:
25562         Move elementfactory methods to separate .h file.
25563
25564 2005-05-30  Wim Taymans  <wim@fluendo.com>
25565
25566         * docs/design/part-overview.txt:
25567         * gst/gstsystemclock.h:
25568         Small typo fixes, doc updates.
25569
25570 2005-05-30  Wim Taymans  <wim@fluendo.com>
25571
25572         * gst/gst.c: (gst_init_get_popt_table), (init_post),
25573         (init_popt_callback):
25574         Remove cpu-opt flag.
25575
25576 2005-05-30  Wim Taymans  <wim@fluendo.com>
25577
25578         * gst/gstbuffer.c: (gst_subbuffer_finalize),
25579         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
25580         * gst/gstbuffer.h:
25581         Avoid typechecking in places where not needed.
25582         Added accessor for malloc_data.
25583
25584 2005-05-30  Wim Taymans  <wim@fluendo.com>
25585
25586         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
25587         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
25588         (gst_pad_configure_sink), (gst_pad_configure_src),
25589         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
25590         (gst_pad_start_task):
25591         Propagate errors from _set_caps() in configure_src/sink
25592         functions instead of returning TRUE.
25593         FLUSH events can travel up and downstream
25594
25595
25596 2005-05-30  Wim Taymans  <wim@fluendo.com>
25597
25598         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25599         (gst_basesink_activate):
25600         Handle EOS in preroll.
25601
25602 2005-05-30  Wim Taymans  <wim@fluendo.com>
25603
25604         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25605         (gst_queue_loop), (gst_queue_handle_src_event):
25606         Remove old pieces of code
25607         Flushing the queue in an upstream event is a very bad idea.
25608
25609 2005-05-26  Andy Wingo  <wingo@pobox.com>
25610
25611         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
25612         gst_value_set_mini_object so as to add a ref on the object (which
25613         will be removed when the value is unset).
25614
25615         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
25616         arg type in ::handoff.
25617
25618         * gst/gstelement.c (gst_element_change_state): Also deactivate
25619         pads in READY->NULL, just in case the element didn't make it to
25620         PAUSED. Wingo tested, Wim approved.
25621
25622 2005-05-26  Wim Taymans  <wim@fluendo.com>
25623
25624         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25625         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25626         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
25627         A flushing pad cannot be used to alloc_buffer from.
25628
25629 2005-05-26  Wim Taymans  <wim@fluendo.com>
25630
25631         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
25632         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
25633         (gst_bus_source_dispatch), (gst_bus_source_finalize),
25634         (gst_bus_create_watch), (gst_bus_add_watch_full):
25635         * gst/gstbus.h:
25636         Implement a real GSource and use g_main_context_wakeup() to
25637         signal new messages instead of the socketpair.
25638
25639 2005-05-25  Wim Taymans  <wim@fluendo.com>
25640
25641         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
25642         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
25643         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25644         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25645         (gst_pad_send_event), (gst_pad_start_task):
25646         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
25647         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25648         (gst_queue_sink_activate), (gst_queue_src_activate),
25649         (gst_queue_change_state):
25650         * gst/gstqueue.h:
25651         Fix state changes for non sinks. We now change sinks, then elements
25652         with unconnected srcpads, then the rest.
25653         More efficient queue unlocking in flush and state changes.
25654         Set the pad activate mode even if it does not have an activate
25655         function.
25656
25657 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25658
25659         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
25660           Don't go in pull mode for non-seekable sources.
25661         * gst/elements/gsttypefindelement.h:
25662         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25663         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
25664         (free_entry), (stop_typefinding),
25665         (gst_type_find_element_handle_event), (find_peek),
25666         (gst_type_find_element_chain), (do_pull_typefind),
25667         (gst_type_find_element_change_state):
25668           Allow typefinding (w/o seeking) in push-mode, simplified version
25669           of what was in 0.8.
25670         * gst/gstutils.c: (gst_buffer_join):
25671         * gst/gstutils.h:
25672           gst_buffer_join() from 0.8.
25673
25674 2005-05-25  Wim Taymans  <wim@fluendo.com>
25675
25676         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25677         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25678         (gst_pad_send_event), (gst_pad_start_task):
25679         Disable attempt at mode switching until it is figured out.
25680
25681 2005-05-25  Wim Taymans  <wim@fluendo.com>
25682
25683         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
25684         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25685         (gst_basesink_finish_preroll), (gst_basesink_chain),
25686         (gst_basesink_loop), (gst_basesink_activate),
25687         (gst_basesink_change_state):
25688         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
25689         (gst_basesrc_get_range), (gst_basesrc_loop),
25690         (gst_basesrc_activate):
25691         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25692         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25693         (gst_real_pad_init), (gst_real_pad_set_property),
25694         (gst_real_pad_get_property), (gst_pad_set_active),
25695         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
25696         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
25697         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
25698         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
25699         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25700         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
25701         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
25702         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25703         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
25704         (gst_pad_stop_task):
25705         * gst/gstpad.h:
25706         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25707         (gst_queue_loop), (gst_queue_src_activate):
25708         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
25709         (gst_task_get_state):
25710         * gst/gsttask.h:
25711         * gst/schedulers/threadscheduler.c:
25712         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
25713         Implement gst_pad_pause/start/stop_task(), take STREAM lock
25714         in task function.
25715         Remove ACTIVE pad flag, use FLUSHING everywhere
25716         Added _pad_chain(), _pad_get_range() to call chain/getrange 
25717         functions.
25718         Add locks around IS_FLUSHING when reading.
25719         Take STREAM lock in chain(), get_range() functions so plugins
25720         don't need to take it anymore.
25721         
25722
25723
25724 2005-05-25  Wim Taymans  <wim@fluendo.com>
25725
25726         * tools/gst-launch.c: (event_loop):
25727         Unref message after using its contents instead of
25728         before.
25729
25730 2005-05-24  Wim Taymans  <wim@fluendo.com>
25731
25732         * docs/design/draft-ghostpads.txt:
25733         * docs/design/draft-push-pull.txt:
25734         * docs/design/draft-query.txt:
25735         * docs/design/part-overview.txt:
25736         Docs updates, added general overview doc.
25737
25738 2005-05-21  David Schleef  <ds@schleef.org>
25739
25740         * docs/gst/tmpl/old/GstBin.sgml:
25741         * docs/gst/tmpl/old/GstBuffer.sgml:
25742         * docs/gst/tmpl/old/GstCaps.sgml:
25743         * docs/gst/tmpl/old/GstClock.sgml:
25744         * docs/gst/tmpl/old/GstCompat.sgml:
25745         * docs/gst/tmpl/old/GstData.sgml:
25746         * docs/gst/tmpl/old/GstElement.sgml:
25747         * docs/gst/tmpl/old/GstEvent.sgml:
25748         * docs/gst/tmpl/old/GstIndex.sgml:
25749         * docs/gst/tmpl/old/GstStructure.sgml:
25750         * docs/gst/tmpl/old/GstTag.sgml:
25751         * docs/gst/tmpl/old/cothreads.sgml:
25752         * docs/gst/tmpl/old/cothreads_compat.sgml:
25753         * docs/gst/tmpl/old/gettext.sgml:
25754         * docs/gst/tmpl/old/gobject2gtk.sgml:
25755         * docs/gst/tmpl/old/grammar.tab.sgml:
25756         * docs/gst/tmpl/old/gst-i18n-app.sgml:
25757         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
25758         * docs/gst/tmpl/old/gst_private.sgml:
25759         * docs/gst/tmpl/old/gstaggregator.sgml:
25760         * docs/gst/tmpl/old/gstarch.sgml:
25761         * docs/gst/tmpl/old/gstatomic_impl.sgml:
25762         * docs/gst/tmpl/old/gstbufferstore.sgml:
25763         * docs/gst/tmpl/old/gstdata_private.sgml:
25764         * docs/gst/tmpl/old/gstdisksink.sgml:
25765         * docs/gst/tmpl/old/gstdisksrc.sgml:
25766         * docs/gst/tmpl/old/gstelementfactory.sgml:
25767         * docs/gst/tmpl/old/gstextratypes.sgml:
25768         * docs/gst/tmpl/old/gstfakesink.sgml:
25769         * docs/gst/tmpl/old/gstfakesrc.sgml:
25770         * docs/gst/tmpl/old/gstfdsink.sgml:
25771         * docs/gst/tmpl/old/gstfdsrc.sgml:
25772         * docs/gst/tmpl/old/gstfilesink.sgml:
25773         * docs/gst/tmpl/old/gstfilesrc.sgml:
25774         * docs/gst/tmpl/old/gsthttpsrc.sgml:
25775         * docs/gst/tmpl/old/gstidentity.sgml:
25776         * docs/gst/tmpl/old/gstindexfactory.sgml:
25777         * docs/gst/tmpl/old/gstmarshal.sgml:
25778         * docs/gst/tmpl/old/gstmd5sink.sgml:
25779         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
25780         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
25781         * docs/gst/tmpl/old/gstpadtemplate.sgml:
25782         * docs/gst/tmpl/old/gstpipefilter.sgml:
25783         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
25784         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
25785         * docs/gst/tmpl/old/gstshaper.sgml:
25786         * docs/gst/tmpl/old/gstspider.sgml:
25787         * docs/gst/tmpl/old/gstspideridentity.sgml:
25788         * docs/gst/tmpl/old/gststatistics.sgml:
25789         * docs/gst/tmpl/old/gsttee.sgml:
25790         * docs/gst/tmpl/old/gsttimecache.sgml:
25791         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
25792         * docs/gst/tmpl/old/gstxmlregistry.sgml:
25793         * docs/gst/tmpl/old/gthread-cothreads.sgml:
25794         * docs/gst/tmpl/old/types.sgml:
25795           I didn't intend to add these or check them in.
25796
25797 2005-05-19  David Schleef  <ds@schleef.org>
25798
25799         * configure.ac: Use -no-common everywhere.  In a sane world, it
25800           would be the default in libtool, because without it, you can't
25801           build DLLs on Windows.
25802         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
25803         * docs/gst/gstreamer-sections.txt:
25804         * docs/gst/tmpl/gstcpu.sgml:
25805         * docs/gst/tmpl/gstdata.sgml:
25806         * docs/gst/tmpl/gstthread.sgml:
25807
25808 2005-05-19  David Schleef  <ds@schleef.org>
25809
25810         * gst/gstminiobject.c: (gst_value_set_mini_object),
25811         (gst_value_take_mini_object), (gst_value_get_mini_object):
25812         * gst/gstminiobject.h: Add GValue set/get functions.
25813
25814 2005-05-19  Wim Taymans  <wim@fluendo.com>
25815
25816         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
25817         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
25818         (gst_subbuffer_init), (gst_buffer_is_span_fast):
25819         * gst/gstbuffer.h:
25820         * gst/gstbus.c: (gst_bus_post):
25821         * gst/gstelement.c: (gst_element_get_random_pad):
25822         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
25823         Make subbufer unref the parent in finalize.
25824         some more debugging info.
25825
25826
25827 2005-05-19  Wim Taymans  <wim@fluendo.com>
25828
25829         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25830         (gst_basesink_init), (gst_basesink_finalize),
25831         (gst_basesink_activate), (gst_basesink_change_state):
25832         Don't free preroll queue too early.
25833
25834 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25835
25836         * gst/Makefile.am:
25837         * gst/ROADMAP:
25838           Hi, I'm outdated. Please shoot me.
25839
25840 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25841
25842         * gst/gstpipeline.c: (gst_pipeline_send_event):
25843           Do not access variables after they have been deleted.
25844
25845 2005-05-19  Wim Taymans  <wim@fluendo.com>
25846
25847         * tools/gst-inspect.c: (print_plugin_features):
25848         A plugin feature does unfortunatly not use the
25849         object name yet...
25850
25851 2005-05-18  Wim Taymans  <wim@fluendo.com>
25852
25853         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
25854         Port _span() functions to new subbuffers.
25855
25856 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25857
25858         * gst/gstbin.c: (gst_bin_add_func):
25859           Fix clock settery in bins when adding kids after the clock has
25860           been selected.
25861
25862 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25863
25864         * gst/elements/gstidentity.c: (gst_identity_class_init):
25865           Workaround until signals support GstMiniObject.
25866
25867 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
25868
25869         * gst/gstbuffer.c:
25870         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
25871
25872 2005-05-18  Wim Taymans  <wim@fluendo.com>
25873
25874         * gst/base/Makefile.am:
25875         * gst/base/gstadapter.c: (gst_adapter_base_init),
25876         (gst_adapter_class_init), (gst_adapter_init),
25877         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
25878         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
25879         (gst_adapter_flush), (gst_adapter_available),
25880         (gst_adapter_available_fast):
25881         * gst/base/gstadapter.h:
25882         Ported and added adapter to the base classes.
25883
25884 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25885
25886         * gst/gst.c:
25887         * gst/gstmessage.c:
25888           Make sure the class is reffed/unreffed once before threads can be
25889           used.  Fixes #304551.
25890
25891 2005-05-17  Wim Taymans  <wim@fluendo.com>
25892
25893         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
25894         (gst_basesink_chain_unlocked), (gst_basesink_activate):
25895         * gst/gstminiobject.c: (gst_mini_object_get_type),
25896         (gst_mini_object_free):
25897         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
25898         (gst_pad_push), (gst_pad_push_event):
25899         * gst/gstqueue.c: (gst_queue_change_state):
25900         Don't queue buffers in basesink when we are flushing.
25901         Unref buffer when flushing in basesink.
25902         Flush queue when going to READY
25903         Unref buffer when _push() returns an error.
25904         Don't free MiniObject instance when refcount is incremented
25905         in _finalize() so that we can recover objects.
25906
25907 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
25908
25909         * docs/manual/advanced-schedulers.xml:
25910         * docs/manual/appendix-checklist.xml:
25911         * docs/pwg/advanced-clock.xml:
25912         * docs/pwg/advanced-interfaces.xml:
25913         * docs/pwg/advanced-request.xml:
25914         * docs/pwg/advanced-types.xml:
25915         * docs/pwg/intro-preface.xml:
25916         * examples/plugins/example.c: (gst_example_get_type),
25917         (gst_example_class_init), (gst_example_chain),
25918         (gst_example_set_property), (gst_example_get_property),
25919         (gst_example_change_state), (plugin_init):
25920         * examples/plugins/example.h:
25921           small doc fixes
25922
25923 2005-05-17  Wim Taymans  <wim@fluendo.com>
25924
25925         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
25926         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
25927         * gst/gstqueue.c: (gst_queue_change_state):
25928         Clear queue when going to READY.
25929         Remove IN_SETCAPS flag too.
25930
25931 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
25932
25933         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
25934           Remove implicit cast from gboolean to GstElementStateReturn;
25935           make sure we still return failure in paused => ready case if
25936           the parent class fails to change state and our own stop 
25937           vfunc succeeds.
25938
25939 2005-05-17  Wim Taymans  <wim@fluendo.com>
25940
25941         * tools/gst-launch.c: (event_loop):
25942         Message was unreffed too soon.
25943
25944 2005-05-16  Andy Wingo  <wingo@pobox.com>
25945
25946         * gst/gstbin.c (sink_iterator_filter): Err... um...
25947
25948         * check/gst/gstbin.c (test_ghost_pads): New test for the
25949         ghosting-if-elements-not-in-same-bin behavior.
25950
25951 2005-05-16  David Schleef  <ds@schleef.org>
25952
25953         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
25954         accessing refcount directly.
25955
25956 2005-05-15  David Schleef  <ds@schleef.org>
25957
25958         * check/Makefile.am: remove GstData checks
25959         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
25960         * gst/Makefile.am: add miniobject, remove data
25961         * gst/gst.h: add miniobject, remove data
25962         * gst/gstdata.c: remove
25963         * gst/gstdata.h: remove
25964         * gst/gstdata_private.h: remove
25965         * gst/gsttypes.h: remove GstEvent and GstMessage
25966         * gst/gstelement.c: (gst_element_post_message): fix for API changes
25967         * gst/gstmarshal.list: change BOXED -> OBJECT
25968
25969         Implement GstMiniObject.
25970         * gst/gstminiobject.c:
25971         * gst/gstminiobject.h:
25972
25973         Modify to be subclasses of GstMiniObject.
25974         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
25975         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
25976         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
25977         (gst_subbuffer_get_type), (gst_subbuffer_init),
25978         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
25979         (gst_buffer_span):
25980         * gst/gstbuffer.h:
25981         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
25982         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
25983         (_gst_event_copy), (gst_event_new):
25984         * gst/gstevent.h:
25985         * gst/gstmessage.c: (_gst_message_initialize),
25986         (gst_message_get_type), (gst_message_class_init),
25987         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
25988         (gst_message_new), (gst_message_new_error),
25989         (gst_message_new_warning), (gst_message_new_tag),
25990         (gst_message_new_state_changed), (gst_message_new_application):
25991         * gst/gstmessage.h:
25992         * gst/gstprobe.c: (gst_probe_perform),
25993         (gst_probe_dispatcher_dispatch):
25994         * gst/gstprobe.h:
25995         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
25996         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
25997         (_gst_query_copy), (gst_query_new):
25998
25999         Update elements for GstData -> GstMiniObject changes
26000         * gst/gstquery.h:
26001         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
26002         (gst_queue_chain), (gst_queue_loop):
26003         * gst/elements/gstbufferstore.c:
26004         (gst_buffer_store_add_buffer_func),
26005         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
26006         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26007         (gst_fakesink_render):
26008         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26009         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
26010         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
26011         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
26012         (gst_filesrc_create_read):
26013         * gst/elements/gstidentity.c: (gst_identity_class_init):
26014         * gst/elements/gsttypefindelement.c:
26015         (gst_type_find_element_src_event), (free_entry_buffers),
26016         (gst_type_find_element_handle_event):
26017         * libs/gst/dataprotocol/dataprotocol.c:
26018         (gst_dp_header_from_buffer):
26019         * libs/gst/dataprotocol/dataprotocol.h:
26020         * libs/gst/dataprotocol/dp-private.h:
26021
26022 2005-05-15  David Schleef  <ds@schleef.org>
26023
26024         * gst/elements/gstelements.c: Don't include headers that were
26025         just removed.
26026
26027 2005-05-15  David Schleef  <ds@schleef.org>
26028
26029         * gst/elements/Makefile.am: Remove some elements that don't
26030         need to be in the core (or even exist at all).
26031         * gst/elements/gstaggregator.c:
26032         * gst/elements/gstaggregator.h:
26033         * gst/elements/gstmd5sink.c:
26034         * gst/elements/gstmd5sink.h:
26035         * gst/elements/gstmultifilesrc.c:
26036         * gst/elements/gstmultifilesrc.h:
26037         * gst/elements/gstpipefilter.c:
26038         * gst/elements/gstpipefilter.h:
26039         * gst/elements/gstshaper.c:
26040         * gst/elements/gstshaper.h:
26041         * gst/elements/gststatistics.c:
26042         * gst/elements/gststatistics.h:
26043         * po/POTFILES.in: Remove above files.
26044
26045 2005-05-14  Andy Wingo  <wingo@pobox.com>
26046
26047         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
26048         so as to get the refs right.
26049         (sink_iterator_filter): New function, wraps bin_element_is_sink,
26050         unreffing objects that don't pass the filter.
26051
26052         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
26053         gst_element_set_bus.
26054         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
26055         normal cases, this will destroy the bus.
26056
26057         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
26058         object.
26059
26060         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
26061         has no sinks.
26062
26063 2005-05-13  Andy Wingo  <wingo@pobox.com>
26064
26065         * gst/gstutils.c (gst_element_link_pads): Instead of calling
26066         gst_pad_link, call pad_link_maybe_ghosting,
26067         (pad_link_maybe_ghosting): Links pads, making sure that the
26068         elements being linked are in the same bin.
26069         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
26070         Helpers for pad_link_maybe_ghosting.
26071
26072 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
26073
26074         * configure.ac:
26075           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
26076
26077 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
26078
26079         * docs/design/part-element-source.txt:
26080           Mention GstPushSrc
26081
26082 2005-05-12  Wim Taymans  <wim@fluendo.com>
26083
26084         * gst/base/gstbasesink.c: (gst_basesink_init),
26085         (gst_basesink_activate):
26086         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
26087         (gst_basesrc_is_seekable):
26088         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
26089         (bin_element_is_sink), (gst_bin_change_state):
26090         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26091         * gst/gstelement.h:
26092         Identify sinks by their flag to avoid overly complicated
26093         checks (fow now).
26094         Do state changes even for elements not reachable from the
26095         sinks.
26096         BaseSink is a sink now :)
26097         Some more debugging info in the basesrc.
26098
26099
26100 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26101
26102         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
26103           Implement _query on a bin, similar to _send_event.
26104
26105 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
26106
26107         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
26108           Discont event offset format should be GST_FORMAT_BYTES,
26109           not GST_FORMAT_TIME.
26110
26111 2005-05-12  Wim Taymans  <wim@fluendo.com>
26112
26113         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
26114         Same fix as Ronald's but without the signal. 
26115
26116 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26117
26118         * gst/gstutils.c: (gst_element_query_position):
26119           No, an element is not a pad.
26120
26121 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26122
26123         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
26124         (gst_bin_get_state):
26125           If a child is removed from a bin while we remove the child from
26126           the bin and while we're retrieving its state, signal this to the
26127           get_state function so we abort the wait (instead of waiting for
26128           a timeout) and can immediately re-iterate over all other elements.
26129
26130 2005-05-12  Wim Taymans  <wim@fluendo.com>
26131
26132         * gst/base/Makefile.am:
26133         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
26134         (gst_basesrc_start):
26135         * gst/base/gstbasesrc.h:
26136         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
26137         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
26138         (gst_pushsrc_init), (gst_pushsrc_create):
26139         * gst/base/gstpushsrc.h:
26140         Added is_seekable to BaseSrc
26141         Added simple PushSrc.
26142
26143 2005-05-11  Wim Taymans  <wim@fluendo.com>
26144
26145         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26146         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26147         (gst_element_link_pads), (gst_element_query_position),
26148         (gst_element_query_convert), (intersect_caps_func),
26149         (gst_pad_query_position), (gst_pad_query_convert):
26150         Fix refcounting in utils function.
26151         No point in trying to activate a pad when it's added, it could
26152         be added from the state change function and then we deadlock, the
26153         element has to decide what to do.
26154
26155 2005-05-10  Andy Wingo  <wingo@pobox.com>
26156
26157         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
26158         *all* the arguments.
26159
26160         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
26161         stream lock if it's a FLUSH_DONE; normal flushes don't get the
26162         lock (according to the docs -- if this is wrong change the docs).
26163
26164         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
26165         flush messages in the NULL state.
26166
26167         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
26168         message immediately and return.
26169         (gst_bus_set_flushing): New function. If a bus is flushing, it
26170         flushes out any queued messages and immediately unrefs new
26171         messages. This is so when an element goes to NULL, all of the
26172         unhandled messages coming from it can be freed, and their
26173         references to the element dropped. In other words: message source
26174         ref considered harmful :P
26175
26176         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
26177         we're finished with it.
26178
26179         * gst/gstmessage.c (gst_message_new_state_changed): 
26180
26181 2005-05-10  Wim Taymans  <wim@fluendo.com>
26182
26183         * gst/gstvalue.c: (gst_value_compare_flags),
26184         (gst_value_serialize_flags), (gst_value_deserialize_flags),
26185         (_gst_value_initialize):
26186         Added flags serialize/deserialize/compare code.
26187
26188 2005-05-09  Andy Wingo  <wingo@pobox.com>
26189
26190         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
26191         Intersect the peer's caps with our caps.
26192
26193 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26194
26195         * gst/base/gsttypefindhelper.c: (helper_find_peek):
26196         * gst/elements/gsttypefindelement.c: (find_peek):
26197           Handle negative offsets better. Fixes decodebin.
26198
26199 2005-05-09  Wim Taymans  <wim@fluendo.com>
26200
26201         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
26202         (gst_base_transform_event):
26203         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
26204         Implement accept_caps.
26205         Fix silly lock/unlock mismatch in base class.
26206
26207 2005-05-09  Wim Taymans  <wim@fluendo.com>
26208
26209         * docs/design/draft-push-pull.txt:
26210         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
26211         * gst/elements/gstfilesink.c: (gst_filesink_init),
26212         (gst_filesink_query):
26213         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26214         (gst_type_find_handle_src_query), (find_element_get_length):
26215         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
26216         * gst/gstelement.h:
26217         * gst/gstmessage.c:
26218         * gst/gstmessage.h:
26219         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
26220         (gst_real_pad_get_caps_unlocked),
26221         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
26222         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26223         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
26224         (gst_real_pad_dispose), (gst_real_pad_finalize),
26225         (gst_pad_load_and_link), (gst_pad_save_thyself),
26226         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
26227         (gst_pad_check_pull_range), (gst_pad_pull_range),
26228         (gst_pad_template_get_type), (gst_pad_template_class_init),
26229         (gst_pad_template_init), (gst_pad_template_dispose),
26230         (name_is_valid), (gst_static_pad_template_get),
26231         (gst_pad_template_new), (gst_static_pad_template_get_caps),
26232         (gst_pad_template_get_caps), (gst_pad_set_element_private),
26233         (gst_pad_get_element_private), (gst_pad_start_task),
26234         (gst_pad_pause_task), (gst_pad_stop_task),
26235         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
26236         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
26237         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
26238         (gst_ghost_pad_new):
26239         * gst/gstpad.h:
26240         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
26241         (gst_query_new_position), (gst_query_set_position),
26242         (gst_query_parse_position), (gst_query_new_convert),
26243         (gst_query_set_convert), (gst_query_parse_convert):
26244         * gst/gstquery.h:
26245         * gst/gstqueryutils.c:
26246         * gst/gstqueryutils.h:
26247         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26248         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26249         (gst_queue_handle_src_query):
26250         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26251         (gst_element_query_position), (gst_element_query_convert),
26252         (intersect_caps_func), (gst_pad_query_position),
26253         (gst_pad_query_convert):
26254         * gst/gstutils.h:
26255         * tools/gst-inspect.c: (print_pad_info):
26256         * tools/gst-xmlinspect.c: (print_element_info):
26257         Remove old query functions. Ported old code.
26258         Added position/convert helper functions to gstutils.
26259         Reordered gstpad.c code, grouping relevant things.
26260         Remove gst_message_new(), always need to speficy a specific
26261         message.
26262
26263
26264 2005-05-09  Andy Wingo  <wingo@pobox.com>
26265
26266         * gst/gstiterator.h: Add some includes.
26267
26268         * gst/gstqueryutils.h: Include more headers.
26269
26270         * gst/gstpad.h:
26271         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
26272         some uses of gst_pad_query.
26273
26274         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
26275         NULL out parameters.
26276         (gst_query_new_position): New proc, allocates a new position
26277         query.
26278
26279         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
26280         gstqueryutils.c to the build.
26281
26282         * gst/gststructure.c (gst_structure_set_valist): Implement with
26283         the generic G_VALUE_COLLECT.
26284         
26285 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
26286
26287         * gst/Makefile.am: (gst_headers):
26288         Added gstqueryutils.h to the list of headers to install, that was
26289         a 'nachty' move wingo :)
26290
26291 2005-05-06  Andy Wingo  <wingo@pobox.com>
26292
26293         * gst/gstquery.h
26294         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
26295         GstData, init a memchunk.
26296         (standard_definitions): Add a few query types, deprecate a few.
26297         (gst_query_get_type): New proc.
26298         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
26299         implementation.
26300         (gst_query_new_application, gst_query_get_structure): New public
26301         procs.
26302
26303         * docs/design/draft-query.txt: Removed LINKS from the query types,
26304         because all the rest can be dispatched to other pads -- seemed
26305         ugly to have a query that couldn't be dispatched. internal_links
26306         is fine as a pad method.
26307
26308         * gst/gstpad.h: Add query2 as a pad method, add the new functions
26309         in gstpad.c, but maintain binary compatibility for the moment.
26310         Will fix before 0.9 is out.
26311
26312         * gst/gstqueryutils.c: 
26313         * gst/gstqueryutils.h: New files, implement 3 methods for each
26314         query type: parse_query, parse_response, and set. Probably need an
26315         allocator as well.
26316
26317         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
26318
26319         * gst/elements/gstfilesink.c (gst_filesink_query2):
26320         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
26321         query_types, and formats methods.
26322
26323         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
26324         (gst_pad_set_query2_function): New functions.
26325         (gst_real_pad_init): Set query2_default as the default query2
26326         function. Basically just dispatches to internally linked pads.
26327
26328         Needs review!
26329         
26330         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
26331         without using the atomic operations. Only one thread can possibly
26332         be accessing the data at this point. Changed so as to avoid
26333         gst_atomic operations.
26334
26335 2005-05-06  Wim Taymans  <wim@fluendo.com>
26336
26337         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
26338         Also set caps if we use the fallback buffer alloc.
26339
26340 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
26341
26342         * docs/gst/Makefile.am:
26343         * docs/gst/gstreamer-docs.sgml:
26344         * docs/gst/gstreamer-sections.txt:
26345         * docs/gst/tmpl/gstatomic.sgml:
26346         * docs/gst/tmpl/gstmemchunk.sgml:
26347         * testsuite/elements/struct_i386.h:
26348         * win32/GStreamer.vcproj:
26349         * win32/Makefile:
26350           Purge GstAtomic stuff from docs and win32 makefiles as well
26351
26352 2005-05-06  Wim Taymans  <wim@fluendo.com>
26353
26354         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
26355         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
26356         * gst/gstpad.c: (gst_pad_peer_get_caps):
26357         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26358         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26359         (gst_queue_src_activate), (gst_queue_change_state):
26360         * gst/gstqueue.h:
26361         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26362         (intersect_caps_func):
26363         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
26364         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
26365         Some fixes for the peer_get_caps() change.
26366
26367 2005-05-06  Wim Taymans  <wim@fluendo.com>
26368
26369         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26370         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
26371         (gst_basesink_activate):
26372         Actually do something with error codes returned from the push
26373         functions.
26374
26375 2005-05-06  Wim Taymans  <wim@fluendo.com>
26376
26377         * docs/design/part-element-sink.txt:
26378         * docs/design/part-element-source.txt:
26379         * gst/base/gstbasesink.c: (gst_basesink_class_init),
26380         (gst_basesink_event), (gst_basesink_activate):
26381         * gst/base/gstbasesink.h:
26382         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
26383         (gst_basesrc_activate):
26384         * gst/base/gstbasesrc.h:
26385         * gst/gstelement.c: (gst_element_pads_activate):
26386         Some more documentation.
26387         Fixed scheduling decision in _pads_activate().
26388
26389 2005-05-05  Andy Wingo  <wingo@pobox.com>
26390
26391         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
26392         the test suite.
26393
26394 2005-05-05  Wim Taymans  <wim@fluendo.com>
26395
26396         * gst/base/Makefile.am:
26397         * gst/base/gstbasesink.h:
26398         * gst/base/gstbasesrc.c: (gst_basesrc_init),
26399         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
26400         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
26401         (gst_collectpads_class_init), (gst_collectpads_init),
26402         (gst_collectpads_finalize), (gst_collectpads_new),
26403         (gst_collectpads_set_function), (gst_collectpads_add_pad),
26404         (find_pad), (gst_collectpads_remove_pad),
26405         (gst_collectpads_is_active), (gst_collectpads_collect),
26406         (gst_collectpads_collect_range), (gst_collectpads_start),
26407         (gst_collectpads_stop), (gst_collectpads_peek),
26408         (gst_collectpads_pop), (gst_collectpads_available),
26409         (gst_collectpads_read), (gst_collectpads_flush),
26410         (gst_collectpads_chain):
26411         * gst/base/gstcollectpads.h:
26412         * gst/elements/Makefile.am:
26413         * gst/elements/gstelements.c:
26414         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26415         (gst_fakesink_get_times), (gst_fakesink_event),
26416         (gst_fakesink_preroll), (gst_fakesink_render):
26417         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26418         (gst_filesink_init), (gst_filesink_set_location),
26419         (gst_filesink_open_file), (gst_filesink_close_file),
26420         (gst_filesink_pad_query), (gst_filesink_event),
26421         (gst_filesink_render), (gst_filesink_change_state):
26422         * gst/elements/gstfilesink.h:
26423         Added object to help in making collect pad based elements.
26424         Ported filesink.
26425         Make event function in sink baseclass return gboolean.
26426
26427 2005-05-05  Wim Taymans  <wim@fluendo.com>
26428
26429         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
26430         (gst_bin_get_by_name):
26431         * gst/gstbuffer.h:
26432         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
26433         (gst_clock_finalize):
26434         * gst/gstdata.c: (gst_data_replace):
26435         * gst/gstdata.h:
26436         * gst/gstelement.c: (gst_element_request_pad),
26437         (gst_element_pads_activate):
26438         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
26439         (gst_object_unref):
26440         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26441         (gst_pad_set_checkgetrange_function),
26442         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
26443         (gst_pad_check_pull_range), (gst_pad_pull_range),
26444         (gst_static_pad_template_get_caps), (gst_pad_start_task),
26445         (gst_pad_pause_task), (gst_pad_stop_task):
26446         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26447         (gst_element_request_pad), (gst_pad_proxy_getcaps):
26448         Fix name lookup in GstBin.
26449         Added _data_replace() function and _buffer_replace()
26450         Use finalize method to clean up clock.
26451         Fix refcounting on request pads.
26452         Fix pad schedule mode error.
26453         Some more object refcounting debug info,
26454
26455
26456 2005-05-04  Andy Wingo <wingo@pobox.com>
26457
26458         * check/Makefile.am:
26459         * docs/gst/tmpl/gstatomic.sgml:
26460         * docs/gst/tmpl/gstplugin.sgml:
26461         * gst/base/gstbasesink.c: (gst_basesink_activate):
26462         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
26463         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
26464         (gst_basesrc_query), (gst_basesrc_set_property),
26465         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
26466         (gst_basesrc_activate):
26467         * gst/base/gstbasesrc.h:
26468         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
26469         (gst_base_transform_src_activate):
26470         * gst/elements/gstelements.c:
26471         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26472         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
26473         * gst/elements/gsttee.c: (gst_tee_sink_activate):
26474         * gst/elements/gsttypefindelement.c: (find_element_get_length),
26475         (gst_type_find_element_checkgetrange),
26476         (gst_type_find_element_activate):
26477         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
26478         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
26479         (gst_caps_load_thyself):
26480         * gst/gstelement.c: (gst_element_pads_activate),
26481         (gst_element_save_thyself), (gst_element_restore_thyself):
26482         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
26483         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
26484         * gst/gstpad.h:
26485         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
26486         (gst_xml_parse_file), (gst_xml_parse_memory),
26487         (gst_xml_get_element), (gst_xml_make_element):
26488         * gst/indexers/gstfileindex.c: (gst_file_index_load),
26489         (_file_index_id_save_xml), (gst_file_index_commit):
26490         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
26491         (read_enum), (load_pad_template), (load_feature), (load_plugin),
26492         (load_paths):
26493         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
26494         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
26495         * tools/gst-complete.c: (main):
26496         * tools/gst-compprep.c: (main):
26497         * tools/gst-inspect.c: (print_element_properties_info):
26498         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
26499         * tools/gst-xmlinspect.c: (print_element_properties):
26500         GCC 4 fixen.
26501         
26502 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
26503
26504         * gst/gstplugin.c: (gst_plugin_check_module),
26505         (gst_plugin_check_file), (gst_plugin_load_file):
26506             apply patch from #172526 to make register work on MacOSX
26507
26508 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26509
26510         * docs/gst/tmpl/gstconfig.sgml:
26511         * gst/gstconfig.h.in:
26512           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
26513         * testsuite/debug/printf_extension.c: (main):
26514           Do not use GST_PTR_FORMAT on pointers to types with
26515           sizeof < sizeof(gpointer).  Fixes test on 64-bit
26516         * testsuite/elements/property.h:
26517           use correct printf format
26518
26519 2005-05-02  Wim Taymans  <wim@fluendo.com>
26520
26521         * docs/design/draft-push-pull.txt:
26522         * docs/design/draft-query.txt:
26523         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
26524         (gst_basesrc_start):
26525         Added draft for new query API.
26526         Added draft for better selecting scheduling methods.
26527         Make basesrc ignore length if the subclass does not support
26528         it.
26529
26530 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26531
26532         * gst/Makefile.am:
26533           possible fixes for automake-1.5 - _LIBADD is reserved
26534
26535 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26536
26537         * docs/faq/Makefile.am:
26538         * docs/manual/Makefile.am:
26539         * docs/manuals.mak:
26540         * docs/pwg/Makefile.am:
26541         * gst/Makefile.am:
26542           possible fixes for automake-1.5
26543
26544 2005-04-28  Wim Taymans  <wim@fluendo.com>
26545
26546         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26547         (gst_basesink_pad_getcaps), (gst_basesink_init),
26548         (gst_basesink_do_sync):
26549         * gst/gstclock.c: (gst_clock_entry_new):
26550         * gst/gstevent.c: (gst_event_discont_get_value):
26551         * gst/gstpipeline.c: (pipeline_bus_handler),
26552         (gst_pipeline_change_state):
26553         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
26554         Better debugging of clocking info.
26555         Allow NULL values when getting discont values.
26556
26557 2005-04-27  Wim Taymans  <wim@fluendo.com>
26558
26559         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26560         * check/gst/gstpad.c: (gst_pad_suite):
26561         Increase timeout for checks.
26562
26563 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
26564
26565         * check/Makefile.am:
26566           fix the broken rule for cleanup.  Apparently this rule is
26567           only needed on FC2, so maybe this warrants further autotool
26568           inspection.
26569
26570 2005-04-26  Wim Taymans  <wim@fluendo.com>
26571
26572         * gst/gsttrashstack.h:
26573         Ooohh. a nasty one! After having a failed pop() from the stack,
26574         it's possible that the stack is empty. In that case, don't
26575         follow the NULL pointer.
26576
26577 2005-04-25  Wim Taymans  <wim@fluendo.com>
26578
26579         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26580         (gst_pad_set_checkgetrange_function),
26581         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
26582         (gst_pad_check_pull_range), (gst_pad_pull_range),
26583         (gst_static_pad_template_get_caps), (gst_pad_start_task),
26584         (gst_pad_pause_task), (gst_pad_stop_task):
26585         * gst/gstplugin.c: (gst_plugin_load):
26586         * gst/gstplugin.h:
26587         Remove gst_library_load as it does more harm than good with
26588         the new g_module flags.
26589         Revert bogus caps template check in pad linking, pad caps
26590         are important when linking not the template, which is more
26591         general than the current caps.
26592
26593 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26594
26595         * gst/autoplug/.cvsignore:
26596         * gst/autoplug/Makefile.am:
26597         * gst/autoplug/gstsearchfuncs.c:
26598         * gst/autoplug/gstsearchfuncs.h:
26599         * gst/autoplug/gstspider.c:
26600         * gst/autoplug/gstspider.h:
26601         * gst/autoplug/gstspideridentity.c:
26602         * gst/autoplug/gstspideridentity.h:
26603         * gst/autoplug/spidertest.c:
26604           Die, spider, die.
26605
26606 2005-04-25  Wim Taymans  <wim@fluendo.com>
26607
26608         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26609         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26610         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
26611         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
26612         * gst/gstpad.h:
26613         Added stubs for unimplemented functions. 
26614
26615 2005-04-24  David Schleef  <ds@schleef.org>
26616
26617         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
26618         please fix.
26619
26620 2005-04-24  David Schleef  <ds@schleef.org>
26621
26622         Convert everything from GstAtomicInt to g_atomic_int_*, and
26623         remove gstatomic.
26624         * gst/Makefile.am:
26625         * gst/gstatomic.c:
26626         * gst/gstatomic.h:
26627         * gst/gstatomic_impl.h:
26628         * gst/gstbuffer.c:
26629         * gst/gstcaps.c:
26630         * gst/gstcaps.h:
26631         * gst/gstclock.c:
26632         * gst/gstclock.h:
26633         * gst/gstdata.c:
26634         * gst/gstdata.h:
26635         * gst/gstdata_private.h:
26636         * gst/gstevent.c:
26637         * gst/gstinfo.c:
26638         * gst/gstinfo.h:
26639         * gst/gstmessage.c:
26640         * gst/gstobject.c:
26641         * gst/gstobject.h:
26642         * gst/gststructure.c:
26643         * gst/gststructure.h:
26644         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
26645         * gst/gstutils.h:
26646
26647 2005-04-24  David Schleef  <ds@schleef.org>
26648
26649         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
26650         make the regressions tests work.  Remove some code that is no
26651         longer true.
26652         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
26653         Disable warning for pads without templates.
26654
26655 2005-04-24  David Schleef  <ds@schleef.org>
26656
26657         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
26658         functions that handle filtered links.
26659         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
26660         removed functions.
26661         * gst/gstutils.c: Fix/remove utility functions that handle
26662         filtered caps.
26663         * gst/gstutils.h:
26664         * gst/gstvalue.c: Add serialization/deserialization of caps
26665         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
26666         requires fixing so that the filter caps notation creates
26667         a capsfilter element and sets the filter_caps property.  I
26668         think everyone probably wants to keep the shorthand notation.
26669         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
26670         * docs/gst/tmpl/gstpad.sgml:
26671
26672         * gst/elements/gstelements.c: Register capsfilter element.
26673         * gst/Makefile.am: fix spacing
26674         * docs/random/ds/0.9-suggested-changes: random
26675
26676 2005-04-23  David Schleef  <ds@schleef.org>
26677
26678         * gst/elements/Makefile.am:
26679         * gst/elements/gstcapsfilter.c: New element that acts like an
26680         identity, but filters caps.  Will eventually replace filtered
26681         caps in pad linking.
26682         * gst/gstutils.c: (gst_element_create_all_pads): New function
26683         to create all the ALWAYS pads that are registered with an
26684         element class.  This functionality should eventually be
26685         merged in with GstElement initialization.
26686         * gst/gstutils.h:
26687         * testsuite/trigger/README: part of trigger test code that should
26688         have been checked in a long time ago.
26689
26690 2005-04-23  David Schleef  <ds@schleef.org>
26691
26692         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
26693         needed with new versions of libtool (nobody will confirm this),
26694         and hard to carry around.
26695         * gst/autoplug/Makefile.am:
26696         * gst/base/Makefile.am:
26697         * gst/elements/Makefile.am:
26698         * gst/indexers/Makefile.am:
26699         * gst/schedulers/Makefile.am:
26700         * libs/gst/bytestream/Makefile.am:
26701         * libs/gst/control/Makefile.am:
26702         * libs/gst/dataprotocol/Makefile.am:
26703         * libs/gst/getbits/Makefile.am:
26704
26705 2005-04-21  Wim Taymans  <wim@fluendo.com>
26706
26707         * docs/design/draft-push-pull.txt:
26708         * docs/design/part-MT-refcounting.txt:
26709         * docs/design/part-TODO.txt:
26710         * docs/design/part-caps.txt:
26711         * docs/design/part-events.txt:
26712         * docs/design/part-gstbus.txt:
26713         * docs/design/part-gstpipeline.txt:
26714         * docs/design/part-messages.txt:
26715         * docs/design/part-push-pull.txt:
26716         * docs/design/part-query.txt:
26717         Some more docs.
26718
26719 2005-04-21  Wim Taymans  <wim@fluendo.com>
26720
26721         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
26722         (gst_message_new), (gst_message_new_error),
26723         (gst_message_new_warning), (gst_message_new_tag),
26724         (gst_message_new_state_changed), (gst_message_new_application),
26725         (gst_message_get_structure):
26726         * gst/gstmessage.h:
26727         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26728         (gst_structure_copy_conditional):
26729         Use parent refcount in GstMessage to ensure GstStructure
26730         consistency.
26731         Cleaned up headers a bit.
26732         
26733
26734 2005-04-20  Wim Taymans  <wim@fluendo.com>
26735
26736         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26737         (gst_basesink_pad_getcaps), (gst_basesink_init),
26738         (gst_basesink_chain_unlocked):
26739         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
26740         (gst_type_find_helper):
26741         * gst/elements/gsttypefindelement.c:
26742         (gst_type_find_element_have_type), (gst_type_find_element_init),
26743         (stop_typefinding), (gst_type_find_element_handle_event),
26744         (find_suggest), (gst_type_find_element_chain),
26745         (gst_type_find_element_checkgetrange),
26746         (gst_type_find_element_getrange), (do_typefind),
26747         (gst_type_find_element_activate):
26748         * gst/gstbuffer.c: (_gst_buffer_sub_free),
26749         (gst_buffer_default_free), (gst_buffer_default_copy),
26750         (gst_buffer_set_caps):
26751         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
26752         (gst_caps_replace):
26753         * gst/gstmessage.c: (gst_message_new),
26754         (gst_message_new_state_changed):
26755         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26756         (gst_pad_set_checkgetrange_function),
26757         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
26758         (gst_pad_set_caps), (gst_pad_check_pull_range),
26759         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
26760         * gst/gstpad.h:
26761         * gst/gsttypefind.c: (gst_type_find_register):
26762         Make gst_caps_replace() work like other _replace() functions.
26763         Use _caps_replace() where possible.
26764         Make sure _message_new() initialises its field.
26765         Add gst_static_pad_template_get_caps()
26766
26767
26768 2005-04-18  Andy Wingo  <wingo@pobox.com>
26769
26770         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
26771         on the peer, not the pad. I think that was a typo. Pass an extra
26772         arg to see if random access is possible. Activate the pads as
26773         PULL_RANGE if possible.
26774
26775         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
26776
26777         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
26778         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
26779         to PROP_....
26780
26781 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26782
26783         * docs/faq/using.xml:
26784           Add note on gstreamer-properties (#154996).
26785
26786 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26787
26788         * docs/random/bbb/optional-properties:
26789           Some analysis on optional properties.
26790
26791 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26792
26793         * docs/gst/tmpl/gstelementfactory.sgml:
26794         * gst/gstelement.h:
26795         * gst/gstelementfactory.c: (gst_element_factory_init),
26796         (gst_element_factory_cleanup), (gst_element_register),
26797         (__gst_element_factory_add_static_pad_template),
26798         (gst_element_factory_get_static_pad_templates),
26799         (gst_element_factory_can_src_caps),
26800         (gst_element_factory_can_sink_caps):
26801         * gst/registries/Makefile.am:
26802         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
26803         (gst_xml_registry_class_init), (gst_xml_registry_init),
26804         (gst_xml_registry_new), (gst_xml_registry_set_property),
26805         (gst_xml_registry_get_property), (get_time), (make_dir),
26806         (gst_xml_registry_get_perms_func),
26807         (plugin_times_older_than_recurse), (plugin_times_older_than),
26808         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
26809         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
26810         (add_to_char_array), (read_string), (read_uint), (read_enum),
26811         (load_pad_template), (load_feature), (load_plugin), (load_paths),
26812         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
26813         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
26814         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
26815         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
26816         (gst_xml_registry_rebuild):
26817         * gst/registries/gstlibxmlregistry.h:
26818         * tools/gst-compprep.c: (main):
26819         * tools/gst-inspect.c: (print_pad_templates_info):
26820         * tools/gst-xmlinspect.c: (print_element_info):
26821           Use libxml2 for registry parsing, use staticpadtemplates in
26822           elementfactories. Makes gst_init() +/- 10x faster.
26823
26824 2005-04-12  Wim Taymans  <wim@fluendo.com>
26825
26826         * gst/base/Makefile.am:
26827         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26828         (gst_basesink_pad_getcaps), (gst_basesink_init),
26829         (gst_basesink_event), (gst_basesink_change_state):
26830         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26831         (gst_basesrc_init), (gst_basesrc_query),
26832         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26833         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26834         (gst_basesrc_check_get_range), (gst_basesrc_loop),
26835         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26836         (gst_basesrc_stop), (gst_basesrc_activate),
26837         (gst_basesrc_change_state):
26838         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26839         (helper_find_suggest), (gst_type_find_helper):
26840         * gst/base/gsttypefindhelper.h:
26841         * gst/elements/Makefile.am:
26842         * gst/elements/gstelements.c:
26843         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26844         (gst_fakesink_get_times), (gst_fakesink_event),
26845         (gst_fakesink_preroll), (gst_fakesink_render):
26846         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26847         (gst_fakesrc_init), (gst_fakesrc_event_handler),
26848         (gst_fakesrc_get_property), (gst_fakesrc_create),
26849         (gst_fakesrc_start), (gst_fakesrc_stop):
26850         * gst/elements/gstfakesrc.h:
26851         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
26852         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26853         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26854         (gst_filesrc_create_read), (gst_filesrc_create),
26855         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
26856         (gst_filesrc_start):
26857         * gst/elements/gsttypefindelement.c:
26858         (gst_type_find_element_have_type), (gst_type_find_element_init),
26859         (start_typefinding), (stop_typefinding), (push_buffer_store),
26860         (gst_type_find_element_handle_event),
26861         (gst_type_find_element_chain),
26862         (gst_type_find_element_checkgetrange),
26863         (gst_type_find_element_getrange), (do_typefind),
26864         (gst_type_find_element_activate),
26865         (gst_type_find_element_change_state):
26866         * gst/elements/gsttypefindelement.h:
26867         * gst/gstpipeline.c: (pipeline_bus_handler):
26868         Added typefind helper.
26869         Small preroll fix in the base sink.
26870         Disable typefind code in basesrc.
26871         Crude port of typefindelement.
26872         Fakesrc cleanups.
26873
26874
26875 2005-04-11  Wim Taymans  <wim@fluendo.com>
26876
26877         * check/gst/gstbus.c: (gstbus_suite):
26878         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
26879         * check/gstcheck.h:
26880           Fix up the timeout so that the test does not fail.
26881
26882 2005-04-06  Wim Taymans  <wim@fluendo.com>
26883
26884         * gst/base/README:
26885         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26886         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
26887         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26888         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26889         (gst_basesrc_check_get_range), (gst_basesrc_loop),
26890         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26891         (gst_basesrc_stop), (gst_basesrc_activate),
26892         (gst_basesrc_change_state), (basesrc_find_peek),
26893         (basesrc_find_suggest), (gst_basesrc_type_find):
26894         * gst/base/gstbasesrc.h:
26895         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
26896         (gst_filesrc_class_init), (gst_filesrc_init),
26897         (gst_filesrc_finalize), (gst_filesrc_set_location),
26898         (gst_filesrc_set_property), (gst_filesrc_get_property),
26899         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26900         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26901         (gst_filesrc_create_read), (gst_filesrc_create),
26902         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
26903         * gst/elements/gstfilesrc.h:
26904         * gst/gstelement.c: (gst_element_get_state_func),
26905         (gst_element_lost_state), (gst_element_pads_activate):
26906         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26907         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26908         (gst_pad_pull_range):
26909         * gst/gstpad.h:
26910         More work on the generic source base class, implement seeking,
26911         query.
26912         Make filesrc extend the base source class.
26913         Added gst_pad_set_checkgetrange_function to GstPad.
26914
26915 2005-04-06  Andy Wingo  <wingo@pobox.com>
26916
26917         * pkgconfig/gstreamer-base.pc.in:
26918         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
26919
26920         * pkgconfig/Makefile.am:
26921         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
26922
26923 2005-04-04  Wim Taymans  <wim@fluendo.com>
26924
26925         * gst/base/Makefile.am:
26926         * gst/base/README:
26927         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26928         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
26929         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
26930         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
26931         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26932         (gst_basesrc_base_init), (gst_basesrc_class_init),
26933         (gst_basesrc_init), (gst_basesrc_get_formats),
26934         (gst_basesrc_get_query_types), (gst_basesrc_query),
26935         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
26936         (gst_basesrc_set_property), (gst_basesrc_get_property),
26937         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
26938         (gst_basesrc_loop), (gst_basesrc_activate),
26939         (gst_basesrc_change_state):
26940         * gst/base/gstbasesrc.h:
26941         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
26942         (gst_fakesrc_class_init), (gst_fakesrc_init),
26943         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
26944         (gst_fakesrc_get_property), (gst_fakesrc_create):
26945         * gst/elements/gstfakesrc.h:
26946         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
26947         (gst_filesrc_open_file), (gst_filesrc_loop),
26948         (gst_filesrc_activate), (filesrc_find_peek),
26949         (gst_filesrc_type_find):
26950         Made base source class, make fakesrc extend it.
26951         Add comments to basesink class.
26952         Some filesrc cleanup.
26953
26954 2005-03-31  David Schleef  <ds@schleef.org>
26955
26956         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
26957         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
26958         expected to link against libgstreamer.
26959         * gst/base/Makefile.am: link against libgstreamer
26960         * gst/elements/Makefile.am: same
26961
26962 2005-03-31  Andy Wingo  <wingo@pobox.com>
26963
26964         * tests/instantiate/Makefile.am:
26965         * tests/instantiate/caps.c: Add test to test speed of caps copy
26966         and free.
26967
26968         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
26969         GMemChunk to be fair.
26970
26971         * gst/gsttrashstack.h: Remove warning about using the fallback
26972         trash stack implementation, it's still faster than malloc.
26973
26974 2005-03-30  Andy Wingo  <wingo@pobox.com>
26975
26976         * tests/complexity.c: Add a copyright.
26977
26978 2005-03-31  Wim Taymans  <wim@fluendo.com>
26979
26980         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
26981         (gst_base_transform_class_init), (gst_base_transform_init),
26982         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26983         (gst_base_transform_get_property),
26984         (gst_base_transform_sink_activate),
26985         (gst_base_transform_src_activate),
26986         (gst_base_transform_change_state):
26987         * gst/base/gstbasetransform.h:
26988         * gst/elements/gstidentity.c: (gst_identity_class_init),
26989         (gst_identity_event), (gst_identity_check_perfect),
26990         (gst_identity_transform), (gst_identity_start),
26991         (gst_identity_stop):
26992         Added start/stop methods to transform base class so subclasses 
26993         don't need to deal with state changes even.
26994
26995 2005-03-31  Wim Taymans  <wim@fluendo.com>
26996
26997         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
26998         (gst_event_new_discontinuous), (gst_event_discont_get_value):
26999         * gst/gstevent.h:
27000         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27001         (gst_pad_pull_range):
27002         Added rate to the discont event to prepare for variable speed
27003         and reverse playback.
27004
27005 2005-03-29  David Schleef  <ds@schleef.org>
27006
27007         * configure.ac:
27008         * testsuite/trigger/Makefile.am:
27009         * testsuite/trigger/trigger.c: A little example program to show
27010         how trigger-based elements can work.
27011
27012 2005-03-29  Wim Taymans  <wim@fluendo.com>
27013
27014         * gst/base/Makefile.am:
27015         * gst/base/README:
27016         * gst/base/gstbasesink.c: (gst_basesink_get_type),
27017         (gst_basesink_base_init), (gst_basesink_class_init),
27018         (gst_basesink_pad_getcaps), (gst_basesink_init),
27019         (gst_basesink_activate), (gst_basesink_change_state):
27020         * gst/base/gstbasesink.h:
27021         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
27022         (gst_base_transform_base_init), (gst_base_transform_finalize),
27023         (gst_base_transform_class_init), (gst_base_transform_init),
27024         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
27025         (gst_base_transform_event), (gst_base_transform_getrange),
27026         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
27027         (gst_base_transform_set_property),
27028         (gst_base_transform_get_property),
27029         (gst_base_transform_sink_activate),
27030         (gst_base_transform_src_activate),
27031         (gst_base_transform_change_state):
27032         * gst/base/gstbasetransform.h:
27033         * gst/elements/gstidentity.c: (gst_identity_finalize),
27034         (gst_identity_class_init), (gst_identity_init),
27035         (gst_identity_event), (gst_identity_check_perfect),
27036         (gst_identity_transform), (gst_identity_set_property),
27037         (gst_identity_get_property), (gst_identity_change_state):
27038         * gst/elements/gstidentity.h:
27039         * gst/gstelement.c: (gst_element_get_state_func),
27040         (gst_element_lost_state), (gst_element_pads_activate):
27041         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27042         (gst_pad_check_pull_range), (gst_pad_pull_range):
27043         * gst/gstpad.h:
27044         Simplify pad activation.
27045         Added function to check if pull_range can be performed.
27046         Error out when pulling inactive or flushing pads.
27047         Removed const from refcounted types as it does not make sense.
27048         Simplify pad templates in basesink
27049         Added base class for simple 1-to-1 transforms.
27050         Make identity subclass the base transform.
27051
27052 2005-03-29  Andy Wingo  <wingo@pobox.com>
27053
27054         * docs/libs/gstreamer-libs-overrides.txt: 
27055         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
27056         really don't understand what's going on, but like whatever. I want
27057         green buildbot!
27058
27059         * docs/gst/Makefile.am:
27060         * docs/libs/Makefile.am: Dist the overrides files.
27061
27062         * check/Makefile.am (clean-local): Remove .libs directories.
27063
27064         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
27065         elements to EXTRA_DIST, so po/ files are happy.
27066
27067         * po/POTFILES.in: Er, remove it here.
27068
27069         * po/POTFILES: Remove gstspider.c.
27070
27071         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
27072
27073         * docs/libs/gstreamer-libs-docs.sgml: 
27074         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
27075         bytestream.
27076
27077         * tests/complexity.c (main): Set the length of the preroll queue
27078         on the sinks to prevent a lockup.
27079
27080         * libs/gst/dataprotocol/Makefile.am: 
27081         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
27082         the same as the one in check/gst-libs/gdp.c.
27083
27084         * po/, docs/gst/: Commit automatic changes to docs and po files.
27085
27086         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
27087         the versioned libgstbase.
27088
27089         * check/Makefile.am: Depend on an unversioned gst-register, seems
27090         to make autoconf happier.
27091
27092         * gst/base/Makefile.am: Make libgstbase a versioned lib.
27093
27094 2005-03-28  Wim Taymans  <wim@fluendo.com>
27095
27096         * configure.ac:
27097         * docs/design/part-gstelement.txt:
27098         * docs/design/part-negotiation.txt:
27099         * docs/design/part-preroll.txt:
27100         * docs/design/part-scheduling.txt:
27101         * docs/design/part-states.txt:
27102         * gst/Makefile.am:
27103         * gst/base/Makefile.am:
27104         * gst/base/README:
27105         * gst/base/gstbasesink.c: (gst_basesink_get_template),
27106         (gst_basesink_base_init), (gst_basesink_class_init),
27107         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27108         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27109         (gst_basesink_set_pad_functions),
27110         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
27111         (gst_basesink_set_property), (gst_basesink_get_property),
27112         (gst_base_sink_get_template), (gst_base_sink_get_caps),
27113         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
27114         (gst_basesink_preroll_queue_push),
27115         (gst_basesink_preroll_queue_empty),
27116         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
27117         (gst_basesink_event), (gst_basesink_get_times),
27118         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
27119         (gst_basesink_chain_unlocked), (gst_basesink_chain),
27120         (gst_basesink_loop), (gst_basesink_activate),
27121         (gst_basesink_change_state):
27122         * gst/base/gstbasesink.h:
27123         * gst/elements/Makefile.am:
27124         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
27125         (gst_fakesink_class_init), (gst_fakesink_init),
27126         (gst_fakesink_set_property), (gst_fakesink_get_property),
27127         (gst_fakesink_get_times), (gst_fakesink_event),
27128         (gst_fakesink_preroll), (gst_fakesink_render),
27129         (gst_fakesink_change_state):
27130         * gst/elements/gstfakesink.h:
27131         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27132         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
27133         * gst/gstelement.c: (gst_element_add_pad),
27134         (gst_element_get_state_func), (gst_element_abort_state),
27135         (gst_element_commit_state), (gst_element_lost_state),
27136         (gst_element_set_state), (gst_element_pads_activate):
27137         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
27138         * gst/gstpipeline.c: (gst_pipeline_send_event),
27139         (gst_pipeline_change_state):
27140         Added state change code.
27141         Added/updated docs.
27142         Added sink base class, make fakesink extend the base class.
27143         Small cleanups in GstPipeline.
27144
27145 2005-03-26  David Schleef  <ds@schleef.org>
27146
27147         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
27148         is broken and should be implemented in a different library.
27149         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
27150         * gst/gst.h: remove gstcpu.h
27151         * gst/gstcpu.c: remove
27152         * gst/gstcpu.h: remove
27153         * gst/Makefile.am.future: Remove this file.  It's ancient.
27154
27155 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27156
27157         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27158         (gst_bin_send_event):
27159           Add default event/set_manager handlers. The set_manager handler
27160           takes care that the manager is distributed over kids that were
27161           already in the bin before the manager was set. The event handler
27162           is a utility virtual function that sends the event over all sinks,
27163           so that gst_element_send_event (bin, event); has the expected
27164           behaviour.
27165         * gst/gstpad.c: (gst_pad_event_default):
27166           Re-install default event handling for discontinuities, so that
27167           seeking works without requiring hacks in applications or extra
27168           code in sinks.
27169         * gst/gstpipeline.c: (gst_pipeline_class_init),
27170         (gst_pipeline_send_event):
27171           Half hack, half utility: set a pipeline to PAUSED for seek events,
27172           since that is the only way we can guarantee a/v sync. Means that
27173           you can do gst_element_seek (pipeline, method, pos); on a pipeline
27174           and it "just works".
27175
27176 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27177
27178         * gst/gstpipeline.c: (gst_pipeline_use_clock):
27179           Lock/unlock mismatch.
27180
27181 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
27182
27183         * docs/faq/gst-uninstalled:
27184           add gst-plugins-base
27185         * docs/gst/Makefile.am:
27186           don't error out until docs are fixed
27187         * docs/gst/gstreamer.types:
27188           remove thread
27189
27190 2005-03-22  Wim Taymans  <wim@fluendo.com>
27191
27192         * check/Makefile.am:
27193         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
27194         * gst/gststructure.c: (gst_structure_set_valist),
27195         (gst_structure_copy_conditional):
27196         Activated more tests.
27197         Added message test.
27198         Added G_TYPE_POINTER to GstStructure.
27199         
27200
27201 2005-03-22  Wim Taymans  <wim@fluendo.com>
27202
27203         * docs/design/part-TODO.txt:
27204         * docs/design/part-events.txt:
27205         * docs/design/part-gstbin.txt:
27206         * docs/design/part-gstbus.txt:
27207         * docs/design/part-gstpipeline.txt:
27208         * docs/design/part-messages.txt:
27209         * gst/gstbus.c:
27210         * gst/gstmessage.c:
27211         Docs updates
27212
27213 2005-03-21  Wim Taymans  <wim@fluendo.com>
27214
27215         * gst/gstbus.c: (gst_bus_post):
27216         Fix copy-and-paste error.
27217
27218 2005-03-21  Wim Taymans  <wim@fluendo.com>
27219
27220         * check/Makefile.am:
27221         * gst/Makefile.am:
27222         * gst/elements/Makefile.am:
27223         * gst/elements/gstelements.c:
27224         * gst/elements/gstfakesink.c: (gst_fakesink_init),
27225         (gst_fakesink_event), (gst_fakesink_chain):
27226         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27227         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
27228         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
27229         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
27230         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27231         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
27232         (gst_fakesrc_loop), (gst_fakesrc_activate),
27233         (gst_fakesrc_change_state):
27234         * gst/elements/gstfakesrc.h:
27235         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
27236         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
27237         (gst_filesrc_open_file), (gst_filesrc_loop),
27238         (gst_filesrc_activate), (gst_filesrc_change_state),
27239         (filesrc_find_peek), (filesrc_find_suggest),
27240         (gst_filesrc_type_find):
27241         * gst/elements/gstidentity.c: (gst_identity_finalize),
27242         (gst_identity_class_init), (gst_identity_init),
27243         (gst_identity_proxy_getcaps), (identity_queue_push),
27244         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
27245         (gst_identity_getrange), (gst_identity_chain),
27246         (gst_identity_sink_loop), (gst_identity_src_loop),
27247         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
27248         (gst_identity_set_property), (gst_identity_get_property),
27249         (gst_identity_change_state):
27250         * gst/elements/gstidentity.h:
27251         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
27252         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
27253         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
27254         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
27255         (gst_tee_sink_activate):
27256         * gst/elements/gsttee.h:
27257         * gst/gst.c: (gst_register_core_elements), (init_post):
27258         * gst/gst.h:
27259         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
27260         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
27261         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
27262         (gst_bin_change_state):
27263         * gst/gstbin.h:
27264         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
27265         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
27266         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
27267         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
27268         (gst_bus_set_sync_handler), (gst_bus_create_watch),
27269         (bus_watch_callback), (bus_watch_destroy),
27270         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
27271         (poll_timeout), (gst_bus_poll):
27272         * gst/gstbus.h:
27273         * gst/gstcaps.h:
27274         * gst/gstdata.h:
27275         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27276         (gst_element_post_message), (gst_element_message_full),
27277         (gst_element_get_state_func), (gst_element_get_state),
27278         (gst_element_abort_state), (gst_element_commit_state),
27279         (gst_element_lost_state), (gst_element_set_state),
27280         (gst_element_pads_activate), (gst_element_change_state),
27281         (gst_element_dispose), (gst_element_set_manager_func),
27282         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
27283         (gst_element_set_manager), (gst_element_get_manager),
27284         (gst_element_set_bus), (gst_element_get_bus),
27285         (gst_element_set_scheduler), (gst_element_get_scheduler):
27286         * gst/gstelement.h:
27287         * gst/gstevent.c: (gst_event_new_segment_seek),
27288         (gst_event_new_flush):
27289         * gst/gstevent.h:
27290         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
27291         (_gst_message_free), (gst_message_get_type), (gst_message_new),
27292         (gst_message_new_eos), (gst_message_new_error),
27293         (gst_message_new_warning), (gst_message_new_tag),
27294         (gst_message_new_state_changed), (gst_message_new_application),
27295         (gst_message_get_structure), (gst_message_parse_tag),
27296         (gst_message_parse_state_changed), (gst_message_parse_error),
27297         (gst_message_parse_warning):
27298         * gst/gstmessage.h:
27299         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
27300         (gst_real_pad_set_property), (gst_pad_set_active),
27301         (gst_pad_is_active), (gst_pad_set_blocked_async),
27302         (gst_pad_set_blocked), (gst_pad_is_blocked),
27303         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
27304         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
27305         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
27306         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
27307         (gst_pad_link_filtered), (gst_pad_relink_filtered),
27308         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
27309         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
27310         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
27311         (gst_pad_set_caps), (gst_pad_configure_sink),
27312         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
27313         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
27314         (gst_real_pad_dispose), (gst_real_pad_finalize),
27315         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
27316         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27317         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
27318         * gst/gstpad.h:
27319         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
27320         (pipeline_bus_handler), (gst_pipeline_change_state),
27321         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
27322         * gst/gstpipeline.h:
27323         * gst/gstprobe.h:
27324         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
27325         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
27326         (gst_queue_link_src), (gst_queue_bufferalloc),
27327         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
27328         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
27329         (gst_queue_loop), (gst_queue_handle_src_event),
27330         (gst_queue_handle_src_query), (gst_queue_src_activate),
27331         (gst_queue_change_state):
27332         * gst/gstqueue.h:
27333         * gst/gstscheduler.c: (gst_scheduler_init),
27334         (gst_scheduler_dispose), (gst_scheduler_create_task),
27335         (gst_scheduler_factory_create):
27336         * gst/gstscheduler.h:
27337         * gst/gststructure.c: (gst_structure_get_type),
27338         (gst_structure_copy_conditional):
27339         * gst/gststructure.h:
27340         * gst/gsttaginterface.h:
27341         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27342         (gst_task_init), (gst_task_dispose), (gst_task_create),
27343         (gst_task_get_state), (gst_task_start), (gst_task_stop),
27344         (gst_task_pause):
27345         * gst/gsttask.h:
27346         * gst/gstthread.c:
27347         * gst/gstthread.h:
27348         * gst/gsttypes.h:
27349         * gst/schedulers/Makefile.am:
27350         * gst/schedulers/cothreads_compat.h:
27351         * gst/schedulers/entryscheduler.c:
27352         * gst/schedulers/faircothreads.c:
27353         * gst/schedulers/faircothreads.h:
27354         * gst/schedulers/fairscheduler.c:
27355         * gst/schedulers/gstbasicscheduler.c:
27356         * gst/schedulers/gstoptimalscheduler.c:
27357         * gst/schedulers/gthread-cothreads.h:
27358         * gst/schedulers/threadscheduler.c:
27359         (gst_thread_scheduler_task_get_type),
27360         (gst_thread_scheduler_task_class_init),
27361         (gst_thread_scheduler_task_init),
27362         (gst_thread_scheduler_task_start),
27363         (gst_thread_scheduler_task_stop),
27364         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
27365         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27366         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
27367         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
27368         (plugin_init):
27369         * libs/gst/Makefile.am:
27370         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
27371         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
27372         (gst_file_pad_parent_set):
27373         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27374         (gst_dp_event_from_packet):
27375         * tests/complexity.c: (main):
27376         * tests/mass_elements.c: (main):
27377         * testsuite/states/locked.c: (message_received), (main):
27378         * testsuite/states/parent.c: (main):
27379         * tools/gst-inspect.c: (print_element_flag_info),
27380         (print_implementation_info), (print_pad_info):
27381         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
27382         (main):
27383         * tools/gst-md5sum.c: (event_loop), (main):
27384         * tools/gst-typefind.c: (main):
27385         * tools/gst-xmlinspect.c: (print_element_info):
27386         Next big merge.
27387         Added GstBus for mainloop integration.
27388         Added GstMessage for sending notifications on the bus.
27389         Added GstTask as an abstraction for pipeline entry points.
27390         Removed GstThread.
27391         Removed Schedulers.
27392         Simplified GstQueue for multithreaded core.
27393         Made _link threadsafe, removed old capsnego.
27394         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
27395         Added pad blocking functions.
27396         Reworked scheduling functions in GstPad to prepare for
27397         scheduling updates soon.
27398         Moved events out of data stream.
27399         Simplified GstEvent types.
27400         Added return values to push/pull.
27401         Removed clocking from GstElement.
27402         Added prototypes for state change function for next merge.
27403         Removed iterate from bins and state change management.
27404         Fixed some elements, disabled others for now.
27405         Fixed -inspect and -launch.
27406         Added check for GstBus.
27407
27408 2005-03-10  Wim Taymans  <wim@fluendo.com>
27409
27410         * docs/design/part-MT-refcounting.txt:
27411         * docs/design/part-clocks.txt:
27412         * docs/design/part-gstelement.txt:
27413         * docs/design/part-gstobject.txt:
27414         * docs/design/part-standards.txt:
27415         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27416         (gst_bin_remove_func), (gst_bin_remove):
27417         * gst/gstbin.h:
27418         * gst/gstbuffer.c:
27419         * gst/gstcaps.h:
27420         * testsuite/clock/clock1.c: (main):
27421         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
27422         (main):
27423         * testsuite/dlopen/loadgst.c: (do_test):
27424         * testsuite/refcounting/bin.c: (add_remove_test1),
27425         (add_remove_test2), (main):
27426         * testsuite/refcounting/element.c: (main):
27427         * testsuite/refcounting/element_pad.c: (main):
27428         * testsuite/refcounting/pad.c: (main):
27429         * tools/gst-launch.c: (sigint_handler_sighandler):
27430         * tools/gst-typefind.c: (main):
27431         Doc updates.
27432         Added doc about clock.
27433         removed gst_bin_iterate_recurse_up(), marked methods
27434         for removal.
27435         Fix more testsuites.
27436
27437 2005-03-09  Wim Taymans  <wim@fluendo.com>
27438
27439         * gst/gstpad.c: (gst_pad_get_direction),
27440         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
27441         (gst_pad_collect_valist):
27442         * testsuite/bins/interface.c: (main):
27443         * testsuite/caps/audioscale.c: (test_caps):
27444         * testsuite/caps/caps.c: (test1), (test2), (test3):
27445         * testsuite/caps/deserialize.c: (main):
27446         * testsuite/caps/enumcaps.c: (main):
27447         * testsuite/caps/filtercaps.c: (main):
27448         * testsuite/caps/intersect2.c: (main):
27449         * testsuite/caps/random.c: (main):
27450         * testsuite/caps/renegotiate.c: (my_fixate), (main):
27451         * testsuite/caps/sets.c: (check_caps):
27452         * testsuite/caps/simplify.c: (check_caps), (main):
27453         * testsuite/caps/subtract.c: (check_caps):
27454         Fix _pad_get_direction wrt ghostpads.
27455         Fix caps testsuite.
27456
27457 2005-03-09  Wim Taymans  <wim@fluendo.com>
27458
27459         * check/Makefile.am:
27460         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
27461         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
27462         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
27463         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
27464         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
27465         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
27466         (gst_bin_remove), (gst_bin_iterate_recurse_up),
27467         (bin_element_is_sink), (gst_bin_iterate_sinks),
27468         (gst_bin_iterate_all_by_interface):
27469         * gst/gstbin.h:
27470         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
27471         (gst_element_change_state), (gst_element_dispose),
27472         (gst_element_finalize), (gst_element_set_loop_function):
27473         * gst/gstelement.h:
27474         * gst/gstiterator.c: (find_custom_fold_func):
27475         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27476         (gst_pad_collectv), (gst_pad_collect_valist),
27477         (gst_pad_template_new):
27478         * gst/gstpipeline.c: (gst_pipeline_class_init),
27479         (gst_pipeline_dispose), (gst_pipeline_set_property),
27480         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
27481         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
27482         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
27483         * gst/gstutils.h:
27484         * gst/schedulers/entryscheduler.c:
27485         * gst/schedulers/gstbasicscheduler.c:
27486         (gst_basic_scheduler_cothreaded_chain),
27487         (gst_basic_scheduler_chain_add_element):
27488         * testsuite/bins/interface.c: (main):
27489         Added GstBin test.
27490         Added GstSystemClock test.
27491         Implemented clock distribution code in GstBin.
27492         Implemented iterate sinks method for future use.
27493         Rearranged gstelement.h
27494         Fix GstIterator comparison bug.
27495         Moved some code to GstPipeline, mostly clocking related.
27496
27497 2005-03-09  Wim Taymans  <wim@fluendo.com>
27498
27499         * configure.ac:
27500         * gst/gst_private.h:
27501         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27502         (gst_bin_remove_func), (gst_bin_remove),
27503         (gst_bin_get_by_name_recurse_up):
27504         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
27505         (gst_clock_id_compare_func), (gst_clock_id_wait),
27506         (gst_clock_id_wait_async), (gst_clock_init),
27507         (gst_clock_adjust_unlocked), (gst_clock_get_time):
27508         * gst/gstelement.h:
27509         * gst/gstinfo.c: (_gst_debug_init):
27510         * gst/gstobject.h:
27511         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27512         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
27513         * gst/gstpad.h:
27514         Bump version number, we're now 0.9.0
27515         Add future debugging category.
27516         Fix NULL _unref() in _get_by_name_recurse_up
27517         Rearrange gstpad.h.
27518         Update some docs.
27519
27520 2005-03-08  Wim Taymans  <wim@fluendo.com>
27521
27522         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
27523         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
27524         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27525         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
27526         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
27527         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
27528         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
27529         * gst/elements/gstidentity.c: (gst_identity_class_init):
27530         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
27531         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
27532         * gst/elements/gstshaper.c: (gst_shaper_class_init):
27533         * gst/elements/gststatistics.c: (gst_statistics_class_init):
27534         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
27535         (gst_tee_link):
27536         * gst/gstelement.c: (gst_element_class_init),
27537         (gst_element_base_class_init), (gst_element_init),
27538         (gst_element_get_random_pad), (gst_element_wait_state_change),
27539         (gst_element_change_state), (gst_element_dispose),
27540         (gst_element_finalize), (gst_element_set_loop_function):
27541         * gst/gstelement.h:
27542         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
27543         * gst/gstthread.c: (gst_thread_class_init),
27544         (gst_thread_release_children_locks), (gst_thread_change_state):
27545         * gst/schedulers/gstbasicscheduler.c:
27546         (gst_basic_scheduler_loopfunc_wrapper),
27547         (gst_basic_scheduler_chain_wrapper),
27548         (gst_basic_scheduler_src_wrapper),
27549         (gst_basic_scheduler_remove_element):
27550         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
27551         Remove threadsafe properties. Fix elements because GObject
27552         complains when installing a property before declaring a
27553         set/get_property handler.
27554         Rearrange gstelement.h file, use STATE macros for state locks.
27555         Free mutexes in the finalize method instead of dispose.
27556
27557 2005-03-08  Wim Taymans  <wim@fluendo.com>
27558
27559         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27560         * gst/gstthread.c: (gst_thread_release_children_locks):
27561         Added parentage check.
27562         Fix build og GstThread again.
27563
27564 2005-03-08  Wim Taymans  <wim@fluendo.com>
27565
27566         * docs/design/part-MT-refcounting.txt:
27567         * docs/design/part-conventions.txt:
27568         * docs/design/part-gstobject.txt:
27569         * docs/design/part-relations.txt:
27570         * docs/design/part-standards.txt:
27571         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27572         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
27573         (gst_bin_get_by_name), (gst_bin_get_by_interface),
27574         (gst_bin_iterate_all_by_interface):
27575         * gst/gstbuffer.h:
27576         * gst/gstclock.h:
27577         * gst/gstelement.c: (gst_element_class_init),
27578         (gst_element_change_state), (gst_element_set_loop_function):
27579         * gst/gstelement.h:
27580         * gst/gstiterator.c:
27581         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
27582         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
27583         (gst_object_dispatch_properties_changed), (gst_object_set_name),
27584         (gst_object_set_parent), (gst_object_unparent),
27585         (gst_object_check_uniqueness):
27586         * gst/gstobject.h:
27587         Docs updates, clean up some headers.
27588
27589 2005-03-07  Wim Taymans  <wim@fluendo.com>
27590
27591         * check/.cvsignore:
27592         * check/Makefile.am:
27593         * check/gst-libs/.cvsignore:
27594         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
27595         * check/gst/.cvsignore:
27596         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
27597         (START_TEST), (gstbus_suite), (main):
27598         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
27599         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
27600         (gst_data_suite), (main):
27601         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
27602         (add_fold_func), (gstiterator_suite), (main):
27603         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
27604         (thread_name_object), (thread_name_object_default),
27605         (gst_object_name_compare), (gst_object_suite), (main):
27606         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
27607         (gst_pad_suite), (main):
27608         * check/gstcheck.c: (gst_check_log_message_func),
27609         (gst_check_log_critical_func), (gst_check_init):
27610         * check/gstcheck.h:
27611         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
27612         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
27613         Added checks.
27614
27615 2005-03-07  Wim Taymans  <wim@fluendo.com>
27616
27617         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
27618         (gst_list_iterator_next), (gst_list_iterator_resync),
27619         (gst_list_iterator_free), (gst_iterator_new_list),
27620         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
27621         (gst_iterator_free), (gst_iterator_push), (filter_next),
27622         (filter_resync), (filter_uninit), (filter_free),
27623         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
27624         (gst_iterator_foreach), (find_custom_fold_func),
27625         (gst_iterator_find_custom):
27626         * gst/gstiterator.h:
27627         Added missing files.
27628
27629 2005-03-07  Wim Taymans  <wim@fluendo.com>
27630
27631         * Makefile.am:
27632         * configure.ac:
27633         * docs/design/part-MT-refcounting.txt:
27634         * docs/design/part-conventions.txt:
27635         * docs/design/part-gstobject.txt:
27636         * docs/design/part-relations.txt:
27637         * examples/mixer/mixer.c: (main):
27638         * examples/thread/thread.c: (eos), (main):
27639         * gst/Makefile.am:
27640         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
27641         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
27642         (gst_spider_plug_from_srcpad):
27643         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
27644         (gst_spider_identity_change_state),
27645         (gst_spider_identity_sink_loop_type_finding):
27646         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
27647         * gst/elements/gstidentity.c: (gst_identity_init):
27648         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
27649         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
27650         * gst/elements/gsttypefindelement.c: (free_entry):
27651         * gst/gst.c:
27652         * gst/gst.h:
27653         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
27654         (gst_bin_set_clock_func), (gst_bin_auto_clock),
27655         (gst_bin_set_index), (gst_bin_set_element_sched),
27656         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
27657         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
27658         (gst_bin_iterate_elements), (iterate_child_recurse),
27659         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
27660         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
27661         (compare_interface), (gst_bin_get_by_interface),
27662         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
27663         * gst/gstbin.h:
27664         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
27665         (gst_buffer_default_free), (gst_buffer_default_copy),
27666         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
27667         (gst_buffer_create_sub):
27668         * gst/gstbuffer.h:
27669         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
27670         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
27671         (gst_caps_unref), (gst_static_caps_get),
27672         (gst_caps_remove_and_get_structure), (gst_caps_append),
27673         (gst_caps_append_structure), (gst_caps_remove_structure),
27674         (gst_caps_copy_nth), (gst_caps_set_simple),
27675         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
27676         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
27677         (gst_caps_structure_intersect_field), (gst_caps_intersect),
27678         (gst_caps_structure_subtract_field), (gst_caps_subtract),
27679         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
27680         (gst_caps_structure_figure_out_union),
27681         (gst_caps_switch_structures), (gst_caps_do_simplify),
27682         (gst_caps_replace), (gst_caps_from_string),
27683         (gst_caps_copy_conditional):
27684         * gst/gstcaps.h:
27685         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
27686         (_gst_clock_id_free), (gst_clock_id_unref),
27687         (gst_clock_id_compare_func), (gst_clock_id_wait),
27688         (gst_clock_id_wait_async), (gst_clock_class_init),
27689         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
27690         (gst_clock_get_time), (gst_clock_set_time_adjust),
27691         (gst_clock_set_property), (gst_clock_get_property):
27692         * gst/gstclock.h:
27693         * gst/gstcompat.h:
27694         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
27695         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
27696         * gst/gstdata.h:
27697         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27698         (gst_element_requires_clock), (gst_element_provides_clock),
27699         (gst_element_set_clock), (gst_element_clock_wait),
27700         (gst_element_wait), (gst_element_set_time_delay),
27701         (gst_element_is_indexable), (gst_element_add_pad),
27702         (gst_element_add_ghost_pad), (gst_element_remove_pad),
27703         (pad_compare_name), (gst_element_get_static_pad),
27704         (gst_element_request_pad), (gst_element_get_request_pad),
27705         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
27706         (gst_element_class_get_pad_template_list),
27707         (gst_element_class_get_pad_template), (gst_element_error_func),
27708         (gst_element_get_random_pad), (gst_element_get_event_masks),
27709         (gst_element_send_event), (gst_element_seek),
27710         (gst_element_get_query_types), (gst_element_query),
27711         (gst_element_get_formats), (gst_element_convert),
27712         (gst_element_is_locked_state), (gst_element_set_locked_state),
27713         (gst_element_sync_state_with_parent), (gst_element_change_state),
27714         (gst_element_finalize), (gst_element_yield),
27715         (gst_element_interrupt), (gst_element_set_scheduler),
27716         (gst_element_get_scheduler), (gst_element_set_loop_function):
27717         * gst/gstelement.h:
27718         * gst/gstevent.h:
27719         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
27720         (gst_format_get_by_nick), (gst_format_get_details),
27721         (gst_format_iterate_definitions):
27722         * gst/gstformat.h:
27723         * gst/gstindex.c: (gst_index_gtype_resolver):
27724         * gst/gstinfo.c:
27725         * gst/gstinfo.h:
27726         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
27727         (gst_mem_chunk_free):
27728         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
27729         (gst_object_ref), (gst_object_unref), (gst_object_sink),
27730         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
27731         (gst_object_dispatch_properties_changed),
27732         (gst_object_set_name_default), (gst_object_set_name),
27733         (gst_object_get_name), (gst_object_set_name_prefix),
27734         (gst_object_get_name_prefix), (gst_object_set_parent),
27735         (gst_object_get_parent), (gst_object_unparent),
27736         (gst_object_check_uniqueness), (gst_object_save_thyself),
27737         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
27738         (gst_object_set_property), (gst_object_get_property),
27739         (gst_object_get_path_string):
27740         * gst/gstobject.h:
27741         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27742         (gst_real_pad_init), (gst_real_pad_get_property),
27743         (gst_pad_custom_new), (gst_pad_get_direction),
27744         (gst_pad_set_active), (gst_pad_is_active),
27745         (gst_pad_set_event_function), (gst_pad_is_linked),
27746         (gst_pad_link_free), (gst_pad_link_intersect),
27747         (gst_pad_link_fixate), (gst_pad_set_caps),
27748         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
27749         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
27750         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
27751         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
27752         (gst_pad_get_caps), (gst_pad_peer_get_caps),
27753         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
27754         (gst_pad_realize), (gst_pad_get_allowed_caps),
27755         (gst_real_pad_dispose), (gst_real_pad_finalize),
27756         (gst_pad_collectv), (gst_pad_collect_valist),
27757         (gst_pad_template_dispose), (gst_pad_template_new),
27758         (gst_pad_get_internal_links):
27759         * gst/gstpad.h:
27760         * gst/gstpipeline.c: (gst_pipeline_dispose),
27761         (gst_pipeline_change_state):
27762         * gst/gstpipeline.h:
27763         * gst/gstplugin.c:
27764         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
27765         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
27766         * gst/gstpluginfeature.h:
27767         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
27768         * gst/gstquery.c: (_gst_query_type_initialize),
27769         (gst_query_type_register), (gst_query_type_get_by_nick),
27770         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
27771         * gst/gstquery.h:
27772         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
27773         * gst/gstscheduler.c: (gst_scheduler_add_element),
27774         (gst_scheduler_factory_create):
27775         * gst/gststructure.c: (gst_structure_set_parent_refcount),
27776         (gst_structure_free), (gst_structure_set_name),
27777         (gst_structure_id_set_value), (gst_structure_set_value),
27778         (gst_structure_set_valist), (gst_structure_remove_field),
27779         (gst_structure_remove_fields),
27780         (gst_structure_remove_fields_valist),
27781         (gst_structure_remove_all_fields), (gst_structure_foreach),
27782         (gst_structure_map_in_place),
27783         (gst_caps_structure_fixate_field_nearest_int),
27784         (gst_caps_structure_fixate_field_nearest_double):
27785         * gst/gststructure.h:
27786         * gst/gstsystemclock.c: (gst_system_clock_class_init),
27787         (gst_system_clock_init), (gst_system_clock_dispose),
27788         (gst_system_clock_async_thread),
27789         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
27790         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
27791         * gst/gstsystemclock.h:
27792         * gst/gsttag.c: (gst_tag_list_add_value_internal),
27793         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
27794         * gst/gsttaginterface.c:
27795         * gst/gstthread.c: (gst_thread_dispose),
27796         (gst_thread_release_children_locks), (gst_thread_change_state),
27797         (gst_thread_main_loop):
27798         * gst/gsttrashstack.h:
27799         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
27800         * gst/gsttypes.h:
27801         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27802         (gst_element_request_pad), (gst_element_get_pad_from_template),
27803         (gst_element_request_compatible_pad),
27804         (gst_element_get_compatible_pad_filtered),
27805         (gst_element_get_compatible_pad), (gst_element_state_get_name),
27806         (gst_element_link_pads_filtered), (gst_element_link_filtered),
27807         (gst_element_link_many), (gst_element_link),
27808         (gst_element_link_pads), (gst_element_unlink_pads),
27809         (gst_element_unlink_many), (gst_element_unlink),
27810         (gst_pad_can_link_filtered), (gst_pad_can_link),
27811         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
27812         (gst_object_default_error), (gst_bin_add_many),
27813         (gst_bin_remove_many), (gst_element_populate_std_props),
27814         (gst_element_class_install_std_props), (gst_buffer_merge),
27815         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
27816         (link_fold_func), (gst_pad_proxy_setcaps):
27817         * gst/gstutils.h:
27818         * gst/gstvalue.c: (gst_value_deserialize_string):
27819         * gst/parse/grammar.y:
27820         * gst/schedulers/gstbasicscheduler.c:
27821         (gst_basic_scheduler_cothreaded_chain),
27822         (gst_basic_scheduler_chain_recursive_add),
27823         (gst_basic_scheduler_pad_link):
27824         * gst/schedulers/gstoptimalscheduler.c:
27825         (get_group_schedule_function),
27826         (gst_opt_scheduler_state_transition),
27827         (gst_opt_scheduler_add_element), (element_get_reachables_func):
27828         * libs/gst/bytestream/bytestream.c:
27829         * libs/gst/dataprotocol/dataprotocol.c:
27830         (gst_dp_header_from_buffer):
27831         * po/nb.po:
27832         * po/ru.po:
27833         * tests/threadstate/threadstate2.c: (eos):
27834         * tools/gst-compprep.c: (main):
27835         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
27836         (print_pad_info), (print_children_info):
27837         * tools/gst-launch.c: (idle_func), (main):
27838         * tools/gst-md5sum.c: (idle_func), (main):
27839         * tools/gst-xmlinspect.c: (print_element_info):
27840         First THREADED backport attempt, focusing on adding locks and
27841         making sure the API is threadsafe. Needs more work. More docs
27842         follow this week.
27843
27844 2005-02-24  Andy Wingo  <wingo@pobox.com>
27845
27846         * tests/bench-complexity.scm:
27847         * tests/complexity.gnuplot: New files, good for running complexity
27848         benchmarks.
27849
27850         * tests/Makefile.am:
27851         * tests/complexity.c: New test, sets up N elements, at each level
27852         teeing into M streams per element. Eeeenteresting.
27853
27854         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
27855         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
27856         running bench-mass_elements.scm.
27857
27858         * tests/bench-mass_elements.scm: New script, runs mass_elements
27859         for various numbers of identities, outputting the results to a
27860         file. Requires guile 1.6. Just for testing.
27861
27862 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27863
27864         * gst/schedulers/fairscheduler.c:
27865           compile with debug disabled
27866
27867 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27868
27869         * configure.ac:
27870           hunting season on 0.9 is now OPEN