4483a16e146bf8248fc765bc672f6680a31ff92e
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2
3         * docs/gst/gstreamer-sections.txt:
4         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
5         (gst_registry_binary_check_magic):
6         * gst/gstregistrybinary.h:
7         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
8         and add it to the (private part) of the docs to fix the build.
9
10 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
11
12         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
13         (gst_registry_binary_check_magic),
14         (gst_registry_binary_read_cache):
15         * gst/gstregistrybinary.h:
16         Don't use GST_MAJORMINOR for the binary registry version. Instead
17         hardcode a value that must be changed whenever the format changes
18         in an incompatible way.
19         Also don't GST_ERROR when there is a version mismatch, just
20         regenerate the registry silently.
21
22 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
23
24         * configure.ac:
25         Back to development - 0.10.18.1
26
27 === release 0.10.18 ===
28
29 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
30
31         * configure.ac:
32           releasing 0.10.18, "So far away"
33
34 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
35
36         * configure.ac:
37         * win32/common/config.h:
38         0.10.17.4 pre-release
39
40 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
41
42         Patch by: Ole André Vadla Ravnås
43             <ole dot andre dot ravnas at tandberg dot com>
44
45         * docs/gst/gstreamer-sections.txt:
46         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
47         (gst_poll_update_winsock_event_mask),
48         (gst_poll_prepare_winsock_active_sets),
49         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
50         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
51         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
52         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
53         (gst_poll_check_ctrl_commands), (gst_poll_wait):
54         * gst/gstpoll.h:
55         * win32/common/libgstreamer.def:
56         Add new function gst_poll_fd_ignored() for improved Windows
57         compatibility.
58         Various minor fixes and cleanups. See #520808.
59
60 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
61
62         * gst/gstindex.c: (gst_index_entry_free):
63         * gst/gstindex.h:
64           Don't free key strings which we don't own. Fixes crash in
65           gst_index_entry_free() (#522741).
66
67         * tests/check/Makefile.am:
68         * tests/check/gst/.cvsignore:
69         * tests/check/gst/gstindex.c: (test_index_entries),
70           (gst_index_suite), (gst_index):
71           Add unit test for the above.
72
73 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
74
75         * win32/common/libgstreamer.def:
76         Remove symbols that were removed recently. Fixes bug #521740.
77
78 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
79
80         * configure.ac:
81         * win32/common/config.h:
82         0.10.17.3 pre-release
83
84 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
85
86         Patch by: Ole André Vadla Ravnås
87             <ole dot andre dot ravnas at tandberg dot com>
88
89         * docs/gst/gstreamer-sections.txt:
90         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
91         (gst_poll_update_winsock_event_mask), (gst_poll_new),
92         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
93         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
94         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
95         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
96         (gst_poll_fd_can_write), (gst_poll_wait),
97         (gst_poll_set_controllable), (gst_poll_restart),
98         (gst_poll_set_flushing):
99         * gst/gstpoll.h:
100         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
101         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
102         (gst_net_time_provider_new):
103         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
104         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
105         * tests/benchmarks/gstpollstress.c: (main):
106         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
107         Remove GstPollMode from the API, it does not make sense to let the
108         application control this.
109         Add support for Win32.
110         Fix the testsuite. Fixes #520671.
111
112 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
113
114         Patch by: Ole André Vadla Ravnås
115             <ole dot andre dot ravnas at tandberg dot com>
116
117         * gst/gstregistrybinary.c:
118         Include io.h for write() and close() when building with MSVC. Fixes
119         bug #520877.
120
121 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
122
123         * configure.ac:
124         * gst/gst_private.h:
125         * gst/gstconfig.h.in:
126         * gst/gstregistry.h:
127         * gst/gstregistrybinary.c:
128         * win32/common/gstconfig.h:
129           Move registry backend API to private headers where we can. Add
130           fixme-0.11 comments for the others. Add stubs for the xml backend when
131           using the binary to ensure they functions exists (they should not be
132           used though). Fixes #520756.
133
134 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
135
136         * configure.ac:
137         * win32/common/config.h:
138         0.10.17.2 prelease
139
140 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
141
142         * gst/gstregistrybinary.c: (gst_registry_binary_write),
143         (gst_registry_binary_read_cache):
144         * gst/gstregistryxml.c: (gst_registry_save):
145         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
146         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
147         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
148         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
149         Switch to using portabl gsize/gssize instead of size_t/ssize_t
150         Fixes #520152
151
152 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
153
154         * gst/gstminiobject.c:
155         Import gst_private.h before any other header that might include other
156         glib headers. This fixes the build on windows using native compilers.
157
158 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
159
160         * win32/common/gstconfig.h:
161           Add here too, just for completeness.
162
163 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
164
165         * configure.ac:
166         * gst/gstconfig.h.in:
167         * gst/gstregistry.h:
168           Fix broken use of config.h-defined preprocessor directive in a public
169           header file. Add a corresponding define to gstconfig.h, since we can't
170           really remove those function declarations from the header file now
171           (or can we? and why are they there in the first place?).
172
173 2008-03-03  Andy Wingo  <wingo@pobox.com>
174
175         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
176         the new warning.
177
178         * gst/gststructure.c (gst_structure_from_string): Warn if
179         structure_from_string didn't consume the whole string, but the
180         caller did not provide an end pointer.
181
182 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
183
184         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
185
186         * gst/gstregistryxml.c: (read_string), (load_feature):
187           Strings allocated by libxml2 should be freed with xmlFree(), not
188           with g_free(). Fixes issues on windows in certain contexts (#519698).
189
190 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
191
192         * gst/gstinterface.c: (gst_element_implements_interface):
193           Don't crash if the element supports the interface queried, but does
194           not implement GstImplementsInterface. Fixes #519584.
195
196         * tests/check/Makefile.am:
197         * tests/check/gst/.cvsignore:
198         * tests/check/gst/gstinterface.c:
199           Add unit test for the above.
200
201 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
202
203         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
204         Small doc update.
205
206 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
207
208         * gst/gstsegment.c: (gst_segment_set_seek),
209         (gst_segment_to_stream_time):
210         Improve some comment.
211         Update variables where it makes more sense.
212
213 2008-02-29  Rene Stadler  <mail@renestadler.de>
214
215         * gst/gsturi.c: (gst_uri_handler_get_protocols):
216         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
217         URIHandlers implemented using language bindings.
218
219 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
220
221         * gst/gstelementfactory.h:
222         * tests/check/elements/fakesink.c:
223         * tests/check/elements/fakesrc.c: (setup_fakesrc):
224         * tests/check/elements/fdsrc.c: (setup_fdsrc):
225         * tests/check/elements/filesink.c: (setup_filesink):
226         * tests/check/elements/filesrc.c: (setup_filesrc):
227         * tests/check/elements/identity.c: (setup_identity):
228         * tests/check/elements/tee.c:
229         * tests/check/generic/sinks.c:
230         * tests/check/generic/states.c: (setup), (teardown):
231         * tests/check/gst/gst.c:
232         * tests/check/gst/gstabi.c:
233         * tests/check/gst/gstbin.c:
234         * tests/check/gst/gstbus.c: (pull_messages):
235         * tests/check/gst/gstcaps.c:
236         * tests/check/gst/gstelement.c:
237         * tests/check/gst/gstevent.c:
238         * tests/check/gst/gstghostpad.c:
239         * tests/check/gst/gstiterator.c:
240         * tests/check/gst/gstmessage.c:
241         * tests/check/gst/gstminiobject.c: (my_foo_init):
242         * tests/check/gst/gstobject.c: (thread_name_object),
243         (gst_object_suite):
244         * tests/check/gst/gstpad.c:
245         * tests/check/gst/gstplugin.c:
246         * tests/check/gst/gstpoll.c:
247         * tests/check/gst/gstquery.c:
248         * tests/check/gst/gstsegment.c:
249         * tests/check/gst/gststructure.c:
250         * tests/check/gst/gstsystemclock.c:
251         * tests/check/gst/gsttask.c:
252         * tests/check/gst/gstutils.c:
253         * tests/check/gst/gstvalue.c:
254         * tests/check/gst/struct_hppa.h:
255         * tests/check/gst/struct_i386.h:
256         * tests/check/gst/struct_ppc32.h:
257         * tests/check/gst/struct_ppc64.h:
258         * tests/check/gst/struct_x86_64.h:
259         * tests/check/libs/adapter.c: (create_and_fill_adapter):
260         * tests/check/libs/basesrc.c:
261         * tests/check/libs/controller.c: (GST_START_TEST):
262         * tests/check/libs/gdp.c:
263         * tests/check/libs/gstnetclientclock.c:
264         * tests/check/libs/gstnettimeprovider.c:
265         * tests/check/libs/libsabi.c:
266         * tests/check/libs/struct_hppa.h:
267         * tests/check/libs/struct_i386.h:
268         * tests/check/libs/struct_ppc32.h:
269         * tests/check/libs/struct_ppc64.h:
270         * tests/check/libs/struct_x86_64.h:
271         * tests/check/pipelines/cleanup.c:
272         * tests/check/pipelines/simple-launch-lines.c:
273         * tests/check/pipelines/stress.c:
274         And correct even more valid sparse warnings.
275
276         * win32/common/libgstreamer.def:
277         Add gst_poll_fd_init to the list of symbols.
278
279 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
280
281         * gst/gstconfig.h.in:
282         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
283         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
284         (gst_check_log_critical_func), (gst_check_drop_buffers),
285         (gst_check_element_push_buffer_list):
286         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
287         (gst_controller_get_type):
288         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
289         (gst_object_get_controller), (gst_object_get_control_source):
290         * libs/gst/controller/gstinterpolationcontrolsource.c:
291         (gst_interpolation_control_source_new):
292         * libs/gst/controller/gstlfocontrolsource.c:
293         (gst_lfo_control_source_new):
294         * libs/gst/dataprotocol/dataprotocol.c:
295         (gst_dp_event_from_packet_0_2):
296         * plugins/elements/gstfdsrc.c:
297         * plugins/elements/gstmultiqueue.c:
298         * plugins/elements/gsttee.c:
299         * plugins/elements/gsttypefindelement.c:
300         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
301         (gst_file_index_add_association):
302         * plugins/indexers/gstmemindex.c:
303         * tests/benchmarks/gstpollstress.c: (mess_some_more):
304         * tests/check/elements/queue.c: (setup_queue):
305         * tests/check/gst/gstpipeline.c:
306         * tests/check/libs/collectpads.c: (setup), (teardown),
307         (gst_collect_pads_suite):
308         * tests/examples/adapter/adapter_test.c:
309         * tests/examples/metadata/read-metadata.c: (make_pipeline):
310         * tests/examples/xml/createxml.c:
311         * tests/examples/xml/runxml.c:
312         * tools/gst-inspect.c:
313         * tools/gst-run.c:
314         Correct all relevant warnings found by the sparse semantic code
315         analyzer. This include marking several symbols static, using
316         NULL instead of 0 for pointers, not using variable sized arrays
317         on the stack, moving variable declarations to the beginning of
318         a block and using "foo (void)" instead of "foo ()" for declarations.
319
320 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
321
322         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
323         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
324         Don't reset GstPollFDs, this is not necessary at all.
325
326         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
327         (delayed_restart), (delayed_control):
328         Use GST_POLL_FD_INIT.
329
330 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
331
332         * gst/gstpoll.c: (gst_poll_fd_init):
333         * gst/gstpoll.h:
334         Added Since tags.
335
336         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
337         Use some more init macros.
338
339 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
340
341         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
342         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
343         Use init macros and functions.
344
345 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
346
347         * docs/gst/gstreamer-sections.txt:
348         * gst/gstpoll.c: (gst_poll_fd_init):
349         * gst/gstpoll.h:
350         Add INIT macro and _init method for initializing the GstPollFD.
351
352 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
353
354         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
355         (gst_fd_sink_update_fd):
356         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
357         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
358         (delayed_restart), (delayed_control):
359         Initialize some uninitialized variables as spotted by valgrind.
360
361 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
362
363         * tests/benchmarks/Makefile.am:
364         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
365         (main):
366         Add poll stress test.
367
368 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
369
370         Patch by: Peter Kjellerstedt <pkj at axis dot com>
371
372         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
373         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
374         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
375         * plugins/elements/gstfdsink.h:
376         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
377         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
378         (gst_fd_src_unlock_stop), (gst_fd_src_create),
379         (gst_fd_src_uri_set_uri):
380         * plugins/elements/gstfdsrc.h:
381         Port to GstPoll. See #505417.
382
383 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
384
385         * win32/common/libgstreamer.def:
386         Add new gst_poll_ symbols to win32 defs.
387
388 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
389
390         * docs/libs/gstreamer-libs-sections.txt:
391         * libs/gst/net/gstnetclientclock.c:
392         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
393         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
394         (gst_net_client_clock_thread), (gst_net_client_clock_start),
395         (gst_net_client_clock_stop), (gst_net_client_clock_new):
396         * libs/gst/net/gstnetclientclock.h:
397         * libs/gst/net/gstnettimeprovider.c:
398         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
399         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
400         (gst_net_time_provider_start), (gst_net_time_provider_stop),
401         (gst_net_time_provider_new):
402         * libs/gst/net/gstnettimeprovider.h:
403         Use a private stuct to not break ABI.
404
405 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
406
407         Patch by: Peter Kjellerstedt <pkj at axis dot com>
408
409         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
410         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
411         (gst_net_client_clock_thread), (gst_net_client_clock_start),
412         (gst_net_client_clock_stop), (gst_net_client_clock_new):
413         * libs/gst/net/gstnetclientclock.h:
414         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
415         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
416         (gst_net_time_provider_start), (gst_net_time_provider_stop),
417         (gst_net_time_provider_new):
418         * libs/gst/net/gstnettimeprovider.h:
419         Massive code removal and cleanups because of GstPoll.
420         Fixes #505417.
421
422 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
423
424         * configure.ac:
425         Add checks for poll, ppoll and pselect.
426
427         * docs/gst/gstreamer-docs.sgml:
428         * docs/gst/gstreamer-sections.txt:
429         Add docs for GstPoll.
430
431         * gst/Makefile.am:
432         * gst/gst.h:
433         * gst/gstpoll.c: (find_index), (selectable_fds),
434         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
435         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
436         (gst_poll_set_mode), (gst_poll_get_mode),
437         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
438         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
439         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
440         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
441         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
442         (gst_poll_fd_can_write), (gst_poll_wait),
443         (gst_poll_set_controllable), (gst_poll_restart),
444         (gst_poll_set_flushing):
445         * gst/gstpoll.h:
446         Add generic poll abstraction. We ideally don't want to have this in core
447         here but in glib intead...
448         This code will be used in various network elements and ultimately for
449         the nanosecond precision monotonic clock (that's why it's here in core).
450         It'll allow us to implement cancelable socket operations for windows too.
451
452         * tests/check/Makefile.am:
453         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
454         (delayed_stop), (delayed_restart), (delayed_flush),
455         (delayed_control), (gst_poll_suite):
456         Add GstPoll unit test.
457
458 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
459
460         * gst/gstfilter.c:
461           Improve documentation of gst_filter_run(). Fixes #518627.
462
463 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
464
465         * docs/README:
466           Add a few lines about the new 'check-inspected-versions' target.
467
468 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
469
470         * tests/check/gst/gstevent.c:
471           Add qos to the event test. Rename tcase/tsuite; is not only about
472           custom events.
473
474 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
475
476         * plugins/elements/gstqueue.c:
477           Ensure that buffer metadata is writeable, before modifying. Spotted by
478           Mike.
479
480 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
481
482         * plugins/elements/gstqueue.c:
483         * plugins/elements/gstqueue.h:
484           When dropping buffers in leaky modes, mark next buffers we sent as
485           DISCONT.
486
487 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
488
489         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
490           Also, if mmap() fails that would be a READ error, not OPEN_READ.
491
492 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
493
494         * plugins/elements/Makefile.am:
495         * plugins/elements/gstbufferstore.c:
496         * plugins/elements/gstbufferstore.h:
497         * plugins/elements/gsttypefindelement.h:
498           Remove GstBufferStore, no idea why we were still building it.
499           It's not used anywhere and superseded by GstAdapter.
500
501         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
502           (gst_file_src_create_mmap):
503         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
504           Printf format fixes for 64-bit integers.
505
506 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
507
508         * configure.ac:
509         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
510         We're not in 0.8 times anymore.
511
512 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
513
514         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
515         (gst_check_element_push_buffer_list):
516         * libs/gst/check/gstcheck.h:
517         Make the declaration in the header for
518         gst_check_element_push_buffer_list match the implementation.
519
520         Fix up spelling, grammar and wording of the documentation in a few
521         places, and add the Since keyword to new API functions.
522         Use g_list_delete_link instead of g_list_remove in
523         gst_check_drop_buffers, since it's immeasurably more efficient.
524
525         * tests/check/elements/fakesrc.c: (GST_START_TEST):
526         Use new gst_check_drop_buffers function where appropriate.
527
528         * win32/common/libgstbase.def:
529         * win32/common/libgstreamer.def:
530         Add new symbols gst_collect_pads_take_buffer, 
531         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
532         exports
533
534         Changelog surgery to add API keyword to new gst_check API.
535
536 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
537
538         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
539         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
540         Update pre-generated flex files with flex 2.3.34.
541
542 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
543
544         * gst/gstminiobject.c:
545           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
546           friendly to subclasses and not require them to know all internals
547           of their parent class.
548
549 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
550
551         * docs/libs/gstreamer-libs-sections.txt:
552         * libs/gst/base/gstcollectpads.c:
553         * libs/gst/base/gstcollectpads.h:
554           Add sub-buffer functions to collectpads. Fixes #516187.
555           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
556
557 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
558
559         * gst/gstbuffer.c:
560           Copy selected buffer-flags when creating subbuffers.
561           Fixes #516395.
562
563 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
564
565         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
566         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
567         * gst/gstmessage.c: (gst_message_class_init),
568         (gst_message_finalize):
569         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
570         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
571         (gst_mmap_buffer_finalize):
572         Properly chain up finalize functions to the parent class.
573
574 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
575
576         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
577
578         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
579         (gst_index_set_resolver_full):
580         * gst/gstindex.h:
581         Add new function with option to dispose of user_data in resolver.
582         Actually call the dispose function when finalizing the object and not
583         just when changing the resolver/filter.
584         API: GstIndex::gst_index_set_resolver_full()
585
586         * docs/gst/gstreamer-sections.txt:
587         Add new function to docs. Fixes #515469.
588
589 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
590
591         * gst/gstindex.c: (gst_index_finalize):
592         Chain up finalize to the parent class. Fixes leaking the GstObject
593         name and other things.
594
595 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
596
597         * configure.ac:
598         Make DISABLE_DEPRECATED defined *only* during CVS, not during
599         pre-releases or releases.
600
601         * docs/faq/gst-uninstalled:
602         Add gst-plugins-gl
603
604         * docs/random/release:
605         Change one of the steps - we only upload core & base to Gnome FTP
606
607 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
608
609         * gst/gstconfig.h.in:
610           Add 'id' for example.
611
612         * gst/gstpad.c:
613         * gst/gstutils.c:
614         * plugins/elements/gstfdsink.c:
615           Link to signals. Doc and comment fixes.
616
617 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
618
619         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
620         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
621           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
622           unused and unimplemented; finally, it is plugin features, not
623           plugins, that have ranks.
624           
625 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
626
627         * gst/gstpluginfeature.h:
628           Clarify GstRank range docs.
629
630 2008-02-05  David Schleef  <ds@schleef.org>
631
632         * gst/gst.c: Add a separate gst_deinitialized that prevents
633           gst_init() from being called after gst_deinit().  Fixes #509559
634
635 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
636
637         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
638         (gst_bin_class_init):
639         * gst/gstelement.c: (gst_element_base_class_init),
640         (gst_element_class_add_pad_template):
641         * gst/gstpadtemplate.c: (gst_pad_template_init):
642         * gst/gstpipeline.c: (gst_pipeline_get_type),
643         (gst_pipeline_base_init), (gst_pipeline_class_init):
644         * libs/gst/base/gstbasesink.c:
645         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
646         (gst_base_src_base_init), (gst_base_src_class_init):
647         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
648         (gst_capsfilter_class_init):
649         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
650         (gst_fake_sink_class_init):
651         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
652         (gst_fake_src_class_init):
653         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
654         (gst_fd_sink_class_init):
655         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
656         (gst_fd_src_class_init):
657         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
658         (gst_file_sink_class_init):
659         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
660         (gst_file_src_class_init):
661         * plugins/elements/gstidentity.c: (gst_identity_base_init),
662         (gst_identity_class_init):
663         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
664         (gst_multi_queue_class_init):
665         * plugins/elements/gstqueue.c: (gst_queue_base_init),
666         (gst_queue_class_init):
667         * plugins/elements/gsttee.c: (gst_tee_base_init),
668         (gst_tee_class_init):
669         * plugins/elements/gsttypefindelement.c:
670         (gst_type_find_element_base_init),
671         (gst_type_find_element_class_init):
672         * tests/check/gst/gstelement.c: (gst_element_suite):
673         Revert previous changes to the behaviour of GstPadTemplates, etc
674         and the possiblity to call them in class_init as it breaks too
675         many elements. Reopens bug #491501.
676
677         Should be applied again for 0.11, thus added a few FIXME 0.11 at
678         several places.
679
680 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
681
682         * tools/gst-launch.c:
683         Dump one graph per pipeline state-change and state change name
684         (if GST_DEBUG_DUMP_DOT_DIR is set).
685
686 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
687
688         * gst/gstpad.c:
689         * tests/check/gst/gstpad.c:
690         Be sure that we have a new copy of the caps and not
691         reffed caps from a template
692
693 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
694
695         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
696         * gst/gstpipeline.c: (gst_pipeline_get_type),
697         (gst_pipeline_class_init):
698         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
699         (gst_base_sink_class_init):
700         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
701         (gst_base_src_class_init):
702         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
703         (gst_base_transform_class_init):
704         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
705         (gst_collect_pads_class_init):
706         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
707         * libs/gst/net/gstnettimeprovider.c:
708         (gst_net_time_provider_base_init),
709         (gst_net_time_provider_class_init):
710         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
711         (gst_capsfilter_class_init):
712         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
713         (gst_fake_sink_class_init):
714         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
715         (gst_fake_src_class_init):
716         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
717         (gst_fd_sink_class_init):
718         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
719         (gst_fd_src_class_init):
720         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
721         (gst_file_sink_class_init):
722         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
723         (gst_file_src_class_init):
724         * plugins/elements/gstidentity.c: (gst_identity_base_init),
725         (gst_identity_class_init):
726         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
727         (gst_multi_queue_class_init):
728         * plugins/elements/gstqueue.c: (gst_queue_base_init),
729         (gst_queue_class_init):
730         * plugins/elements/gsttee.c: (gst_tee_base_init),
731         (gst_tee_class_init):
732         * plugins/elements/gsttypefindelement.c:
733         (gst_type_find_element_base_init),
734         (gst_type_find_element_class_init):
735         Don't use base_init where not absolutely necessary. For example it's
736         not necessary anymore for adding pad templates or setting element
737         details.
738
739         Leave empty base_init functions in several places as GST_BOILERPLATE
740         still defines and uses them.
741
742 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
743
744         * gst/gstelement.c: (gst_element_base_class_init),
745         (gst_element_class_add_pad_template):
746         * gst/gstpadtemplate.c:
747         Make it possible (and recommended) to set element details and add
748         pad templates in the class_init functions by copying the details/pad
749         templates in GstElement's base_init.
750
751         Also make it possible to replace existing pad templates by adding
752         a new one with the same name. This was done in a hackish fashion
753         in same elements before already.
754
755         Don't reference pad templates that are added a second time. A
756         new pad template has a refcount of one and is not floating anymore
757         and to be owned by the element's class. Make this more explicit by
758         mentioning it in the docs of gst_element_class_add_pad_template().
759
760         These changes are backwards compatible. Fixes bug #491501.
761
762         * tests/check/gst/gstelement.c:
763         Add unit test for setting element details, adding pad templates and
764         replacing them in a subclass.
765
766 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
767
768         * tools/gst-inspect.c: (print_interfaces),
769         (print_element_properties_info), (print_pad_info),
770         (print_signal_info), (print_element_info):
771         Fix a few memory leaks.
772
773 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
774
775         * docs/libs/gstreamer-libs-sections.txt:
776         * libs/gst/check/gstcheck.c:
777         * libs/gst/check/gstcheck.h:
778         Add more functions for unit testing: gst_check_drop_buffers,
779         gst_check_caps_equal, gst_check_element_push_buffer_list,
780         gst_check_element_push_buffer
781         API: gst_check_drop_buffers
782         API: gst_check_caps_equal
783         API: gst_check_element_push_buffer_list
784         API: gst_check_element_push_buffer
785
786 2008-02-01  Julien Moutte  <julien@fluendo.com>
787
788         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
789         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
790         (gst_index_finalize), (gst_index_entry_free),
791         (gst_index_add_association): Fix memory leaks.
792         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
793         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
794         (gst_mem_index_free_format), (gst_mem_index_free_id),
795         (gst_mem_index_finalize): Fix memory leaks.
796         * win32/common/config.h: Updated to CVS HEAD.
797
798 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
799
800         * docs/README:
801           Some more details about how the plugin docs works.
802
803         * docs/plugins/gstreamer-plugins-sections.txt:
804           Whitespace cleanup.
805
806 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
807
808         * gst/parse/grammar.tab.pre.c:
809         * gst/parse/grammar.tab.pre.h:
810         * gst/parse/grammar.y:
811         * gst/parse/lex._gst_parse_yy.pre.c:
812           Add delayed set-property. This allows to set properties on dynamicaly
813           created objects (pads in videomxer).
814
815 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
816
817         * gst/gstutils.c:
818         Check if caps are not NULL (fix bug #510194)
819
820 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
821
822         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
823         (gst_base_sink_get_position_paused):
824         Add fixme regarding EOS in pull mode.
825         Fix position reporting in PAUSED for negative rates.
826
827 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
828
829         * gst/gstminiobject.c: (gst_mini_object_replace):
830         When replacing a miniobject, do a quick equality check first so that we
831         can avoid a ref/unref pair.
832
833 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
834
835         * docs/design/part-synchronisation.txt:
836         Update some docs.
837
838         * docs/plugins/Makefile.am:
839         * docs/plugins/gstreamer-plugins-docs.sgml:
840         * docs/plugins/gstreamer-plugins-sections.txt:
841         * plugins/elements/gstmultiqueue.c:
842         Add multiqueue to the docs.
843
844 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
845
846         * configure.ac:
847           Back to CVS
848
849 === release 0.10.17 ===
850
851 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
852
853         * configure.ac:
854           releasing 0.10.17, "Due Negligence"
855
856 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
857
858         * gst/gstutils.c:
859         Revert caps != NULL check temporarily for 0.10.17 release.
860
861 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
862
863         * gst/gstutils.c:
864         Check if caps are not NULL (fix bug #510194)
865
866 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
867
868         * gst/gstutils.c:
869         Fix compilation on systems that have posix timers but no
870         monotonic clock.
871         Fixes: #512715
872         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
873         dot net>
874
875 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
876
877         * tools/gst-inspect.c:
878         Revert previous commit in preparation for an impromptu 0.10.17 release
879
880 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
881
882         * tools/gst-inspect.c: (print_interfaces),
883         (print_element_properties_info), (print_pad_info),
884         (print_signal_info), (print_element_info):
885         Fix a few memory leaks.
886
887 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
888
889         * configure.ac:
890         Back to CVS
891
892 === release 0.10.16 ===
893
894 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
895
896         * configure.ac:
897           releasing 0.10.16, "Special Dispensation"
898
899 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
900
901         * configure.ac:
902           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
903           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
904           not fail when trying to crosscompile on OpenEmbedded (#511750).
905
906 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
907
908         * docs/manuals.mak:
909         Use $(MAKE) instead of make to fix the build if GNU make is
910         called different. Fixes bug #510747.
911
912 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
913
914         * gst/gstplugin.c: (_gst_plugin_initialize):
915           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
916           again, which I broke two commits ago when changing the API
917           of gst_plugin_register_static(): the g_list_foreach() in
918           _gst_plugin_register_static still assumed the old function
919           signature and would therefore fail (re-fixes #510187).
920
921         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
922           (_gst_plugin_register_static), (gst_plugin_register_static):
923           Revert the (technically correct) change to call g_thread_init() from
924           the pre-main() constructor. This will break programs which call
925           g_thread_init() without an if (!g_thread_supported()) guard in their
926           main function. We could just blame it on GLib or the application, but
927           it's probably best to just avoid this altogether and simply not use
928           any GLib functions here and use plain old malloc() with a simple
929           array to store the plugins to register later when gst_init() is
930           finally called (re-fixes #510187).
931
932         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
933           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
934           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
935           (GST_START_TEST), (gst_plugin_suite):
936           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
937           works.
938
939 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
940
941         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
942           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
943           This makes gtk-doc complain, but results in slightly better
944           compiler errors. The old _gst_plugin_register_static() is
945           still guarded, so there'll be a compiler warning about that
946           instead. Fixes #510187 too.
947
948 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
949
950         * gst/gst.c: (init_post):
951         * gst/gstplugin.c: (_gst_plugin_register_static),
952           (gst_plugin_register_static), (_gst_plugin_initialize):
953         * gst/gstplugin.h: (GstPluginFilter):
954           Change API of gst_plugin_register_static() to not take
955           a GstPluginDesc, but rather just take all the arguments
956           in a GstPluginDesc directly. This is more intuitive and
957           avoids certain mistakes when porting code from
958           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
959           Fixes #510187.
960
961         * tests/check/gst/gstplugin.c:
962           Fix up for changed API.
963
964 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
965
966         * docs/faq/legal.xml:
967           Update FAQ, Totem actually has an exception these days.
968
969 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
970
971         * win32/common/libgstreamer.def:
972         Add new API declarations
973
974 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
975
976         * gst/gstminiobject.c:
977           Spelling fixes for the API docs.
978
979 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
980
981         * libs/gst/base/gstbasetransform.c:
982           Fix long property description for QoS.
983
984 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
985
986         * gst/gst.c:
987         _gst_trace_on is already provided by gsttrace.h, no need to declare
988         it ourselves.
989
990         * docs/libs/gstreamer-libs-sections.txt:
991         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
992         and remove strange tcase_add_test which is outputting a warning.
993
994         * libs/gst/check/gstcheck.c:
995         * libs/gst/check/gstcheck.h:
996         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
997         and define them in gstcheck.c instead of having every .c file whcih
998         includes gstcheck.h be defining its own copy and relying on symbol
999         interposing to marry them all, which doesn't work on Solaris.
1000
1001         * tests/check/elements/identity.c: (GST_START_TEST):
1002         Don't define 'buffers' locally, it comes from libgstcheck.
1003
1004         * tests/check/generic/sinks.c: (send_buffer):
1005         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
1006
1007         * tests/check/gst/gststructure.c: (GST_START_TEST):
1008         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
1009         * tests/check/gst/gstutils.c: (GST_START_TEST):
1010         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1011         Add a bunch of casts to make various constants fit the types
1012         they're being assigned to.
1013
1014 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
1015
1016         * gst/gstchildproxy.c:
1017           Improve docs and add some ideas for making this more general-purpose.
1018
1019 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
1020
1021         * gst/gst_private.h: (GST_CAT_TYPES):
1022           Add GST_CAT_TYPES, for consistency, and so that the other
1023           debug categories don't make fun of it. Spotted by Saur on IRC.
1024
1025 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
1026
1027         * gst/parse/Makefile.am:
1028           Move types.h from EXTRA_DIST to noinst_HEADERS.
1029
1030 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
1031
1032         * autogen.sh:
1033           Add -Wno-portability to the automake parameters to stop warnings
1034           about GNU make extensions being used. We require GNU make in almost
1035           every Makefile anyway.
1036
1037         * configure.ac:
1038           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
1039           at the same time is required for per target flags.
1040
1041 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1042
1043         * gst/gstmacros.h:
1044           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
1045           __GNUC__ is defined before using it.
1046
1047 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1048
1049         * docs/gst/gstreamer-sections.txt:
1050         * gst/gst.c: (init_post):
1051         * gst/gstplugin.c: (_gst_plugin_register_static),
1052           (gst_plugin_register_static), (_gst_plugin_initialize),
1053           (gst_plugin_register_func):
1054         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1055           API: add gst_plugin_register_static() and deprecate
1056           GST_PLUGIN_DEFINE_STATIC, since it's not portable
1057           (#498924).
1058           Also, in _gst_plugin_register_static(), make sure to call
1059           g_thread_init() before calling GLib functions such as
1060           g_list_append() if we're not initialised yet, since that
1061           may lead to random crashes with older GSlice/GLib versions.
1062
1063         * tests/check/gst/gstplugin.c:
1064           Adapt unit test to above changes.
1065
1066 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1067
1068         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
1069         * gst/gstcaps.c: (gst_caps_to_string):
1070         * gst/gststructure.c: (GST_ASCII_IS_STRING),
1071           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
1072           Yet another gratuitous GString micro-optimisation: add a (private)
1073           function that serialises a structure appending to an existing
1074           GString, so that when we serialise caps we don't need to alloc+free
1075           a throwaway GString for each structure (each of which also entailing
1076           multiple reallocs on the way); also use g_string_sized_new() in
1077           various places with an approximate string length to avoid reallocs
1078           within GString. See #500143.
1079
1080 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1081
1082         * gst/gststructure.c: (gst_structure_id_set_value):
1083           Always check UTF-8 conformance of structure strings and not only
1084           if the debugging system is enabled; reasoning: the behaviour of
1085           the actual code shouldn't really change depending on whether the
1086           debugging system is enabled or not (#508291).
1087
1088 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
1089
1090         * Makefile.am:
1091           Remove old coverage target in favour of "make lcov".
1092
1093 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1094
1095         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1096         (gst_base_src_loop):
1097         The start segment for reverse playback goes from start to last_stop.
1098
1099 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1100
1101         Patch by: Peter Kjellerstedt <pkj axis com>
1102
1103         * gst/gstclock.h:
1104         Cast the results from the timeval/spec_to_time macros to what the
1105         docs say it casts to, a GstClockTime. fixes #508175.
1106
1107 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1108
1109         * gst/gstbuffer.c:
1110         Update some comments.
1111
1112         * tools/gst-inspect.c: (print_element_properties_info):
1113         Improve printing of flags.
1114
1115 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1116
1117         * libs/gst/base/gstbasetransform.c:
1118           (gst_base_transform_transform_size):
1119           Print element name with g_warning() if there's a problem
1120           with the unit size.
1121
1122 2008-01-07  David Schleef  <ds@schleef.org>
1123
1124         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
1125
1126         * libs/gst/controller/gstcontroller.h:
1127         * libs/gst/controller/gstcontrolsource.h:
1128         * libs/gst/controller/gstinterpolationcontrolsource.h:
1129         * libs/gst/controller/gstlfocontrolsource.h:
1130         * libs/gst/dataprotocol/dataprotocol.h:
1131           Fix empty prototypes.  Fixes bug #507957.
1132
1133 2008-01-07  David Schleef  <ds@schleef.org>
1134
1135         * docs/faq/dependencies.xml: Fix typo.
1136
1137 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1138
1139         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
1140         (gst_base_src_loop):
1141         Don't update the last_stop position in do_seek, that's the position we
1142         did a seek to.
1143         Read backwards when we have a negative rate.
1144
1145         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
1146         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
1147         (filesrc_suite):
1148         Add check for reverse reading.
1149
1150 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
1151
1152         Patch by: Alexis Ballier <aballier at gentoo org>
1153
1154         * tests/check/gst/gstabi.c:
1155         * tests/check/gst/struct_ppc64.h:
1156         * tests/check/libs/libsabi.c:
1157         * tests/check/libs/struct_ppc64.h:
1158           Decide which header to include based on the userland ABI target
1159           and not the kernel/cpu. Fix up structure sizes of ppc64 header
1160           for 64-bit userland (#503590).  Might need something similar for
1161           x86 too.
1162
1163 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1164
1165         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
1166           Log the reason why fopen fails in addition to the fact that it failed.
1167           
1168 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
1169
1170         * gst/parse/parse.l:
1171         Use "%option never-interactive" to prevent useless calls to isatty()
1172         on every input when parsing. Also use "%option noinput" to not define
1173         the static input/yyinput functions which we don't use anyway. This
1174         removes a compiler warning with gcc 4.3 and saves some bytes in the
1175         library.
1176         
1177         * gst/parse/lex._gst_parse_yy.pre.c:
1178         Regenerated for the above change.
1179
1180 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1181
1182         * gst/gstpad.c: (fixate_value):
1183         Don't crash when trying to fixate and empty list.
1184         Fixes #506643.
1185
1186 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
1187
1188         * docs/faq/gst-uninstalled:
1189         Clarify the comments to make the usage of this script and what it
1190         does easier to understand.
1191
1192 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
1193
1194         * tools/gst-plot-timeline.py:
1195         Add more options to gst-plot-timeline
1196
1197 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1198
1199         * docs/design/part-synchronisation.txt:
1200         Some more info on how the stream_time in GstBaseSink is done.
1201
1202 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
1203
1204         * tests/check/generic/sinks.c: (gst_sinks_suite):
1205           Put back the tcase_set_timeout(), apparently it's needed after
1206           all; fix it up in a way that makes things work with valgrind too.
1207
1208 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
1209
1210         * gst/gstdebugutils.c:
1211           Add warning when failed to open file for writing.
1212
1213 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1214
1215         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
1216
1217         * gst/gstvalue.c: (gst_value_is_fixed):
1218           Optimisation: bail out of the loop as early as possible (#500143).
1219
1220 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1221
1222         * gst/gstcaps.c: (gst_caps_to_string):
1223         * gst/gstinfo.c: (gst_debug_construct_term_color):
1224         * gst/gstparse.c: (gst_parse_launchv):
1225         * gst/gstutils.c: (gst_util_dump_mem):
1226         * gst/gstvalue.c: (gst_value_serialize_any_list),
1227           (gst_value_transform_any_list_string):
1228           Bunch of gratuitous nano-optimisations.
1229
1230 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1231
1232         * tests/check/generic/sinks.c: (async_done_func),
1233           (async_done_eos_func):
1234           Fix leak in unit test (bus sync handler must unref the message
1235           if it returns GST_BUS_DROP). Don't fiddle with the default test
1236           timeout, this is smaller than the current preconfigured value
1237           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
1238           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
1239
1240 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1241
1242         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1243
1244         * configure.ac:
1245         Check for stdio_ext.h for the filesink changes.
1246
1247         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
1248         (gst_file_sink_class_init), (gst_file_sink_init),
1249         (gst_file_sink_dispose), (gst_file_sink_set_property),
1250         (gst_file_sink_get_property), (gst_file_sink_open_file),
1251         (gst_file_sink_close_file):
1252         * plugins/elements/gstfilesink.h:
1253         Add two properties to control the buffering mode and size.
1254         API: GstFileSink::buffer-mode
1255         API: GstFileSink::buffer-size
1256         Fixes #500150.
1257
1258 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1259
1260         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
1261         Add some more docs to explain why a FIXME was wrongly added. 
1262
1263 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
1264
1265         * gst/gstobject.c:
1266           Fix typo in the gst_object_{ref,unref} documentation.
1267
1268 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
1269
1270         * tests/check/libs/controller.c:
1271         * tests/check/libs/typefindhelper.c:
1272         * tests/check/pipelines/parse-launch.c:
1273           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
1274           going to be deprecated (see #498924).
1275
1276 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
1277
1278         * gst/gsttypefind.c: (gst_type_find_register):
1279           Make gst_type_find_register work for static typefind functions,
1280           ie. allow passing plugin == NULL (prerequisite for #498924).
1281
1282         * gst/gstelementfactory.c: (gst_element_register):
1283           Small docs addition.
1284
1285 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1286
1287         * gst/gstpad.c: (gst_pad_dispose):
1288         Really unlink the peer pad instead of setting the peer pointer to NULL
1289         when we dispose the pad.
1290         This correctly calls the unlink functions and makes sure that the peer
1291         does not have a handle to invalid memory. See #504671.
1292
1293         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1294         Add testsuite for above case.
1295
1296 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
1297
1298         Patch by: Peter Kjellerstedt <pkj axis com>
1299
1300         * libs/gst/check/gstcheck.h:
1301           Fix detection of the check version we're compiling against (would
1302           otherwise break if check goes v0.10.0); correctly report the
1303           name of the failed test again in case of failure, instead of
1304           just 'tf' (fixes #504499).
1305
1306 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1307
1308         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1309         (gst_base_src_get_range), (gst_base_src_pad_get_range),
1310         (gst_base_src_loop), (gst_base_src_set_flushing),
1311         (gst_base_src_change_state):
1312         Allow sending EOS to the source to make it send out an EOS event from
1313         the streaming thread.
1314         Update docs and deprecate the old NULL/READY shutdown method.
1315
1316         * tests/check/libs/basesrc.c: (GST_START_TEST),
1317         (gst_basesrc_suite):
1318         Add unit test for controlled shutdown.
1319
1320 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1321
1322         * docs/design/part-synchronisation.txt:
1323         Small updates.
1324
1325         * gst/gstsegment.c: (gst_segment_set_seek),
1326         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1327         (gst_segment_to_running_time):
1328         The seek format can be different from the segment format when the start
1329         and stop values are not to be updated, when we only do a rate change for
1330         example.
1331
1332         * tests/check/gst/gstsegment.c: (GST_START_TEST),
1333         (gst_segment_suite):
1334         Add a testcase for the rate-only seeks, checking that the format is
1335         correctly ignored when start and stop are not updated.
1336
1337 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
1338
1339         Patch by: Matthias Bolte <photon at mail dot upb dot de>
1340
1341         * win32/vs8/grammar.vcproj:
1342         * win32/vs8/libgstcontroller.vcproj:
1343         * win32/vs8/libgstreamer.vcproj:
1344         Fix compilation with VS8 and include some missing files.
1345
1346 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
1347
1348         * gst/gsttaglist.c:
1349           Small docs addition: mention that the strings returned by
1350           gst_tag_list_get_string*() are in UTF-8 encoding.
1351
1352 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
1353
1354         * Makefile.am:
1355           The check-exports stuff moved to common/win32.mak, so include that.
1356
1357 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1358
1359         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1360         (gst_base_src_perform_seek), (gst_base_src_get_range),
1361         (gst_base_src_set_playing), (gst_base_src_change_state):
1362         Make _wait_playing() not check any variables so that we can call this
1363         function from subclasses. Move the checks elsewhere similar to
1364         _wait_preroll() in basesink.
1365         Add some debugging.
1366         Only signal the LIVE cond when we are going back to PLAYING.
1367
1368 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1369
1370         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1371           Use g_remove() and g_rename(). Check result of g_rename(), and
1372           don't leak the open file descriptor if we error out when writing.
1373
1374         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
1375           Must check the return value of close() after writing out the new
1376           registry file.  Sometimes write problems such as out-of-diskspace
1377           are only reported when the file is closed and not already during
1378           the write.  This may have caused partial/broken registry files in
1379           some rare circumstances. Should fix #503675.
1380
1381 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
1382
1383         * docs/gst/.cvsignore:
1384         * docs/libs/.cvsignore:
1385         * docs/plugins/.cvsignore:
1386         Ignore files generated by new common/* modifications
1387
1388 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1389
1390         * win32/common/libgstbase.def:
1391           Yes, you can also have a <TAB> if you want.
1392
1393 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1394
1395         * win32/common/libgstbase.def:
1396           Add new basetransform API to win export file.
1397
1398 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1399
1400         * tests/check/gst/gstbin.c:
1401           Adjust the test to the refcount change two days ago.
1402
1403 2007-12-14  David Schleef  <ds@schleef.org>
1404
1405         * docs/faq/getting.xml: Fix typo.
1406
1407 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
1408
1409         * docs/libs/gstreamer-libs-sections.txt:
1410         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1411           (gst_base_transform_prepare_output_buffer),
1412           (gst_base_transform_set_gap_aware):
1413         * libs/gst/base/gstbasetransform.h:
1414           API: Add gst_base_transform_set_gap_aware() to control whether
1415           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
1416           get buffers with this flag at all. Fixes #503231.
1417
1418 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
1419
1420         * libs/gst/base/gstbasesink.c:
1421         * libs/gst/base/gstbasesrc.c:
1422         * libs/gst/base/gstbasetransform.c:
1423           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
1424           thread. Correct log message in gstbasesrc.c.
1425
1426 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1427
1428         * gst/gstutils.c: (element_find_unconnected_pad):
1429           Fix possible compiler warning (#503417).
1430
1431 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1432
1433         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
1434           Don't use GST_CAT_EVENT here for logging, it makes no sense.
1435
1436 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
1437
1438         * tools/gst-inspect.c: (print_element_properties_info):
1439           Add support for GstFraction properties.
1440
1441 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
1442
1443         * Makefile.am:
1444           Add check-exports target and run it as part of 'make check'
1445           (see #499140 and #493983).
1446
1447         * gst/gst_private.h:
1448         * gst/gstelementfactory.h:
1449         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
1450         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
1451           (_priv_gst_in_valgrind):
1452         * gst/gstinfo.h: (GstLogFunction):
1453         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
1454           (gst_type_find_register):
1455         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
1456           (gst_type_find_factory_get_type):
1457         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
1458           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
1459           (gst_controller_new_valist), (gst_controller_new_list),
1460           (_gst_controller_dispose), (_gst_controller_class_init):
1461         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
1462         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
1463           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
1464           (gst_object_get_controller), (gst_object_set_controller),
1465           (gst_object_suggest_next_sync), (gst_object_sync_values),
1466           (gst_object_set_control_source), (gst_object_get_control_source),
1467           (gst_object_get_value_arrays), (gst_object_get_value_array),
1468           (gst_object_get_control_rate), (gst_object_set_control_rate):
1469         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
1470         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
1471           Make some functions that should be static static; rename some
1472           private symbols so that they don't get exported; add some FIXME
1473           comments so we can move accidentally exported functions into
1474           our private section in 0.11.
1475
1476         * win32/common/libgstreamer.def:
1477           Add gst_utils_get_timestamp().
1478
1479 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
1480
1481         * gst/gstvalue.c:
1482         * gst/gstvalue.h:
1483           Add more missing "Since:" tags to docs.
1484
1485 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
1486
1487         * gst/gstutils.c:
1488           Add mising "Since:" to docs.
1489
1490 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1491
1492         * gst/gstplugin.c:
1493           Include "glib-compat-private.h" to fix the build on system with
1494           glib < 2.10. Fixes #503131.
1495
1496 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1497
1498         * gst/gstutils.c:
1499         * gst/gstutils.h:
1500           Actually its not PURE as it gets the time from elsewhere.
1501
1502 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1503
1504         * docs/gst/gstreamer-sections.txt:
1505         * gst/gstclock.h:
1506         * gst/gstdebugutils.c:
1507         * gst/gstinfo.c:
1508         * gst/gstutils.c:
1509         * gst/gstutils.h:
1510         * libs/gst/base/gstbasesink.c:
1511         * tools/gst-launch.c:
1512           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
1513           uses as we don't have HAVE_POSIX_TIMERS in public headers.
1514           Thanks Tim for spotting.
1515           API: gst_util_get_timestamp
1516
1517 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
1518
1519         * configure.ac:
1520           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
1521
1522 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
1523
1524         * gst/gststructure.c: (gst_structure_validate_name),
1525           (gst_structure_new_valist), (gst_structure_parse_value),
1526           (gst_structure_from_string):
1527           Don't crash in _from_string() if the structure name is not valid
1528           (fixes #501560).  Allow structure names to start with a number
1529           again (this apparently broke the ubuntu codec installer).
1530
1531         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
1532           (GST_START_TEST):
1533           Add unit test for the crash; update unit tests for new behaviour.
1534
1535 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
1536
1537         * gst/gstutils.c:
1538         Clarify gst_element_get_compatible_pad() documentation.
1539         Fixes #500919.
1540
1541 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
1542
1543         * tests/check/Makefile.am:
1544           Don't forget to dist {gst,libs}/struct_hppa.h.
1545
1546 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1547
1548         * libs/gst/base/gstbasesink.c:
1549           Use new API to get elapsed time.
1550
1551 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1552
1553         * gst/gstdebugutils.c:
1554         * gst/gstinfo.c:
1555           Fix wrong order of args in GST_CLOCK_DIFF() usage.
1556
1557         * tools/gst-launch.c:
1558           Use new API to get elapsed time.
1559
1560 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1561
1562         * docs/gst/gstreamer-sections.txt:
1563         * gst/gstclock.h:
1564         * gst/gstdebugutils.c:
1565         * gst/gstinfo.c:
1566           Rename new API + ChangeLog surgery to remove old name from last entry..
1567
1568 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1569
1570         * docs/gst/gstreamer-sections.txt:
1571         * gst/gstclock.h:
1572         * gst/gstdebugutils.c:
1573         * gst/gstinfo.c:
1574           Now hide the different clock stuff behind a macro.
1575
1576 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1577
1578         * configure.ac:
1579         * gst/gstdebugutils.c:
1580         * gst/gstinfo.c:
1581           Apply the posix-timer check from #361155. Conditionally use the posix
1582           timer for logging. This gives better timestamp precission, less
1583           overhead and no ntp jitter.
1584
1585 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
1586
1587         * gst/gstminiobject.c: (gst_mini_object_get_type),
1588         (gst_mini_object_class_init), (gst_mini_object_copy_default),
1589         (gst_mini_object_finalize), (gst_mini_object_copy),
1590         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
1591         (gst_mini_object_replace), (param_mini_object_validate),
1592         (gst_param_spec_mini_object_get_type):
1593         Some cleanup and checking against invalid function parameters.
1594
1595 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
1596
1597         * docs/gst/gstreamer-sections.txt:
1598         * gst/gstclock.h:
1599         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1600         (gst_systemclock_suite):
1601         Start merging in the easy bits of #361155, the monotonic clock patch.
1602         This one adds a few handy macros with docs and a testsuite.
1603
1604 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
1605
1606         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
1607         Be a bit smarter when seeking, like, don't try to do a seek when it's
1608         not needed. This avoids errors when the file is not seekable.
1609         Fixes #499771.
1610
1611 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
1612
1613         * docs/gst/gstreamer-docs.sgml:
1614         * docs/gst/gstreamer-sections.txt:
1615         * docs/gst/gstreamer.types.in:
1616         * gst/Makefile.am:
1617         * gst/gst.h:
1618         * gst/gstpreset.c:
1619         * gst/gstpreset.h:
1620         * plugins/elements/gstqueue.c:
1621           Due to popular request remove preset interface again. :-(.
1622
1623 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
1624
1625         * tools/gst-inspect.c:
1626           Print 'default value' for enums and flags too.
1627
1628 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
1629
1630         * docs/random/ensonic/profiling.txt:
1631           More ideas.
1632
1633         * gst/gstbin.c:
1634           Fix typo and give better log output.
1635
1636         * gst/gstdebugutils.c:
1637         * gst/gstdebugutils.h:
1638           More ideas, make graphs a bit smaller and fix param name in macro.
1639
1640 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
1641
1642         * gst/gstpreset.c:
1643           Try harder to use the return value from fgets().
1644
1645 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
1646
1647         * gst/gstpreset.c:
1648           For theses two fgets we handle the error below.
1649
1650 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
1651
1652         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1653         Only send upstream events upstream. Fixes #498746.
1654
1655 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
1656
1657         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1658
1659         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1660         (gst_identity_init), (gst_identity_transform_ip),
1661         (gst_identity_set_property), (gst_identity_get_property):
1662         * plugins/elements/gstidentity.h:
1663         Add property to disable handoff signal emission. Fixes #498694.
1664         API: GstIdentity::signal-handoffs
1665
1666 2007-11-21  Julien Moutte  <julien@fluendo.com>
1667
1668         * docs/faq/gst-uninstalled: Yet another missing library for the
1669         uninstalled script (fft)
1670
1671 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
1672
1673         * docs/faq/developing.xml:
1674         Add a question about how to submit new translations.
1675
1676         * docs/random/release:
1677         Update the contact email address for the Translation Project
1678
1679         * plugins/elements/gstfdsrc.c:
1680         The parent_class for fdsrc is pushsrc, not GstElement.
1681
1682 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
1683
1684         * gst/gstpreset.c:
1685           Plug a leak and fix saving.
1686
1687 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
1688
1689         * docs/gst/gstreamer-sections.txt:
1690         Add new gst_preset__get_property_names() function to the docs
1691         to fix the build.
1692
1693 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
1694
1695         * gst/gstpreset.c:
1696         * gst/gstpreset.h:
1697           Change _get_preset_names API to return a strv with copies. Add
1698           _get_property_names to allow implementations to filter and provide
1699           good default implementation.
1700
1701 2007-11-20  Julien MOUTTE  <julien@moutte.net>
1702
1703         * docs/faq/gst-uninstalled: Add another library to the uninstalled
1704         script (sdp).
1705
1706 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
1707
1708         * gst/gstpreset.c:
1709           More cleanups, docs, and TODOs from comments that now slowly come in.
1710
1711 2007-11-19  Julien MOUTTE  <julien@moutte.net>
1712
1713         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
1714         search path.
1715
1716 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
1717
1718         * gst/gstpreset.c:
1719           Fix bogus warning and make the property type specific code more
1720           similar.
1721
1722 2007-11-19  Julien MOUTTE  <julien@moutte.net>
1723
1724         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
1725         it build on OS X.
1726
1727 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
1728
1729         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1730         (gst_bin_add_func), (gst_bin_remove_func),
1731         (gst_bin_change_state_func), (gst_bin_continue_func):
1732         Change email, cleanups add some more debug and comments.
1733         Also set bus and clock on new elements when the pipeline was in error.
1734
1735 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
1736
1737         * gst/gstbin.c:
1738         * gst/gstdebugutils.c:
1739           Fix build with --disable-gst-debug. Fixes #497859.
1740           Spotted by Sameer Naik.
1741
1742 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
1743
1744         * gst/gstevent.c:
1745           Little documentation improvment.
1746
1747         * gst/gstpreset.c:
1748           More TODO cleanups. Remove c++ comments.
1749
1750         * libs/gst/controller/gstcontroller.c:
1751           Add TODO and use quark from static string.
1752
1753         * tests/check/gst/gstmessage.c:
1754         * tests/check/gst/gststructure.c:
1755           Use quark from static string.
1756
1757 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
1758
1759         * gst/gstpreset.c:
1760           Add some comments and TODOs.
1761
1762         * gst/gstpreset.h:
1763           Add padding for future changes.
1764
1765         * plugins/elements/gstqueue.c:
1766           Implement the iface.    
1767
1768 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
1769
1770         * docs/gst/gstreamer-docs.sgml:
1771         * docs/gst/gstreamer-sections.txt:
1772         * docs/gst/gstreamer.types.in:
1773         * gst/Makefile.am:
1774         * gst/gst.h:
1775         * gst/gstpreset.c:
1776         * gst/gstpreset.h:
1777           Add the preset interface (Fixes #396779). Do some doc cleanups along.
1778
1779 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
1780
1781         * configure.ac:
1782
1783         Back to CVS
1784
1785 === release 0.10.15 ===
1786
1787 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
1788
1789         * configure.ac:
1790           releasing 0.10.15, "October"
1791
1792 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
1793
1794         * win32/vs6/libgstreamer.dsp:
1795         Convert line endings back to DOS.
1796
1797 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
1798
1799         * docs/design/draft-tagreading.txt:
1800         * docs/random/ensonic/profiling.txt:
1801         Update fast tagreading draft and performance profiling ideas.
1802
1803 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
1804
1805         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
1806         Don't hold the object lock when unreffing a buffer because it could
1807         cause a deadlock when the finalize function wants to grab the object
1808         lock too. Fixes #495133.
1809
1810 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
1811
1812         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
1813         (gst_segment_to_stream_time), (gst_segment_to_running_time):
1814         Also accumulate time correctly when doing reverse playback. Fixes
1815         #488201,
1816         When converting to running and stream time, use default values for
1817         start/stop/time/accum when comparing different formats. Fixes #494245.
1818
1819         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1820         Do running/stream time in TIME format.
1821
1822         * tests/check/gst/gstsegment.c: (GST_START_TEST),
1823         (gst_segment_suite):
1824         2 new unit tests for segment accumulation.
1825
1826 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1827
1828         * gst/gst.c: (init_pre):
1829         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
1830           (_gst_debug_bin_to_dot_file):
1831           Move getenv() back into gst_init, so everyone can live happily
1832           ever after. Make sure the symbol isn't exported though.
1833
1834 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1835
1836         Patch by: Sebastien Moutte  <sebastien moutte net>
1837
1838         * win32/common/gstenumtypes.c:
1839         * win32/common/gstenumtypes.h:
1840           Update enum types.
1841
1842         * win32/vs6/libgstreamer.dsp:
1843           Update vs6 project files (#494343).
1844
1845 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1846
1847         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
1848         (gst_base_src_perform_seek), (gst_base_src_default_event),
1849         (gst_base_src_set_flushing), (gst_base_src_activate_push),
1850         (gst_base_src_activate_pull):
1851         Unify flushing code, remove some old unlock code that is no longer used.
1852         Take the streaming lock when seeking to avoid races. Fixes #492729.
1853         Added some more comments.
1854
1855 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1856
1857         * gst/gst.c: (_gst_disable_segtrap):
1858           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
1859           we can use gst_segtrap_is_enabled() there now that we have that API.
1860           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
1861           to do the getenv here (and export the variable).
1862
1863         * gst/gstdebugutils.c: (debug_dump_element),
1864           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
1865           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
1866
1867         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
1868           (gst_debug_log_default):
1869           Rename _gst_info_start_time to priv_gst_info_start_time so it
1870           doesn't get exported (was never in any header).
1871
1872         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
1873           (gst_plugin_loading_mutex):
1874           Make static mutex gst_plugin_loading_mutex really static (was never
1875           in any header), and use gst_segtrap_is_enabled() instead of
1876           _gst_disable_segtrap.
1877
1878         * gst/gsttrace.c: (_gst_trace_default):
1879           Make local _gst_trace_default static (was never in any header).
1880
1881 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1882
1883         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
1884
1885         * win32/common/libgstbase.def:
1886         * win32/common/libgstcontroller.def:
1887         * win32/common/libgstdataprotocol.def:
1888         * win32/common/libgstnet.def:
1889         * win32/common/libgstreamer.def:
1890           Add more missing symbols, remove some duplicates, and sort
1891           as the 'sort' command sorts it (partially fixes #493983).
1892
1893 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1894
1895         * gst/gstelement.c: (gst_element_set_state_func):
1896         Only change the state cookie if a different state was set on the
1897         element. See #492729.
1898
1899 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1900
1901         * gst/gstvalue.c:
1902           Remove unused and uninitialised type variables that were still
1903           exported for some reason (they were never in any header files
1904           though).
1905
1906 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1907
1908         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1909         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
1910         (gst_base_sink_event), (gst_base_sink_get_position_last),
1911         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1912         (gst_base_sink_change_state):
1913         Don't try to report a 0 position when we don't know, return -1 and FALSE
1914         instead. This mostly happens when we are prerolling.
1915         Make sure we can report the right position before we post the ASYNC_DONE
1916         message so that a message handler can query position without races.
1917
1918         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1919         (async_done_handoff), (async_done_func), (send_buffer),
1920         (async_done_eos_func), (gst_sinks_suite):
1921         Add two tests for the above.
1922
1923 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1924
1925         * MAINTAINERS:
1926         Update with new email address.
1927
1928         * docs/design/part-TODO.txt:
1929         Add some more info about future pad-block and negotiation changes.
1930
1931         * docs/design/part-buffering.txt:
1932         Add some ideas about buffering reporting.
1933
1934 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
1935
1936         * tests/check/gst/gstobject.c:
1937         Disable silly racy test that always fails on this combination of CPU
1938         and kernel.
1939
1940 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1941
1942         Patch by: Murray Cumming  <murrayc@murrayc.com>
1943
1944         * gst/gstobject.c:
1945           Corrected the registration of the parent-set and parent-unset
1946           signals: The parameter is a GstObject, not a GObject (#493134).
1947
1948 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1949
1950         * gst/gst_private.h:
1951         * gst/gstbuffer.h:
1952         * gst/gstevent.h:
1953         * gst/gstformat.h:
1954         * gst/gstmessage.h:
1955         * gst/gstplugin.h:
1956         * gst/gstquery.h:
1957         * gst/gsttaglist.h:
1958         * gst/gstvalue.h:
1959           Move declaration of private _gst_foo_initialize() functions into
1960           our private header file where they should have been all along.
1961
1962 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1963
1964         * docs/plugins/gstreamer-plugins-sections.txt:
1965         * gst/gstdebugutils.h:
1966         * gst/gstxml.h:
1967         * plugins/elements/gstqueue.c:
1968           gtk-doc fixes; trailing-comma-in-enum fix.
1969
1970 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1971
1972         * gst/gst.c: (gst_deinit):
1973           Clean up on deinit (not the external ones though, doesn't seem to be
1974           needed for some reason).
1975
1976 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1977
1978         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
1979           Remove __declspec(dllimport) for MSVC that was copied over into core
1980           from a plugin, obviously without ever having been tested (note the
1981           single underscore in _declspec in the initial commit), and that doesn't
1982           really make sense.  See #492077.
1983
1984 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1985
1986         * gst/gst.c: (init_post):
1987         * gst/gstevent.c: (_gst_event_initialize):
1988         * gst/gstquery.c: (_gst_query_initialize):
1989         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
1990           g_type_class_ref() other types as well, see #349410 and #64764.
1991
1992         * gst/gstbuffer.c: (_gst_buffer_initialize):
1993         * gst/gstmessage.c: (_gst_message_initialize):
1994           Simplify existing g_type_class_ref().
1995
1996 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1997
1998         * gst/gstformat.c: (_gst_format_initialize):
1999           g_type_class_ref() our GstFormat type to make sure we avoid the
2000           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
2001           bug #64764. Should fix intermittent tee unit test failures (#474823).
2002
2003 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2004
2005         * tests/check/elements/tee.c: (test_num_buffers):
2006           Simplify, simplify, simplify - or not.  Rewrite unit test
2007           not to use gst_parse_launch(); allow N sub-streams. Increasing
2008           the number of sub-streams seems to reproduce #474823 more easily.
2009
2010 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
2011
2012         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
2013
2014         * gst/gsttrace.c:
2015         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2016         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2017         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
2018           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
2019           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
2020           so use _pipe() directly (#492077).
2021
2022         * win32/common/dirent.c: (_treaddir):
2023           Add a couple of casts to make it build without warnings with MSVC.
2024
2025         * win32/common/libgstreamer.def:
2026           Add some more symbols that need to be exported.
2027
2028 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
2029
2030         * tests/examples/metadata/read-metadata.c: (message_loop):
2031           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
2032           arriving in a second or third tag message are added to
2033           the tag list as well.
2034
2035 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
2036
2037         * libs/gst/base/gstbasesrc.c:
2038           Its "Since:" and not "@Since:". And remove an superflous cast.
2039
2040 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
2041
2042         * docs/libs/gstreamer-libs-sections.txt:
2043         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2044         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
2045         (gst_base_sink_get_property), (gst_base_sink_render_object),
2046         (gst_base_sink_preroll_object),
2047         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2048         (gst_base_sink_change_state):
2049         * libs/gst/base/gstbasesink.h:
2050         Add a new last-buffer property that contains the last buffer used in
2051         basesink for preroll or rendering. useful for making snapshots.
2052         API: gst_base_sink_get_last_buffer()
2053         API: GstBaseSink::last-buffer
2054
2055 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
2056
2057         * docs/gst/running.xml:
2058         * gst/gst.c:
2059         * gst/gstdebugutils.c:
2060         * gst/gstdebugutils.h:
2061         * tools/gst-launch.c:
2062           Improve bin graph dumping, by using the envvar to specify a path.
2063           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
2064
2065 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
2066
2067         * plugins/elements/gsttypefindelement.c:
2068           (gst_type_find_element_handle_event),
2069           (gst_type_find_element_activate):
2070           Post special error message if we can't determine the type of a stream
2071           because it's empty.
2072
2073 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
2074
2075         * docs/gst/running.xml:
2076         * gst/gstdebugutils.c:
2077           Document new env-var. Add one log-line after dumpng a graph.
2078
2079 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2080
2081         * configure.ac:
2082           Ugly hack to put the (recently removed and non-portable, apparently)
2083           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
2084           GNU ld, because without that 'make check' fails miserably on my debian
2085           stable box.  Someone with more knowledge of linker intricacies and
2086           portability issues than me fix this properly please.
2087
2088 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
2089
2090         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
2091         Reset last seen position after flushing so that we don't report the old
2092         position anymore.
2093
2094 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
2095
2096         * gst/gstelementfactory.c: (gst_element_register):
2097         * gst/gsturi.h:
2098         Patch from Alessandro Decina adding get_type_full and
2099         get_protocols_full private vfuncs to the URIHandler interface
2100         to allow bindings to support creating URI handlers. 
2101         Partially fixes: #339279
2102         API: GstURIHandlerInterface::get_type_full
2103         API: GstURIHandlerInterface::get_protocols_full
2104
2105 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
2106
2107         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2108         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
2109         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
2110         Make it so that pads are considered linked until a buffer is pushed
2111         and discovered otherwise. This avoids problems with decodebin2 hanging
2112         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
2113         case.
2114
2115         Make sure we lock the multiqueue when updating the max-size properties.
2116         
2117         Fix a crash on Solaris in a debug statement in get_request_pad that
2118         passes a NULL string to GST_DEBUG. 
2119
2120         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2121         (run_output_order_test):
2122         Fix the test to allow the first buffer on not-linked pads to come out
2123         of sequence while multiqueue discovers that they are not-linked.
2124
2125 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
2126
2127         * configure.ac:
2128         * libs/gst/check/Makefile.am:
2129         Use a custom export symbol regex for libgstcheck, as it needs
2130         to export symbols that don't match the standard GStreamer gst_*
2131         pattern, and  --export-dynamic is not portable (only works on 
2132         GNU ld)
2133
2134         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2135         (gst_check_setup_sink_pad):
2136         Make sure to pass a message parameter to the fail_* macros.
2137
2138         * tests/check/gst/gstinfo.c: (GST_START_TEST):
2139         Fix some compiler warnings.
2140
2141 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
2142
2143         * tests/check/gst/gststructure.c: (test_to_string):
2144           Disable test that checks that white spaces are not allowed
2145           in structure names or field names, since we need to
2146           support that for now for backwards compatibility reasons.
2147
2148 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
2149
2150         * docs/gst/gstreamer-sections.txt:
2151         * gst/gsttaglist.c:
2152         * gst/gsttaglist.h:
2153           API: add GST_TAG_ARTIST_SORTNAME
2154           API: add GST_TAG_ALBUM_SORTNAME
2155           API: add GST_TAG_TITLE_SORTNAME
2156           Add tag variants for sorting (#414539).
2157
2158 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
2159
2160         * gst/gststructure.c:
2161           Also allow white space for names so we don't break
2162           backwards compatibility.
2163
2164 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
2165
2166         * docs/design/part-TODO.txt:
2167         * docs/design/part-segments.txt:
2168         * docs/design/part-streams.txt:
2169         Small updates.
2170
2171 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
2172
2173         * docs/gst/gstreamer-sections.txt:
2174          Fixed documentation from my previous commit (added new API add
2175          gst_value_set_structure(), add gst_value_get_structure() and
2176          GST_VALUE_HOLDS_STRUCTURE).
2177
2178 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
2179
2180         * gst/gstdebugutils.c:
2181           Reflow code to fix uninitialized variable warning.
2182
2183 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
2184
2185         * gst/gstcaps.c: (gst_caps_to_string),
2186         (gst_caps_from_string_inplace):
2187         * gst/gststructure.c: (gst_structure_get_abbrs),
2188         (gst_structure_to_string), (gst_structure_from_string):
2189         * gst/gstvalue.c: (gst_value_set_structure),
2190         (gst_value_get_structure), (gst_value_serialize_structure),
2191         (gst_value_deserialize_structure), (_gst_value_initialize):
2192         * gst/gstvalue.h:
2193         * tests/check/gst/gststructure.c: (GST_START_TEST),
2194         (gst_structure_suite):
2195         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2196          Added GstStructure to gst_value_table and its related functions.
2197          Changed gst_structure_to_string to print ';' in the end.
2198          Changed gst_caps_to_string to not print ';' beteween its
2199          fields (structures) anymore and remove the lastes ';' from latest
2200          structure. Now it is possible to have nested structures.
2201          In addition, backward compatibilty is assured by accepting '\0' as
2202          end delimiter. Fixes: #487969.
2203          API: add gst_value_set_structure()
2204          API: add gst_value_get_structure()
2205          API: add GST_VALUE_HOLDS_STRUCTURE
2206
2207 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
2208
2209         * gst/gstbus.c:
2210           When no GSource callback has been set up, tell developer
2211           to use a function that actually exists.
2212
2213 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
2214
2215         * docs/gst/gstreamer-sections.txt:
2216         * gst/Makefile.am:
2217         * gst/gst.c:
2218         * gst/gst.h:
2219         * gst/gstdebugutils.c:
2220         * gst/gstdebugutils.h:
2221         * gst/gstinfo.c:
2222         * gst/gstinfo.h:
2223         * tools/gst-launch.c:
2224           Allow dumping pipelines as dot graphs. Fixes #456573.
2225
2226 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2227
2228         * gst/gststructure.c:
2229           Allow '+' as well, it can be part of media or mime types
2230           such as image/svg+xml.
2231
2232 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2233
2234         * docs/gst/gstreamer-sections.txt:
2235         * gst/gstbus.c:
2236         * gst/gstbus.h:
2237           API: add gst_bus_pop_filtered
2238           API: add gst_bus_timed_pop_filtered
2239           Two new functions for waiting for specific message types on the
2240           bus for a specified amount of time without iterating any main
2241           loops or main contexts.
2242
2243         * tests/check/gst/gstbus.c:
2244           Some tests for the new functions.
2245
2246 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2247
2248         * docs/libs/gstreamer-libs-sections.txt:
2249           Make gtk-doc ignore stuff it should ignore.
2250
2251 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2252
2253         * libs/gst/check/gstcheck.c:
2254         * libs/gst/check/gstcheck.h:
2255           Allow runtime selection of unit tests to run via the GST_CHECKS
2256           environment variable (test case function names, comma-separated).
2257
2258 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
2259
2260         * gst/gststructure.c:
2261         * tests/check/gst/gststructure.c:
2262           Revert serialisation change and constrain structure-names after
2263           consensus on irc. Update api documentation to reflect the change.
2264
2265 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
2266
2267         * gst/gststructure.c:
2268           Improve serialization and fix tests.
2269
2270         * tests/check/gst/gststructure.c:
2271           Add another test that covers why I actually did the previous structure
2272           change.
2273
2274 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
2275
2276         * tools/gst-inspect.c: (print_element_info):
2277         Don't crash when inspecting an element.
2278
2279 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2280
2281         * tests/check/gst/gststructure.c:
2282           Add unit test for escaping of structure name when serialising
2283           and deserialising to/from strings.
2284
2285 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
2286
2287         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2288         (gst_single_queue_new):
2289         * plugins/elements/gstqueue.c: (gst_queue_init),
2290         (gst_queue_push_one):
2291         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
2292         upstream is tricked into thinking it can suggest a format downstream
2293         while downstream does not support that format. The real problem is that
2294         core calls acceptcaps when pushing a buffer with new caps, for which we
2295         do a little workaround by setting the caps on the srcpad ourselves
2296         before pushing the buffer (until this is figured out). Fixes #486758.
2297
2298 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2299
2300         * gst/gststructure.c:
2301         * gst/gstvalue.c:
2302           Add some more comments and debug output. Quote structure name to fix
2303           deserialisation of some strings.
2304
2305 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2306
2307         * gst/gstbuffer.h:
2308           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
2309           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
2310
2311 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2312
2313         * tools/gst-inspect.c:
2314           Save approx. 400 1 byte allocs when printing. Use API to acces element
2315           details.
2316
2317         * tools/gst-run.c:
2318           Avoid a strdup.
2319
2320         * tools/gst-xmlinspect.c:
2321           Use API to acces element details.
2322
2323 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2324
2325         * gst/gstinfo.c:
2326           Fix some spelling errors.
2327
2328 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
2329
2330         * gst/gstbin.c: (bin_handle_async_done):
2331         Correctly set the next state if all of our async children commited their
2332         state. This makes sure we can actually cancel the state change in
2333         progress. Fixes a regression in Rhythmbox when seeking.
2334
2335 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2336
2337         * gst/gstbin.c:
2338           Don't shadow local variable.
2339
2340         * gst/gstinfo.c:
2341           Don't shadow global function name.
2342
2343 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2344
2345         * gst/gstelementfactory.c:
2346         * gst/gstpluginfeature.c:
2347         * gst/gstpluginfeature.h:
2348         * gst/gstregistrybinary.c:
2349         * gst/gstregistryxml.c:
2350         * gst/gsttypefind.c:
2351           Use already-interned string for the private GstPluginFeature
2352           plugin_name field.
2353
2354 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2355
2356         * docs/libs/gstreamer-libs-sections.txt:
2357           Add new API to docs; fixes the build.
2358
2359 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
2360         
2361         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
2362
2363         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
2364         (gst_base_sink_event):
2365         * libs/gst/base/gstbasesink.h:
2366         Add function to wait for EOS, subclasses can use this to correctly wait
2367         for devices to drain before performing the EOS logic. Fixes #485343.
2368         API: gst_base_sink_wait_eos()
2369
2370 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2371
2372         * gst/gstplugin.h:
2373           Cast description string constants in GST_PLUGIN_DEFINE macros
2374           to a (gchar*) to make C++ code using these macros compile
2375           without warning with g++-4.2 (see #462737).  Even if slightly
2376           ugly, this seems preferable to putting the description strings
2377           into the GLib quark table or making the structure member a
2378           const gchar * and doing casts in core code that allocs and
2379           frees these strings, or requiring a cast in the C++ code.
2380
2381 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2382
2383         * gst/gstinfo.h:
2384           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
2385           to print the entire class/function signature into the log
2386           file for C++ code.  This only affects C++ code, for C code
2387           everything remains the same.
2388
2389 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
2390
2391         * gst/gstbin.c: (remove_from_queue):
2392         Work around a problem with pipelines containing (semi)loops until a
2393         proper, more complicated solution is ready. See #475455.
2394
2395 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2396
2397         * gst/gstplugin.c:
2398         * gst/gstplugin.h:
2399         * gst/gstregistrybinary.c:
2400         * gst/gstregistryxml.c:
2401           Put more strings into the GLib quark table. No need to keep
2402           a hundred-something copies of identical version strings,
2403           license strings, package name strings and package origin
2404           strings around. 
2405
2406 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2407
2408         * docs/manual/advanced-dataaccess.xml:
2409           Don't imply that it's okay to unconditionally change
2410           buffer data or buffer metadata in a pad probe callback,
2411           and a bunch of other comments. Fixes #430031.
2412
2413 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2414
2415         * win32/common/gstenumtypes.c:
2416         * win32/common/gstenumtypes.h:
2417         * win32/common/gstversion.h:
2418           Update generated files.
2419
2420 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2421
2422         * docs/manual/advanced-autoplugging.xml:
2423           Prefix section with broken code with a warning (see #342432).
2424
2425 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2426
2427         * docs/manual/appendix-integration.xml:
2428         * docs/manual/basics-init.xml:
2429           Call g_thread_init() before g_option_context_new() to
2430           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
2431
2432 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2433
2434         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2435         (gst_base_sink_queue_object_unlocked),
2436         (gst_base_sink_queue_object), (gst_base_sink_event),
2437         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
2438         When we received EOS and are waiting for when to post the EOS message,
2439         our state is prerolled and we should not return ASYNC.
2440         Reorganize some code paths to implement this behavior.
2441
2442         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2443         (gst_sinks_suite):
2444         Add unit test to verify above EOS fix.
2445
2446 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2447
2448         * plugins/elements/gsttypefindelement.c:
2449         (gst_type_find_element_have_type), (gst_type_find_element_init),
2450         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
2451         Move detecting the input caps of the sinkpad to the setcaps function.
2452         This allows us to update the output caps when we receive new input caps
2453         instead of always using the first detected caps.
2454
2455 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2456
2457         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2458         (gst_base_sink_get_position):
2459         Don't try to preroll non-async elements after a flush.
2460         Subtract latency form clock times when reporting position.
2461
2462 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2463
2464         * gst/gstpad.c: (gst_pad_pause_task):
2465         * gst/gstutils.c:
2466         Small comment and documentation update.
2467
2468 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2469
2470         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2471         (gst_base_src_set_live), (gst_base_src_is_live),
2472         (gst_base_src_query_latency), (gst_base_src_perform_seek),
2473         (gst_base_src_default_event), (gst_base_src_wait),
2474         (gst_base_src_do_sync), (gst_base_src_get_range),
2475         (gst_base_src_pad_get_range), (gst_base_src_loop),
2476         (gst_base_src_unlock), (gst_base_src_unlock_stop),
2477         (gst_base_src_set_flushing), (gst_base_src_set_playing),
2478         (gst_base_src_activate_push), (gst_base_src_activate_pull),
2479         (gst_base_src_change_state):
2480         Rework the locking of basesrc in a similar fashion to basesink. We
2481         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
2482         us to handle live sources and semi live ones much better.
2483         Simplify flushing.
2484         Fix unlocking when seeking, shutting down and pausing in live sources.
2485
2486 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2487
2488         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
2489         Fix compilation again.
2490
2491 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2492
2493         * gst/gstelement.c:
2494           Use meaningful categories for the logs to clean the default one.
2495
2496 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2497
2498         * tests/check/pipelines/cleanup.c:
2499           Print message name and not just number.
2500
2501 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2502
2503         * docs/design/draft-tagreading.txt:
2504           Add some more thoughts.
2505
2506 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2507
2508         * tests/check/pipelines/simple-launch-lines.c:
2509           Print message name and not just number.
2510
2511 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2512
2513         * libs/gst/base/gsttypefindhelper.c:
2514           Speedup typefinding. This is work in progress (see #459862).
2515
2516 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2517
2518         * gst/gstplugin.c:
2519           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
2520           Spotted by Josep Torra Valles <josep@fluendo.com>.
2521
2522 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
2523
2524         * gst/gstclock.h:
2525           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
2526           field has moved to GstObject.
2527
2528 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
2529
2530         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
2531         (gst_base_src_get_range), (gst_base_src_change_state):
2532         Call unlock for live sources so that they can't get stuck in _create and
2533         produce a buffer before they are set back to PLAYING.
2534
2535 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
2536
2537         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2538         (gst_queue_locked_dequeue):
2539         Comment the segment-related code... in the PROPER function.
2540         See #482147 and my commit from yesterday.
2541
2542 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
2543
2544         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2545         Also initialize the counter that calculates the first timestamp on a
2546         buffer correctly for non-live sources.
2547
2548 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
2549
2550         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
2551         Disable code that's breaking the current-time-level reporting.
2552         See #482147
2553
2554 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
2555
2556         * docs/gst/gstreamer-sections.txt:
2557         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
2558         as they shouldn't show up. Fixes the docs build.
2559
2560 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
2561         
2562         * gst/gstinfo.h:
2563         Add an explicit variable importation needed on VS6 (only for MSC_VER)
2564         Define M_PI which is used in files which are including gstinfo.h. 
2565         VS6 includes doesn't define it.
2566         * win32/common/libgstbase.def:
2567         * win32/common/libgstcontroller.def:
2568         * win32/common/libgstreamer.def:
2569         Add new exported functions and variables.
2570         * win32/vs6/libgstcontroller.dsp:
2571         * win32/vs6/libgstreamer.dsp:
2572         Update the list of files to build.
2573         
2574 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
2575
2576         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2577
2578         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
2579         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
2580         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
2581         Improve debugging. Fixes #480858.
2582
2583 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
2584
2585         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2586
2587         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2588         First patch of code cleanups, use the macros and right arguments in the
2589         macros to signal and lock the queue. See #480858.
2590
2591 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
2592
2593         * gst/gstbus.c: (poll_func):
2594         Improve debugging when dealing with _poll().
2595
2596 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
2597
2598         * gst/gstregistryxml.c:
2599           Fix memory leak I introduced a few days ago.
2600
2601 2007-09-26  Michael Smith <msmith@fluendo.com>
2602
2603         * gst/gstbuffer.c: (gst_buffer_finalize):
2604           Make it once again possible to free GstBuffers in the default
2605           build.
2606           The poisoning scribbles on parts of the miniobject we need in
2607           order to free it.
2608           Fixes #480341
2609
2610 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
2611
2612         * docs/gst/gstreamer-sections.txt:
2613         * gst/gsttaglist.c:
2614         * gst/gsttaglist.h:
2615         API: add GST_TAG_COMPOSER, fixes #459809.
2616
2617 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
2618
2619         * gst/gstplugin.c:
2620         * gst/gstplugin.h:
2621         Add the 3-clause BSD license and the MIT/X11 license to the license
2622         list. Fixes #479784.
2623
2624 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
2625
2626         * docs/faq/getting.xml:
2627           Add Q+A about different GStreamer versions (#364056).
2628
2629 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2630
2631         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2632         (gst_base_sink_event), (gst_base_sink_change_state):
2633         Return correct gboolean from query function.
2634
2635 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2636
2637         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2638         (gst_base_sink_event), (gst_base_sink_query),
2639         (gst_base_sink_change_state):
2640         Simplify latency query.
2641         When not synchronizing, we can report latency without querying the peer
2642         element.
2643
2644 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2645
2646         * gst/gstobject.h:
2647         * gst/gstvalue.c:
2648         Fix small typos in the docs.
2649
2650 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2651
2652         * docs/design/draft-latency.txt:
2653         * docs/design/draft-push-pull.txt:
2654         * docs/design/draft-tagreading.txt:
2655         * docs/design/part-MT-refcounting.txt:
2656         * docs/design/part-activation.txt:
2657         * docs/design/part-block.txt:
2658         * docs/design/part-element-source.txt:
2659         * docs/design/part-events.txt:
2660         * docs/design/part-gstbin.txt:
2661         * docs/design/part-gstelement.txt:
2662         * docs/design/part-gstobject.txt:
2663         * docs/design/part-gstpipeline.txt:
2664         * docs/design/part-messages.txt:
2665         * docs/design/part-preroll.txt:
2666         * docs/design/part-push-pull.txt:
2667         * docs/design/part-qos.txt:
2668         * docs/design/part-query.txt:
2669         * docs/design/part-scheduling.txt:
2670         * docs/design/part-seeking.txt:
2671         * docs/design/part-segments.txt:
2672         * docs/design/part-states.txt:
2673         Documentation updates and typo fixes.
2674
2675 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
2676
2677         * plugins/elements/gstfakesink.c:
2678           Add some debug text to error message to indicate that
2679           we errored out on request.
2680
2681         * tools/gst-launch.c:
2682           When the state change to PLAYING fails, check for an
2683           error message on the bus and print it.
2684
2685 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2686
2687         translated by: Jorge González González <aloriel@gmail.com>
2688
2689         * po/LINGUAS:
2690         * po/es.po:
2691           Added Spanish translation.
2692
2693 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
2694
2695         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2696         Fix printf arguments.
2697
2698 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
2699
2700         * tests/check/generic/states.c:
2701           Improved state change unit test.
2702
2703 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
2704
2705         * gst/gstbin.h:
2706           Move priv to the right place.
2707
2708         * gst/gstsystemclock.c:
2709           Add FIXME: and improve log.
2710
2711         * tests/check/Makefile.am:
2712         * tests/examples/manual/Makefile.am:
2713           Work with all types of registries.
2714
2715 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
2716
2717         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2718         Don't unref the event after pushing it. Fixes #478401.
2719
2720 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
2721
2722         * .cvsignore:
2723         * tests/examples/manual/.cvsignore:
2724           Ignore registries in any format.
2725
2726 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
2727
2728         * gst/glib-compat-private.h:
2729           Add compatibility macro for g_intern_string() for
2730           GLib-2.8 (any reason we can't just bump the
2731           requirement to at least 2.10?)
2732
2733         * gst/gstpadtemplate.h:
2734         * gst/gstelementfactory.c:
2735         * gst/gstregistryxml.c:
2736         * gst/gstregistrybinary.c:
2737           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
2738           up the internal code accordingly.  This shouldn't be a problem, since
2739           there is no reason external code could ever assume the string in such
2740           a structure is dynamically allocated unless it did that itself;  the
2741           use of g_strdup() is private to element factories.  The new code also
2742           saves some memory by putting pad template name strings into the GLib
2743           quark table instead of allocating them dynamically.
2744           Declaring this field constant fixes warnings with g++-4.2 when using
2745           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
2746
2747 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
2748
2749         * gst/gstelementfactory.c:
2750           Release static caps. Fixes #475723.
2751
2752 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
2753
2754         * gst/gstinfo.c:
2755         * gst/gstinfo.h:
2756           Make some internal API take const gchar * instead of just
2757           gchar * to avoid compiler warnings with g++-4.2.2 when
2758           passing string constants (partially fixes #478092).
2759
2760 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
2761
2762         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
2763         A latency query fails when one of the sinks fail.
2764
2765         * gst/gstelement.c: (gst_element_set_base_time):
2766         Improve debugging.
2767
2768 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
2769
2770         * gst/gstbin.c: (gst_bin_continue_func):
2771         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2772         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
2773         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
2774
2775         Fix minor compilation warnings shown with Forte.
2776
2777 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
2778
2779         * plugins/elements/gstqueue.c: (apply_buffer),
2780         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
2781         Measure queue level based on the diff between head and tail timestamps
2782         even when pushing the first buffer.
2783
2784 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
2785
2786         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2787         (gst_base_sink_event), (gst_base_sink_change_state):
2788         Sinks that don't preroll can always be queried for the latency.
2789         Don't post ASYNC start when we are not async.
2790
2791 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
2792
2793         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2794         (gst_queue_handle_sink_event), (gst_queue_chain),
2795         (gst_queue_push_one), (gst_queue_handle_src_query),
2796         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
2797         * plugins/elements/gstqueue.h:
2798         When downstream returns UNEXPECTED from pushing a buffer, don't try to
2799         push more buffers but allow pushing of EOS and NEWSEGMENT.
2800         Add some more debug info here and there. Fixes #476514.
2801
2802 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
2803
2804         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2805         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
2806         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2807         (gst_base_sink_set_flushing), (gst_base_sink_query),
2808         (gst_base_sink_change_state):
2809         Latency query is allowed after we are prerolled. Introduce a new flag
2810         for this and stop abusing other variables.
2811
2812 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2813
2814         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2815         Push OOB events downstream when we get them in send_event. This allows
2816         the application to insert events in the pipeline.
2817         Add some more comments.
2818
2819 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2820
2821         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
2822         (do_bin_latency), (gst_bin_change_state_func):
2823         * gst/gstpipeline.c: (gst_pipeline_change_state):
2824         Move latency query from GstPipeline to GstBin so that we can also
2825         use it when async-handling is enabled on bins.
2826
2827 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2828
2829         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2830         (gst_base_src_do_sync), (gst_base_src_change_state):
2831         Update docs.
2832         Clean up the timestamping and syncing code for pseudo live sources.
2833
2834 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
2835
2836         Patch by: Steve Fink  <sphink gmail com>
2837
2838         * docs/manual/appendix-checklist.xml:
2839           Mention less -R switch in the section about debug output (#474055).
2840
2841 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2842
2843         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2844         Queue can latency to the pipeline up to the configured max size in time.
2845         Report this fact in the latency query.
2846
2847 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
2848
2849         Patch by: Sebastien Moutte <sebastien at moutte dot net>
2850
2851         * libs/gst/controller/gstinterpolation.c:
2852         * libs/gst/controller/gstlfocontrolsource.c:
2853         Use gst_guint64_to_gdouble() when converting from a uint64 or
2854         GstClockTime to double to fix the build on win32. Fixes #474371.
2855
2856 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
2857
2858         * gst/gstbuffer.c: (gst_buffer_finalize):
2859         Implement poisoning for GstBuffer if --enable-poisoning is specified.
2860         When finalizing a buffer the complete struct is filled with 0xff,
2861         thus making a use of the buffer after the final unref impossible.
2862
2863 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
2864
2865         * tests/check/libs/controller.c: (GST_START_TEST):
2866         Use fail_unless_equals_int(a, b) instead of
2867         fail_unless_equals (a == b) to get better output on failures.
2868
2869 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
2870
2871         * tests/check/gst/gsturi.c:
2872           Also check for the other file URI variant on win32.
2873
2874 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
2875
2876         * gst/gsturi.c: (gst_uri_get_location):
2877           If there's no hostname, we want to return 'c:/foo/bar.txt'
2878           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
2879
2880         * tests/check/gst/gsturi.c:
2881           Unit test for the above and a few more things.
2882
2883 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
2884
2885         * docs/design/part-live-source.txt:
2886         Add docs on how live sources should timestamp.
2887
2888         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2889         Add some more debug info.
2890         For subclasses that are live and like to sync, add aditional startup
2891         latency to sync time and timestamps so that we timstamp according to the
2892         design doc.
2893
2894 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
2895
2896         * gst/gstbuffer.c:
2897           Also do a g_type_class_ref() for the subbuffer type in
2898           the init function.
2899
2900 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
2901
2902         * docs/gst/gstreamer-sections.txt:
2903         * gst/gstpad.c: (gst_pad_peer_query):
2904         * gst/gstpad.h:
2905         Add function to perform a query on the peer of a pad.
2906         API: gst_pad_peer_query()
2907
2908 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
2909
2910         * tests/check/gst/gstsystemclock.c:
2911           Cleanup the test a little (use gst-logging and not g_message). Improve
2912           test to check if a wait reached the target.
2913
2914 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
2915
2916         * docs/libs/gstreamer-libs-sections.txt:
2917           Add new API to docs and fix the build.
2918
2919 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
2920
2921         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2922         (gst_base_src_init), (gst_base_src_set_do_timestamp),
2923         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
2924         (gst_base_src_get_property), (gst_base_src_do_sync):
2925         * libs/gst/base/gstbasesrc.h:
2926         Add property to make the basesrc timestamp buffers based on the current
2927         running time.
2928         API: GstBaseSrc::do-timestamp
2929         API: gst_base_src_set_do_timestamp()
2930         API: gst_base_src_get_do_timestamp()
2931
2932 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
2933
2934         * docs/random/release:
2935           Really make sure translations are up-to-date before
2936           a release (#465010).
2937
2938 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
2939
2940         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2941         Always destroy the timer, also in error cases.
2942
2943 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
2944
2945         * docs/manual/highlevel-xml.xml:
2946         Fix XML example code. Fixes #472714.
2947
2948 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
2949
2950         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2951         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2952         (gst_base_sink_query):
2953         Protect eos and have_preroll with the OBJECT lock so we don't need to
2954         take the PREROLL lock when querying the latency. Fixes #473846.
2955
2956 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
2957
2958         * gst/gstelement.c:
2959           Give some log-messages a category.
2960
2961 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
2962
2963         * gst/gststructure.c:
2964         (gst_structure_fixate_field_nearest_fraction):
2965         Fix fraction list fixation code. Take the fraction with the smallest
2966         difference with the target instead of the first one in the list.
2967
2968         * tests/check/gst/gststructure.c: (GST_START_TEST),
2969         (gst_structure_suite):
2970         Added test to verify correct fraction list fixation behaviour.
2971
2972 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
2973
2974         * win32/common/libgstreamer.def:
2975           Export gst_bus_add_signal_watch too.
2976
2977 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
2978
2979         * docs/libs/gstreamer-libs-sections.txt:
2980         Add new methods to docs.
2981
2982         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2983         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
2984         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
2985         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
2986         * libs/gst/base/gstbasesink.h:
2987         Add ts-offset property to fine-tune the synchronisation.
2988         API: GstBaseSink::ts-offset property
2989         API: gst_base_sink_set_ts_offset()
2990         API: gst_base_sink_get_ts_offset()
2991
2992 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
2993
2994         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2995         (gst_base_sink_init), (gst_base_sink_set_sync),
2996         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2997         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
2998         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
2999         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
3000         (gst_base_sink_get_property), (gst_base_sink_change_state):
3001         * libs/gst/base/gstbasesink.h:
3002         Add async property to instruct the sink never to inform the parent about
3003         ASYNC state changes, update docs.
3004         Check argument with g_return_* for the public functions.
3005         API: GstBaseSink::async property
3006         API: gst_base_sink_set_async_enabled()
3007         API: gst_base_sink_is_async_enabled()
3008
3009 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
3010
3011         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
3012         Improve debugging.
3013
3014         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3015         (gst_base_src_default_query), (gst_base_src_wait),
3016         (gst_base_src_do_sync), (gst_base_src_change_state):
3017         Rearrange some code so that we can add support for measuring the 
3018         startup latency.
3019
3020 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
3021
3022         * docs/random/ensonic/dynlink.txt:
3023           More thoughs on this.
3024
3025         * plugins/elements/gstcapsfilter.c:
3026           Add bugzilla ticket number to FIXME comment.
3027
3028 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
3029
3030         * docs/design/part-TODO.txt:
3031         * docs/design/part-block.txt:
3032         Update some docs.
3033
3034 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
3035
3036         * gst/Makefile.am:
3037           Revert patch which uses $(gst_headers) instead of $^ because it
3038           breaks make dist.
3039
3040 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
3041
3042         * tests/check/gst/gstbin.c: (GST_START_TEST):
3043           Fix leaks in the new unit test.
3044
3045 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
3046
3047         * gst/gst.c:
3048           Don't use GST_INFO before the debug system is actually initialised
3049           (shouldn't do any harm, but won't print anything either, so we can
3050           just as well remove it).
3051
3052         * gst/gstinfo.h:
3053           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
3054           compilers that don't support variadic macros (such as MSVC), should
3055           check for debug_level <= __gst_debug_min as well, since that's the
3056           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
3057           inline helper functions. Should improve performance a bit, but also
3058           makes sure uses of GST_INFO et.al are ignored if the debugging
3059           system isn't initialised yet (instead of printing an assertion
3060           failure).
3061
3062 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
3063
3064         patch by: David Nečas <yeti@physics.muni.cz>
3065
3066         * gst/Makefile.am:
3067           Replace some non portable makefile constructs.
3068
3069 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
3070
3071         * common/gtk-doc-plugins.mak:
3072           Grrrrr. Don't remove the types file on make clean.
3073
3074 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
3075
3076         * tools/gst-launch.1.in:
3077         Add colorspace to example pipeline. Fixes #458274.
3078
3079 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
3080
3081         * docs/random/release:
3082           The release manager should run 'make download-po' before making a
3083           release to make sure translations are up-to-date.
3084
3085         * po/LINGUAS:
3086         * po/be.po:
3087         * po/pl.po:
3088         * po/rw.po:
3089           Add some new translations.
3090
3091 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
3092
3093         * tools/gst-launch.c: (event_loop), (main):
3094         Don´t try to do any state management when a live pipeline posts
3095         buffering messages.
3096         Also make the buffering string translatable.
3097
3098 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
3099
3100         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
3101         (bin_handle_async_start), (gst_bin_handle_message_func):
3102         Improve debugging.
3103         When adding elements, insert messages into the bus of the newly added
3104         element and make sure the element is the source of the message. This
3105         allows the parent bin to intercept the message and do the
3106         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
3107         messages to the app (which is not allowed).
3108         Update some docs.
3109
3110         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3111         Fix testsuite so that is does not work around messages that should not
3112         have been posted in the first place.
3113
3114 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
3115
3116         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
3117         (update_degree), (gst_bin_sort_iterator_next):
3118         Fix annoying bug in the sorted iterator where a sink that is not really
3119         a sink (when it has downstream links) screwed up the iterator.
3120
3121         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3122         Unit test to verify the fix.
3123
3124 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
3125
3126         * gst/gstmessage.h:
3127         Add some more docs for the messages.
3128
3129         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3130         (gst_base_sink_query):
3131         Add some more debugging.
3132
3133         * tools/gst-launch.c: (event_loop):
3134         When interrupting, don't try to set pipeline to PAUSED twice.
3135
3136 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
3137
3138         
3139         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
3140         (bin_handle_async_start), (gst_bin_handle_message_func):
3141         Move ASYNC_START message posting to where it belongs, similar to
3142         async_done. 
3143         Don't post ASYNC_START when we are in error. 
3144         Post ASYNC_START when we added an async element to a bin.
3145
3146 2007-08-14  Julien MOUTTE  <julien@moutte.net>
3147
3148         * gst/gstindex.c: (gst_index_add_association): Fix index entry
3149         generation from vargs. Fixes #466595.
3150
3151 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
3152
3153         * gst/gstbin.c: (gst_bin_element_set_state):
3154         Always change the state of a NO_PREROLL element even if it has ASYNC
3155         elements inside (in case of a bin).
3156
3157         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
3158         Unit test for this case.
3159
3160 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
3161
3162         * libs/gst/check/gstbufferstraw.c:
3163         * libs/gst/check/gstcheck.h:
3164         * libs/gst/controller/gstcontroller.c:
3165         * libs/gst/controller/gstcontrolsource.h:
3166         * libs/gst/controller/gstlfocontrolsource.h:
3167         * plugins/elements/gstcapsfilter.h:
3168         * plugins/elements/gstfdsink.h:
3169         * plugins/elements/gstfdsrc.h:
3170           Add more missing docs.
3171
3172 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3173
3174         * gst/gststructure.c:
3175         Add Since tag to docs.
3176
3177 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3178
3179         * docs/gst/gstreamer-sections.txt:
3180         * gst/gststructure.c: (gst_structure_get_uint):
3181         * gst/gststructure.h:
3182         Add function to get uint from a structure.
3183         API: gst_structure_get_uint()
3184
3185 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3186
3187         * gst/gstcaps.c: (gst_caps_set_simple_valist),
3188         (gst_caps_intersect):
3189         Fix proper check for simple caps.
3190
3191 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
3192
3193         * docs/gst/Makefile.am:
3194         * docs/libs/Makefile.am:
3195           Remove cruft and do some cleanups.
3196
3197         * docs/gst/gstreamer-docs.sgml:
3198         * docs/libs/gstreamer-libs-docs.sgml:
3199           Prepare for comming gtkdoc features (rebase against online docs).
3200
3201 2007-08-10  Michael Smith <msmith@fluendo.com>
3202
3203         * docs/gst/gstreamer-sections.txt:
3204           Add gst_registry_add_path to docs.
3205
3206 2007-08-10  Michael Smith <msmith@fluendo.com>
3207
3208         * gst/gstregistry.h:
3209           Add gst_registry_add_path, which was missing from this header.
3210
3211 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
3212
3213         * libs/gst/controller/gstlfocontrolsource.c:
3214           Printf format fix.
3215
3216 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
3217
3218         * libs/gst/base/gstbasesink.c:
3219           Don't send an async_start message during downwards state change if 
3220           target state is less than READY
3221
3222 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3223
3224         translated by: Gabor Kelemen <kelemeng@gnome.hu>
3225
3226         * po/LINGUAS:
3227         * po/hu.po:
3228           Added Hungarian translation.
3229
3230 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3231
3232         * po/fi.po:
3233         * po/it.po:
3234         * po/nl.po:
3235         * po/sv.po:
3236         * po/uk.po:
3237           Updated translations.
3238
3239 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
3240
3241         * libs/gst/controller/Makefile.am:
3242         Dist gstlfocontrolsourceprivate.h
3243
3244 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
3245
3246         * docs/libs/gstreamer-libs.types:
3247         Don't register the enum type gst_lfo_waveform_get_type() in the
3248         .types file - only GObject derived types belong.
3249
3250 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
3251
3252         Patch by: <arenevier at fdn dot fr>
3253
3254         * gst/gstbuffer.h:
3255         Remove comma from last element in enum to avoid compile errors when
3256         using -pendantic. Fixes #464366.
3257
3258 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
3259
3260         * docs/design/part-TODO.txt:
3261         Add some more TODO items
3262
3263         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
3264         Improve debugging.
3265
3266         * gst/gstcaps.c: (gst_caps_intersect):
3267         Optimize trivial intersection case between identical caps pointers.
3268
3269         * gst/gstelement.c: (gst_element_continue_state),
3270         (gst_element_set_state_func):
3271         * gst/gstpad.c:
3272         Fix spelling and grammar mistakes.
3273
3274 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
3275
3276         * po/POTFILES.in:
3277         * po/POTFILES.skip:
3278           Update POTFILES. Fixes #461599.
3279
3280 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
3281
3282         * gst/gst.c:
3283         Fix confusing typo in debug output.
3284
3285 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
3286
3287         reviewed by: Stefan Kost <ensonic@users.sf.net>
3288
3289         * libs/gst/controller/Makefile.am:
3290         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
3291         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
3292         (gst_lfo_control_source_new),
3293         (gst_lfo_control_source_set_waveform),
3294         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
3295         (gst_lfo_control_source_finalize),
3296         (gst_lfo_control_source_dispose),
3297         (gst_lfo_control_source_set_property),
3298         (gst_lfo_control_source_get_property),
3299         (gst_lfo_control_source_class_init):
3300         * libs/gst/controller/gstlfocontrolsource.h:
3301         * libs/gst/controller/gstlfocontrolsourceprivate.h:
3302         API: Add GstLFOControlSource, a control source that gives values
3303         for specific timestamps based on several periodic waveforms.
3304         Fixes #459717.
3305
3306         * tests/check/libs/controller.c: (GST_START_TEST),
3307         (gst_controller_suite):
3308         * docs/libs/gstreamer-libs-docs.sgml:
3309         * docs/libs/gstreamer-libs-sections.txt:
3310         * docs/libs/gstreamer-libs.types:
3311         Add documentation and unit tests for GstLFOControlSource.
3312
3313 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
3314
3315         * configure.ac:
3316         Back to CVS
3317
3318 === release 0.10.14 ===
3319
3320 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
3321
3322         * configure.ac:
3323           releasing 0.10.14, "Breathing Vacuum"
3324
3325 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
3326
3327         * gst/gstelement.c: (gst_element_class_set_details_simple):
3328         * gst/gstelement.h:
3329           Make strings passed to gst_element_class_set_details_simple()
3330           constant, as they should be (#462752).
3331
3332 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
3333
3334         * gst/gstbin.c: (gst_bin_change_state_func),
3335         (bin_handle_async_done), (gst_bin_handle_message_func):
3336         Don't forget about the fact that some element went ASYNC even after a
3337         resync. This makes us post the ASYNC_DONE message correctly.
3338         Fixes #462558.
3339
3340 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
3341
3342         * gst/gstregistry.c: (gst_registry_add_feature):
3343         When replacing an existing feature in the registry, make sure to
3344         continue holding a reference until we've replaced the name string
3345         within our feature hash table. Make sure to use g_hash_table_replace
3346         instead of g_hash_table_insert to ensure the new name string is used
3347         as a key instead of the old one that we're about to free.
3348         Fixes: #462085
3349
3350 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
3351
3352         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3353         (gst_plugin_feature_set_name):
3354         Revert patch from #459466 until after the release and we can work
3355         out exactly what the problem is (if any).
3356
3357 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
3358
3359         * docs/gst/gstreamer-sections.txt:
3360         * gst/gsttaglist.c:
3361         * gst/gsttaglist.h:
3362           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
3363
3364 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
3365
3366         * docs/libs/Makefile.am:
3367         Include our build-prefix libs and includes before the generic ones to
3368         avoid linking against the installed libs when we want the build-tree
3369         ones.
3370
3371 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
3372
3373         Patch by: Steve Fink  <sphink gmail com>
3374
3375         * docs/pwg/building-testapp.xml:
3376           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
3377           if people try to build or install the example from the plugin
3378           template against a GStreamer from package using the configure
3379           defaults.
3380
3381 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
3382
3383         Patch by: Steve Fink  <sphink gmail com>
3384
3385         * tools/gst-inspect.1.in:
3386           Document --print-all and --print-plugin-auto-install-info command
3387           line options in man page.
3388
3389 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
3390
3391         * docs/gst/gstreamer-sections.txt:
3392         Add docs for new api function.
3393
3394 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
3395
3396         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
3397         * gst/gstelementfactory.h:
3398         API: gst_element_factory_has_interface()
3399         Added method to check if an element factory implements a named
3400         interface.
3401
3402 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
3403
3404         * configure.ac:
3405         * docs/gst/gstreamer.types.in:
3406           Another conditional doc check.
3407
3408         * gst/gstmessage.c:
3409         * gst/gstparamspecs.h:
3410         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3411         * gst/gstvalue.c:
3412         * gst/gstxml.h:
3413           API-doc fixes.
3414
3415 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3416
3417         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
3418         (gst_registry_binary_load_feature),
3419         (gst_registry_binary_load_plugin),
3420         (gst_registry_binary_read_cache):
3421           Print error just once and with additional info.
3422
3423 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3424
3425         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3426         (helper_find_suggest), (helper_find_get_length),
3427         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
3428         (gst_type_find_helper_for_buffer):
3429           Cleanup the typefindhelper code and add private doc comments.
3430
3431 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
3432
3433         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3434         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
3435         Fix capsfilter for cases where the caps set on capsfilter will provide
3436         additional information.
3437         Fixes #449197
3438
3439 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3440
3441         * gst/gsttypefindfactory.c:
3442           Fix docs that recommened wrong function to use.
3443
3444 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3445
3446         * tools/gst-inspect.c: (print_plugin_features):
3447           Also give media-type for typefinders in element output.
3448
3449 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3450
3451         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
3452         (gst_registry_remove_features_for_plugin_unlocked),
3453         (gst_registry_add_feature), (gst_registry_remove_feature),
3454         (gst_registry_lookup_feature_locked):
3455         * gst/gstregistry.h:
3456           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
3457           Fixes #459501.
3458
3459 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3460
3461         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3462         (gst_plugin_feature_set_name):
3463           Avoid double memory usage for pluginfeature names. Fixes #459466.
3464
3465 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
3466
3467         * gst/gstpad.h:
3468           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
3469           driving the pipeline may need to explicitly check for NOT_LINKED as
3470           well, since IS_FATAL doesn't cover that.
3471
3472 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
3473
3474         * docs/pwg/advanced-types.xml:
3475           Fix typo and duplicate entry in video formats list.
3476
3477 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
3478
3479         * libs/gst/controller/gstinterpolation.c:
3480         Also round to the nearest int when using cubic interpolation.
3481
3482 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
3483
3484         * libs/gst/controller/gstinterpolation.c:
3485         When linearly interpolating integer types, round to the nearest int
3486         by adding 0.5. Don't do it for float/double types.
3487         Fixes the failing controller test on my machine, which is somehow
3488         rounding differently than on the buildbots.
3489
3490 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3491
3492         * tools/gst-plot-timeline.py:
3493           Better log parsing (categories can have -). Adjust text vs. lines, so
3494           that they span the same y-range.        
3495
3496 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3497
3498         * docs/random/ensonic/audiobaseclasses.txt:
3499         * docs/random/ensonic/dynlink.txt:
3500         * docs/random/ensonic/profiling.txt:
3501           Save my thoughts.
3502
3503         * docs/random/moving-plugins:
3504           Add note to use g_assert type macros.
3505
3506 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3507
3508         * configure.ac:
3509         * libs/gst/check/Makefile.am:
3510           Add libm check as we use in for plugins.
3511
3512 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
3513
3514         * gst/gstbin.c: (gst_bin_continue_func):
3515         Check that the state_cookie hasn't changed since the continue_func
3516         was scheduled. Avoids problems where the state changes back to
3517         something it shouldn't be because it was changed in the meantime.
3518
3519 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
3520
3521         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
3522         (gst_registry_binary_save_string),
3523         (gst_registry_binary_save_pad_template),
3524         (gst_registry_binary_save_feature),
3525         (gst_registry_binary_save_plugin),
3526         (gst_registry_binary_load_feature),
3527         (gst_registry_binary_load_plugin),
3528         (gst_registry_binary_read_cache):
3529           Fix memory leak. Be less verbose in the log.
3530
3531 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3532
3533         * tests/check/elements/.cvsignore:
3534         Add file to cvsignore as commanded.
3535
3536 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3537
3538         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3539         (mq_dummypad_event), (run_output_order_test):
3540         Use a GStaticMutex to protect all cases where libcheck
3541         fail_if/fail_unless macros might be called from multiple threads
3542         simultaneously to avoid errors like:
3543           "check_pack.c:107: :-1081725400:Bad message type arg"
3544
3545 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3546
3547         * tests/check/pipelines/stress.c: (GST_START_TEST):
3548         Make sure we set the pipeline back to the NULL state before
3549         dropping our final reference.
3550
3551 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3552
3553         * tests/check/elements/tee.c: (GST_START_TEST):
3554         Make the tee stress-test a little less stressful so it doesn't just
3555         time out on slow-machines, and remove a small race when it's starting 
3556         up by adding a get_state() call.
3557
3558 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
3559
3560         * gst/gst.c:
3561           Avoid reading registry twice on startup. Fixes #457322.
3562
3563 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
3564
3565         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3566         * pkgconfig/gstreamer-check.pc.in:
3567         Substitute the CFLAGS for libcheck into our .pc file too so that
3568         dependent modules will pick it up properly if libcheck is installed
3569         into some other prefix.
3570
3571 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
3572
3573         * configure.ac:
3574         Revert the pkg-config check for libcheck, since it pulls in the
3575         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
3576         a proper solution, either from the check project, or something else.
3577
3578 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
3579
3580         * configure.ac:
3581           Use pkg-config to locate check.
3582
3583 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
3584
3585         * gst/gsttaglist.c:
3586           Fix doc syntax.
3587
3588         * gst/gstutils.c:
3589         * gst/gstutils.h:
3590           Add deprecation guards.
3591
3592         * libs/gst/base/gstcollectpads.h:
3593           Don't document object (this is implicitly private).
3594
3595 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
3596
3597         * gst/gststructure.c: (gst_structure_parse_value):
3598           When deserialising foo=bar without a type cast, check if it's a
3599           boolean before falling back to a string type, otherwise things like
3600           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
3601           because the filtercaps end up having a signed=(string)true field,
3602           which causes problems later when intersection caps.
3603
3604         * tests/check/gst/gststructure.c: (GST_START_TEST):
3605           Add a unit test for this.
3606
3607 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
3608
3609         Reviewed by: Stefan Kost <ensonic@users.sf.net>
3610
3611         * libs/gst/controller/Makefile.am:
3612         * libs/gst/controller/gstcontroller.c:
3613         (gst_controlled_property_add_interpolation_control_source),
3614         (gst_controlled_property_new), (gst_controlled_property_free),
3615         (gst_controller_find_controlled_property),
3616         (gst_controller_new_valist), (gst_controller_new_list),
3617         (gst_controller_new), (gst_controller_remove_properties_valist),
3618         (gst_controller_remove_properties_list),
3619         (gst_controller_remove_properties),
3620         (gst_controller_set_property_disabled),
3621         (gst_controller_set_disabled), (gst_controller_set_control_source),
3622         (gst_controller_get_control_source), (gst_controller_get),
3623         (gst_controller_sync_values), (gst_controller_get_value_array),
3624         (_gst_controller_dispose), (gst_controller_get_type),
3625         (gst_controlled_property_set_interpolation_mode),
3626         (gst_controller_set), (gst_controller_set_from_list),
3627         (gst_controller_unset), (gst_controller_unset_all),
3628         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
3629         * libs/gst/controller/gstcontroller.h:
3630         * libs/gst/controller/gstcontrollerprivate.h:
3631         * libs/gst/controller/gstcontrolsource.c:
3632         (gst_control_source_class_init), (gst_control_source_init),
3633         (gst_control_source_get_value),
3634         (gst_control_source_get_value_array), (gst_control_source_bind):
3635         * libs/gst/controller/gstcontrolsource.h:
3636         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
3637         (gst_object_get_control_source):
3638         * libs/gst/controller/gstinterpolation.c:
3639         (gst_interpolation_control_source_find_control_point_node),
3640         (gst_interpolation_control_source_get_first_value),
3641         (_interpolate_none_get), (interpolate_none_get),
3642         (interpolate_none_get_boolean_value_array),
3643         (interpolate_none_get_enum_value_array),
3644         (interpolate_none_get_string_value_array),
3645         (_interpolate_trigger_get), (interpolate_trigger_get),
3646         (interpolate_trigger_get_boolean_value_array),
3647         (interpolate_trigger_get_enum_value_array),
3648         (interpolate_trigger_get_string_value_array):
3649         * libs/gst/controller/gstinterpolationcontrolsource.c:
3650         (gst_control_point_free), (gst_interpolation_control_source_reset),
3651         (gst_interpolation_control_source_new),
3652         (gst_interpolation_control_source_set_interpolation_mode),
3653         (gst_interpolation_control_source_bind),
3654         (gst_control_point_compare), (gst_control_point_find),
3655         (gst_interpolation_control_source_set_internal),
3656         (gst_interpolation_control_source_set),
3657         (gst_interpolation_control_source_set_from_list),
3658         (gst_interpolation_control_source_unset),
3659         (gst_interpolation_control_source_unset_all),
3660         (gst_interpolation_control_source_get_all),
3661         (gst_interpolation_control_source_get_count),
3662         (gst_interpolation_control_source_init),
3663         (gst_interpolation_control_source_finalize),
3664         (gst_interpolation_control_source_dispose),
3665         (gst_interpolation_control_source_class_init):
3666         * libs/gst/controller/gstinterpolationcontrolsource.h:
3667         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3668         API: Refactor GstController into the core controller which can take
3669         a GstControlSource for providing actual values for timestamps.
3670         Implement a interpolation control source and use this for backward
3671         compatibility, deprecate a bunch of functions that are now handled
3672         by GstControlSource or GstInterpolationControlSource.
3673         Make it possible to disable the controller completely or only for
3674         specific properties. Fixes #450711.
3675         * docs/libs/gstreamer-libs-docs.sgml:
3676         * docs/libs/gstreamer-libs-sections.txt:
3677         * docs/libs/gstreamer-libs.types:
3678         Add new functions and classes to the docs.
3679         * tests/check/libs/controller.c: (GST_START_TEST),
3680         (gst_controller_suite):
3681         * tests/examples/controller/audio-example.c: (main):
3682         Port unit test and example to the new API and add some new
3683         unit tests.
3684
3685 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
3686
3687         Patch by: Mark Nauwelaerts <manauw at skynet be>
3688
3689         * plugins/elements/gstmultiqueue.c:
3690         (gst_multi_queue_get_internal_links), (apply_buffer),
3691         (single_queue_overrun_cb), (gst_single_queue_new):
3692         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
3693         the pipeline layout can be tracked correctly. Fixes #453732.
3694
3695 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
3696
3697         * docs/gst/Makefile.am:
3698         * docs/libs/Makefile.am:
3699         * docs/plugins/Makefile.am:
3700           Simplify --extra-dir as gtkdoc scans recursively.
3701
3702 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
3703
3704         * tools/gst-launch.c: (main):
3705         When we got an error, there is no point in waiting for preroll when
3706         shutting down.
3707
3708 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
3709
3710         * plugins/elements/gsttee.c: (gst_tee_base_init),
3711         (gst_tee_request_new_pad), (gst_tee_release_pad),
3712         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
3713         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
3714         (gst_tee_chain):
3715         Be a lot smarter when deciding what srcpad to use for proxying
3716         the buffer_alloc. Also handle pad added/removed when doing so.
3717         Fixes #357959.
3718         Keep track of what pads we already pushed on in case we have pads
3719         added/removed while pushing. Fixes #374639 
3720
3721         * tests/check/Makefile.am:
3722         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
3723         (tee_suite):
3724         Added unit test for pad resync.
3725
3726 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3727
3728         * po/nl.po:
3729         * po/sv.po:
3730           Updated translations.
3731
3732 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3733
3734         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
3735
3736         * po/LINGUAS:
3737         * po/fi.po:
3738           Added new Finnish translation.
3739
3740 2007-06-28  Wim Taymans  <wim@fluendo.com>
3741
3742         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3743         (single_queue_overrun_cb):
3744         When figuring out when a queue is filled, use our internal time estimate
3745         based on segments, just like check_full does.
3746
3747 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
3748
3749         * gst/gstminiobject.c: (gst_mini_object_get_type):
3750           Remove 3 do-nothing methods.
3751
3752 2007-06-27  Wim Taymans  <wim@fluendo.com>
3753
3754         Patch by: Tim Angus <tim at ngus dot net>
3755
3756         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3757         (gst_capsfilter_set_property):
3758         Take a reference instead of a copy when setting "caps".
3759         Fix documentation to clarify this behaviour. Fixes #449414.
3760
3761 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
3762
3763         * gst/gstindexfactory.c: (gst_index_factory_get_type):
3764         * gst/gstplugin.c: (gst_plugin_init):
3765         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
3766         * gst/gstquery.c: (gst_query_get_type):
3767         * gst/gstregistry.c: (gst_registry_init):
3768         * gst/gsturi.c: (gst_uri_handler_base_init):
3769           Remove empty instance_init() functions to save relocs and lessen the
3770           noise. Remove some of the function prototypes that are doubled by
3771           G_DEFINE_TYPE.
3772           
3773 2007-06-27  Wim Taymans  <wim@fluendo.com>
3774
3775         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
3776
3777         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
3778         Add peer and direction in the XML serialisation of ghostpads.
3779         Fixes #449226.
3780
3781 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
3782
3783         * configure.ac:
3784           Preserve useful information, thanks Tim.
3785
3786 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
3787
3788         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3789         (gst_single_queue_flush), (apply_segment), (apply_buffer),
3790         (gst_single_queue_push_one), (gst_multi_queue_loop),
3791         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3792         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
3793         (compute_high_id), (gst_single_queue_new):
3794         * plugins/elements/gstmultiqueue.h:
3795         Take the multiqueue lock when updating the fill level so we don't get
3796         confused. 
3797
3798         After applying a buffer or event on the src pad segment, make sure to
3799         call gst_data_queue_limits_changed() to get the data queue to unblock
3800         and check the filled state again.
3801         
3802         Rework the not-linked pad handling so the logic is that not-linked 
3803         pads can push as fast as they like, but only so they never get 
3804         ahead of any linked pads.
3805
3806         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
3807         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
3808         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
3809
3810         Add a test to check that not-linked pads always stay behind
3811         linked pads.
3812
3813         Fixes: #430682
3814
3815 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
3816
3817         * docs/random/release:
3818           Some updates to the release procedure.
3819
3820 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
3821
3822         * gst/gstelementfactory.c: (__gst_element_details_clear):
3823           Microoptimization that saves stunning 80 bytes.
3824
3825 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
3826
3827         * docs/plugins/gstreamer-plugins.args:
3828         * docs/plugins/inspect/plugin-coreelements.xml:
3829         * docs/plugins/inspect/plugin-coreindexers.xml:
3830           Update docs with caps info.
3831
3832 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3833
3834         * po/it.po:
3835           Updated Italian translation.
3836
3837 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3838
3839         * ChangeLog:
3840         * po/vi.po:
3841           Update Vietnamese translations.
3842
3843 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
3844
3845         * libs/gst/base/gstbasesink.c:
3846           Remove unused signal enum.
3847
3848 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
3849
3850         * docs/gst/gstreamer-sections.txt:
3851         * gst/gstelement.c:
3852         * gst/gstutils.c: (gst_type_register_static_full):
3853         Beef up and include the docs for gst_type_register_static_full and
3854         gst_element_class_set_details_simple and add the API keyword
3855         in the ChangeLog.
3856
3857 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
3858
3859         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3860         (update_time_level), (gst_single_queue_push_one),
3861         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
3862         (single_queue_overrun_cb), (single_queue_underrun_cb),
3863         (single_queue_check_full):
3864         Fix setting max-* properties after adding queues.
3865         Use IS_FILLED for checking visible items.
3866         Signal overrun if multiple queues overrun.
3867         Add extra debug output.
3868         Patch by: Wim Taymans <wim@fluendo.com>
3869
3870 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
3871
3872         * gst/gstelement.c: (gst_element_class_set_details_simple):
3873         * gst/gstelement.h:
3874         * gst/gstutils.c: (gst_type_register_static_full):
3875         * gst/gstutils.h:
3876         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
3877         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
3878         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
3879         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
3880         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
3881         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
3882         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
3883         * plugins/elements/gstidentity.c: (gst_identity_base_init):
3884         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
3885         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3886         (apply_buffer), (gst_queue_chain):
3887         * plugins/elements/gsttee.c: (gst_tee_base_init):
3888         * plugins/elements/gsttypefindelement.c:
3889         (gst_type_find_element_base_init),
3890         (gst_type_find_element_class_init):
3891           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
3892           API: add gst_type_register_static_full
3893           API: add gst_element_class_set_details_simple
3894
3895 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
3896
3897         * docs/pwg/advanced-types.xml:
3898           Fix typo in iana.org URI.
3899
3900 2007-06-19  Andy Wingo  <wingo@pobox.com>
3901
3902         * tests/check/pipelines/simple-launch-lines.c
3903         (test_state_change_returns): Enable pull-mode tests now that
3904         basesink has been fixed.
3905
3906         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
3907         Changed from gst_base_sink_is_prerolled, reversing the sense of
3908         the return value. Returns FALSE also if the sink is in pull mode,
3909         in which case it needs no preroll.
3910         (gst_base_sink_query, gst_base_sink_change_state): Update for
3911         needs_preroll change.
3912         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
3913         chaining up, in which we return SUCCESS directly if we activated
3914         in pull mode instead of ASYNC. Involves countering an async_start
3915         message sent before chaining up; not sure if this is correct, in
3916         an ideal world we only send async-start when activating in push
3917         mode.
3918
3919         * tests/check/pipelines/simple-launch-lines.c
3920         (test_state_change_returns): New test, partially disabled until
3921         basesink is fixed.
3922
3923 2007-06-19  Wim Taymans  <wim@fluendo.com>
3924
3925         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3926         (gst_multi_queue_sink_event):
3927         Fix event leak.
3928
3929 2007-06-19  Wim Taymans  <wim@fluendo.com>
3930
3931         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3932         (gst_bin_change_state_func), (bin_push_state_continue),
3933         (bin_handle_async_start), (bin_handle_async_done),
3934         (gst_bin_handle_message_func):
3935         Move the common code for posting state-change messages into
3936         one function.
3937         Broadcast the state signal after we posted the messages.
3938         Mark the bin as busy when it's doing a state-change.
3939         Make sure async-start/done messages don't interfere with the bin's
3940         state when it's busy.
3941         After the state change, let the bin check which elements completed the
3942         state change while it was busy so that it can update its state.
3943
3944 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
3945
3946         * docs/random/release:
3947         Add a note about updating the doap file to the release checklist
3948
3949 2007-06-18  Wim Taymans  <wim@fluendo.com>
3950
3951         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3952         (gst_single_queue_push_one), (gst_multi_queue_chain),
3953         (gst_multi_queue_sink_event):
3954         Make sure we don't reference the buffer/event after we have given away
3955         ownership in the queue.
3956
3957 2007-06-18  Wim Taymans  <wim@fluendo.com>
3958
3959         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3960         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
3961         Update queue state _after_ adding the item in the queue because else we
3962         could end up being full without the element added yet.
3963
3964 2007-06-18  Wim Taymans  <wim@fluendo.com>
3965
3966         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3967         (gst_bin_remove_func), (gst_bin_get_state_func),
3968         (gst_bin_element_set_state), (gst_bin_continue_func),
3969         (bin_push_state_continue), (bin_handle_async_start),
3970         (bin_handle_async_done), (gst_bin_handle_message_func):
3971         * gst/gstbin.h:
3972         Immediatly commit the toplevel bin state when receiving an async-done
3973         message. This enables us to avoid spawning a thread to commit the state
3974         in some common cases and it also avoids some races.
3975         Avoid spawning a state thread when adding/removing async elements to a
3976         toplevel bin. Instead we immediatly update the bin state.
3977         Get rid of iterating all the children when getting the state in the bin
3978         because it is now always up-to-date.
3979         Fix bug where locked elements would always return _SUCCESS even it they
3980         returned NO_PREROLL before being locked.
3981         Fix the order of the state_change, async-start/done messages that was
3982         sometimes incorrect.
3983         Mark the state_dirty field as deprecated, we don't need it anymore as we
3984         are always up-to-date.
3985
3986         * gst/gstelement.c: (gst_element_get_state_func),
3987         (gst_element_continue_state):
3988         Small debug inprovements.
3989         Return the previous element state return when nothing is pending instead
3990         of blindly returning SUCCESS.
3991
3992         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
3993         (gst_sinks_suite):
3994         Add a whole bunch of new testcases.
3995
3996 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3997
3998         * po/uk.po:
3999         * po/vi.po:
4000           Update translations.
4001
4002 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
4003
4004         * gst/gstpad.c:
4005         Fix typo in the docs.
4006
4007 2007-06-15  Wim Taymans  <wim@fluendo.com>
4008
4009         * docs/libs/gstreamer-libs-sections.txt:
4010         Add docs for new methods.
4011
4012 2007-06-15  Wim Taymans  <wim@fluendo.com>
4013
4014         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
4015         (gst_multi_queue_item_new):
4016         Don't use GSlice because we don't depend on >= 2.10 yet.
4017
4018 2007-06-15  Wim Taymans  <wim@fluendo.com>
4019
4020         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4021         (update_time_level), (apply_segment), (apply_buffer),
4022         (gst_single_queue_push_one), (gst_multi_queue_item_new),
4023         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
4024         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
4025         (single_queue_underrun_cb), (single_queue_check_full):
4026         Remove debug printf.
4027
4028 2007-06-15  Wim Taymans  <wim@fluendo.com>
4029
4030         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
4031         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
4032         (gst_data_queue_set_flushing), (gst_data_queue_push),
4033         (gst_data_queue_pop), (gst_data_queue_drop_head),
4034         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
4035         * libs/gst/base/gstdataqueue.h:
4036         Various cleanups.
4037         Added methods to get the current levels and to inform the queue that the
4038         'full' limits changed.
4039
4040         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4041         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4042         (gst_single_queue_flush), (update_time_level), (apply_segment),
4043         (apply_buffer), (gst_single_queue_push_one),
4044         (gst_multi_queue_item_steal_object),
4045         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4046         (gst_multi_queue_loop), (gst_multi_queue_chain),
4047         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4048         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
4049         (gst_multi_queue_src_query), (single_queue_overrun_cb),
4050         (single_queue_underrun_cb), (single_queue_check_full),
4051         (gst_single_queue_new):
4052         Keep track of time in the queue by measuring the difference between
4053         running_time on input and output. This gives more accurate results and
4054         can compensate for segments correctly.
4055         Make a queue by default only 5 buffers deep. We will now increase the
4056         buffer size depending on the filledness of the other queues.
4057         Factor out commong flush code.
4058         Make sure we don't add additional refcounts to buffers when we can avoid
4059         it.
4060         Propagate GstFlowReturn differently.
4061         Use GSlice for intermediate GstMultiQueueItems.
4062         Keep track of EOS.
4063         Resize queues on over and underruns based on filled level of other
4064         queues.
4065         When checking if the queue is filled, prefer to measure in time if we
4066         can and fall back to bytes when no time is known.
4067
4068         * plugins/elements/gstqueue.c:
4069         Fix return value.
4070
4071 2007-06-15  Wim Taymans  <wim@fluendo.com>
4072
4073         * libs/gst/base/gstbasetransform.c:
4074         (gst_base_transform_sink_event):
4075         Work around the brokenness of the event vmethod in basetransform. Prefer
4076         to return TRUE when the subclass returned FALSE (meaning don't forward
4077         the event). 
4078
4079         * libs/gst/base/gstbasetransform.h:
4080         Clarify the docs.
4081
4082 2007-06-15  Wim Taymans  <wim@fluendo.com>
4083
4084         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
4085         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4086         (gst_base_src_default_query), (gst_base_src_get_range),
4087         (gst_base_src_start):
4088         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
4089         Improve debugging.
4090
4091 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
4092
4093         * docs/pwg/advanced-types.xml:
4094           Added more formats to caps table.
4095
4096 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
4097
4098         * tools/gst-launch.c: (main):
4099           Remove crufy code. GOption does not need this workaround.
4100
4101 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
4102
4103         * libs/gst/controller/gstcontroller.c:
4104         (gst_controlled_property_set_interpolation_mode):
4105           Fix wrong getter for enums in controller.
4106
4107 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4108
4109         * libs/gst/check/gstcheck.c: (gst_check_init):
4110           Intercept criticals and warnings in the Gst-Phonon log domain, so
4111           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
4112           well.
4113         
4114 2007-06-14  Edward Hervey  <edward@fluendo.com>
4115
4116         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
4117         Since this file doesn't include "gst.h" it will not go through the
4118         macros that disable GST_LOG if debugging was disabled.
4119
4120 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4121
4122         * libs/gst/check/Makefile.am:
4123         * libs/gst/check/gstcheck.h:
4124         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4125         * pkgconfig/gstreamer-check.pc.in:
4126           Ugly 'fix' for the controller unit test on the p5 bot: in
4127           fail_unless_equals_float() check whether the values are 'almost
4128           equal' by allowing a small absolute error, which should be good
4129           enough for our use cases (normal numbers and values close to 0).
4130           Proper fixage left to floating point arithmetic aficionados.
4131
4132 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
4133
4134         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
4135         (gst_base_sink_render_object), (gst_base_sink_get_position):
4136           Add two breaks thats where missing.
4137
4138 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4139
4140         * docs/libs/gstreamer-libs-sections.txt:
4141         * libs/gst/check/gstcheck.h:
4142           API: add fail_unless_equals_float() and assert_equals_float().
4143           Add documentation for some of the macros.
4144
4145         * tests/check/libs/controller.c: (GST_START_TEST):
4146           Use newly-added asserts.
4147
4148 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
4149
4150         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
4151           Show the caps change in the log to help spotting the case of not
4152           exactly matching caps.
4153
4154 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4155
4156         * docs/pwg/building-boiler.xml:
4157           Fix typos, spotted by Thijs Vermeir (#447190).
4158
4159 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
4160
4161         * docs/plugins/tmpl/.cvsignore:
4162         Ignore file to keep the buildbots happy
4163
4164 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
4165
4166         * docs/plugins/Makefile.am:
4167         * docs/plugins/gstreamer-plugins-docs.sgml:
4168         * docs/plugins/gstreamer-plugins-sections.txt:
4169         Pull fdsink into the docs too.
4170
4171 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
4172
4173         * libs/gst/controller/gstinterpolation.c:
4174         Actually use the new functions with min/max checks for the trigger and
4175         none interpolation modes for get() and get_value_array() instead of
4176         just the latter.
4177
4178 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
4179
4180         * libs/gst/controller/gstcontroller.c:
4181         (gst_controlled_property_free):
4182         Unset the minimum and maximum GValues when freeing the corresponding
4183         GstControllerProperty struct.
4184
4185 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
4186
4187         * libs/gst/controller/gstcontroller.c:
4188         (gst_controlled_property_new):
4189         * libs/gst/controller/gstcontrollerprivate.h:
4190         * libs/gst/controller/gstinterpolation.c:
4191         (gst_controlled_property_find_control_point_node),
4192         (interpolate_none_get), (interpolate_none_get_enum_value_array),
4193         (interpolate_none_get_string_value_array),
4194         (interpolate_trigger_get),
4195         (interpolate_trigger_get_enum_value_array),
4196         (interpolate_trigger_get_string_value_array):
4197         Protect against values larger or smaller than the minimum or maximum
4198         allowed value for the property when using values that can be compared.
4199
4200         Optimize trigger interpolator a bit by taking the last requested value
4201         into account instead of always looping through the complete list.
4202
4203         Fix coding style a bit, everywhere else we use "return foo" instead
4204         of "return (foo)".
4205         
4206         * tests/check/libs/controller.c: (GST_START_TEST),
4207         (gst_controller_suite):
4208         Add unit test for the protection against too large or too small
4209         values.
4210
4211 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
4212
4213         * docs/random/slomo/controller.txt:
4214         Add some thoughts about the future of the controller.
4215
4216 2007-06-08  Wim Taymans  <wim@fluendo.com>
4217
4218         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4219         Don't overflow in retimestamping code.
4220
4221 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
4222
4223         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
4224         Use gst_util_guint64_to_gdouble for conversions.
4225         * win32/common/libgstreamer.def:
4226         Add new exported functions.
4227
4228 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
4229
4230         * gst/gstutils.c:
4231           Small docs addition.
4232
4233 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4234
4235         * README:
4236           Remove that test line again.
4237
4238 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4239
4240         * README:
4241           Test commit mail sending.
4242
4243 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4244
4245         * configure.ac:
4246           Fix typo and test commit mail sending.
4247
4248 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4249
4250         * tests/examples/controller/audio-example.c:
4251           Improve comment and test commit mail sending.
4252
4253 2007-06-07  Wim Taymans  <wim@fluendo.com>
4254
4255         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
4256         (gst_bin_remove_func), (gst_bin_element_set_state),
4257         (bin_handle_async_start), (bin_handle_async_done),
4258         (gst_bin_handle_message_func):
4259         Add helper function to find messages.
4260         Generate the async-done messages together with the state change
4261         messages.
4262         Small cleanups in handling toplevel bins.
4263
4264 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4265
4266         * libs/gst/base/gstdataqueue.c:
4267         * libs/gst/base/gstdataqueue.h:
4268         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4269         (gst_multi_queue_item_new), (gst_multi_queue_chain),
4270         (gst_multi_queue_sink_event):
4271         * tests/check/elements/multiqueue.c: (multiqueue_suite):
4272           Fix multiqueue leaking buffers and events when downstream or the
4273           queue are flushing. Make refcounting assumptions explicit and
4274           document them (shouldn't break existing code that uses it other than
4275           maybe leak miniobjects, but that already happens anyway). Add unit
4276           test for the most common flushing case. Fixes #423700.
4277           
4278 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
4279
4280         * libs/gst/controller/gstcontroller.c:
4281         Clarify docs: The get_all, get_value_array(s) functions
4282         don't modify the GObject properties.
4283
4284 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
4285
4286         * libs/gst/controller/gstcontroller.c:
4287         (gst_controlled_property_set_interpolation_mode),
4288         (gst_controlled_property_prepend_default),
4289         (gst_controlled_property_new), (gst_controller_set_unlocked),
4290         (gst_controller_set), (gst_controller_set_from_list),
4291         (gst_controller_unset), (gst_controller_unset_all):
4292         * libs/gst/controller/gstcontrollerprivate.h:
4293         * libs/gst/controller/gstinterpolation.c:
4294         Factor out the 'set' logic into gst_controller_set_unlocked for the
4295         gst_controller_set and gst_controller_set_from_list functions.
4296
4297         To make life of the interpolators easier always add a control point
4298         at timestamp zero with the default value.
4299
4300         In the linear interpolator make things more obvious by better variable
4301         naming (slope).
4302
4303         Implement cubic interpolation mode (by using a natural cubic spline)
4304         and map the quadratic interpolation mode to this too (as quadratic
4305         doesn't make much sense, see discussion on the list).
4306
4307         * tests/check/libs/controller.c: (GST_START_TEST),
4308         (gst_controller_suite):
4309         Add unit test for the cubic interpolation mode and check everywhere
4310         if the interpolation mode could be set as expected.
4311
4312 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4313
4314         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
4315           Don't use GLib-2.10 functions, we still depend on
4316           GLib-how-old-is-it-again-2.8.
4317
4318 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4319
4320         * docs/gst/gstreamer-sections.txt:
4321         * gst/Makefile.am:
4322         * gst/gst.c:
4323         * gst/gst.h:
4324         * gst/gstparamspecs.c: (_gst_param_fraction_init),
4325         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
4326         (_gst_param_fraction_values_cmp),
4327         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
4328         * gst/gstparamspecs.h:
4329         * gst/gstvalue.c:
4330         * tests/check/Makefile.am:
4331         * tests/check/gst/.cvsignore:
4332         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
4333         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
4334         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
4335         (GST_START_TEST), (gst_param_spec_suite):
4336           API: add GstParamSpecFraction, so elements can have fraction
4337           properties without lots of painful string parsing (#444648).
4338
4339 2007-06-05  Wim Taymans  <wim@fluendo.com>
4340
4341         * gst/gstobject.c: (gst_object_class_init):
4342         Fix signal signature.
4343
4344         * gst/gstsegment.c:
4345         Add small clarification in the api docs.
4346
4347         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
4348         States are protected with object lock.
4349
4350 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
4351
4352         * AUTHORS:
4353         I should probably be listed as an author by now.
4354
4355         * docs/random/release:
4356         Update the release doc
4357
4358 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
4359
4360         * gst/gstvalue.c:
4361           Make docs for gst_value_compare() mention return enums that
4362           actually exist.
4363
4364 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
4365
4366         * configure.ac:
4367           Back to CVS
4368
4369 === release 0.10.13 ===
4370
4371 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
4372
4373         * configure.ac:
4374           releasing 0.10.13, "With or without you"
4375
4376 2007-05-25  Wim Taymans  <wim@fluendo.com>
4377
4378         * gst/gstbin.c: (bin_handle_async_done):
4379         Make sure that the child bin stops after completing the async state
4380         change so that the parent can continue the state change to PLAYING.
4381         Fixes #441159.
4382
4383 2007-05-25  Wim Taymans  <wim@fluendo.com>
4384
4385         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4386         (unref_data), (gst_collect_pads_remove_pad),
4387         (gst_collect_pads_check_pads):
4388         Use additional refcounting to avoid crashes when dynamically adding and
4389         removing pads. Fixes #420206.
4390
4391 2007-05-24  Wim Taymans  <wim@fluendo.com>
4392
4393         * tools/gst-launch.c: (event_loop):
4394         When buffering goes from a two digit to a single digit number, make sure
4395         to remove the old second digit by writing a blank over it.
4396
4397 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
4398
4399         * libs/gst/base/gstdataqueue.c:
4400           Eliminate tabs and trailing comma in enum list; fix some typos.
4401
4402 2007-05-24  Wim Taymans  <wim@fluendo.com>
4403
4404         * tests/check/gst/gstbin.c: (GST_START_TEST):
4405         Allow refcount of 3 and 4 because some state thread might still be busy
4406         with it.
4407
4408 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
4409
4410         * plugins/elements/Makefile.am:
4411         * plugins/elements/gstmultiqueue.h:
4412         * plugins/elements/gstqueue.h:
4413           These are not installed headers, no need for padding.
4414
4415 2007-05-24  Wim Taymans  <wim@fluendo.com>
4416
4417         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4418         (gst_bin_continue_func):
4419         Enable latency for next release.
4420         Restore STATE_LOCK around recalc_state that was left out during the
4421         rewrite and could result in racy behaviour when _get_state and
4422         recalc_state are run concurrently. See #440463.
4423
4424 2007-05-23  Wim Taymans  <wim@fluendo.com>
4425
4426         * tests/check/gst/gstsystemclock.c: (store_callback),
4427         (GST_START_TEST):
4428         Improve test_async_order to also work when both timers are already
4429         expired when we get scheduled to check it.
4430
4431 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4432
4433         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
4434         (gst_bin_set_property), (gst_bin_get_property),
4435         (gst_bin_remove_func), (gst_bin_handle_message_func):
4436         * gst/gstbin.h:
4437           'private' is a c++ keyword, let's not use that in header files,
4438           otherwise c++ compilers will throw a tantrum.
4439
4440 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4441
4442         * plugins/elements/gstelements.c:
4443         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
4444         (gst_file_sink_get_current_offset):
4445         * plugins/indexers/gstindexers.c: (plugin_init):
4446           Use #ifdef for HAVE_XYZ for consistency.
4447
4448         * tests/check/Makefile.am:
4449         * tests/check/elements/.cvsignore:
4450         * tests/check/elements/filesink.c: (setup_filesink),
4451         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
4452           Add some unit tests for filesink.
4453
4454 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4455
4456         Patch by: Mark Nauwelaerts <manauw at skynet be>
4457
4458         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4459         (gst_file_sink_query), (gst_file_sink_do_seek),
4460         (gst_file_sink_get_current_offset), (gst_file_sink_render):
4461         * plugins/elements/gstfilesink.h:
4462           Fix position reporting; rename data_written member to current_pos to
4463           reflect its real meaning (fixes #412648).
4464
4465 2007-05-22  Edward Hervey  <edward@fluendo.com>
4466
4467         * docs/gst/gstreamer-sections.txt:
4468         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4469         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
4470         (gst_bin_remove_func), (gst_bin_handle_message_func):
4471         * gst/gstbin.h:
4472         Add a property for bins that handle the state change of their childs.
4473         Fixes #435880
4474
4475 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
4476
4477         * libs/gst/controller/gstinterpolation.c:
4478         Use an array of the correct type when using _get_value_array with
4479         linear interpolation.
4480
4481 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
4482
4483         * gst/gstelement.c (gst_element_requires_clock,
4484           gst_element_provides_clock, gst_element_request_pad,
4485           gst_element_class_set_details, gst_element_class_set_details_simple,
4486           gst_element_default_send_event, gst_element_abort_state,
4487           gst_element_continue_state, gst_element_set_state,
4488           gst_element_set_state_func, iterator_activate_fold_with_resync):
4489         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
4490           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
4491           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
4492           gst_pad_get_range, gst_pad_pull_range):
4493         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
4494           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
4495           GstPadActivateModeFunction, GstPadChainFunction,
4496           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
4497           GstPadFixateCapsFunction, GstPadTemplate):
4498         * gst/gstpipeline.c (gst_pipeline_change_state,
4499           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
4500           gst_pipeline_set_clock, gst_pipeline_auto_clock,
4501           gst_pipeline_get_delay):
4502           Whitespace and docs fixes.
4503
4504 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4505
4506         * libs/gst/controller/gstinterpolation.c:
4507         (interpolate_trigger_get_enum_value_array),
4508         (interpolate_trigger_get_string_value_array):
4509         Add support for retrieving value arrays when using the trigger
4510         interpolation mode. 
4511
4512 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4513
4514         * libs/gst/controller/gstcontroller.c:
4515         (gst_controller_get_value_array):
4516         * libs/gst/controller/gstcontroller.h:
4517         Clarify the docs of gst_controller_get_value_array(): The array where
4518         the values should be written to must be allocated as there seems to be
4519         no way to get the size of a random GType. This doesn't change any
4520         behaviour. Also fix some typos all over the place and remove an unused,
4521         commented function that is not necessary as g_object_set() could be
4522         used instead.
4523         * tests/check/libs/controller.c: (GST_START_TEST),
4524         (gst_controller_suite):
4525         Add unit test for gst_controller_get_value_array().
4526
4527 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
4528
4529         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4530
4531         Disable part of the gst_buffer_try_new_and_alloc test, because
4532         it can happily succeed on 64-bit systems where there's more address
4533         space available.
4534
4535 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4536
4537         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4538         Add unit test for the improved caps checking from bug #421543.
4539
4540 2007-05-21  Wim Taymans  <wim@fluendo.com>
4541
4542         * docs/design/part-synchronisation.txt:
4543         Small addition.
4544
4545         * gst/gstbin.c: (gst_bin_query):
4546         * plugins/elements/gstqueue.c: (apply_segment):
4547         Improve debugging.
4548
4549         * gst/gstmessage.h:
4550         Improve docs.
4551
4552 2007-05-21  Wim Taymans  <wim@fluendo.com>
4553
4554         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4555         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
4556         (gst_pad_configure_src):
4557         Added simple version of improved caps checking. It was previously
4558         assumed that a setcaps function would check the validity of the caps but
4559         people prefer us to check caps against the template automatically. 
4560         Fixes #421543.
4561
4562 2007-05-21  Wim Taymans  <wim@fluendo.com>
4563
4564         * libs/gst/base/gstbasetransform.h:
4565         Fix macro for locking/unlocking the transform lock.
4566
4567 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
4568
4569         * docs/plugins/tmpl/.cvsignore:
4570           Ignore more.
4571
4572 2007-05-18  Edward Hervey  <edward@fluendo.com>
4573
4574         * plugins/elements/gstqueue.c: (gst_queue_loop):
4575         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
4576         for the subtle art of warning a potentially blocking thread that it
4577         should check the source pad return value, and relay the information
4578         upstream.
4579
4580 2007-05-18  Edward Hervey  <edward@fluendo.com>
4581
4582         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4583         Release the queue lock !
4584
4585 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4586
4587         * docs/libs/gstreamer-libs-sections.txt:
4588         Add the two new controller functions to the appropiate places.
4589
4590 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4591
4592         reviewed by: Stefan Kost <ensonic@users.sf.net>
4593
4594         * libs/gst/controller/gstcontroller.c:
4595         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
4596         (_gst_controller_get_property), (_gst_controller_set_property),
4597         (_gst_controller_init), (_gst_controller_class_init):
4598         * libs/gst/controller/gstcontroller.h:
4599         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
4600         (gst_object_get_control_rate), (gst_object_set_control_rate):
4601         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
4602         Add API that provides sync suggestion timestamps for elements that
4603         call gst_object_sync_values() from which those elements can subdivide
4604         their processing loop to get the best results for the controlled
4605         properties. For now it just suggests last_sync + control_rate as
4606         new timestamp but this will be improved in the future.
4607
4608         While doing that change the control-rate property to a GstClockTime
4609         from guint and change it's meaning from samples to nanoseconds as
4610         the GstController doesn't know anything about sampling rate. Strictly
4611         speaking this breaks ABI but as the control-rate property didn't do
4612         anything in the past and as such couldn't be used this should be no
4613         problem.        
4614
4615 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4616
4617         reviewed by: Stefan Kost <ensonic@users.sf.net>
4618
4619         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4620         (gst_controller_unset_all):
4621         * libs/gst/controller/gstcontrollerprivate.h:
4622         * libs/gst/controller/gstinterpolation.c:
4623         (gst_controlled_property_find_control_point_node):
4624         Save last synced value from the list to continue searching from there
4625         in future syncs. This speeds everything up a bit.
4626         
4627 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4628
4629         reviewed by: Stefan Kost <ensonic@users.sf.net>
4630
4631         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
4632         (gst_control_point_find), (gst_controlled_property_new),
4633         (gst_control_point_free), (gst_controlled_property_free),
4634         (gst_controller_set), (gst_controller_set_from_list),
4635         (gst_controller_unset), (gst_controller_unset_all),
4636         (gst_controller_sync_values):
4637         * libs/gst/controller/gstcontroller.h:
4638         * libs/gst/controller/gstcontrollerprivate.h:
4639         * libs/gst/controller/gstinterpolation.c:
4640         (gst_controlled_property_find_control_point_node),
4641         (interpolate_none_get), (interpolate_trigger_get):
4642         Add a new private GstControlPoint struct which "inherits" from
4643         GstTimedValue to allow different interpolators to store internal
4644         values next to each control point. From the outside everything is
4645         still a GstControlPoint so we don't loose binary compatibility.
4646         Also fixup all the GValue handling to not leak GValues or list nodes.
4647         * tests/check/libs/controller.c: (GST_START_TEST):
4648         Free the list nodes and GValues in the controller_misc test.
4649
4650 2007-05-17  Edward Hervey  <edward@fluendo.com>
4651
4652         * gst/gstsegment.c:
4653         Small doc fix.
4654
4655 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
4656
4657         * gst/gstplugin.c: (gst_plugin_load_file):
4658           If we fail to load a plugin because of unresolved symbols or missing
4659           libraries and spew a warning to stderr, we may just as well mention
4660           which plugin it was that failed to load.
4661
4662 2007-05-13  David Schleef  <ds@schleef.org>
4663
4664         * docs/Makefile.am: the gtk-doc makefile snippet correctly
4665           handles the case when ENABLE_GTK_DOC is false, and installs
4666           the prebuilt documentation.  So gtk-doc subdirs are 
4667           unconditionally enabled.  Fixes: #349099.
4668
4669 2007-05-13  David Schleef  <ds@schleef.org>
4670
4671         * gst/gstutils.h: Reword some documentation.
4672
4673 2007-05-12  David Schleef  <ds@schleef.org>
4674
4675         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
4676           do anything with the passed "module" parameter, so remove it.
4677           Allows removal of additional vestigal code.
4678
4679 2007-05-12  David Schleef  <ds@schleef.org>
4680
4681         * gst/gstplugin.c:
4682           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
4683           Switch to using g_stat() because it's more portable.
4684
4685 2007-05-12  David Schleef  <ds@schleef.org>
4686
4687         * gst/gst.c:
4688           Add GST_DISABLE_OPTION_PARSING, in order to disable option
4689           parsing for embedded systems.
4690         * gst/gstelementfactory.c:
4691           Allow gst_element_register() to be called with plugin==NULL.
4692           Did nobody notice that static elements were broken?
4693
4694 2007-05-12  Wim Taymans  <wim@fluendo.com>
4695
4696         * tools/gst-launch.c: (event_loop):
4697         Give more interesting info when buffering starts and stops.
4698         Fix case where buffering starts but we fail to update the buffering flag
4699         because the target state is not PLAYING.
4700
4701 2007-05-12  Wim Taymans  <wim@fluendo.com>
4702
4703         * plugins/elements/gstqueue.c: (gst_queue_init),
4704         (gst_queue_finalize), (update_time_level), (apply_segment),
4705         (apply_buffer), (gst_queue_locked_flush),
4706         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
4707         (gst_queue_handle_sink_event), (gst_queue_chain),
4708         (gst_queue_push_one), (gst_queue_loop):
4709         * plugins/elements/gstqueue.h:
4710         Refactor an cleanup queue a bit.
4711         Do better time level calculations that also work when the srcpad is not
4712         yet running.
4713         Remove some unneeded debug lines.
4714
4715         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
4716         Added testcase for time level measurement.
4717         Try to make some stuff more racefree.
4718
4719 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
4720
4721         * gst/gsturi.c: (gst_element_make_from_uri):
4722           Don't leak plugin feature.
4723
4724         * tests/check/Makefile.am:
4725         * tests/check/gst/.cvsignore:
4726         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
4727           Add brain-dead unit test.
4728
4729 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
4730
4731         Patch by: Jeroen Wouters <woutersj at gmail com>
4732
4733         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
4734           Treat protocol strings in a case-insensitive way (#437563).
4735
4736 2007-05-11  Michael Smith <msmith@fluendo.com>
4737
4738         * gst/gstplugin.c: (gst_plugin_load_file):
4739         * gst/gstregistry.c: (gst_registry_scan_path_level):
4740           Don't print a g_warning for any failure to load a shared object.
4741           Instead, push this down into gstplugin.c, and warn _only_ if we
4742           failed to open the module (i.e. failure to link).
4743           Avoids warnings on normal, working, non-plugin .so files.
4744
4745 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
4746
4747         * gst/gstplugin.c (gst_plugin_load_file):
4748         * gst/gstregistry.c (GST_CAT_DEFAULT,
4749           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
4750           Print a g_warning if there was an error when loading a plugins during
4751           registry scan. The shuld help beginners starting with gst-plugin
4752           template.
4753
4754 2007-05-10  Wim Taymans  <wim@fluendo.com>
4755
4756         * plugins/elements/gstqueue.c: (gst_queue_class_init),
4757         (update_time_level), (gst_queue_locked_flush),
4758         (gst_queue_handle_sink_event), (gst_queue_chain),
4759         (gst_queue_push_one), (gst_queue_loop):
4760         * plugins/elements/gstqueue.h:
4761         Be smarter when calculating the current amount of data in the queue by
4762         measuring the difference between start and end timestamps (in running
4763         time) inside the queue. Fixes #432876.
4764         API: GstQueue::pushing to notify elements that we are pushing data again
4765         since the running signal is rather broken for this purpose.
4766
4767 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
4768
4769         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
4770           gst_queue_base_init, gst_queue_init):
4771           use GST_BOILERPLATE
4772
4773 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
4774
4775         * win32/common/libgstreamer.def:
4776         Add new exported functions.
4777         * win32/vs6/grammar.dsp:
4778         Use grammar pre-generated files.
4779
4780 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
4781
4782         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
4783
4784         * gst/Makefile.am:
4785         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
4786         * gst/gstparse.h:
4787         * gst/gstutils.c: (gst_parse_bin_from_description):
4788         * gst/gstutils.h:
4789           Maintain API and ABI when --disable-parse is used. Now that
4790           we have an appropriate error code, we can just return NULL and the
4791           appropriate error when gst_parse_launch() is used despite it having
4792           been disabled (#342564).
4793
4794         * tests/check/Makefile.am:
4795         * tests/check/pipelines/.cvsignore:
4796         * tests/check/pipelines/parse-disabled.c:
4797           Make sure these functions exist and return NULL plus a GError when
4798           --disable-parse is used.
4799
4800 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
4801
4802         * tests/benchmarks/complexity.c: (main):
4803         * tests/benchmarks/mass-elements.c: (main):
4804           Set a good example and don't leak messages.
4805
4806 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
4807
4808         * docs/gst/Makefile.am:
4809         * docs/libs/Makefile.am:
4810           Correct fixxrefs options.
4811
4812         * docs/plugins/Makefile.am:
4813         * docs/plugins/gstreamer-plugins-docs.sgml:
4814         * docs/plugins/gstreamer-plugins-sections.txt:
4815         * plugins/elements/Makefile.am:
4816         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
4817         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
4818           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
4819           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
4820           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
4821           _GstCapsFilterClass, trans_class):
4822         * plugins/elements/gstelements.c (name, rank, type, _elements):
4823         * plugins/elements/gstidentity.c
4824           (gst_identity_check_imperfect_timestamp,
4825           gst_identity_check_imperfect_offset):
4826           Document capsfilter and add doc-blurb to identity.
4827
4828 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
4829
4830         * libs/gst/controller/gstcontroller.c:
4831         (gst_controlled_property_set_interpolation_mode):
4832         * libs/gst/controller/gstinterpolation.c:
4833           Don't crash if someone tries to set an interpolation mode that
4834           is invalid or that isn't supported yet. Fixes #422295.
4835
4836         * tests/check/libs/controller.c: (GST_START_TEST),
4837         (gst_controller_suite):
4838           Add a test case for the above.
4839
4840 2007-05-03  Edward Hervey  <edward@fluendo.com>
4841
4842         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4843         Properly set the last_stop position on GstSegment. This will only happen
4844         if there is a buffer to push out.
4845
4846 2007-05-03  Wim Taymans  <wim@fluendo.com>
4847
4848         * libs/gst/base/gstbasetransform.c:
4849         (gst_base_transform_buffer_alloc):
4850         always_in_place does not mean that the sink and source caps are the
4851         same! Make sure we don't blindly proxy the buffer_alloc in this case.
4852
4853 2007-05-03  Wim Taymans  <wim@fluendo.com>
4854
4855         * docs/libs/gstreamer-libs-sections.txt:
4856         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4857         (gst_base_src_default_query), (gst_base_src_get_range):
4858         * libs/gst/base/gstbasesrc.h:
4859         API: gst_base_src_query_latency(). Added method so that subclasses can
4860         easily get the latency values of the base source class.
4861
4862 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
4863
4864         * tools/gst-inspect.c (print_implementation_info):
4865         Remove 0.8 cruft.
4866
4867 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
4868
4869         * tools/Makefile.am:
4870         * tools/gst-launch.1.in:
4871           Don't create a customised man page based on the host architecture,
4872           describe the default registry path generically. That way the man
4873           page is the same for all architectures and packagers have one
4874           multilib issue less to deal with. Fixes #434926.
4875
4876 2007-05-02  Wim Taymans  <wim@fluendo.com>
4877
4878         * gst/gstpad.c:
4879         Fix documentation as spotted by rg on IRC. 
4880
4881 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
4882
4883         * gst/gstutils.c:
4884           Improve docs for gst_element_{link,unlink}.
4885
4886 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
4887
4888         * docs/design/part-events.txt:
4889         * docs/design/part-overview.txt:
4890         * gst/gstevent.c:
4891         * gst/gsturi.c:
4892         * gst/gsturi.h:
4893         * libs/gst/base/gstbasesink.c:
4894           Typo fixes; minor docs addition.
4895
4896 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4897
4898         * docs/gst/gstreamer-sections.txt:
4899         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
4900         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
4901         * gst/gsturi.h:
4902         API: Add gst_uri_protocol_is_supported(), which checks if a sink
4903         or src that supports a given URI protocol exists.
4904
4905 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4906
4907         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4908         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4909         Set the location to NULL if "file://" is set as URI. Otherwise
4910         some random previous URI would still be set if "file://" is
4911         set on an already used filesink/filesrc.
4912
4913 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4914
4915         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4916         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4917         Special case the "file://" URI as as this is used by some
4918         applications to test with gst_element_make_from_uri if there's
4919         an element that supports the URI protocol.
4920         Also move the g_path_is_absolute() check for the location part
4921         of the URI to also check this for "file://localhost/bla" URIs.
4922
4923 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
4924
4925         * docs/gst/gstreamer-sections.txt:
4926         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
4927         * gst/gstbuffer.h:
4928         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4929         (gst_buffer_suite):
4930           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
4931
4932 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
4933
4934         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4935         (gst_registry_binary_load_pad_template),
4936         (gst_registry_binary_load_plugin),
4937         (gst_registry_binary_read_cache):
4938         * gst/gstregistrybinary.h:
4939           Implement no-mmap alternative for registry reading. Do code cleanups.
4940           Add more comments about avoiding strdups for all text data. Comments
4941           welcome.
4942
4943 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
4944
4945         * gst/gstregistrybinary.h (GstBinaryPluginElement,
4946           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
4947           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
4948           Comment structs and reformat to fix the build (that stuff should go
4949           into a priv. header).
4950
4951 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
4952
4953         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
4954         (gst_registry_binary_load_feature):
4955         * gst/gstregistrybinary.h:
4956           Refactor so that we can implement multiple features. Add support for
4957           TypeFindFactory features.
4958
4959 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
4960
4961         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
4962
4963         * configure.ac:
4964           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
4965
4966 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
4967
4968         * gst/gstbin.c: (gst_bin_element_set_state),
4969         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
4970         (bin_handle_async_done), (gst_bin_handle_message_func):
4971           Fix build with --gst-disable-gst-debug
4972
4973 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
4974
4975         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
4976           Make sure streaming has finished before calling the ::stop() vfunc,
4977           since that vfunc might clear state which is being used in the
4978           streaming thread. This fixes a race that caused crashes in
4979           audioresample when shutting down a pipeline (#420106).
4980
4981 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4982
4983         * docs/gst/gstreamer-sections.txt:
4984           That was one byte missing.
4985
4986 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4987
4988         * configure.ac:
4989         * docs/gst/gstreamer-sections.txt:
4990         * gst/Makefile.am:
4991         * gst/gstconfig.h.in:
4992         * gst/gstobject.c: (gst_object_class_init),
4993         (gst_signal_object_class_init):
4994         * gst/gstobject.h:
4995           2nd attempt to have a xml-less build as a joined effort of #413123
4996           and #421480.
4997
4998 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4999
5000         * docs/design/draft-tagreading.txt:
5001           Added open issues/thoughts to draft.
5002
5003 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5004
5005         * gst/parse/grammar.tab.pre.c:
5006         * gst/parse/grammar.tab.pre.h:
5007         * gst/parse/lex._gst_parse_yy.pre.c:
5008         Update the prebuild parser sources.
5009
5010 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5011
5012         * gst/parse/Makefile.am:
5013         And now fix the building of the flex sources. Now everything should
5014         work as expected.
5015
5016 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5017
5018         * gst/parse/Makefile.am:
5019         Now hopefully fix the build failures by setting proper rule
5020         dependencies and moving instead of copying.
5021
5022 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
5023
5024         * tests/benchmarks/complexity.gnuplot:
5025         * tests/benchmarks/complexity.scm:
5026         * tests/benchmarks/mass-elements.gnuplot:
5027         * tests/benchmarks/mass-elements.scm:
5028           Total licensification.
5029
5030 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
5031
5032         * gst/parse/Makefile.am:
5033           Fix the build by correcting the rule that gave wrong files to flex.
5034
5035 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
5036
5037         * tests/benchmarks/complexity.c:
5038         * tests/benchmarks/mass-elements.c:
5039           Change licence to LGPL as granted by Benjamin and Andy.
5040
5041 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5042
5043         * gst/parse/Makefile.am:
5044         Add correct grammar.tab.h dependency if compiling without new enough
5045         flex. Fixes #431150.
5046
5047 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
5048
5049         * gst/parse/Makefile.am:
5050         Fix typo and use outdated sources if the flex/bison sources are newer
5051         than the pregenerated ones but flex is too old. Print a warning in
5052         that case. This should fix the build on the build bot.
5053
5054 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
5055
5056         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
5057         * gst/parse/Makefile.am:
5058         * gst/parse/grammar.y:
5059         * gst/parse/parse.l:
5060         Make the parser reentrant and recursively callable. This requires flex
5061         >= 2.5.31, for older versions pregenerated sources are used as we
5062         can't bump the build dependency. Finally fixes #349180.
5063
5064         * gst/gstparse.c: (gst_parse_launch):
5065         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
5066         now anyway.
5067
5068         * docs/gst/Makefile.am:
5069         * docs/gst/Makefile.am:
5070         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
5071         (__gst_parse_strfree), (__gst_parse_link_new),
5072         (__gst_parse_link_free), (__gst_parse_chain_new),
5073         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
5074         (gst_parse_element_set), (gst_parse_free_link),
5075         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
5076         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
5077         (_gst_parse_launch):
5078         * gst/parse/grammar.tab.pre.h:
5079         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
5080         (yy_get_previous_state), (yy_try_NUL_trans), (input),
5081         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
5082         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
5083         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
5084         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
5085         (_gst_parse_yypop_buffer_state),
5086         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
5087         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
5088         (yy_fatal_error), (_gst_parse_yyget_extra),
5089         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
5090         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
5091         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
5092         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
5093         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
5094         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
5095         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
5096         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
5097         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
5098         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
5099         (_gst_parse_yyfree):
5100         If the installed flex version is too old use pre-generated parser
5101         sources. These pre-generated parser sources are always updated when
5102         the actual flex/bison sources change but require everybody who wants
5103         to change something in the parser to have flex >= 2.5.31 installed.
5104
5105 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
5106
5107         * common/m4/gst-gettext.m4:
5108         * gst/gst-i18n-lib.h:
5109           Make --disable-nls to work
5110
5111 2007-04-17  Wim Taymans  <wim@fluendo.com>
5112
5113         * gst/gstconfig.h.in:
5114         Revert previous change that broke the build.
5115
5116 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
5117
5118         * configure.ac:
5119         * gst/Makefile.am:
5120         * gst/gstconfig.h.in:
5121           Drop libxml2 dependency when building with 
5122           --enable-binary-registry --disable-loadsave
5123
5124 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
5125
5126         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5127         (gst_registry_binary_read_cache):
5128         * gst/gstregistrybinary.h:
5129           Remove unnecessary <sys/mman.h> include which broke the win32 build
5130           with MingW; move includes from header file to .c file, even if the
5131           header file isn't installed; use g_strerror() where UTF-8 strings
5132           are expected, such as in GST_DEBUG messages.
5133
5134 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5135
5136         * docs/libs/gstreamer-libs-sections.txt:
5137         Remove bogus addition for API I didn't end up keeping.
5138
5139         * libs/gst/base/gstbasesrc.h:
5140         Mention Since: 0.10.13 in the documentation.
5141
5142         Add the API keyword to the previous ChangeLog entry.
5143
5144 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5145
5146         * docs/libs/gstreamer-libs-sections.txt:
5147         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5148         (gst_base_src_default_prepare_seek_segment),
5149         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
5150         * libs/gst/base/gstbasesrc.h:
5151         Allow basesrc derived classes to execute seeks in other formats
5152         by providing a prepare_seek_segment vmethod. Sub-classes can choose
5153         to prepare the GstSegment in any format that their perform_seek method
5154         will be able to understand. The default implementation provides the
5155         old behaviour of attempting to convert the seek offsets to the 
5156         configured native format.
5157
5158         API: basesrc::prepare_seek_segment vmethod.
5159
5160 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5161
5162         * gst/gstelement.c: (gst_element_get_state_func):
5163         Don't output the same debug statement twice.
5164
5165         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
5166         (gst_adapter_peek), (gst_adapter_take_buffer):
5167         Optimise the case where we have buffers at the head of the queue that
5168         can be joined quickly (because they're contiguous sub-buffers) by
5169         merging them together rather than copying data out into new memory.
5170
5171         * gst/parse/grammar.y:
5172         * tests/check/pipelines/parse-launch.c:
5173         Fix a leak in an error path for parse_launch, and add a check 
5174         for it to the testsuite.
5175
5176 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5177
5178         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5179           Don't deadlock when releasing a pad - gst_pad_set_active may try
5180           and take the multiqueue lock too.
5181
5182 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
5183
5184         * gst/gsterror.c: (_gst_core_errors_init):
5185         * gst/gsterror.h:
5186           API: add GST_CORE_ERROR_DISABLED (#392804).
5187
5188 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5189
5190         * docs/faq/gst-uninstalled:
5191           don't get empty paths on the PATH variables
5192         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
5193           Don't format for the uncommon terminal width of 84 characters.
5194
5195 2007-04-06  Wim Taymans  <wim@fluendo.com>
5196
5197         * gst/gstpipeline.c: (reset_stream_time),
5198         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
5199         Only try to select a different pipeline clock when we went back to
5200         PAUSED and not when we merely got flushed.
5201
5202 2007-04-05  Michael Smith  <msmith@fluendo.com>
5203
5204         * tools/gst-launch.1.in:
5205           fractions are better supported in gstreamer than ractions, so
5206           suggest using those.
5207
5208 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5209
5210         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
5211
5212         * po/LINGUAS:
5213         * po/da.po:
5214           Added Danish translation.
5215
5216 2007-04-05  Wim Taymans  <wim@fluendo.com>
5217
5218         * libs/gst/base/gstbasesink.c:
5219         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
5220         Fix leak caused when refusing newsegment after EOS.
5221
5222         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5223         (gst_fake_sink_init), (gst_fake_sink_set_property),
5224         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
5225         (gst_fake_sink_render), (gst_fake_sink_change_state):
5226         * plugins/elements/gstfakesink.h:
5227         Add num-buffers property to make the element generate EOS after a
5228         configurable amount of buffers.
5229         API: fakesink::num-buffers property.
5230
5231         * tests/check/elements/fakesink.c: (GST_START_TEST),
5232         (fakesink_suite):
5233         Fix GstBus leak in test.
5234         Test for fakesink num-buffers.
5235
5236 2007-04-05  Wim Taymans  <wim@fluendo.com>
5237
5238         * libs/gst/base/gstbasesink.c:
5239         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5240         (gst_base_sink_change_state):
5241         Don't accept anything after an EOS, return UNEXPECTED instead.
5242
5243         * tests/check/elements/fakesink.c: (GST_START_TEST),
5244         (fakesink_suite):
5245         Unit test for new EOS behaviour.
5246
5247 2007-04-05  Wim Taymans  <wim@fluendo.com>
5248
5249         * gst/gstelement.c: (gst_element_get_request_pad):
5250         Make padtemplates also work when they don't contain %s or %d.
5251
5252 2007-04-05  Wim Taymans  <wim@fluendo.com>
5253
5254         * docs/gst/gstreamer-sections.txt:
5255         * gst/gstclock.c: (gst_clock_adjust_unlocked),
5256         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
5257         * gst/gstclock.h:
5258         Improve _adjust_unlocked() so that it overflows less.
5259         Add gst_clock_unadjust_unlocked to convert from external time to
5260         internal time based on calibration.
5261         Add some more debug.
5262         API: GstClock::gst_clock_unadjust_unlocked()
5263
5264 2007-04-03  Wim Taymans  <wim@fluendo.com>
5265
5266         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
5267
5268         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5269         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
5270         when releasing sink pad. Fixes #425400.
5271
5272 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
5273
5274         * docs/random/ensonic/dynlink.txt:
5275           More work on proposal for new core api.
5276
5277         * docs/libs/gstreamer-libs-sections.txt:
5278         * libs/gst/base/gstbasetransform.h:
5279           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
5280           
5281         * libs/gst/controller/gstcontroller.c:
5282         (on_object_controlled_property_changed),
5283         (gst_controller_sync_values),
5284         (gst_controller_set_interpolation_mode):
5285         * libs/gst/controller/gstcontroller.h:
5286           Less verbose logging add docs for unimplemented parts and correctly
5287           return when using unavailable parts.
5288
5289 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
5290
5291         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
5292         Move all the debug to the CLOCK category, and associate it with
5293         the clock object.
5294
5295 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
5296
5297         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
5298         Make take_buffer a bit quicker by removing redundant checks
5299         caused by calling gst_adapter_take.
5300
5301 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
5302
5303         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
5304           Don't leak GCond.
5305
5306         * tests/check/Makefile.am:
5307         * tests/check/elements/.cvsignore:
5308         * tests/check/elements/multiqueue.c: (setup_multiqueue),
5309         (GST_START_TEST), (multiqueue_suite):
5310           Add some dead simple unit tests for the 'multiqueue' element
5311           (some bits don't work yet and are disabled for now).
5312
5313 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
5314
5315         * gst/gstelement.c: (gst_element_get_request_pad),
5316         (gst_element_class_get_request_pad_template):
5317           Make gst_element_get_request_pad() create request pads only for
5318           request pad templates and not for, say, sometimes pad templates.
5319
5320 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
5321
5322         * docs/design/draft-klass.txt:
5323           Add example that needs more thinking.
5324         
5325         * docs/design/draft-missing-plugins.txt:
5326           More thoughts about wrapper plugins.
5327         
5328         * docs/random/ensonic/embedded.txt:
5329         * docs/random/ensonic/profiling.txt:
5330           More design work.
5331
5332 2007-03-25  Wim Taymans  <wim@fluendo.com>
5333
5334         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
5335         (gst_base_src_loop):
5336         Only push the segment events in the PLAYING state for live sources.
5337
5338 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
5339
5340         * gst/gstpipeline.c: (gst_pipeline_change_state):
5341         Modify the clock distribution path in PAUSED->PLAYING so that we 
5342         never attempt to choose a new clock unless we're actually leaving
5343         the PAUSED state for the first time. This prevents choosing a
5344         different clock when the state_change gets called for a 2nd time due
5345         to some element doing an async state change.
5346
5347 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
5348
5349         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
5350         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
5351         (gst_pad_chain_unchecked), (gst_pad_push):
5352         Revert last commit. This needs some more thoughts.
5353
5354 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
5355
5356         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
5357         (gst_pad_chain_unchecked), (gst_pad_push):
5358         Check in set_caps if the caps are compatible with the pad and remove
5359         two functions that are redundant now. Fixes #421543.
5360
5361 2007-03-22  Wim Taymans  <wim@fluendo.com>
5362
5363         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5364         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
5365         Unref some more to make valgrind happy.
5366
5367 2007-03-22  Wim Taymans  <wim@fluendo.com>
5368
5369         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
5370         (gst_system_clock_id_wait_jitter),
5371         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
5372         Fix anoying regression that survived a few releases. When adding an
5373         async entry while blocking on a sync entry, the sync entry will unblock
5374         but still be busy, so it should continue to wait instead of returning
5375         _BUSY to the app.
5376         Add some comments here and there.
5377
5378         * tests/check/gst/gstsystemclock.c: (mixed_thread),
5379         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
5380         Add testcase for this.
5381
5382 2007-03-22  Wim Taymans  <wim@fluendo.com>
5383
5384         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5385         Handle errors from the clock sync better, only UNSCHEDULED indicates a
5386         WRONG_STATE and can silently pause the task. All other cases should
5387         error out.
5388
5389 2007-03-22  Wim Taymans  <wim@fluendo.com>
5390
5391         Patch by: Ville Syrjala <syrjala at sci dot fi>
5392
5393         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
5394         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
5395         Improve debugging.
5396
5397 2007-03-21  Michael Smith  <msmith@fluendo.com>
5398
5399         * docs/pwg/advanced-types.xml:
5400           Fix some errors in the typefinding docs pointed out on irc.
5401
5402 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
5403
5404         * libs/gst/base/gstbasesrc.c:
5405         Clarify FIXME comment in the face of having added unlock_stop()
5406
5407 2007-03-21  Wim Taymans  <wim@fluendo.com>
5408
5409         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
5410         Prepare for release where we warn against possible app breakage in the
5411         case of live pipelines along with an env var to enable/disable live
5412         preroll mode (GST_COMPAT=[no-]live-preroll).
5413
5414 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5415
5416         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
5417         So we should use correct constants for checking for None offset.
5418
5419 2007-03-20  Wim Taymans  <wim@fluendo.com>
5420
5421         * docs/design/part-block.txt:
5422         Mention the fact that the newly switched element should be set to at
5423         least PAUSED.
5424
5425 2007-03-20  Wim Taymans  <wim@fluendo.com>
5426
5427         * gst/gst.c:
5428         Fix compilation with registry disabled as spotted by Saur.
5429
5430 2007-03-20  Wim Taymans  <wim@fluendo.com>
5431
5432         Patch by: Olivier Crete <tester at tester dot ca>
5433
5434         * gst/gstelement.c: (gst_element_sync_state_with_parent):
5435         Look at the pending state too when syncing the element state to the
5436         parent. Fixes #420133.
5437
5438 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
5439
5440         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5441         (gst_base_sink_change_state):
5442         * libs/gst/base/gstbasesink.h:
5443         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5444         (gst_base_src_default_event), (gst_base_src_unlock_stop),
5445         (gst_base_src_deactivate):
5446         * libs/gst/base/gstbasesrc.h:
5447         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
5448         for sub-classes to correctly clear any state they set trying to
5449         unlock, such as clearing out unlock commands from a command fd.
5450         API: basesrc::unlock_stop
5451         API: basesink::unlock_stop
5452
5453         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
5454         (gst_fd_sink_render), (gst_fd_sink_unlock),
5455         (gst_fd_sink_unlock_stop):
5456         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
5457         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
5458         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
5459
5460         Implement unlock_stop in fdsrc and fdsink.
5461         Implement seeking in fdsrc when a seekable fd is passed, as in
5462         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
5463
5464 2007-03-19  Wim Taymans  <wim@fluendo.com>
5465
5466         Patch by: Evan Nemerson <evan at coeus dash group dot com>
5467
5468         * gst/gstelement.c: (gst_element_class_init):
5469         Fix pad-added and pad-removed signal signatures so that the pad type is
5470         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
5471
5472 2007-03-19  Wim Taymans  <wim@fluendo.com>
5473
5474         * docs/gst/gstreamer-sections.txt:
5475         Add new element field and method.
5476
5477         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5478         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
5479         (gst_bin_recalc_state), (gst_bin_get_state_func),
5480         (gst_bin_element_set_state), (gst_bin_change_state_func),
5481         (gst_bin_continue_func), (bin_bus_handler),
5482         (bin_push_state_continue), (bin_handle_async_start),
5483         (bin_handle_async_done), (gst_bin_handle_message_func):
5484         Make async state changes a bit smarter by using new ASYNC_START and
5485         ASYNC_DONE messages. This reduces the number of times we run the state
5486         recalculation thread.
5487         Don't change state of element with a pending ASYNC_START message.
5488         Deprecate STATE_DIRTY messages.
5489         
5490         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
5491         (gst_element_get_state_func), (gst_element_continue_state),
5492         (gst_element_lost_state), (gst_element_set_state_func),
5493         (gst_element_change_state):
5494         * gst/gstelement.h:
5495         Keep the state that was last set by the app in a new element field.
5496         Don't allow state changes when handling an element event.
5497         Post ASYNC_START and ASYNC_DONE messages.
5498         Change lost_state so that we go to PAUSED and wait for the parent to set
5499         us to PLAYING again (so latency calculation can be performed)
5500         Export gst_element_change_state() method so that subclasses can use it.
5501         API: gst_element_change_state()
5502         API: GST_STATE_TARGET
5503
5504         * gst/gstpipeline.c: (gst_pipeline_class_init),
5505         (reset_stream_time), (gst_pipeline_change_state),
5506         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
5507         Using the new ASYNC_START message we can reset the base_time when
5508         needed. This can then be used to implement base_time redistribution in
5509         flushing seeks so that we can remove the explicit seek handling.
5510         Perform latency query and configuration when going to PLAYING.
5511
5512         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5513         (gst_base_sink_query), (gst_base_sink_change_state):
5514         Post new ASYNC_START/ASYNC_DONE messages.
5515
5516         * tests/check/generic/sinks.c: (GST_START_TEST):
5517         Fix test because the bin will not set the async element to PLAYING right
5518         away.
5519
5520         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
5521         Make the message check a little stronger.
5522         Handle ASYNC messages.
5523
5524         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
5525         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
5526         Expect ASYNC_DONE messages.
5527
5528 2007-03-19  Wim Taymans  <wim@fluendo.com>
5529
5530         * docs/gst/gstreamer-sections.txt:
5531         * gst/gstmessage.c: (gst_message_new_async_start),
5532         (gst_message_new_async_done), (gst_message_parse_info),
5533         (gst_message_parse_async_start):
5534         * gst/gstmessage.h:
5535         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
5536         support.
5537
5538 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
5539
5540         * tools/gst-inspect.c:
5541         (print_plugin_automatic_install_info_codecs):
5542           Now that we don't check for the 'Codec' keyword any longer in the
5543           klass, we shouldn't spew a warning if the klass isn't a decoder or
5544           encoder (since it might be a Source/Network, for example).
5545
5546 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
5547
5548         * tools/gst-inspect.c:
5549         (print_plugin_automatic_install_info_codecs):
5550           Don't require decoder/demuxer/depayloader elements or
5551           encoder/muxer/paylader elements to have 'Codec' as part of their
5552           factory class string when introspecting a plugin's capabilities.
5553           draft-klass.txt mentions that it might be removed in future, and
5554           flump3dec doesn't have it as part of its class string, so chances
5555           are others might also not have it.
5556
5557 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5558
5559         * po/af.po:
5560         * po/az.po:
5561         * po/bg.po:
5562         * po/ca.po:
5563         * po/cs.po:
5564         * po/de.po:
5565         * po/en_GB.po:
5566         * po/fr.po:
5567         * po/it.po:
5568         * po/nb.po:
5569         * po/nl.po:
5570         * po/ru.po:
5571         * po/sq.po:
5572         * po/sr.po:
5573         * po/sv.po:
5574         * po/tr.po:
5575         * po/uk.po:
5576         * po/vi.po:
5577         * po/zh_CN.po:
5578         * po/zh_TW.po:
5579           Update translations from translation project
5580
5581 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
5582
5583         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
5584         (gst_child_proxy_set_property):
5585           Invert precondition check to be alike the ones in the mimiced gobject
5586           api.
5587
5588 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
5589
5590         * docs/design/draft-tagreading.txt:
5591         * docs/random/ensonic/audiobaseclasses.txt:
5592           Do some Architect work.
5593
5594         * gst/gstobject.c: (gst_object_set_name):
5595           Add a WARNING.
5596
5597         * gst/gstpad.c:
5598           Add docs that point from gst_pad_get_range to gst_pad_pull_range
5599
5600 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
5601
5602         * gst/gstsystemclock.c: (gst_system_clock_init),
5603         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
5604         Defer starting the async system clock thread until the first async
5605         wait is scheduled. Fixes #414986.
5606
5607 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
5608
5609         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
5610         (gst_single_queue_free):
5611           Fix small leak (free GstSingleQueue structure too, not only contents).
5612
5613 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
5614
5615         * gst/gstbin.c:(gst_bin_add):
5616         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
5617         * win32/common/libgstbase.def:
5618         * win32/common/libgstreamer.def:
5619         Add new exported functions.
5620
5621 2007-03-09  Wim Taymans  <wim@fluendo.com>
5622
5623         * docs/plugins/gstreamer-plugins-sections.txt:
5624         Fix GstTee docs.
5625
5626 2007-03-09  Wim Taymans  <wim@fluendo.com>
5627
5628         * docs/gst/gstreamer-sections.txt:
5629         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
5630         * gst/gstbuffer.h:
5631         Add metadata copy functions. Fixes #393099.
5632         API: gst_buffer_copy_metadata()
5633
5634         * gst/gstutils.c: (gst_buffer_stamp):
5635         * libs/gst/base/gstbasetransform.c:
5636         (gst_base_transform_prepare_output_buffer):
5637         Use new metadata copy functions.
5638
5639 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5640
5641         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5642         (gst_identity_init), (gst_identity_check_perfect),
5643         (gst_identity_check_imperfect_timestamp),
5644         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
5645         (gst_identity_set_property), (gst_identity_get_property):
5646         * plugins/elements/gstidentity.h:
5647         Separate out check-imperfect-timestamp and check-imperfect-offset.
5648         Put back check-perfect as it was to keep compatibility.
5649
5650 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
5651
5652         * gst/gstelement.c: (gst_element_dispose):
5653         There's no need to warn if VOID_PENDING is not NONE here, as
5654         long as the state is NULL it's ok, and that's checked immediately
5655         above.
5656
5657 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5658
5659         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5660         Fix check for perfect stream to ignore buffers with -1 
5661         offsets/offset ends when checking data contiguity.
5662
5663 2007-03-08  Wim Taymans  <wim@fluendo.com>
5664
5665         * tools/gst-launch.c: (event_loop):
5666         Print INFO messages.
5667
5668 2007-03-08  Wim Taymans  <wim@fluendo.com>
5669
5670         * libs/gst/base/gstbasetransform.c:
5671         (gst_base_transform_sink_eventfunc),
5672         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5673         (gst_base_transform_activate):
5674         * libs/gst/base/gstbasetransform.h:
5675         Add support for dropping buffers with custom GstFlowReturn.
5676         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
5677         buffers or dropped buffers.
5678
5679         * docs/libs/gstreamer-libs-sections.txt:
5680         docs for new custom return code.
5681
5682         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5683         Use drop support in base class to implement drop-probability.
5684
5685 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
5686
5687         * gst/gst.c: (load_plugin_func):
5688         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
5689         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5690         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
5691           Remove newlines at end of debug log strings.
5692
5693 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5694
5695         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5696         Only post bus message at max, once per buffer received.
5697
5698 2007-03-07  Wim Taymans  <wim@fluendo.com>
5699
5700         * docs/design/Makefile.am:
5701         * docs/design/part-synchronisation.txt:
5702         Add doc about synchronisation
5703
5704         * docs/design/draft-latency.txt:
5705         * docs/design/part-TODO.txt:
5706         * docs/design/part-clocks.txt:
5707         * docs/design/part-events.txt:
5708         * docs/design/part-gstbus.txt:
5709         * docs/design/part-gstpipeline.txt:
5710         * docs/design/part-live-source.txt:
5711         * docs/design/part-messages.txt:
5712         * docs/design/part-overview.txt:
5713         * docs/design/part-streams.txt:
5714         * docs/design/part-trickmodes.txt:
5715         Documentation updates.
5716
5717 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
5718
5719         * gstreamer.doap:
5720         Update the doap file.
5721
5722 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5723
5724         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5725         Rename non-perfect to imperfect for Mike and for the sanctity of the
5726         language.
5727         Also make sure bus message gets emitted for data-incontiguities.
5728
5729 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5730
5731         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
5732         (gst_identity_start):
5733         * plugins/elements/gstidentity.h:
5734         Emit bus message if check-perfect is true and we encounter a
5735         non-perfect stream between 2 consecutive buffers.
5736         Fixes #415394.
5737
5738 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
5739
5740         * configure.ac:
5741         Back to CVS
5742
5743 === release 0.10.12 ===
5744
5745 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
5746
5747         * configure.ac:
5748           releasing 0.10.12, "Inevitable Demise"
5749
5750 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
5751
5752         * configure.ac:
5753          Version 0.10.11.2 (0.10.12 pre-release)
5754          Bump libtool versioning.
5755
5756 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
5757
5758         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5759           Log flow-names and not numbers.
5760
5761 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5762
5763         * configure.ac:
5764           Convert to new AG_GST style.
5765
5766 2007-02-28  Wim Taymans  <wim@fluendo.com>
5767
5768         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
5769         Don't unref query twice.
5770
5771 2007-02-28  Wim Taymans  <wim@fluendo.com>
5772
5773         * gst/gstvalue.c: (gst_value_transform_object_string),
5774         (_gst_value_initialize):
5775         Implement GstObject -> string transform so we print object names
5776         when serializing GValues containing GstObjects.
5777
5778 2007-02-28  Wim Taymans  <wim@fluendo.com>
5779
5780         * docs/gst/gstreamer-sections.txt:
5781         Add new stuff to docs.
5782
5783 2007-02-28  Wim Taymans  <wim@fluendo.com>
5784
5785         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5786         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
5787         (gst_base_sink_change_state):
5788         Improve latency query code.
5789         Don't leak latency events.
5790
5791         * tests/check/gst/gstbin.c: (GST_START_TEST):
5792         Improve debugging.
5793
5794 2007-02-28  Wim Taymans  <wim@fluendo.com>
5795
5796         * gst/gstelement.c: (gst_element_message_full),
5797         (gst_element_get_state_func):
5798         * gst/gstelement.h:
5799         Improve docs a little. Added Since: for new macro.
5800
5801         * gst/gstobject.c: (gst_object_sink):
5802         * gst/gstpipeline.c: (gst_pipeline_change_state),
5803         (gst_pipeline_set_new_stream_time):
5804         * gst/gstpipeline.h:
5805         Improve debugging and docs.
5806
5807         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5808         Improve debugging.
5809
5810 2007-02-28  Wim Taymans  <wim@fluendo.com>
5811
5812         * gst/gstelement.c: (gst_element_message_full),
5813         (gst_element_set_locked_state), (gst_element_get_state_func),
5814         (gst_element_change_state):
5815         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
5816         Documentation updates.
5817         Small code cleanups.
5818
5819         * gst/gstmessage.c: (gst_message_new_info),
5820         (gst_message_parse_info):
5821         * gst/gstmessage.h:
5822         API: gst_message_new_info()
5823         API: gst_message_parse_info()
5824         Add INFO message create and parse code.
5825
5826 2007-02-28  Wim Taymans  <wim@fluendo.com>
5827
5828         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
5829         (bin_query_latency_done):
5830         Also report the live parameter of a latency query.
5831
5832 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5833
5834         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
5835           Copy the current generic/states example from -base and adapt so
5836           we can use the exact same code everywhere.
5837           Check a STATES_IGNORE_ELEMENTS env var which can be used
5838           to ignore certain element factories for this test, which is
5839           what is being done in -base
5840         * tests/check/Makefile.am:
5841           Mention this environment variable.
5842
5843 2007-02-27  Wim Taymans  <wim@fluendo.com>
5844
5845         * docs/gst/gstreamer-sections.txt:
5846         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5847         (gst_bus_timed_pop), (gst_bus_pop):
5848         * gst/gstbus.h:
5849         API: gst_bus_timed_pop()
5850         Implement gst_bus_timed_pop() to do a blocking timed wait for a
5851         message to arrive on the bus.
5852
5853         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
5854         (gst_bus_suite):
5855         Two unit tests for new _timed_pop() function.
5856
5857 2007-02-23  Wim Taymans  <wim@fluendo.com>
5858
5859         * gst/gstpipeline.c: (gst_pipeline_change_state),
5860         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
5861         Don't ref a NULL clock in _provide_clock_func().
5862         Don't allow an INVALID delay.
5863         Don't try to calculate base_time with an invalid start_time.
5864         Also distribute and notify a NULL clock when it was selected.
5865
5866         * tools/gst-launch.c: (event_loop):
5867         Don't crash when a NULL clock was selected in the pipeline.
5868
5869 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5870
5871         * docs/design/Makefile.am:
5872         * docs/design/draft-missing-plugins.txt:
5873         * docs/random/draft-missing-plugins.txt:
5874           Some small updates: update plugin system identifier prefix
5875           ('gstreamer.net' to 'gstreamer'), mention our new install
5876           API in libgstbaseutils rather than libgimme-codec, add
5877           reference to the online docs.
5878
5879 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5880
5881         * win32/common/config.h:
5882           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
5883           use moap cl ci to only check in what is mentioned in the ChangeLog.
5884
5885 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5886
5887         * docs/gst/gstreamer-sections.txt:
5888         * gst/gstelement.h:
5889           Fix up documentation to link to the correct GstGError section.
5890           Add GST_ELEMENT_INFO macro since someone else added a Info message.
5891
5892 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5893
5894         * tools/gst-launch.c: (event_loop):
5895           Make sure that we actually show the important message part of a
5896           warning message.
5897           No need to check if the gerror is not NULL to free; first of all
5898           g_free accepts NULL; and second the default error handler would
5899           segfault if gerror was NULL.
5900
5901 2007-02-21  Wim Taymans  <wim@fluendo.com>
5902
5903         * docs/gst/gstreamer-sections.txt:
5904         Removed docs as well.
5905
5906 2007-02-21  Wim Taymans  <wim@fluendo.com>
5907
5908         * gst/gstmessage.c: (gst_message_parse_duration):
5909         * gst/gstmessage.h:
5910         Remove new messages for release.
5911
5912 2007-02-20  Wim Taymans  <wim@fluendo.com>
5913
5914         * docs/design/part-gstghostpad.txt:
5915         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
5916         (gst_ghost_pad_new_full):
5917         Make the ghostpad a parent of the internal pad again for better backward
5918         compatibility. Don't write code that relies on this however.
5919
5920         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5921         (gst_pad_link_check_hierarchy):
5922         Require that parents should be GstElements in the hierarchy check.
5923
5924 2007-02-20  Wim Taymans  <wim@fluendo.com>
5925
5926         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
5927         (gst_bin_change_state_func), (bin_query_min_max_init),
5928         (bin_query_latency_fold), (bin_query_latency_done),
5929         (gst_bin_query):
5930         Improve debug info.
5931         Implement latency query.
5932
5933 2007-02-20  Wim Taymans  <wim@fluendo.com>
5934
5935         * docs/design/part-gstghostpad.txt:
5936         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
5937         (gst_ghost_pad_internal_do_activate_push),
5938         (gst_ghost_pad_internal_do_activate_pull),
5939         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5940         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
5941         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
5942         Do not set the internal pad as a parent anymore so we can avoid
5943         hierarchy linking errors when the ghostpad has no parent yet. This also
5944         fixes failed activation because of unlinked internal pads, which in
5945         turn fixes the impossible case where you have to activate a pad before
5946         you can add it to a running element.
5947         Also fix the docs.
5948
5949         * gst/gstpad.c: (pre_activate), (post_activate),
5950         (gst_pad_set_active), (gst_pad_activate_pull),
5951         (gst_pad_activate_push), (gst_pad_check_pull_range):
5952         Add some more debug info.
5953         Mark activation mode in pre_activate so that we don't try to activate in
5954         endless loops. Fixes #385084.
5955
5956 2007-02-19  Wim Taymans  <wim@fluendo.com>
5957
5958         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5959         (gst_base_transform_check_get_range):
5960         Implement a checkgetrange function instead of relying on the default
5961         core behaviour that assumes we can operate in pull mode if we have a
5962         getrange function. First step at fixing #385084.
5963
5964 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
5965
5966         * gst/gstchildproxy.h:
5967         * libs/gst/base/gstbasesink.h:
5968         * libs/gst/base/gstbasesrc.h:
5969         * libs/gst/base/gstbasetransform.h:
5970         More docs coverage and some ChangeLog surgery (add missing names)
5971
5972 2007-02-15  Wim Taymans  <wim@fluendo.com>
5973
5974         * docs/design/part-TODO.txt:
5975         * docs/design/part-activation.txt:
5976         * docs/design/part-block.txt:
5977         * docs/design/part-buffering.txt:
5978         * docs/design/part-clocks.txt:
5979         * docs/design/part-element-source.txt:
5980         * docs/design/part-events.txt:
5981         * docs/design/part-gstbin.txt:
5982         * docs/design/part-gstbus.txt:
5983         * docs/design/part-gstpipeline.txt:
5984         * docs/design/part-live-source.txt:
5985         * docs/design/part-messages.txt:
5986         * docs/design/part-overview.txt:
5987         * docs/design/part-qos.txt:
5988         * docs/design/part-query.txt:
5989         * docs/design/part-states.txt:
5990         * docs/design/part-trickmodes.txt:
5991         Some doc updates. Start renaming from stream_time to running_time where
5992         it was used wrongly.
5993
5994 2007-02-15  Wim Taymans  <wim@fluendo.com>
5995
5996         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5997         Answer LATENCY query.
5998
5999 2007-02-15  Wim Taymans  <wim@fluendo.com>
6000
6001         * tests/check/gst/gstevent.c: (event_probe), (test_event),
6002         (GST_START_TEST):
6003         Improve debugging.
6004
6005 2007-02-15  Wim Taymans  <wim@fluendo.com>
6006
6007         * gst/gstpad.c: (gst_pad_get_internal_links_default),
6008         (gst_pad_dispatcher):
6009         Improve debugging of default pad dispatcher and query functions.
6010
6011 2007-02-15  Wim Taymans  <wim@fluendo.com>
6012
6013         * docs/gst/gstreamer-sections.txt:
6014         Remove old unused method.
6015
6016 2007-02-13  Wim Taymans  <wim@fluendo.com>
6017
6018         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6019         Fix check
6020
6021 2007-02-13  Wim Taymans  <wim@fluendo.com>
6022
6023         * docs/design/part-seeking.txt:
6024         Some small update.
6025
6026         * gst/gstsegment.c: (gst_segment_set_seek):
6027         Revert old bogus change that should make seeking work again.
6028
6029 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
6030
6031         * docs/random/ensonic/dynlink.txt:
6032         * docs/random/ensonic/interfaces.txt:
6033         * docs/random/ensonic/receipies.txt:
6034           Possible dynamic reconnection api, plus some type fixes the other two
6035           docs.
6036
6037 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
6038
6039         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6040         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6041         Also check for an absolute path following file:// in the filesrc
6042         element. Remove redundant check and call g_path_is_absolute() on the
6043         unescaped location.
6044
6045 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
6046
6047         * docs/design/draft-klass.txt:
6048           Add existing category analysis.
6049           
6050         * gst/gstcaps.c:
6051           Fix doc example, framerate is a fraction.
6052
6053 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
6054
6055         * configure.ac:
6056         * docs/gst/Makefile.am:
6057         * docs/gst/gstreamer-sections.txt:
6058         * docs/libs/Makefile.am:
6059           Erm, forgot a bunch of --extra-dir.
6060
6061 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
6062
6063         * configure.ac:
6064         * docs/gst/Makefile.am:
6065         * docs/libs/Makefile.am:
6066         * docs/plugins/Makefile.am:
6067           Add crossreferences to glib/gobject docs.
6068
6069 2007-02-12  Wim Taymans  <wim@fluendo.com>
6070
6071         * docs/design/draft-latency.txt:
6072         Small update.
6073
6074         * docs/libs/gstreamer-libs-sections.txt:
6075         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6076         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
6077         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
6078         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
6079         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
6080         (gst_base_sink_get_position), (gst_base_sink_query),
6081         (gst_base_sink_change_state):
6082         * libs/gst/base/gstbasesink.h:
6083         API: gst_base_sink_query_latency() to let subclasses query the upstream
6084         latency.
6085         API: gst_base_sink_get_latency() to let subclasses query the configured
6086         latency in the sink.
6087         Implement query and set latency.
6088         Update some docs.
6089         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
6090         don't continue preroll when we are flushing. Fixes #405284.
6091
6092         * tests/check/pipelines/stress.c: (change_state_timeout),
6093         (quit_timeout), (GST_START_TEST), (stress_suite):
6094         Test for #405284.
6095
6096 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
6097
6098         Patch by: René Stadler <mail at renestadler de>
6099
6100         * docs/gst/gstreamer-sections.txt:
6101         * gst/gsttaglist.c: (_gst_tag_initialize):
6102         * gst/gsttaglist.h:
6103           API: add GST_TAG_REFERENCE_LEVEL (#403597).
6104
6105 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
6106
6107         * docs/libs/Makefile.am:
6108           Fix path to core docs.
6109
6110         * gst/gstbin.c: (gst_bin_get_by_interface),
6111         (gst_bin_iterate_all_by_interface):
6112           Refix docs by also renaming 'interface' to 'iface' in implementation.
6113
6114         * docs/gst/gstreamer-sections.txt:
6115         * gst/gstcaps.c:
6116         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
6117         * gst/gstchildproxy.h:
6118         * gst/gstelementfactory.c:
6119         * gst/gstpadtemplate.h:
6120         * libs/gst/controller/gstcontroller.c:
6121         (gst_controlled_property_new):
6122           Document more.
6123
6124 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
6125
6126         * gst/gstbin.h:(gst_bin_get_by_interface),
6127         (gst_bin_iterate_all_by_interface):
6128         Replace interface parameter name by iface as interface is 
6129         a reserved keyword in Visual Studio for C++ projects so it removes
6130         a build error for application developpers using VS.
6131         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
6132         Fix a bug on Windows in uri format check. Now the prefix checked
6133         is file:// and next we check if the path after file:// is absolute.
6134         * win32/common/libgstbase.def:
6135         * win32/common/libgstdataprotocol.def:
6136         * win32/common/libgstgstreamer.def:
6137         Add new exported functions.
6138
6139 2007-02-09  Andy Wingo  <wingo@pobox.com>
6140
6141         * tests/check/pipelines/simple-launch-lines.c
6142         (simple_launch_lines_suite, test_tee): Disable tee test until I
6143         have time to fix it :-(
6144
6145         * tests/check/Makefile.am (noinst_HEADERS): 
6146         * tests/check/libs/libsabi.c: 
6147         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
6148         * tests/check/gst/gstabi.c: 
6149         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
6150
6151         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
6152         tests for push and pull tee behavior.
6153
6154         * plugins/elements/gsttee.h: 
6155         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
6156         mark as deprecated as well as unimplemented. It was a crack idea.
6157         Add support for tee operating in pull mode, off by default.
6158
6159         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
6160         normal-case logs down to LOG, raise errors to WARNING.
6161         (gst_registry_xml_read_cache): Don't log before calling a function
6162         that logs.
6163
6164         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
6165         exit (registry finalize).
6166         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
6167         DEBUG log when we emit signals that people don't even have the
6168         chance to connect to.
6169         (gst_registry_scan_path_level): Less logging in the normal case.
6170
6171 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
6172
6173         Patch by: Michal Benes <michal dot benes at itonis dot tv>
6174
6175         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6176         Correctly generate EOS for non-seekable files. We don't have a total
6177         length for them and would get an unexpected end of file if we only
6178         special-cased for regular files. (Fixes: #404569)
6179
6180 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
6181
6182         * tests/check/elements/filesrc.c: (GST_START_TEST),
6183         (filesrc_suite):
6184         Add unit test for the GstURIHandler interface in filesrc. This also
6185         tests the newly added file://localhost/foo/bar support.
6186
6187 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
6188
6189         * gst/gstelementfactory.h:
6190           The klass string is not a hierarchy. Add reference to the design doc
6191           for more information and common types.
6192
6193 2007-02-02  Wim Taymans  <wim@fluendo.com>
6194
6195         * gst/gstquery.c: (gst_query_new_latency):
6196         Remove old structure field.
6197
6198 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
6199
6200         * tools/gst-launch.1.in:
6201           Give example for network streaming (#351998)
6202
6203 2007-02-02  Wim Taymans  <wim@fluendo.com>
6204
6205         * docs/gst/gstreamer-sections.txt:
6206         Add docs for new methods.
6207
6208         * gst/gstevent.c: (gst_event_new_latency),
6209         (gst_event_parse_latency):
6210         * gst/gstevent.h:
6211         Add new LATENCY event to configure latency in a pipeline.
6212         API: gst_event_new_latency
6213         API: gst_event_parse_latency
6214
6215         * gst/gstmessage.c: (gst_message_new_buffering),
6216         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
6217         (gst_message_new_latency), (gst_message_parse_buffering),
6218         (gst_message_parse_lost_preroll):
6219         * gst/gstmessage.h:
6220         Added messages used in draft-latency.
6221         API: gst_message_new_lost_preroll
6222         API: gst_message_parse_lost_preroll
6223         API: gst_message_new_prerolled
6224         API: gst_message_new_latency
6225
6226         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
6227         (gst_query_parse_latency):
6228         * gst/gstquery.h:
6229         Implemented new latency query as in design doc.
6230         API: gst_query_new_latency
6231         API: gst_query_set_latency
6232         API: gst_query_parse_latency
6233
6234 2007-02-02  Wim Taymans  <wim@fluendo.com>
6235
6236         * docs/design/draft-latency.txt:
6237         Slight redesign to allow for dynamic latency adjustments.
6238
6239         * docs/design/part-negotiation.txt:
6240         Fix some typos.
6241
6242 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
6243
6244         reviewed by: Wim Taymans <wim@fluendo.com>
6245
6246         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6247         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6248         Allow file://localhost/foo/bar URLs and correctly fail for every other
6249         hostname that one sets. This was gnomevfssrc is linked for those if
6250         installed as it can handle it (#403172)
6251
6252 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
6253
6254         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6255
6256         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6257         (unref_data), (gst_collect_pads_add_pad_full):
6258         * libs/gst/base/gstcollectpads.h:
6259         Don't put the previously added destroy notify in the GstCollectData
6260         struct as all it's padding is already used and we don't want to break
6261         ABI. Instead put in the pad's GObject data for now. This should be
6262         cleaned up for 0.11 (#402393).
6263
6264 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
6265
6266         reviewed by: Wim Taymans <wim@fluendo.com>
6267
6268         * docs/libs/gstreamer-libs-sections.txt:
6269         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6270         (unref_data), (gst_collect_pads_add_pad),
6271         (gst_collect_pads_add_pad_full):
6272         * libs/gst/base/gstcollectpads.h:
6273         API: Add function to specify a destroy notification for custom
6274         GstCollectData when adding new pads in GstCollectPads (#402393).
6275
6276 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
6277
6278         * po/sv.po:
6279           Update Swedish translation (#378255).
6280
6281 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
6282
6283         * docs/design/draft-klass.txt:
6284           Fix the previous change, this is a list of categories and not a hierarchy.
6285
6286 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
6287
6288         * docs/design/draft-klass.txt:
6289           Add info about how to get a list of used classes.
6290
6291 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
6292
6293         * plugins/elements/gsttypefindelement.c:
6294         (gst_type_find_element_chain_do_typefinding),
6295         (gst_type_find_element_change_state):
6296           Don't leak found caps in chain function (no idea why that never
6297           showed up as a leak anywhere).
6298
6299 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
6300
6301         * gst/gstplugin.h:
6302           Fix and expand GstPluginDesc API docs.
6303
6304 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
6305
6306         * gst/gstcaps.c:
6307         * gst/gstelementfactory.c:
6308         * gst/gstpadtemplate.h:
6309           api doc fixes
6310
6311         * libs/gst/controller/gstcontroller.c:
6312         (gst_controlled_property_new):
6313         * tests/examples/controller/audio-example.c:
6314           comment fixes
6315
6316 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
6317
6318         * configure.ac:
6319           comment about refining the xml deps
6320
6321         * docs/manuals.mak:
6322           comments about moving away from jade for docs
6323         
6324         * gst/gst.c:
6325           recommit the ifdefs to use the binary registry
6326         
6327         * gst/gstbin.c: (gst_bin_change_state_func):
6328           this break is obsolete
6329
6330         * gst/gstelementfactory.h:
6331           better GST_ELEMENT_DETAILS docs, add comment about translation
6332
6333         * gst/gstinfo.h:
6334           remove eol slash
6335
6336         * gst/gstobject.c: (gst_signal_object_get_type):
6337           add G_UNLIKELY as usual
6338
6339         * gst/gstpad.c: (gst_pad_event_default):
6340           add fall trhu comment
6341
6342         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6343         (gst_registry_binary_initialize_magic),
6344         (gst_registry_binary_save_string),
6345         (gst_registry_binary_save_pad_template),
6346         (gst_registry_binary_save_feature),
6347         (gst_registry_binary_save_plugin),
6348         (gst_registry_binary_write_cache),
6349         (gst_registry_binary_check_magic),
6350         (gst_registry_binary_load_pad_template),
6351         (gst_registry_binary_load_feature),
6352         (gst_registry_binary_load_plugin),
6353         (gst_registry_binary_read_cache):
6354           comment typo and formatting
6355
6356         * gst/gstutils.c: (gst_element_state_get_name),
6357         (gst_element_state_change_return_get_name):
6358           remove obsolete breaks
6359
6360         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6361           add FIXME 0.11 and remove cpp comment
6362
6363 2007-01-29  Edward Hervey  <edward@fluendo.com>
6364
6365         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6366         Fix print statement in an even more portable way.
6367
6368 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
6369
6370         * docs/gst/gstreamer-sections.txt:
6371         * gst/gstutils.h:
6372           API: add GST_ROUND_DOWN_* macros (#401781).
6373
6374 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
6375
6376         * docs/gst/gstreamer.types.in:
6377         * gst/gstregistry.c: (gst_registry_class_init):
6378           Document registry signals and make gtk-doc pick them up (#401381).
6379
6380 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
6381
6382         * docs/pwg/building-testapp.xml:
6383           Add some audioconverts and audioresample to the pipeline, and some
6384           more comments and error handling.
6385
6386 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
6387
6388         * docs/manual/manual.xml:
6389         * docs/pwg/pwg.xml:
6390           Fix typo (#400987).
6391
6392 2007-01-26  Wim Taymans  <wim@fluendo.com>
6393
6394         * gst/gstcaps.c: (gst_static_caps_get):
6395         Init caps flags too.
6396
6397 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
6398
6399         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
6400
6401         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6402         If not using mmap'ed files try to seek to the end instead of the
6403         start to determine whether we can seek at all. This fixes the case
6404         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
6405         seeks for everything afterwards fail. Fixes #400656
6406
6407 2007-01-25  Wim Taymans  <wim@fluendo.com>
6408
6409         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
6410         Add some refcount debugging.
6411         Make gst_static_caps_get threadsafe, which is needed when autoplugging
6412         in multiple streaming threads.
6413
6414 2007-01-25  Wim Taymans  <wim@fluendo.com>
6415
6416         Patch by: David Schleef <ds at schleef dot org>
6417
6418         * docs/libs/gstreamer-libs-sections.txt:
6419         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
6420         * libs/gst/base/gstadapter.h:
6421         API: gst_adapter_copy() that can reduce the amount of memcpy when
6422         getting data from the adapter. Fixes #388201.
6423
6424 2007-01-25  Edward Hervey  <edward@fluendo.com>
6425
6426         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6427         In print statements, "%x" is for guint. Fixes build on macosx.
6428
6429 2007-01-24  Edward Hervey  <edward@fluendo.com>
6430
6431         * plugins/elements/gstmultiqueue.c:
6432         (gst_multi_queue_loop):
6433         Small fix.
6434         (single_queue_overrun_cb), (single_queue_underrun_cb),
6435         (single_queue_check_full), (gst_single_queue_new):
6436         Implement single queue growth system.
6437         This uses the extra-size properties, and will grow single queues by
6438         that much if one goes full whereas there are others empty. This is
6439         called extra-mode in the code.
6440         When a single queue's levels go back below the initial max-size
6441         limits, it is no longer in extra-mode. This is to ensure we don't
6442         consume too much memory.
6443         Fixes #399875
6444
6445 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
6446
6447         * gst/gst.c: (gst_init_get_option_group):
6448           Make warning about late g_thread_init() calls a bit more explicit,
6449           so that it's more obvious to application developers what they need
6450           to do if a user files a bug against their application.
6451
6452 2007-01-22  Edward Hervey  <edward@fluendo.com>
6453
6454         * plugins/elements/gstmultiqueue.c:
6455         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
6456         Remove previous hack of unsetting the flushing flag for the source pad
6457         instead of activating it. Instead, fix the source pad activate function
6458         so that it no longer depends on having a parent set or not.
6459
6460 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
6461
6462         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
6463
6464         * docs/manual/basics-bus.xml:
6465           Fix example code, gst_element_unref() doesn't exist any longer.
6466
6467 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
6468
6469         Patch by: Mark Nauwelaerts <manauw at skynet be>
6470
6471         * gst/gstpad.c:
6472           Fix two docs typoes (#399094).
6473
6474 2007-01-19  Edward Hervey  <edward@fluendo.com>
6475
6476         * docs/faq/gst-uninstalled:
6477         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
6478         depending on libgstbaseutils can work in uninstalled environment.
6479
6480 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
6481
6482         * gst/gsttaglist.h:
6483         * gst/gsttagsetter.c:
6484         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
6485         statement for new tag.
6486
6487 2007-01-17  Edward Hervey  <edward@fluendo.com>
6488
6489         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
6490         When dynamically creating single queues, activate sinkpad before adding
6491         it.
6492         We should be doing the same thing for the source pad, but we can't
6493         since it would call a method which needs the parent to be set in order
6494         to work propertly. Instead of activating the source pad, we just unset
6495         the flushing flag, which is the minimal requirement for adding a pad
6496         to an element in a state greater than READY.
6497
6498 2007-01-17  Edward Hervey  <edward@fluendo.com>
6499
6500         * docs/faq/gst-uninstalled:
6501         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
6502         Mac OS X.
6503
6504 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
6505
6506         * tests/check/gst/gstabi.c:
6507         * tests/check/gst/struct_hppa.h:
6508         * tests/check/libs/libsabi.c:
6509         * tests/check/libs/struct_hppa.h:
6510           Add ABI structs for HPPA (see #393796).
6511
6512 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
6513
6514         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6515           Actually write ABI structs to the file specified in the GST_ABI
6516           environment variable, as the message we print claims we would.
6517
6518 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6519
6520         * tests/check/gst/gsttask.c:
6521           Fix header comment.
6522
6523 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6524
6525         * gst/gsttaglist.c: (_gst_tag_initialize):
6526           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
6527           previous two entries.
6528
6529 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6530
6531         * docs/gst/gstreamer-sections.txt:
6532         * gst/gsttaglist.c: (_gst_tag_initialize):
6533         * gst/gsttaglist.h:
6534           Add tag support for beat-per-minute.
6535
6536 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6537
6538         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6539         (gst_registry_binary_initialize_magic),
6540         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
6541         (gst_registry_binary_save_pad_template),
6542         (gst_registry_binary_save_feature),
6543         (gst_registry_binary_save_plugin),
6544         (gst_registry_binary_write_cache),
6545         (gst_registry_binary_check_magic),
6546         (gst_registry_binary_load_pad_template),
6547         (gst_registry_binary_load_feature),
6548         (gst_registry_binary_load_plugin),
6549         (gst_registry_binary_read_cache):
6550         * gst/gstregistrybinary.h:
6551           Use glib types, cleanup comments, impement interfaces and uri-types.
6552
6553 2007-01-13  Andy Wingo  <wingo@pobox.com>
6554
6555         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
6556         getrange() to return buffers with other caps, while we fix
6557         demuxers and typefind, or otherwise change part-negotiation.txt.
6558
6559 2007-01-12  Andy Wingo  <wingo@pobox.com>
6560
6561         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
6562         Factor start/stop into this private function instead of partially
6563         in activate functions and partially in the change_state function.
6564         Fixes setup before the element has changed from READY->PAUSED, as
6565         is the case in pull-mode pipelines.
6566         (gst_base_transform_sink_activate_push)
6567         (gst_base_transform_src_activate_pull): Refactor to use
6568         gst_base_transform_activate().
6569         (gst_base_transform_change_state): Removed, not needed any more.
6570
6571         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6572         Truncate before fixating.
6573         
6574         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6575         Don't set_caps() if the result of fixating is ANY, as it's not
6576         supported, and not necessary in the case of a link with no
6577         template caps on either side. Fixes tests/check/libs/basesrc in
6578         some pull-mode tests.
6579
6580         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
6581         (gst_base_transform_init, gst_base_transform_sink_activate_push)
6582         (gst_base_transform_src_activate_pull): 
6583         Track the activation mode.
6584         (gst_base_transform_setcaps): In pull mode, when activating the
6585         src pad, after activating the sink pad, activate the sink pad's
6586         peer, as discussed in part-negotiation.txt.
6587
6588         * libs/gst/base/gstbasesrc.h: 
6589         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
6590         vmethod, as in basesink.
6591
6592         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
6593
6594         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
6595         mode, first proxy the setcaps to the peer pad.
6596         (gst_base_sink_pad_fixate): Add a fixate function that calls the
6597         new fixate vmethod.
6598         (gst_base_sink_default_activate_pull): Rename from
6599         gst_base_sink_activate_pull.
6600         (gst_base_sink_negotiate_pull): New function, performs negotiation
6601         in pull mode before calling ::activate_pull().
6602         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
6603         vmethod instead of the default implementation. I have no idea how
6604         this worked before. Negotiate before calling activate_pull.
6605
6606         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
6607         sink pads in pull mode. In addition to being correct, fixes
6608         filesrc ! decodebin ! identity ! fakesink.
6609         (gst_pad_get_range, gst_pad_pull_range): Don't call
6610         gst_pad_set_caps() if the caps changes; instead error out with
6611         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
6612
6613 2007-01-12  Andy Wingo  <wingo@pobox.com>
6614
6615         * docs/design/part-negotiation.txt: Update with more policy.
6616
6617 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
6618
6619         * libs/gst/check/gstbufferstraw.h:
6620         * libs/gst/check/gstcheck.h:
6621           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
6622           belongs.
6623
6624 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
6625
6626         * tests/check/Makefile.am:
6627         * tests/check/gst/.cvsignore:
6628         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
6629         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
6630         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
6631         (GST_START_TEST), (gst_tag_setter_suite):
6632           Add minimal unit test for beforementioned GstTagSetter bug.
6633
6634 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
6635
6636         Patch by: René Stadler <mail at renestadler dot de>
6637
6638         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
6639           gst_tag_list_merge() returns a new list, so it's not the best idea
6640           to ingore its return value. Effectively meant that tags could only
6641           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
6642           Also add function guard to require a non-NULL taglist as input (has
6643           always been so due to gst_tag_list_copy(), just making it explicit).
6644
6645 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6646
6647         * docs/random/draft-missing-plugins.txt:
6648           Some additions: mention new API that is supposed to be used at the
6649           various stages; short blob about new gst-inspect introspection
6650           option; mention potential future problem with plugins that have
6651           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
6652
6653 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6654
6655         * tools/gst-inspect.c:
6656         (print_plugin_automatic_install_info_codecs),
6657         (print_plugin_automatic_install_info_protocols),
6658         (print_plugin_automatic_install_info), (main):
6659         Add --print-plugin-auto-install-info option to gst-inspect, so we can
6660         introspect plugin files and get machine-parsable output that corresponds
6661         to the last bit of the missing-plugin installer string (small gotcha:
6662         doesn't take into account ranks).
6663
6664 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
6665
6666         * configure.ac:
6667         * docs/gst/gstreamer-sections.txt:
6668         * gst/Makefile.am:
6669         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
6670         (gst_registry_lookup_locked):
6671         * gst/gstregistry.h:
6672         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6673         (gst_registry_binary_initialize_magic),
6674         (gst_registry_binary_save_string),
6675         (gst_registry_binary_save_pad_template),
6676         (gst_registry_binary_save_feature),
6677         (gst_registry_binary_save_plugin),
6678         (gst_registry_binary_write_cache),
6679         (gst_registry_binary_check_magic),
6680         (gst_registry_binary_load_pad_template),
6681         (gst_registry_binary_load_feature),
6682         (gst_registry_binary_load_plugin),
6683         (gst_registry_binary_read_cache):
6684         * gst/gstregistrybinary.h:
6685         * gst/gstregistryxml.c: (load_feature),
6686         (gst_registry_xml_read_cache):
6687           commit binary registry (disabled by default, see #359653)
6688
6689 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6690
6691         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
6692           Fix 'make check' too.
6693
6694 2007-01-10  Andy Wingo  <wingo@pobox.com>
6695
6696         * docs/design/part-negotiation.txt: Fix a typo, add a couple
6697         notes.
6698         
6699         * docs/design/part-negotiation.txt: Update with, um, one way that
6700         pull-mode negotiation might work?
6701
6702         * gst/gstpad.h: 
6703         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
6704         that the pad must be a src pad; makes sense to call it the other
6705         way in pull mode, and the logic is symmetric anyway.
6706
6707 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
6708
6709         * plugins/elements/gstfilesink.c:
6710           Include <stdio.h> for fseeko().
6711
6712 2007-01-10  Wim Taymans  <wim@fluendo.com>
6713
6714         * gst/gstevent.c:
6715         * gst/gstevent.h:
6716         Reserve LATENCY event.
6717
6718 2007-01-09  Wim Taymans  <wim@fluendo.com>
6719
6720         * docs/design/draft-latency.txt:
6721         Updates.
6722
6723 2007-01-09  Wim Taymans  <wim@fluendo.com>
6724
6725         * docs/design/draft-latency.txt:
6726         Updates.
6727
6728         * gst/gstelement.h:
6729         * gst/gststructure.c:
6730         * gst/gsttrace.c:
6731         Small typo fixes.
6732
6733 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
6734
6735         * tests/check/.cvsignore:
6736           Ignore test-registry.xml as well.
6737
6738 2007-01-09  Wim Taymans  <wim@fluendo.com>
6739
6740         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6741         unref data at the end when we are done with the pad.
6742
6743 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
6744
6745         * docs/gst/gstreamer-sections.txt:
6746         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
6747         (init_post), (gst_deinit), (gst_update_registry):
6748         * gst/gst.h:
6749           API: add gst_update_registry() (#391296).
6750
6751         * tests/check/Makefile.am:
6752         * tests/check/gst/gstregistry.c:
6753         * tests/check/gst/.cvsignore:
6754           Simple unit test for the above.
6755
6756 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
6757
6758         * gst/gstregistry.c: (gst_registry_scan_path_level):
6759           Plugin extension on HP-UX is .sl, add that to the list of approved
6760           plugin extensions (see #393796).
6761
6762         * tests/check/gst/gstpad.c: (GST_START_TEST):
6763           ulong => gulong. Fixes compilation with HP-UX compiler.
6764
6765         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6766           Fix compilation if valgrind headers are not available.
6767
6768 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
6769
6770         * win32/common/libgstreamer.def: 
6771           Add new exported function.
6772         * win32/vs6/libgstbase.dsp: 
6773           Add gstdataqueue.c to the build.
6774         * win32/vs6/libgstcoreelements.dsp:
6775           Add gstmultiqueue.c to the build.
6776         
6777 2007-01-06  Andy Wingo  <wingo@pobox.com>
6778
6779         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
6780         activate_pull(), providing for a way to specialize the process of
6781         spawning a thread to pull on the sink pad. There is a default
6782         implementation.
6783
6784         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
6785         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
6786         (gst_base_sink_init): Renamed pad activation functions (inserting
6787         "_pad" in their names). Refactor to use the new activate_pull
6788         vmethod, as appropriate.
6789         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
6790         default activate_pull function to start a task pulling from the
6791         sink pad, as before.
6792
6793         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
6794         on the pads if necessary, as in push()/chain(). Update docs.
6795         Shouldn't affect existing pull() usage as it is currently only
6796         being used on buffers without caps.
6797
6798 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6799
6800         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6801         (init_pre):
6802           Call g_thread_init() first thing in gst_init() / gst_check_init().
6803           When initialisation is done via gst_init_get_option_group() and
6804           GOption parsing, issue a warning if the GLib thread system has not
6805           been initialised yet by the time gst_init_get_option_group() is
6806           called, as it's quite likely other GLib functions such as
6807           g_option_context_new() have been called already then, and
6808           g_thread_init() must be called before any other GLib function. The
6809           application in question must be fixed in that case, since memory
6810           corruption might happen otherwise.
6811           We issue the warning because even if the GLib folks decide to work
6812           around the problem on their end in future, this is still an issue
6813           with all GLib versions >= 2.10.0, so we should warn until we depend
6814           on a GLib version we know to be safe.
6815           Update documentation as well.
6816           Closes bug #391278.
6817
6818 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6819
6820         * tools/gst-inspect.c: (main):
6821         * tools/gst-launch.c: (main):
6822         * tools/gst-typefind.c: (main):
6823         * tools/gst-xmlinspect.c: (main):
6824           Call g_thread_init() really really early, before any other GLib
6825           function (see #342564 and recent discussion on gtk-devel-list).
6826
6827 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6828
6829         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
6830
6831         * gst/gst_private.h:
6832         * gst/gstconfig.h.in:
6833         * gst/gstinfo.h:
6834           On win32, all the __declspec stuff for symbol exporting is
6835           apparently only needed with MSVC, but doesn't work with MingW.
6836           Fixes compilation with MingW and #391909.
6837
6838 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6839
6840         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
6841           Change some GST_ERROR_OBJECT that aren't really errors to
6842           GST_WARNING_OBJECT in order to reduce terminal spam.
6843
6844 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
6845
6846         * tests/check/Makefile.am:
6847           disable test again, as there seem to be still race problems
6848
6849 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
6850
6851         * tests/check/Makefile.am:
6852         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6853         (GST_START_TEST), (queue_suite):
6854           enable queue test again, add tests for the leaky behaviour
6855
6856 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
6857
6858         * configure.ac:
6859         * tests/examples/Makefile.am:
6860           Compile adapter test/example only if the required headers are
6861           available (fixes #391915).
6862
6863 2007-01-01  David Schleef  <ds@schleef.org>
6864
6865         * gst/gstplugin.c:
6866           Restore the previous signal handler for SIGSEGV instead of
6867           setting to default, since we may have stolen it away from
6868           someone.  (i.e., Mono)
6869
6870 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
6871
6872         * docs/random/draft-missing-plugins.txt:
6873           Some small additions and clarifications.
6874
6875 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
6876
6877         * gst/gstregistryxml.c: (gst_registry_save_escaped):
6878           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
6879           since that can lead to random memory corruptions and crashes
6880           (may or may not be related to #383244, #386711, and #386711).
6881
6882 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6883
6884         * tests/check/.cvsignore:
6885         * tests/check/Makefile.am:
6886           sync .cvsignome and CLEANFILES
6887
6888 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6889
6890         * tests/check/Makefile.am:
6891           fix distcheck
6892
6893 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6894
6895         * docs/design/part-states.txt:
6896           two tiny additional comments
6897         
6898         * gst/gststructure.c:
6899           doc fixing
6900
6901         * tests/check/Makefile.am:
6902         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6903         (GST_START_TEST):
6904           disable test for now, unless it gets fixed
6905
6906 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6907
6908         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6909         (GST_START_TEST):
6910           fix race in underrun test
6911
6912 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6913
6914         * tests/check/elements/.cvsignore:
6915           ignore more
6916
6917         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6918         (GST_START_TEST):
6919           try to narrow test failure
6920
6921 2006-12-21  David Schleef  <ds@schleef.org>
6922
6923         * plugins/elements/gstfakesrc.c:
6924           Use g_random_int_range(), since it produces better random
6925           numbers in a range than almost-correct floating point code.
6926
6927 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6928
6929         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6930         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6931         (gst_check_teardown_sink_pad):
6932           do not automatically (de)activate pads
6933
6934         * tests/check/Makefile.am:
6935         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6936         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
6937           add new, yet simple tests for queue
6938
6939         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
6940         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
6941         * tests/check/elements/filesrc.c: (cleanup_filesrc),
6942         (GST_START_TEST):
6943         * tests/check/elements/identity.c: (cleanup_identity):
6944           consistent pad (de)activation
6945
6946 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
6947
6948         Patch by: Sebastian Dröge  <slomo ubuntu com>
6949
6950         * libs/gst/base/gstcollectpads.c:
6951           Fix two doc typos (#387866).
6952
6953 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
6954
6955         * docs/manual/advanced-dparams.xml:
6956           Fix typo (g_object_control_properties() doesn't exist).
6957
6958 2006-12-19  Edward Hervey  <edward@fluendo.com>
6959
6960         * gst/gstsegment.c: (gst_segment_set_seek):
6961         Fine tune the cases where the segment start/stop values are really
6962         updated.
6963         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6964         Add tests for the return values of gst_segment_set_seek().
6965
6966 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
6967
6968         * gst/gst.c:
6969           Docs typo fix.
6970
6971         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6972         (gst_queue_init):
6973           Fix incorrect documentation and flesh it out a bit more.
6974           Set default values for the max properties on the GParamSpec as well,
6975           so it shows up correctly in gst-inspect.
6976
6977 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
6978
6979         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6980           Correct docs of queue, add more detail and crosslink it more.
6981
6982 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6983
6984         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6985           Print additional debug info when the stream isn't perfectly
6986           timestamped; don't try to use invalid durations.
6987
6988 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6989
6990         * docs/design/Makefile.am:
6991           Dist new design docs.
6992
6993 2006-12-16  Wim Taymans  <wim@fluendo.com>
6994
6995         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6996
6997         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
6998         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6999         (gst_collect_pads_stop), (gst_collect_pads_event),
7000         (gst_collect_pads_chain):
7001         * libs/gst/base/gstcollectpads.h:
7002         Add refcounting to the collectpads data so we can track when it's safe
7003         to free the data. Fixes #383382.
7004
7005 2006-12-15  Wim Taymans  <wim@fluendo.com>
7006
7007         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7008         (gst_collect_pads_remove_pad):
7009         Automatically activate/deactivate pads when they are added to a
7010         started/stoped collectpads.
7011
7012 2006-12-15  Wim Taymans  <wim@fluendo.com>
7013
7014         * gst/gstelement.c: (gst_element_add_pad):
7015         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7016         * gst/gstpad.c: (gst_pad_init):
7017         Set pads to FLUSHING when they are created. Check, warn and fix when a
7018         demuxer adds an inactive pad to itself when running. Fixes #339326.
7019
7020 2006-12-15  Wim Taymans  <wim@fluendo.com>
7021
7022         * gst/gstelement.c: (gst_element_class_init),
7023         (gst_element_default_send_event), (gst_element_send_event),
7024         (gst_element_default_query), (gst_element_query):
7025         Expose default element send_event and query handling as vmethods that
7026         subclasses can chain up to.
7027
7028 2006-12-15  Wim Taymans  <wim@fluendo.com>
7029
7030         * gst/gstelement.c: (gst_element_set_state_func):
7031         Small documentation fixes.
7032
7033 2006-12-15  Wim Taymans  <wim@fluendo.com>
7034
7035         * docs/design/draft-latency.txt:
7036         Checked in draft for handling latency in pipelines.
7037
7038 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7039
7040         * Makefile.am:
7041         * gstreamer.doap:
7042         * gstreamer.spec.in:
7043           adding .doap file
7044
7045 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
7046
7047         * gst/gst.c: (init_pre), (init_post):
7048           init_pre() and init_post() might be called via our GOptionGroup or
7049           from gst_init(), and we should skip both of them if we've already
7050           been initialised, otherwise we will init some things twice or add
7051           two default log functions.
7052
7053 2006-12-13  Edward Hervey  <edward@fluendo.com>
7054
7055         * docs/manual/basics-bus.xml:
7056         No, gst_main_loop does not exist. Its g_main_loop.
7057         Discovered by somebody who abused the copy-paste technique of coding :)
7058
7059 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
7060
7061         * gst/gstghostpad.c:
7062           Log ghostpad debug stuff to the GST_PADS category as well rather
7063           than just to the default category.
7064
7065 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
7066
7067         * configure.ac:
7068         * gst/gst.c: (init_pre):
7069           Add some basic system details such as OS and architecture
7070           to the debug output if possible, courtesy of uname().
7071
7072 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
7073
7074         * docs/gst/running.xml:
7075           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
7076           environment variables.
7077
7078 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
7079
7080         * tests/check/gst/gstbin.c: (GST_START_TEST):
7081         It is acceptable to have a refcount of 2 or 3 at this point in the
7082         test, because the pipeline might be just posting its state_change
7083         message. The next line then waits for that message to appear using
7084         bus_poll, so that should be fine too.
7085
7086 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
7087
7088         * gst/gst.c: (ensure_current_registry_forking):
7089         Ignore EINTR when reading from the child registry pipe.
7090         Explicitly ignore the return value from close, since it makes no
7091         difference.
7092
7093         * gst/gstminiobject.c: (gst_mini_object_ref),
7094         (gst_mini_object_unref):
7095         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
7096
7097         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
7098         When removing cached plugins, remove their features too, so they're
7099         not visible after they've disappeared.
7100
7101         * gst/gstutils.c: (prepare_link_maybe_ghosting):
7102         In the unlikely case that we are linking pads with no parents, don't
7103         crash trying to get the non-existent parent bin.
7104
7105         * gst/parse/grammar.y:
7106         Output debug in the PIPELINE category
7107
7108 2005-03-08  Wim Taymans  <wim@fluendo.com>
7109
7110         Patch by: René Stadler <mail at renestadler dot de>
7111
7112         * gst/gstclock.c: (gst_clock_new_periodic_id):
7113         Reject invalid clock times for interval of periodic ids.
7114         Fixes ##383506.
7115
7116 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
7117
7118         * gst/gstelementfactory.c: (gst_element_factory_create):
7119         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7120         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
7121         * tools/gst-inspect.c: (print_element_info):
7122         Fix refcounting of gst_plugin_feature_load to match the docs. 
7123         Fixes: #380129
7124
7125 2006-12-07  Wim Taymans  <wim@fluendo.com>
7126
7127         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
7128         (gst_base_sink_get_position):
7129         Improve debugging of events.
7130
7131 2006-12-07  Wim Taymans  <wim@fluendo.com>
7132
7133         Patch by: René Stadler <mail at renestadler dot de>
7134
7135         * gst/gstclock.c: (gst_clock_id_wait):
7136         Make period ids add the interval to the origial requested time instead
7137         of the possibly updated time which can be wrong when there are multiple
7138         waiters for the same id. Fixes #382592.
7139
7140         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
7141         (gst_system_clock_id_wait_jitter_unlocked),
7142         (gst_system_clock_id_wait_jitter):
7143         Fix restart in the async notify thread when an async entry is added to
7144         the front of the list. Fixes #381492. 
7145
7146         * tests/check/gst/gstsystemclock.c: (store_callback),
7147         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
7148         Added test for multiple async waits.
7149         Added test for async wait order.
7150
7151 2006-12-07  Wim Taymans  <wim@fluendo.com>
7152
7153         * gst/gstbin.c: (gst_bin_query):
7154         Add some more docs about the POSITION query.
7155
7156 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
7157
7158         * configure.ac:
7159         Bump version nano - back to CVS.
7160
7161 === release 0.10.11 ===
7162
7163 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
7164
7165         * configure.ac:
7166           releasing 0.10.11, "Love never runs on time"
7167
7168 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
7169
7170         * win32/common/libgstbase.def:
7171         * win32/common/libgstreamer.def:
7172         * win32/vs8/libgstbase.vcproj:
7173         * win32/vs8/libgstcoreelements.vcproj:
7174         * win32/vs8/libgstreamer.vcproj:
7175         Fix compilation on win32 under VS8
7176         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7177         Partially fixes #381175
7178
7179 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7180
7181         * gst/gstvalue.c: (gst_value_compare_fraction):
7182         If someone is foolish enough to compare 2 fractions with denominator =
7183         0, return UNORDERED rather than aborting.
7184
7185 2006-11-28  Edward Hervey  <edward@fluendo.com>
7186
7187         * libs/gst/base/Makefile.am:
7188         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
7189         (gst_data_queue_base_init), (gst_data_queue_class_init),
7190         (gst_data_queue_init), (gst_data_queue_new),
7191         (gst_data_queue_cleanup), (gst_data_queue_finalize),
7192         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
7193         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
7194         (gst_data_queue_is_empty), (gst_data_queue_is_full),
7195         (gst_data_queue_set_flushing), (gst_data_queue_push),
7196         (gst_data_queue_pop), (gst_data_queue_drop_head),
7197         (gst_data_queue_set_property), (gst_data_queue_get_property):
7198         * libs/gst/base/gstdataqueue.h:
7199         New GstDataQueue object for threadsafe queueing. Most useful for
7200         elements that need some queueing functionnality.
7201         * docs/libs/gstreamer-libs-docs.sgml:
7202         * docs/libs/gstreamer-libs-sections.txt:
7203         Insert documentation for GstDataQueue
7204         * plugins/elements/Makefile.am:
7205         * plugins/elements/gstelements.c:
7206         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
7207         (gst_multi_queue_class_init), (gst_multi_queue_init),
7208         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7209         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
7210         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
7211         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7212         (gst_multi_queue_loop), (gst_multi_queue_chain),
7213         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7214         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
7215         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
7216         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
7217         (wake_up_next_non_linked), (compute_next_non_linked),
7218         (single_queue_overrun_cb), (single_queue_underrun_cb),
7219         (single_queue_check_full), (gst_single_queue_new):
7220         * plugins/elements/gstmultiqueue.h:
7221         New multiqueue element, using GstDataQueue. Used for queuing multiple
7222         streams.
7223         Closes #344639 and #347785
7224
7225 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
7226
7227         * docs/pwg/advanced-types.xml:
7228           add more missing type details
7229
7230         * tools/gst-run.c: (main):
7231           remove unused variable
7232
7233 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
7234
7235         * docs/libs/Makefile.am:
7236         * docs/libs/gstreamer-libs.types:
7237           add types of base classes to enable gobject specific stuff in the docs
7238
7239         * docs/random/ensonic/embedded.txt:
7240           more ideas about isolating platform specific things
7241
7242 2006-11-20  Wim Taymans  <wim@fluendo.com>
7243
7244         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
7245
7246         * libs/gst/check/gstcheck.h:
7247         Fix compilation and running against 0.9.4. Fixes #377332.
7248
7249 2006-11-20  Wim Taymans  <wim@fluendo.com>
7250
7251         * gst/gstsegment.c: (gst_segment_set_seek),
7252         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7253         (gst_segment_to_running_time):
7254         Fix boundary checking in to_running_time() and to_stream_time().
7255         Fixes #377183.
7256
7257         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7258         stream and running time can now be calculated for the complete
7259         clipped segment.
7260
7261 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
7262
7263         * gst/gstpad.c: (gst_pad_push_event):
7264           Can't access event structure after giving away ownership of
7265           the event.
7266
7267 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
7268
7269         * docs/random/ensonic/embedded.txt:
7270         * docs/random/ensonic/profiling.txt:
7271         * docs/random/ensonic/receipies.txt:
7272           more thinking
7273
7274 2006-11-13  Wim Taymans  <wim@fluendo.com>
7275
7276         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7277
7278         * gst/gstpad.c:
7279         Fix documentation for gst_pad_dispatcher. Fixes #374475.
7280
7281 2006-11-13  Wim Taymans  <wim@fluendo.com>
7282
7283         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
7284
7285         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7286         Store new length in segment duration so we don't keep on calling the
7287         potentially expensize get_size() call. Fixes #370865.
7288
7289 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
7290
7291         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
7292
7293         * win32/common/libgstreamer.def:
7294           Add two missing symbols (#366492).
7295
7296 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
7297
7298         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
7299         (gst_adapter_take_buffer):
7300         Fix format string to use all its arguments.
7301         Remove useless >= check on a guint
7302
7303 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7304
7305         * tests/examples/adapter/.cvsignore:
7306         Ignore build file as commanded by the build-bot
7307
7308 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7309
7310         * tests/examples/adapter/Makefile.am:
7311         * tests/examples/adapter/adapter_test.c: (run_test_take),
7312         (run_test_take_buffer), (run_tests), (main):
7313
7314         Add new files from the previous commit
7315
7316 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7317
7318         * Makefile.am:
7319         * configure.ac:
7320         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
7321         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
7322         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
7323         * libs/gst/base/gstadapter.h:
7324         * tests/check/libs/adapter.c: (create_and_fill_adapter),
7325         (GST_START_TEST), (gst_adapter_suite):
7326         * tests/examples/Makefile.am:
7327         Do some optimisation work in GstAdapter to avoid copies in more cases.
7328         It could still do slightly better by merging buffers when
7329         gst_buffer_is_span_fast is true, but is already faster. 
7330
7331         Also, avoid traversing a single-linked list to append each incoming 
7332         buffer inside the adapter.
7333
7334         Add simple test app that times the adapter behaviour in different
7335         situations, and extend the unit test to check that bytes enter and
7336         exit the adapter in their original order.
7337
7338 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
7339
7340         * docs/random/draft-missing-plugins.txt:
7341           Update: use element message instead of adding a new message
7342           type to the core; don't provide GStreamer API to initiate the
7343           plugin download, just provide API to compose the strings needed
7344           and let an external libgimmestuff handle the rest.
7345
7346 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
7347
7348         * tools/gst-inspect.c: (print_element_properties_info):
7349         Print a string instead of 'unknown type' for GValueArray properties
7350
7351 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
7352
7353         * docs/random/draft-missing-plugins.txt:
7354         More small fixes.
7355
7356 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7357
7358         * tests/examples/typefind/typefind.c: (type_found), (main):
7359           Make typefind element example work again (#371894); add a
7360           license header.
7361
7362 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7363
7364         * docs/random/draft-missing-plugins.txt:
7365           Commit initial draft about how to deal with missing plugins,
7366           needs work (API too).
7367
7368 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
7369
7370         * docs/pwg/advanced-types.xml:
7371           documents the new caps elements (see #363118)
7372
7373 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
7374
7375         * gst/gstplugin.c: (gst_plugin_load_file):
7376         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
7377         (gst_file_src_map_region), (gst_file_src_start):
7378         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
7379         (gst_file_index_commit):
7380           Use g_strerror() instead of strerror() - we want UTF-8.
7381
7382 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
7383
7384         Patch by: Peter Kjellerstedt <pkj at axis com>
7385
7386         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7387           Another printf fix (#371493).
7388
7389 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7390
7391         * tests/check/gst/gsttag.c:
7392           relicence (okay with author=company)
7393
7394 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7395
7396         * gst/gstpad.c: (gst_pad_event_default_dispatch),
7397         (gst_pad_push_event):
7398           Enhance debug and improve docs
7399         
7400         * gst/gsturi.c:
7401           Fix docs
7402
7403 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7404
7405         * docs/random/ensonic/distributed.txt:
7406         * docs/random/ensonic/profiling.txt:
7407           more ideas
7408
7409 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7410
7411         * docs/gst/gstreamer-sections.txt:
7412           add new API and fix the build
7413           
7414         * gst/gstbin.c: (gst_bin_recalc_state):
7415         * gst/gstelement.c: (gst_element_message_full),
7416         (gst_element_get_state_func), (gst_element_set_state_func):
7417           use new API and improve logging
7418         
7419         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7420         * gst/gstutils.h:
7421           API: add function to get StateChangereturn names to improve logs 
7422
7423 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7424
7425         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7426           I'm considering shooting the next person to put strerror stuff
7427           in the translateable part of the message.
7428
7429 2006-11-03  Wim Taymans  <wim@fluendo.com>
7430
7431         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7432         Get the type and printf conversion specifiers right.
7433
7434 2006-11-03  Wim Taymans  <wim@fluendo.com>
7435
7436         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7437
7438         * gst/gstpad.c: (gst_pad_init), (pre_activate),
7439         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
7440         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
7441         Some small cleanups. Improve debugging.
7442         * gst/gstpad.h:
7443         Signal all waiting threads with a broadcast instead of just one.
7444         Fixes #369942.
7445
7446 2006-11-03  Wim Taymans  <wim@fluendo.com>
7447
7448         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
7449         (gst_fd_src_create):
7450         Add some debugging. 
7451         Only update fd when it's different from the old.
7452
7453 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7454
7455         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
7456           Printf fixes for PPC/OSX, take two (#369366).
7457
7458 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7459
7460         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
7461
7462         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7463         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7464         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
7465           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
7466           don't cast to long long for portability reasons, but use
7467           GLib's types instead.
7468
7469 2006-10-30  Michael Smith  <msmith@fluendo.com>
7470
7471         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7472           Get the arguments to lseek() the right way around.
7473           Fixes 367677.
7474
7475 2006-10-30  Wim Taymans  <wim@fluendo.com>
7476
7477         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
7478
7479         * gst/gstinfo.h:
7480         _declspec should be __declspec (two underscores, not one). Fixes 366572.
7481
7482 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
7483
7484         Patch by: Kjartan Maraas  <kmaraas at gnome org>
7485
7486         * docs/design/part-MT-refcounting.txt:
7487         * docs/random/wtay/capsnego2-docs:
7488         * gst/gstclock.c:
7489         * gst/gstxml.c:
7490           Typo fixes (#366212).
7491
7492 2006-10-28  Wim Taymans  <wim@fluendo.com>
7493
7494         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7495
7496         * gst/gst.c:
7497         * win32/common/libgstbase.def:
7498         * win32/common/libgstreamer.def:
7499         * win32/vs8/libgstbase.vcproj:
7500         * win32/vs8/libgstcontroller.vcproj:
7501         Add needed entries in .def files.
7502         Use HAVE_UNISTD_H.
7503         Rearrange def files in vs8 solutions. Fixes #366286.
7504
7505 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
7506
7507         * win32/common/gstconfig.h:
7508           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
7509           hand-made win32 gstconfig.h. Fixes #366321.
7510
7511 2006-10-27  Wim Taymans  <wim@fluendo.com>
7512
7513         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
7514         (gst_ghost_pad_new_full):
7515         Make acceptcaps return TRUE when we don't have a target, just like
7516         setcaps does.
7517
7518 2006-10-27  Wim Taymans  <wim@fluendo.com>
7519
7520         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7521         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
7522
7523 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
7524
7525         * gst/gststructure.c: (gst_structure_id_set_value):
7526           If someone tries to set a non-UTF8 string field on a structure,
7527           don't just print a warning, but also ignore the request and do
7528           not change/add that field to the structure.
7529
7530         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7531           Test for the above.
7532
7533 2006-10-25  David Schleef  <ds@schleef.org>
7534
7535         * gst/gstinfo.c:
7536           g_hash_table_insert() needs a cast to a non-const pointer duh.
7537
7538 2006-10-25  David Schleef  <ds@schleef.org>
7539
7540         * gst/gstinfo.c:
7541         * gst/gstinfo.h:
7542           Change name parameter of _gst_debug_register_funcptr to const
7543           to reflect the constness of its use in the function as well
7544           as to quiet a gcc warning.
7545
7546 2006-10-25  Edward Hervey  <edward@fluendo.com>
7547
7548         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7549         Don't push the buffer if it's empty.
7550         Closes #363095
7551
7552 2006-10-24  Wim Taymans  <wim@fluendo.com>
7553
7554         * gst/gstevent.h:
7555         Add small comment.
7556
7557         * libs/gst/base/gstbasetransform.c:
7558         (gst_base_transform_sink_eventfunc):
7559         Debug segment values *after* updating them as this is more
7560         interesting.
7561
7562 2006-10-23  Wim Taymans  <wim@fluendo.com>
7563
7564         * docs/design/part-events.txt:
7565         Update some docs.
7566
7567         * docs/design/part-block.txt:
7568         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7569         (gst_pad_push_event):
7570         Revert BLOCKING patch, it tries to be smart without really having a
7571         clear idea what or how. So, now we discard all FLUSHING events again on
7572         a blocking pad. Should fix gnonlin again.
7573
7574 2006-10-23  Wim Taymans  <wim@fluendo.com>
7575
7576         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7577
7578         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7579         (gst_base_src_start), (gst_base_src_activate_push):
7580         Make sure size is always initialized. Fixes #364388.
7581
7582 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
7583
7584         * docs/random/ensonic/distributed.txt:
7585           add some ideas about doing distributed processing
7586
7587         * docs/random/ensonic/profiling.txt:
7588           get_rusage look promising
7589
7590 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
7591
7592         * docs/manual/basics-helloworld.xml:
7593           Add a cast in example to fix compile warning
7594
7595 2006-10-18  Wim Taymans  <wim@fluendo.com>
7596
7597         * gst/gstsegment.c: (gst_segment_set_last_stop),
7598         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7599         Relax arg checking again, -1 is allowed.
7600
7601 2006-10-18  Wim Taymans  <wim@fluendo.com>
7602
7603         * gst/gstsegment.c: (gst_segment_set_last_stop),
7604         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7605         _set_last_stop() must be with a value != -1
7606         A _TYPE_SET to -1 means seek to 0.
7607         Calc last_stop correctly for negative rates.
7608         Make sure we work with positive durations when updating a segment.
7609
7610 2006-10-18  Wim Taymans  <wim@fluendo.com>
7611
7612         * docs/design/part-live-source.txt:
7613         * gst/gstclock.h:
7614         Small docs fixes.
7615
7616 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
7617
7618         * gst/gstbuffer.h:
7619           Add an explicit cast to GstBuffer** to keep old code that added an
7620           explicit cast to GstMiniObject** for gst_mini_object_replace()
7621           compiling without warning.
7622
7623 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
7624
7625         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
7626           check for validity of dates
7627
7628 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
7629
7630         * docs/gst/gstreamer-sections.txt:
7631           Forgot this one, makes gtk-doc shut up.
7632
7633 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
7634
7635         Patch by: Peter Kjellerstedt <pkj at axis com>
7636
7637         * gst/gstobject.h:
7638           Don't define xmlNodePtr to gpointer if the core was built with
7639           --disable-loadsave and --disable-registry, this will break
7640           applications that want to use libxml2 but are buildling against a
7641           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
7642           instead so we don't have to mess with the libxml2 namespace
7643           (#361675).
7644
7645 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
7646
7647         * gst/gstbuffer.h:
7648           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
7649           type-punned pointer warnings.
7650
7651 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
7652
7653         * gst/gstelement.h:
7654           Add casts to the correct return type to state <=> state transition
7655           macros.
7656
7657 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
7658
7659         * docs/design/part-live-source.txt:
7660           describe howto handle latency
7661         
7662         * docs/random/ensonic/profiling.txt:
7663           more ideas
7664
7665         * tools/gst-plot-timeline.py:
7666           fix log parsing for solaris, remove unused function
7667
7668 2006-10-16  Wim Taymans  <wim@fluendo.com>
7669
7670         * docs/design/part-trickmodes.txt:
7671         * gst/gstevent.c:
7672         Update some docs regarding reverse playback.
7673
7674 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
7675
7676         Patch by: Marcus Granado  <mrc dot gran at gmail com>
7677
7678         * win32/vs8/grammar.vcproj:
7679           Error out with a warning if glib-genmarshal.exe is not in path,
7680           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
7681
7682 2006-10-13  Wim Taymans  <wim@fluendo.com>
7683
7684         * gst/gstsegment.c: (gst_segment_set_seek):
7685         When seeking to stop -1, set last_stop (current position) to the
7686         duration of the segment.
7687
7688 2006-10-13  Wim Taymans  <wim@fluendo.com>
7689
7690         * gst/gstelement.h:
7691         Clarify _NO_PREROLL a bit more.
7692
7693         * gst/gstevent.c:
7694         Fix docs.
7695
7696         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
7697         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
7698         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
7699         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
7700         due to wrong locking order. Fixes #361769.
7701         Remove some redundant/misplaced checks in pad_block.
7702
7703         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7704         For negative rates, count backwards from the duration.
7705
7706 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
7707
7708         * gst/gsterror.c: (_gst_library_errors_init):
7709           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
7710           up with something better).
7711
7712 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
7713
7714         * win32/vs6/libgstreamer.dsp:
7715         * win32/vs7/libgstreamer.vcproj:
7716         * win32/vs8/libgstreamer.vcproj:
7717           Don't reference glib-compat.c which is currently not used and not
7718           disted; add gstquark.c which was recently added. Fixes #361730.
7719
7720 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
7721
7722         * win32/common/libgstbase.def:
7723         * win32/common/libgstcontroller.def:
7724         * win32/common/libgstreamer.def:
7725           Add gst_caps_merge() and a bunch of other recently-added functions.
7726           Fixes #361732.
7727
7728 2006-10-11  Wim Taymans  <wim@fluendo.com>
7729
7730         * docs/plugins/gstreamer-plugins.args:
7731         * docs/plugins/inspect/plugin-coreelements.xml:
7732         * docs/plugins/inspect/plugin-coreindexers.xml:
7733         Update element args.
7734
7735         * gst/gstsystemclock.c:
7736         Small comment update.
7737
7738         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7739         (gst_tee_request_new_pad), (gst_tee_release_pad),
7740         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
7741         (gst_tee_sink_activate_pull):
7742         * plugins/elements/gsttee.h:
7743         Some tee loving:
7744         Add default property defines.
7745         Implement release pad function.
7746         Give properties better blubs etc.
7747         Activate pads before adding them to a running tee.
7748         Do simple buffer_alloc on the first requested pad.
7749         Post error when activation fails.
7750
7751 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
7752
7753         * gst/gst.c: (ensure_current_registry_forking):
7754           Check return value of write() to make compiler happy.
7755
7756 2006-10-11  Wim Taymans  <wim@fluendo.com>
7757
7758         Patch by: Sjoerd Simons <sjoerd at luon dot net>
7759
7760         * plugins/elements/gstqueue.c: (gst_queue_chain):
7761         Recheck queue filledness after signalling the overrun when we're about
7762         to leak downstream because we released the lock when emitting the signal
7763         and the queue could be empty again. Fixes #352345.
7764
7765 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
7766
7767         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
7768           Fix refcounting here too, just like we did for _new_valist() a few
7769           days ago (#357180) (thanks to René Stadler). Also remove all those
7770           'Since: 0.9' from the gtk-doc blobs.
7771
7772         * tests/check/libs/controller.c: (controller_refcount_new_list),
7773         (gst_controller_suite):
7774           Unit test for the above.
7775
7776 2006-10-10  Wim Taymans  <wim@fluendo.com>
7777
7778         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
7779
7780         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7781         (gst_pad_save_thyself):
7782         Update some docs.
7783         Write pad direction in XML output. Fixes #345496.
7784
7785 2006-10-10  Wim Taymans  <wim@fluendo.com>
7786
7787         Patch by: René Stadler <mail at renestadler dot de>
7788
7789         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7790         (gst_controller_new_list), (_gst_controller_dispose),
7791         (_gst_controller_finalize), (_gst_controller_class_init):
7792         Take ref to controlled object so that it cannot disappear. 
7793         Fixes #357432.
7794
7795 2006-10-10  Wim Taymans  <wim@fluendo.com>
7796
7797         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7798         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7799         (gst_check_teardown_sink_pad):
7800         Activate/deactivate pads in setup/teardown respectively.
7801
7802 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7803
7804         Patch by: Josep Torra Valles <josep@fluendo.com>
7805
7806         * gst/Makefile.am:
7807         Cast values when making gstenumtypes.h.  This pacifies Forte
7808         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
7809         in the enumeration.
7810
7811 2006-10-09  Wim Taymans  <wim@fluendo.com>
7812
7813         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
7814         Rename some more @cur to @start to fix docs. 
7815
7816         * gst/gstsegment.c: (gst_segment_set_seek):
7817         Fix typo.
7818         time and start must always stay in sync as defined in design doc.
7819
7820         * gst/gsttaglist.c: (gst_tag_list_is_empty):
7821         Rename param to fix docs.
7822
7823         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7824         Check that start and time are in sync.
7825
7826         * tests/check/pipelines/parse-launch.c:
7827         (gst_parse_test_element_change_state):
7828         Activate pad before adding to the element.
7829
7830 2006-10-09  Wim Taymans  <wim@fluendo.com>
7831
7832         * docs/design/part-qos.txt:
7833         Fix typo.
7834
7835         * gst/gstevent.c:
7836         * gst/gstevent.h:
7837         Update seek event docs regarding negative rates.
7838         Rename @cur to @start. 
7839
7840         * gst/gstsegment.c: (gst_segment_set_seek):
7841         * gst/gstsegment.h:
7842         Update set_seek docs regarding negative rates.
7843         Correctly update last_stop to @stop when dealing with negative
7844         rates.
7845         Rename @cur to @start. 
7846
7847         * tests/check/gst/gstpad.c: (GST_START_TEST):
7848         Activate pads before trying to use them.
7849
7850         * tests/check/gst/gstsegment.c: (GST_START_TEST),
7851         (gst_segment_suite):
7852         Add simple check for segments and negative rates.
7853
7854 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
7855
7856         * gst/gsttaglist.c: (gst_tag_list_is_empty):
7857         * gst/gsttaglist.h:
7858         * docs/gst/gstreamer-sections.txt:
7859           API: add gst_tag_list_is_empty() (#360467).
7860
7861         * tests/check/gst/gsttag.c: (GST_START_TEST):
7862           And a test case.
7863
7864 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7865
7866         * gst/gstmessage.h:
7867         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
7868         a value that doesn't fit on enumeration.
7869
7870 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7871
7872         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7873         Remove local debugging system and use Gstreamer's instead.
7874
7875 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7876
7877         Patch by: Josep Torra Valles <josep@fluendo.com>
7878
7879         * common/m4/gst-error.m4:
7880         Disable warning of statement not reached on Forte.
7881         * gst/gstmessage.h:
7882         Fix warning on Forte (value doesn't fit on enumeration).
7883         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
7884         Fix warning on Forte (value doesn't fit on enumeration).
7885         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7886         DEBUG macro says it takes minimum of 2 args and so Forte
7887         complains about the use with just 1 arg.
7888         * plugins/elements/gstfdsink.c:
7889         * plugins/elements/gstfdsrc.c:
7890         * plugins/elements/gstfilesink.c:
7891         * plugins/elements/gstfilesrc.c:
7892         Use correct return type for the uri handler implementations.
7893
7894         All these fix warnings in Forte.  Fixes bug #360860.
7895
7896 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
7897
7898         * gst/gstelement.h:
7899           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
7900           format string, so don't use G_GNUC_PRINTF for those versions.
7901
7902 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
7903
7904         * gst/gsttaglist.c: (gst_is_tag_list):
7905         * gst/gsttaglist.h:
7906           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
7907
7908         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7909           Small test for the above.
7910
7911 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
7912
7913         * gst/gsttaglist.h:
7914           Less tabs, more spaces.
7915
7916 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
7917
7918         * gst/gstinfo.h:
7919           Those two function declarations do actually belong there, revert
7920           commit from yesterday that turned them intro macros.
7921
7922 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7923
7924         Patch by: Josep Torra Valles <josep@fluendo.com>
7925
7926         * gst/gst.c: (gst_init_get_option_group):
7927         Fix empty declaration and type mismatch.
7928         * gst/gstbin.c: (gst_bin_change_state_func):
7929         Fix type mismatch.
7930         * gst/gstelement.c: (gst_element_continue_state),
7931         (gst_element_set_state_func), (gst_element_change_state),
7932         (gst_element_change_state_func):
7933         Fix type mismatches.
7934         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
7935         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
7936         Cast as appropriate.
7937         * gst/gstobject.c: (gst_class_signal_connect):
7938         Cast as appropriate.  The function pointer parameter really
7939         has the wrong type but would break API if we change it.
7940         * gst/gstquery.c:
7941         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
7942         order of including string.h.
7943         * gst/gstutils.c: (gst_element_state_get_name):
7944         Remove unreachable line.
7945         * gst/gstxml.c: (gst_xml_parse_doc):
7946         Fix type mismatch.
7947         All these caught by Forte.
7948
7949 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7950
7951         Patch by: Josep Torra Valles <josep@fluendo.com>
7952
7953         * common/m4/gst-error.m4:
7954         Fixed bug #360151.
7955         We need to disable warnings on Forte for empty declarations
7956         due to gst-indent adding ;s to lines that just use macros
7957         where the macro actually doesn't need a ; at end to end
7958         statement.
7959
7960 2006-10-06  Wim Taymans  <wim@fluendo.com>
7961
7962         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7963         (gst_file_sink_close_file), (gst_file_sink_event),
7964         (gst_file_sink_render):
7965         Add some FIXME for the NEWSEGMENT handling.
7966
7967 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7968
7969         * gst/parse/grammar.y:
7970         Remove static function gst_parse_element_lock as all it does
7971         is return.  Looks like cruft from 0.8.
7972
7973 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7974
7975         Patch by: Josep Torra Valles <josep@fluendo.com>
7976
7977         * common/m4/gst-error.m4:
7978         * configure.ac:
7979         * libs/gst/net/Makefile.am:
7980         Fix a compilation issue with Forte on Solaris.  inet_aton is in
7981         libresolv.
7982
7983 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
7984
7985         * gst/gstpad.c: (pre_activate):
7986         * gst/gstregistry.c: (gst_registry_scan_path_level):
7987         * gst/gstregistryxml.c: (load_plugin):
7988         * libs/gst/controller/gstcontroller.c:
7989         (gst_controlled_property_set_interpolation_mode):
7990         * libs/gst/dataprotocol/dataprotocol.c:
7991         (gst_dp_packet_from_event_1_0):
7992         * libs/gst/net/gstnetclientclock.c:
7993         (gst_net_client_clock_observe_times):
7994         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7995           Printf fixes.
7996
7997 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
7998
7999         * configure.ac:
8000         * docs/gst/gstreamer-sections.txt:
8001         * gst/gstconfig.h.in:
8002         * gst/gstelement.h:
8003         * gst/gstinfo.h:
8004           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
8005           whether we can use G_GNUC_PRINTF in other header files and at
8006           least check the printf format/arguments of debug messages and
8007           GST_ELEMENT_ERROR messages when the printf extension is not
8008           being used.
8009           Replace more tabs with spaces in gstinfo.h and remove two spurious
8010           function declarations in GST_DISABLE_DEBUG part with macros.
8011
8012 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
8013
8014         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
8015           More docs for the sync-message signal (mention that it is not
8016           emitted by default); log message structures of messages posted on
8017           the bus as well.
8018
8019 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
8020
8021         * gst/gst.c: (ensure_current_registry_forking):
8022         Use a pipe pair to receive status results from the forked child, and
8023         ignore the result from waitpid. Fixes #355499
8024
8025 2006-10-02  Wim Taymans  <wim@fluendo.com>
8026
8027         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8028         (gst_ghost_pad_suite):
8029         Fix leak in check.
8030
8031 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
8032
8033         * gst/gstpad.c:
8034           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
8035
8036 2006-10-02  Edward Hervey  <edward@fluendo.com>
8037
8038         * docs/design/part-block.txt:
8039         Further explain the use of flushing on blocked pads.
8040         * docs/gst/gstreamer-sections.txt:
8041         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8042         (gst_pad_push_event):
8043         * gst/gstpad.h:
8044         Added new GstPadFlag : GST_PAD_BLOCKING.
8045         Adds the notion of pads really blocking, which enables to properly
8046         handle FLUSH_START/FLUSH_STOP events on blocked pads.
8047         Fixes #358999
8048         API: gst_pad_is_blocking()
8049         API: GST_PAD_IS_BLOCKING() macro
8050         API: GST_PAD_BLOCKING GstPadFlag
8051         
8052 2006-10-02  Wim Taymans  <wim@fluendo.com>
8053
8054         Patch by: mrcgran <mrc.gran at gmail dot com>
8055
8056         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
8057         Filter the proxied caps against the padtemplate if we have one.
8058
8059         * gst/gstquery.c: (gst_query_new_segment):
8060         Add include for gstinfo.h so that compilation with
8061         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
8062
8063 2006-10-02  Wim Taymans  <wim@fluendo.com>
8064
8065         Patch by: Alessandro Decina  <alessandro at nnva org>
8066
8067         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
8068         (gst_file_sink_set_location), (gst_file_sink_open_file),
8069         (gst_file_sink_close_file), (gst_file_sink_event),
8070         (gst_file_sink_render):
8071         Set file to NULL when closing filesink so that we can set a new filename
8072         in READY. Fixes #358613.
8073
8074 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
8075
8076         Patch by: Alessandro Decina  <alessandro at nnva org>
8077
8078         * gst/gstevent.c: (_gst_event_copy):
8079           Fix gst_mini_object_make_writable() and gst_event_copy() for events
8080           with event structures by setting the parent refcount address of the
8081           copied structure to the address of the refcount member of the newly
8082           copied event rather than the address of the refcount member of the
8083           original event. Fixes #358737.
8084
8085         * tests/check/gst/gstevent.c: (GST_START_TEST):
8086           Unit test for the above.
8087
8088 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
8089
8090         * docs/design/Makefile.am:
8091           Dist some more files.
8092
8093 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
8094
8095         * tests/check/libs/controller.c: (GST_START_TEST),
8096         (gst_controller_suite):
8097           Add test for the previous fix; add some more tests
8098           for correct refcounting behaviour; fix a few leaks
8099           in test cases; call gst_controller_init() at start
8100           of all tests.
8101
8102 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
8103
8104         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8105         (gst_controller_set_from_list):
8106           Don't g_return_val_if_fail() on timed values with invalid timestamps
8107           inside a critical section without unlocking the mutex. Spotted by
8108           René Stadler. (#357617)
8109           Also, fix up refcounting properly: when returning an existing
8110           controller, we should increase the reference only once and not
8111           once per property and when trying to control a property again
8112           we should also increase the refcount.
8113
8114 2006-09-29  Wim Taymans  <wim@fluendo.com>
8115
8116         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8117         * libs/gst/net/gstnettimeprovider.c:
8118         (gst_net_time_provider_thread):
8119         Stop reading commands when EOF as well.
8120
8121         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8122         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8123         * plugins/elements/gstidentity.c: (gst_identity_class_init):
8124         Unify description of the dump property.
8125
8126 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8127
8128         * tests/examples/manual/.cvsignore:
8129         OK, so it's actually cvsignore that needs changing. Stop laughing.
8130
8131 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8132
8133         * tests/examples/manual/Makefile.am:
8134         Gah, declare vars *before* using them
8135
8136 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8137
8138         * gst/gst.c: (init_pre), (scan_and_update_registry),
8139         (ensure_current_registry_nonforking),
8140         (ensure_current_registry_forking), (ensure_current_registry),
8141         (init_post), (gst_debug_help), (gst_deinit):
8142         * gst/gst_private.h:
8143         * gst/gstregistry.c: (gst_registry_finalize),
8144         (gst_registry_remove_features_for_plugin_unlocked),
8145         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8146         (gst_registry_scan_path),
8147         (_priv_gst_registry_remove_cache_plugins),
8148         (_priv_gst_registry_cleanup):
8149         * gst/gstregistry.h:
8150         Re-commit the registry changes, along with an extra fix:
8151           When a cached plugin is encountered at a different file path,
8152           update the stored path in the registry cache so that the parent
8153           process knows where it actually is now when it re-reads the registry
8154           cache. Fixes the thing that broke distcheck with the previous commit.
8155
8156         * tests/check/Makefile.am:
8157         Clean up files named 'core' too when running make clean.
8158
8159         * tests/examples/manual/Makefile.am:
8160         Set up a registry path for running these tests, and clean it properly
8161         for distcheck.
8162
8163 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8164
8165         * configure.ac:
8166         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
8167         want gmodule-no-export-2.0.pc instead so that we don't drag in
8168         --export-dynamic on every project that links to GStreamer.
8169
8170         Also, make our export regex only match the start of symbols, rather 
8171         than any symbol that contains '_gst' somewhere.
8172
8173         * libs/gst/check/Makefile.am:
8174         The libgstcheck we build does however need export-dynamic, as it
8175         produces some symbols that don't match our _gst... style regex.
8176         Fixes: #318031
8177
8178 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
8179
8180         * gst/gst.c: (init_pre), (scan_and_update_registry),
8181         (ensure_current_registry_nonforking),
8182         (ensure_current_registry_forking), (ensure_current_registry),
8183         (init_post), (gst_debug_help), (gst_deinit):
8184         * gst/gst_private.h:
8185         * gst/gstregistry.c: (gst_registry_finalize),
8186         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8187         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
8188         (_gst_registry_cleanup):
8189         * gst/gstregistry.h:
8190           Revert previous change until I figure out why it breaks distcheck.
8191
8192 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
8193
8194         * gst/gst.c: (init_pre), (scan_and_update_registry),
8195         (ensure_current_registry_nonforking),
8196         (ensure_current_registry_forking), (ensure_current_registry),
8197         (init_post), (gst_debug_help), (gst_deinit):
8198
8199           Make init_pre and init_post take the full complement of GOptionFunc
8200           args so they can return useful GErrors. Make the registry updating
8201           functions do so.
8202
8203           Call _priv_gst_registry_remove_cache_plugins after scanning files to
8204           ensure that the registry we're about to write out doesn't contain
8205           stale information about old-deleted plugin files.
8206
8207           Make _priv_gst_registry_remove_cache_plugins return a boolean so
8208           that deletion of plugin files is considered a registry change.
8209
8210         * gst/gst_private.h:
8211         * gst/gstregistry.c: (gst_registry_finalize),
8212         (gst_registry_remove_features_for_plugin_unlocked),
8213         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8214         (gst_registry_scan_path),
8215         (_priv_gst_registry_remove_cache_plugins),
8216         (_priv_gst_registry_cleanup):
8217         * gst/gstregistry.h:
8218         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
8219         by adding _priv prefix, so that they won't appear in the global
8220         symbol table. They still do atm though because of #318031. Move the
8221         prototypes to gst_private.h
8222
8223         When removing a plugin, remove all features for that plugin too. 
8224         Fixes #340878.
8225
8226 2006-09-27  Wim Taymans  <wim@fluendo.com>
8227
8228         * docs/random/moving-plugins:
8229         Make it clear that the "compiled-in descriptions" really mean
8230         the element details.
8231
8232         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8233         (gst_base_sink_wait_preroll):
8234         Update docs.
8235
8236         * docs/libs/gstreamer-libs-sections.txt:
8237         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8238         (gst_base_src_get_range), (gst_base_src_activate_push):
8239         * libs/gst/base/gstbasesrc.h:
8240         Added function to block while waiting for PLAYING, this function
8241         is used by live sources that block on the clock.
8242         API: gst_base_src_wait_playing()
8243
8244 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
8245
8246         Patch by: Peter Kjellerstedt <pkj at axis com>
8247
8248         * Makefile.am:
8249           gst-element-check.m4 is generated and should therefore be
8250           copied from the build dir rather than the source dir (#357593).
8251           'make distcheck' hasn't noticed this because we were disting
8252           the file as well, so stop doing that.
8253
8254 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
8255
8256         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8257           Add some tests for gst_caps_intersect().
8258
8259         * tools/gst-launch.c: (event_loop):
8260           Print all buffering percentages we get, even the 100% one.
8261
8262 2006-09-26  Wim Taymans  <wim@fluendo.com>
8263
8264         * tools/gst-inspect.c: (print_element_properties_info),
8265         (print_signal_info):
8266         Fix printing of flags to match the look of enums.
8267
8268 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8269
8270         * gst/gstelementfactory.c:
8271           Fix typo in docs blurb.
8272
8273 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8274
8275         * gst/gsturi.c: (search_by_entry):
8276           Don't assert/crash here if a uri handler doesn't return any
8277           supported protocols. The list of protocols could be generated
8278           dynamically at runtime or at plugin registration, and an error
8279           in the underlying library shouldn't be fatal (#353301).
8280
8281 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8282
8283         * gst/gstinfo.c:
8284           Fix warning if HAVE_PRINTF_EXTENSION is undefined
8285           (spotted by Peter Kjellerstedt).
8286
8287 2006-09-23  Wim Taymans  <wim@fluendo.com>
8288
8289         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
8290
8291         * libs/gst/base/gstbasesrc.c:
8292         (gst_base_src_default_check_get_range), (gst_base_src_start),
8293         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8294         (gst_base_src_change_state):
8295         Match _start/_stop calls in the activate functions. Remove redundant
8296         _stop call from the state change function. Fixes #356910.
8297         Turn failure DEBUG into ERROR. 
8298
8299 2006-09-22  Wim Taymans  <wim@fluendo.com>
8300
8301         * docs/design/part-buffering.txt:
8302         * gst/gstmessage.c: (gst_message_new_buffering),
8303         (gst_message_parse_buffering):
8304         Update docs about buffering.
8305
8306         * docs/design/part-trickmodes.txt:
8307         Fix typo.
8308
8309 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
8310
8311         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8312         (gst_controller_new_list):
8313           Ref instances when returning them again (fixes #357180)
8314
8315 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
8316
8317         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
8318           Don't forget to release proxy lock when there's an error.
8319
8320 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
8321
8322         * gst/gstcaps.h:
8323           Add extra initialisers for Caps things, to fix some plugin warnings
8324           when using -Wextra
8325
8326 2006-09-18  Wim Taymans  <wim@fluendo.com>
8327
8328         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8329           Also set template on the internal pad so that a getcaps from the 
8330           target pad returns the template caps.
8331
8332 2006-09-18  Wim Taymans  <wim@fluendo.com>
8333
8334         * gst/gstelement.c: (gst_element_post_message),
8335         (gst_element_dispose):
8336         Use _DEBUG_OBJECT some more.
8337
8338         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8339         Avoid typechecks.
8340
8341         * tools/gst-launch.c: (main):
8342         If the toplevel element is not a GstPipeline, it must be put in a
8343         pipeline so that a bus and clock is selected.
8344
8345 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
8346
8347         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8348           JITTER, RATE, and LATENCY query should be handled by the
8349           default case and not by the CONVERT query code.
8350
8351 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
8352
8353         * gst/gstformat.c: (gst_format_register):
8354           Fix locking order (must take lock before using n_values).
8355
8356         * gst/gstvalue.c: (gst_value_serialize_enum),
8357         (gst_value_deserialize_enum_iter_cmp),
8358         (gst_value_deserialize_enum):
8359           Fix serialisation/deserialisation of custom registered GstFormats.
8360
8361         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8362           Unit test for custom format serialisation/deserialisation.
8363
8364 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
8365
8366         * docs/pwg/building-boiler.xml:
8367         * plugins/elements/gstcapsfilter.c:
8368         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
8369         section.
8370
8371 2006-09-16  Edward Hervey  <edward@fluendo.com>
8372
8373         * libs/gst/base/gstbasetransform.c:
8374         (gst_base_transform_buffer_alloc):
8375         Check if requested caps are the same as the sinks caps IF
8376         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
8377         is FALSE.
8378         This fixes the renegotiation issues stated in #352827.
8379
8380 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8381
8382         * configure.ac:
8383         * docs/manual/advanced-autoplugging.xml:
8384         * tests/examples/Makefile.am:
8385         * tests/examples/manual/.cvsignore:
8386         * tests/examples/manual/Makefile.am:
8387         * tests/examples/manual/extract.pl:
8388           Extract the manual examples again like we used to do.
8389           Fix one of them.
8390
8391 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8392
8393         * win32/common/config.h:
8394           update for version
8395
8396 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
8397
8398         * gst/gsterror.c:
8399           Documents how to receive errors.
8400
8401 2006-09-15  Wim Taymans  <wim@fluendo.com>
8402
8403         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
8404         (event_loop), (main):
8405         Added some comments here and there.
8406         Post an application message when an interrupt is caught instead of doing
8407         an uncontrolled state change.
8408         Clean up the event loop.
8409         Handle buffering messages, pause/resume the pipeline.
8410         Make shutdown because of an interrupt more reliable.
8411
8412 2006-09-15  Wim Taymans  <wim@fluendo.com>
8413
8414         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8415         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
8416         (gst_base_sink_preroll_object):
8417         Make sure that our internal state is correct when we commit our state
8418         asynchronously. This solves a race where a state change to PLAYING
8419         could cause the sink to remain blocked in preroll in some situations.
8420
8421 2006-09-15  Wim Taymans  <wim@fluendo.com>
8422
8423         * tools/gst-inspect.c: (print_element_properties_info),
8424         (print_signal_info):
8425         List flags as hex so it's easier to deal with.
8426
8427 2006-09-15  Wim Taymans  <wim@fluendo.com>
8428
8429         * docs/libs/gstreamer-libs-sections.txt:
8430         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
8431         (gst_base_sink_do_sync):
8432         * libs/gst/base/gstbasesink.h:
8433         Expose logic to wait for preroll so that subclasses such as audiosink
8434         can also use this method.
8435         API: gst_base_sink_wait_preroll()
8436
8437 2006-09-15  Wim Taymans  <wim@fluendo.com>
8438
8439         * gst/gstobject.c: (gst_object_set_parent):
8440         * gst/gstpipeline.c: (do_pipeline_seek):
8441         Small cleanups in docs and code.
8442
8443         * gst/gstsegment.c: (gst_segment_clip):
8444         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8445         if stop == start and start is in the segment, no clipping should be
8446         done. Also add a test for this.
8447
8448 2006-09-15  Wim Taymans  <wim@fluendo.com>
8449
8450         * docs/design/part-buffering.txt:
8451         * docs/gst/gstreamer-sections.txt:
8452         * gst/gstmessage.c: (gst_message_new_buffering),
8453         (gst_message_parse_buffering):
8454         * gst/gstmessage.h:
8455         Added methods to create and parse BUFFERING messages.
8456         Added preliminary docs about buffering.
8457         API: gst_message_new_buffering
8458         API: gst_message_parse_buffering
8459
8460 2006-09-06  Wim Taymans  <wim@fluendo.com>
8461
8462         * gst/gstbin.c:
8463         Update documentation.
8464
8465         * gst/gstelement.c: (gst_element_class_init),
8466         (gst_element_release_request_pad), (gst_element_set_clock),
8467         (gst_element_get_index), (gst_element_add_pad),
8468         (gst_element_remove_pad), (gst_element_get_random_pad),
8469         (gst_element_send_event), (gst_element_get_query_types),
8470         (gst_element_query), (gst_element_post_message),
8471         (gst_element_message_full), (gst_element_continue_state),
8472         (gst_element_lost_state), (gst_element_save_thyself),
8473         (gst_element_restore_thyself):
8474         Documentation updates.
8475         Rename last bit of the new-pad -> pad-added signal rename.
8476         Fix the case where an element query would only work if the source
8477         pad was linked.
8478         Avoid some useless type checking in message handling.
8479
8480         * gst/gstevent.c:
8481         * gst/gstevent.h:
8482         * gst/gstutils.c:
8483         Documentation updates.
8484
8485 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8486
8487         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8488           add an INFO line for when we actually update the fd
8489
8490 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8491
8492         * configure.ac:
8493           back to TRUNK
8494
8495 === release 0.10.10 ===
8496
8497 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
8498
8499         * configure.ac:
8500           releasing 0.10.10, "Pais"
8501
8502 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
8503
8504         * docs/manual/advanced-position.xml:
8505           Fix typo in sample code.
8506
8507 2006-09-05  Wim Taymans  <wim@fluendo.com>
8508
8509         * libs/gst/net/gstnetclientclock.c: (inet_aton),
8510         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8511         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
8512         * libs/gst/net/gstnetclientclock.h:
8513         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8514         * libs/gst/net/gstnettimepacket.h:
8515         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
8516         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
8517         (gst_net_time_provider_thread), (gst_net_time_provider_new):
8518         * libs/gst/net/gstnettimeprovider.h:
8519         Make stuff compile on windows. Fixes #345295.
8520
8521 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
8522
8523         * gst/gst.c: (ensure_current_registry_forking):
8524           Print better details when child was terminated by signal.
8525
8526 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
8527
8528         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
8529           Print a warning rather than g_assert() if a plugin feature
8530           is a URI handler but returns no protocols (#353976).
8531
8532 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
8533
8534         * docs/random/moving-plugins:
8535         Fix two typos.         
8536
8537 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
8538
8539         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
8540           Fix locking order, handle NULL function values properly.
8541
8542         * gst/gstinfo.h:
8543           Fix docs.
8544
8545         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
8546           Initialise variable before using it and fix debug statement to
8547           print the address of the function rather than the address of the
8548           variable on the stack holding the address of the function.
8549
8550 2006-09-01  Wim Taymans  <wim@fluendo.com>
8551
8552         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
8553         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
8554         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8555         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
8556         (gst_ghost_pad_parent_unset),
8557         (gst_ghost_pad_internal_do_activate_push),
8558         (gst_ghost_pad_internal_do_activate_pull),
8559         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8560         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8561         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8562         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
8563         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
8564         (gst_ghost_pad_new_no_target_from_template),
8565         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8566         More cleanups.
8567         Avoid needless typechecking in macros.
8568         Since the internal pad is always present and never changes, there is
8569         no need to locking or ref when retrieving it.
8570         Improve debugging a bit.
8571         Handle link errors when setting the target. Fixes #341029.
8572
8573 2006-09-01  Wim Taymans  <wim@fluendo.com>
8574
8575         * docs/libs/gstreamer-libs-sections.txt:
8576         * docs/plugins/gstreamer-plugins-sections.txt:
8577         Fix docs some more.
8578
8579         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8580         (gst_collect_pads_event):
8581         * libs/gst/base/gstcollectpads.h:
8582         Documentation updates.
8583         Free queued buffer when removing a pad.
8584
8585 2006-08-31  Michael Smith  <msmith@fluendo.com>
8586
8587         * gst/gstutils.c: (gst_element_link_pads),
8588         (gst_element_link_pads_filtered):
8589           Ensure that we set a capsfilter to NULL if we failed to link it
8590           when doing filtered linking, to avoid criticals.
8591
8592           No need to check for unreffing srcpad, which is explicly NULLed
8593           above (a trivial code cleanup).
8594
8595 2006-08-31  Wim Taymans  <wim@fluendo.com>
8596
8597         * docs/design/part-gstghostpad.txt:
8598         Update ascii art in documentation.
8599
8600         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
8601         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
8602         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8603         (gst_ghost_pad_internal_do_activate_push),
8604         (gst_ghost_pad_internal_do_activate_pull),
8605         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8606         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8607         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
8608         (gst_ghost_pad_set_target):
8609         Small cleanups and leak fixes.
8610         Remove some checks now that the internal pad is never NULL.
8611         Fix the case where linking pads without a target would create nasty
8612         criticals. Fixes #341029.
8613         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
8614         value of _set_target().
8615
8616         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8617         (gst_ghost_pad_suite):
8618         Some more tests for creating and linking untargeted ghostpads.
8619
8620 2006-08-31  Edward Hervey  <edward@fluendo.com>
8621
8622         * docs/gst/gstreamer-sections.txt:
8623         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
8624         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8625         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
8626         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
8627         (gst_ghost_pad_new_from_template),
8628         (gst_ghost_pad_new_no_target_from_template):
8629         * gst/gstghostpad.h:
8630         Refactored *_new() functions.
8631         Templates are now used as a g_object_new() parameter.
8632         Use template in _do_getcaps() if we don't have a target.
8633         Small documentation cleanups.
8634         Added two new constructors:
8635         gst_ghost_pad_new_from_template()
8636         gst_ghost_pad_new_no_target_from_template()
8637         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8638         (gst_ghost_pad_suite):
8639         Added tests for new ghostpad instanciation functions.
8640
8641         API additions: gst_ghost_pad_new_from_template,
8642         gst_ghost_pad_new_no_target_from_template
8643
8644 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
8645
8646         * docs/random/ensonic/profiling.txt:
8647           Ideas about qos profiling.
8648
8649 2006-08-29  Wim Taymans  <wim@fluendo.com>
8650
8651         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
8652         Code cleanups.
8653         Fix memleak.
8654
8655 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
8656
8657         * gst/gstxml.c:
8658           Improve and detypofy docs.
8659
8660         * tests/check/Makefile.am:
8661         * tests/check/gst/.cvsignore:
8662         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
8663           Add a basic test suite for GstXML.
8664
8665 2006-08-29  Wim Taymans  <wim@fluendo.com>
8666
8667         * gst/gstelement.c: (activate_pads), (clear_caps),
8668         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8669         Clear the pad caps when the element shut down all of the pads and
8670         is not streaming data that could modify the caps. 
8671         Fixes #352958.
8672
8673 2006-08-28  Michael Smith  <msmith@fluendo.com>
8674
8675         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8676           Revert previous change; I misunderstood single-segment mode.
8677
8678 2006-08-28  Michael Smith  <msmith@fluendo.com>
8679
8680         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8681           Unset DISCONT on buffers when using single-segment mode.
8682
8683 2006-08-28  Wim Taymans  <wim@fluendo.com>
8684
8685         * gst/gstcaps.c: (gst_caps_merge_structure):
8686         * gst/gstcaps.h:
8687         Fix docs and indentation again.
8688
8689         * tests/check/gst/gstquery.c: (GST_START_TEST):
8690         Fix leak in tests and add some more tests.
8691
8692 2006-08-28  Edward Hervey  <edward@fluendo.com>
8693
8694         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8695         Inform GstSegment of the last stop position in order for the current
8696         segment to have a proper duration if it doesn't have a specific stop
8697         position from which a duration could be calculated.
8698         This bug was noticeable when a non-flushing, non-update new segment was
8699         followed by another segment (all buffers from the new segment were being
8700         dropped).
8701
8702 2006-08-28  Wim Taymans  <wim@fluendo.com>
8703
8704         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8705         Small comment update.
8706
8707         * plugins/elements/gstidentity.c: (gst_identity_class_init),
8708         (gst_identity_transform_ip):
8709         Drop-probability is broken, mention this in the code with a 
8710         FIXME and also in the property description.
8711         Make silent also be silent about the drop messages.
8712
8713 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
8714
8715         * docs/manual/appendix-win32.xml:
8716           Remove mention of popt, we don't depend on that any
8717           longer (#353136). Add some comments pointing out that
8718           this section is slightly outdated.
8719
8720 2006-08-28  Wim Taymans  <wim@fluendo.com>
8721
8722         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8723
8724         * gst/gstquery.c: (gst_query_new_segment):
8725         * tests/check/gst/gstquery.c: (GST_START_TEST):
8726         Initialize variables when creating a new segment query.
8727         Fixes #353121.
8728
8729 2006-08-28  Wim Taymans  <wim@fluendo.com>
8730
8731         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8732
8733         * gst/gstelement.c: (gst_element_get_bus):
8734         * tests/check/gst/gstelement.c: (GST_START_TEST):
8735         Check for NULL before _reffing the bus. Fixes #353122.
8736
8737 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
8738
8739         * docs/manual/basics-bus.xml:
8740           Docs update: fix wrong callback return value explanation; add
8741           some lines about the implicit relationship between main loop
8742           and main context; remove duplicate main loop variable declaration.
8743
8744 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
8745
8746         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8747           Don't leak caps in unit test; add a few more simple
8748           checks. 
8749
8750 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
8751
8752         * docs/gst/gstreamer-sections.txt:
8753         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
8754         (gst_caps_structure_is_subset), (gst_caps_merge),
8755         (gst_caps_merge_structure):
8756         * gst/gstcaps.h:
8757         * libs/gst/base/gstbasetransform.c:
8758         (gst_base_transform_transform_caps):
8759         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8760           implement caps merging (fixes #352580)
8761
8762 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
8763
8764         * tools/Makefile.am:
8765         * tools/gst-plot-timeline.py:
8766           add debug-log plotting developer tool (#340674)
8767
8768 2006-08-23  Wim Taymans  <wim@fluendo.com>
8769
8770         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
8771         (gst_pad_stop_task):
8772         Improve debugging for task functions.
8773
8774         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
8775         (gst_task_start), (gst_task_pause), (gst_task_join):
8776         Make sure that the task function started and finished after a 
8777         join(). 
8778         Don't try to push the task function on the threadpool multiple
8779         times.
8780         Improve the g_warning message with some useful suggestions
8781         about how to fix the problem. 
8782
8783 2006-08-23  Wim Taymans  <wim@fluendo.com>
8784
8785         * gst/gstutils.c: (gst_pad_proxy_getcaps):
8786         Handle RESYNC correctly in _proxy_getcaps.
8787
8788 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
8789
8790         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
8791         (gst_xml_parse_memory), (gst_xml_get_element):
8792           Chain up to parent class in dispose function and also
8793           unref the elements in the toplevel_elements GList.
8794           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
8795           Always return a reference in gst_xml_get_element() rather
8796           than only sometimes.
8797
8798         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8799           Don't leak GstXml object.
8800
8801 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
8802
8803         * docs/gst/gstreamer-sections.txt:
8804         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
8805         (gst_caps_merge):
8806         * gst/gstcaps.h:
8807         * libs/gst/base/gstbasetransform.c:
8808         (gst_base_transform_transform_caps):
8809           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
8810           in a better way
8811
8812 2006-08-21  Edward Hervey  <edward@fluendo.com>
8813
8814         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
8815         Implement GObject::dispose virtual method in GstXML so we can free the
8816         top_elements GList.
8817
8818 2006-08-21  Wim Taymans  <wim@fluendo.com>
8819
8820         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
8821         (gst_buffer_create_sub):
8822         Copy duration/offset_end/caps when creating a subbuffer of the
8823         complete parent.
8824         Make the subbuffer read-only when we make the metadata writable for
8825         now. Fixes #351768.
8826
8827         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8828         Added check for metadata copy when creating subbuffers.
8829
8830 2006-08-21  Edward Hervey  <edward@fluendo.com>
8831
8832         * libs/gst/base/gstbasetransform.c:
8833         (gst_base_transform_buffer_alloc):
8834         Only call downstream buffer_alloc if transform element is passthrough
8835         or always_in_place. Closes #350449.
8836
8837 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8838
8839         * ChangeLog:
8840           ChangeLog surgery to add comments to previous changes
8841
8842 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8843
8844         * gst/gst.c:
8845           Add comments
8846
8847         * gst/gstpad.c: (gst_pad_set_active):
8848           Be more verbose in the log
8849
8850         * libs/gst/base/gstbasetransform.c:
8851         (gst_base_transform_transform_caps):
8852           Simplify caps to get rid of duplicates, fixes #345444
8853
8854 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8855
8856         * gst/gstvalue.c:
8857         * gst/gstvalue.h:
8858           Use these optimizations only internally.
8859
8860 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8861
8862         * gst/gstvalue.c: (gst_value_compare_list),
8863         (gst_value_compare_fraction_range),
8864         (gst_value_intersect_fraction_fraction_range),
8865         (gst_value_intersect_fraction_range_fraction_range),
8866         (gst_value_subtract_fraction_fraction_range),
8867         (gst_value_subtract_fraction_range_fraction_range),
8868         (gst_value_get_compare_func), (gst_value_compare),
8869         (gst_value_compare_with_func):
8870         * gst/gstvalue.h:
8871           Saves the expensive lookup of the compare function in many cases
8872          (#345444)
8873
8874 2006-08-18  Edward Hervey  <edward@fluendo.com>
8875
8876         * tests/check/gst/gstinfo.c: (gst_info_suite):
8877         Disable test that require gstdebug if it wasn't built in core.
8878
8879 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
8880
8881         * docs/random/ensonic/logging.txt:
8882           update ideas
8883           
8884         * gst/gstinfo.c: (gst_debug_log_default):
8885           reorder fields, save some columns, add optional color codes for log
8886           levels
8887
8888 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
8889
8890         * docs/random/ensonic/logging.txt:
8891           add ideas about making the logs a bit more useful
8892
8893 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
8894
8895         * docs/pwg/advanced-events.xml:
8896         * docs/pwg/titlepage.xml:
8897           Update for 0.10 API (#340627). Add myself
8898           to authors list.
8899
8900 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
8901
8902         * docs/libs/gstreamer-libs-docs.sgml:
8903         * docs/libs/gstreamer-libs-sections.txt:
8904         * libs/gst/check/gstbufferstraw.c:
8905           Make gstcheck stuff show up in docs (still needs to
8906           be documented properly though).
8907
8908 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
8909
8910         * docs/gst/gstreamer-sections.txt:
8911         * gst/Makefile.am:
8912         * gst/gst.c: (init_post):
8913         * gst/gst_private.h:
8914         * gst/gstquark.c: (_priv_gst_quarks_initialize):
8915         * gst/gstquark.h:
8916         * gst/gstquery.c: (gst_query_new_position),
8917         (gst_query_set_position), (gst_query_parse_position),
8918         (gst_query_new_duration), (gst_query_set_duration),
8919         (gst_query_parse_duration), (gst_query_new_convert),
8920         (gst_query_set_convert), (gst_query_parse_convert),
8921         (gst_query_new_segment), (gst_query_set_segment),
8922         (gst_query_parse_segment), (gst_query_new_seeking),
8923         (gst_query_set_seeking), (gst_query_parse_seeking):
8924         Add internal helpers for pre-registering quarks from static strings
8925         and using the quark values directly instead of looking them up when
8926         creating and parsing queries. Can be used for event construction too.
8927         Closes #350432.
8928
8929 2006-08-16  Wim Taymans  <wim@fluendo.com>
8930
8931         * gst/gstbin.c:
8932         Fix bogus docs.
8933
8934 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8935
8936         * gst/gstutils.c: (gst_util_set_value_from_string):
8937           Fix memleak (#351502).
8938
8939         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8940           Add unit test for most of gst_util_set_value_from_string()
8941           (not that one would want to encourage use of this function).
8942
8943 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8944
8945         * libs/gst/check/gstcheck.h:
8946           Use const gchar * variables in fail_unless_equals_string
8947           macro to avoid compiler warnings (and don't use tabs for
8948           indenting).
8949
8950 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8951
8952         * tools/gst-launch.c: (print_tag):
8953           More space on the left for the tag names, to cater
8954           for the 'extended comment' tag (not touching the
8955           string for the first line since it's translated).
8956
8957 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8958
8959         * libs/gst/check/gstcheck.h:
8960           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
8961           print something when they fail.
8962
8963 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8964
8965         * docs/gst/gstreamer-sections.txt:
8966         * gst/gsttaglist.c: (_gst_tag_initialize):
8967         * gst/gsttaglist.h:
8968           API: add GST_TAG_EXTENDED_COMMENT (#350935).
8969           Also change merge function for GST_TAG_COMMENT to
8970           use_first.
8971
8972 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8973
8974         * gst/gstinfo.c: (gst_debug_print_object):
8975           Make GST_PTR_FORMAT print messages as well.
8976
8977         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
8978         (GST_START_TEST), (gst_info_suite):
8979           More tests.
8980
8981 2006-08-14  Edward Hervey  <edward@fluendo.com>
8982
8983         * gst/gstelementfactory.c: (gst_element_register):
8984         If the GstElementClass doesn't have a GstElementDetails with all fields
8985         filled up correctly (longname, description AND author), then error out
8986         nicely instead of crashing.
8987
8988 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8989
8990         * gst/gststructure.c:
8991           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
8992
8993         * gst/gstvalue.h:
8994           Expand on the difference between arrays and lists as we use them.
8995           
8996 2006-08-14  Wim Taymans  <wim@fluendo.com>
8997
8998         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8999         If the parent state change function failed, don't assume we can safely
9000         stop the source, this will be done when the pads are deactivated.
9001
9002 2006-08-14  Wim Taymans  <wim@fluendo.com>
9003
9004         * gst/gstbuffer.c:
9005         * gst/gsttask.c: (gst_task_join):
9006         Small doc updates.
9007
9008         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9009         (gst_pad_stop_task):
9010         When pad (de)activation failed for some reason, restore the old
9011         activation mode and set the pad to flushing instead of assuming the
9012         pad is deactivated.
9013         If the _task_join() failed, reinstall the task on the pad so that it can
9014         be stopped later and return an error.
9015
9016 2006-08-11  Andy Wingo  <wingo@pobox.com>
9017
9018         * configure.ac:
9019         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9020         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
9021         is only for users of API that don't want to see deprecated
9022         functions in the headers; people that want to compile out
9023         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
9024         CFLAGS. Fixes the build of multifdsink, or will soon..
9025
9026 2006-08-11  Wim Taymans  <wim@fluendo.com>
9027
9028         * docs/gst/gstreamer-sections.txt:
9029         Add GstClockClass vmethod docs.
9030
9031         * gst/gstcaps.h:
9032         Mark #endif with comment for associated #if
9033
9034         * gst/gstclock.c: (gst_clock_id_wait):
9035         * gst/gstclock.h:
9036         Add vmethod wait_jitter to avoid an unneeded _get_time() for
9037         most clock implementations.
9038         Document vmethods.
9039         Flesh out docs about resolution methods.
9040         API: GstClockClass::wait_jitter
9041
9042         * gst/gstsystemclock.c: (gst_system_clock_class_init),
9043         (gst_system_clock_async_thread),
9044         (gst_system_clock_id_wait_jitter_unlocked),
9045         (gst_system_clock_id_wait_jitter):
9046         Use base class wait_jitter variant for improved performance
9047         due to less clock polling.
9048
9049 2006-08-11  Edward Hervey  <edward@fluendo.com>
9050
9051         * gst/gst.c: (gst_init_check), (init_post):
9052         Set gst as being initialized before scanning/updating the registry,
9053         since there might be my python plugin loader that calls gst_init() and
9054         we don't want to loop back in.
9055         Closes #350879
9056
9057 2006-08-11  Wim Taymans  <wim@fluendo.com>
9058
9059         * docs/design/part-qos.txt:
9060         Bring docs in line with the code. Mostly the sign of the jitter was
9061         wrong in the docs. Fixes #349943.
9062
9063         * gst/gstclock.c:
9064         Fix the docs for the jitter.
9065
9066         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
9067         (gst_event_parse_tag), (gst_event_new_buffer_size),
9068         (gst_event_parse_buffer_size), (gst_event_parse_qos),
9069         (gst_event_new_seek), (gst_event_parse_seek),
9070         (gst_event_new_navigation):
9071         Make sure the GstStructure has no parent when creating custom
9072         events.
9073         Add some more argument checking so that we avoid 0.0 rates.
9074         Flesh out the docs for the QoS event some more.
9075
9076 2006-08-11  Wim Taymans  <wim@fluendo.com>
9077
9078         * docs/gst/gstreamer-sections.txt:
9079         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9080         (ensure_current_registry_forking), (ensure_current_registry),
9081         (parse_one_option), (parse_goption_arg), (gst_deinit),
9082         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
9083         * gst/gst.h:
9084         Doc updates.
9085         Added API and command line option to disable registry forking in
9086         addition to the environment variable.
9087         Constify some static arrays.
9088         Added some more debug.
9089         Don't deinit twice.
9090         API: gst_registry_fork_is_enabled()
9091         API: gst_registry_fork_set_enabled()
9092         API: --gst-disable-registry-fork command line option
9093         Fixes #348918.
9094
9095 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
9096
9097         * gst/gst.c: (gst_init):
9098           Fix typo in error message.
9099
9100 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
9101
9102         * libs/gst/controller/gstcontroller.h:
9103           fix ABI size-correction
9104
9105         * tests/check/libs/gdp.c: (gst_dp_suite):
9106           make tests that use deprecated API conditional
9107
9108 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
9109
9110         * docs/libs/gstreamer-libs-sections.txt:
9111         * libs/gst/controller/gstcontroller.c:
9112         (_gst_controller_get_property), (_gst_controller_set_property),
9113         (_gst_controller_init), (_gst_controller_class_init):
9114         * libs/gst/controller/gstcontroller.h:
9115         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
9116         (gst_object_set_control_rate):
9117           API: add gst_object_{s,g}et_control_rate(), add private data section,
9118           fix docs
9119
9120         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9121         * libs/gst/dataprotocol/dataprotocol.h:
9122           add deprecation guards to make gtk-doc happy and allow disabling cruft
9123
9124 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
9125
9126         * tests/check/Makefile.am:
9127         * tests/check/gst/.cvsignore:
9128           Let's enable the new unit test as well.
9129
9130 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
9131
9132         * configure.ac:
9133         * docs/gst/gstreamer-sections.txt:
9134         * gst/gstconfig.h.in:
9135         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
9136         (_gst_info_printf_extension_ptr),
9137         (_gst_info_printf_extension_segment):
9138           API: add GST_SEGMENT_FORMAT, which is a printf extension we
9139           register that lets us easily dump GstSegments into debug
9140           logs (#350419).
9141
9142         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
9143         (info_segment_format_printf_extension), (gst_info_suite):
9144           Add simple unit test that logs a bunch of different segments (not
9145           valgrinded at the moment because of leaks in
9146           gst_debug_add_log_function).
9147
9148 2006-08-09  Edward Hervey  <edward@fluendo.com>
9149
9150         * libs/gst/base/gstbasetransform.c:
9151         (gst_base_transform_buffer_alloc):
9152         Even if we can't figure out the proper format to request downstream,
9153         call buffer_alloc() downstream with the input parameters without setting
9154         the caps on the srcpad. This will force negotiation in the chain
9155         function.
9156         Closes #350449
9157
9158 2006-08-08  Edward Hervey  <edward@fluendo.com>
9159
9160         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
9161         Unlinking from a pad without a target is now a perfectly valid case
9162         which should NOT raise an assertion.
9163         This case would happen if a linked ghostpad its target set to NULL after
9164         it was previously linked.
9165
9166 2006-08-08  Edward Hervey  <edward@fluendo.com>
9167
9168         * tests/check/libs/gdp.c:
9169         Also comment out the test (see below).
9170
9171 2006-08-08  Edward Hervey  <edward@fluendo.com>
9172
9173         * tests/check/libs/gdp.c: (gst_dp_suite):
9174         Use the architecture information from config.h and not gcc macros
9175         in order to properly disable a test that fails on PPC64.
9176
9177 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
9178
9179         * gst/gstelement.c: (gst_element_remove_pad):
9180           Don't crash printing the warning if the pad has no parent.
9181
9182 2006-08-02  Wim Taymans  <wim@fluendo.com>
9183
9184         * libs/gst/dataprotocol/dataprotocol.c:
9185         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9186         (gst_dp_crc), (gst_dp_header_payload_length),
9187         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
9188         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
9189         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
9190         (gst_dp_event_from_packet), (gst_dp_validate_header),
9191         (gst_dp_validate_payload):
9192         Make debug category static
9193         Constify the crc table.
9194         Do some more arg checking in public functions.
9195         Fix some docs and do some small cleanups.
9196
9197         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
9198         Add some more checks to see if GDP deals with bogus input.
9199
9200 2006-07-31  Wim Taymans  <wim@fluendo.com>
9201
9202         * gst/gstvalue.c: (gst_value_compare_list):
9203         Fix GstValueList comparison code. Fixes #347293.
9204
9205         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9206         Check to test GstValueList comparison.
9207
9208 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
9209
9210         * gst/gstelementfactory.c: (gst_element_factory_create):
9211         Remove unnecessary ref/unref pair
9212
9213         * gst/parse/grammar.y:
9214         Make sure to free the parse buffer on all code paths.
9215         Move a g_free up to the error handler where it's easier to see.
9216
9217         * tests/check/gst/gstevent.c: (test_event):
9218         Extending timeout for downstream travelling events to 10 seconds to
9219         hopefully avoid intermittent failure on the buildbots.
9220
9221         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
9222         Don't manually set the state of the src element - it will happen as a
9223         natural consequence of the pipeline changing state, and that way it
9224         will do it in the right order too.
9225
9226 2006-07-31  Wim Taymans  <wim@fluendo.com>
9227
9228         * libs/gst/base/gstbasetransform.c:
9229         (gst_base_transform_buffer_alloc):
9230         Use OBJECT_LOCK and refcounting to get the pad caps in the
9231         buffer_alloc function because the caps could change while we are
9232         busy with them. Fixes #349105
9233
9234 2006-07-31  Wim Taymans  <wim@fluendo.com>
9235
9236         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
9237         Protect _PAD_CAPS with OBJECT_LOCK.
9238
9239 2006-07-31  Wim Taymans  <wim@fluendo.com>
9240
9241         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9242         (gst_pad_get_property), (gst_pad_activate_pull),
9243         (gst_pad_activate_push), (gst_pad_set_blocked_async),
9244         (gst_pad_set_activate_function),
9245         (gst_pad_set_activatepull_function),
9246         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
9247         (gst_pad_set_getrange_function),
9248         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
9249         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9250         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
9251         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
9252         (gst_pad_set_acceptcaps_function),
9253         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9254         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
9255         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
9256         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
9257         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
9258         (gst_pad_configure_sink), (gst_pad_configure_src),
9259         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
9260         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
9261         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
9262         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
9263         (gst_pad_send_event):
9264         Use _DEBUG_OBJECT when it makes sense.
9265         Protect GST_PAD_CAPS with the OBJECT_LOCK.
9266         Small cleanups and code reflows.
9267         Avoid caps refcounting in _accept_caps.
9268         Refactor alloc_buffer so that the code performed on the peer is in a
9269         separate function. Also if the pad does not implement a buffer alloc
9270         function, we should still check if the pad is flushing before falling
9271         back to the default allocator.
9272
9273 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
9274
9275         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9276         Make all uses of identity and fakesink have silent=true to avoid
9277         serialising every passing data structure, which is breaking tests
9278         on FC4 for some unknown reason.
9279
9280 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
9281
9282         * gst/parse/Makefile.am:
9283         * gst/parse/grammar.y:
9284         * gst/parse/parse.l:
9285           Reverted previous patch as it required to bump the flex dependency to
9286           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
9287
9288 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
9289
9290         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
9291
9292         * gst/parse/Makefile.am:
9293         * gst/parse/grammar.y:
9294         * gst/parse/parse.l:
9295           push & pop the state of the lexer for reentrant use case
9296           Fixes #349180
9297
9298 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
9299
9300         * libs/gst/base/gstbasesrc.h:
9301           Note in the docs that the ::newsegment vfunc is not actually used by
9302           GstBaseSrc.
9303
9304 2006-07-28  Wim Taymans  <wim@fluendo.com>
9305
9306         * libs/gst/base/gstcollectpads.c:
9307         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
9308         (gst_collect_pads_clear), (gst_collect_pads_flush),
9309         (gst_collect_pads_event), (gst_collect_pads_chain):
9310         When flushing a pad, also clear the queued buffer so that we don't
9311         accidentally use it when we shouldn't.
9312         Fix leaks by inreffing incomming buffer.
9313         Flush out queued buffers in case of errors.
9314         Fixes #347452.
9315
9316 2006-07-28  Wim Taymans  <wim@fluendo.com>
9317
9318         * docs/random/phonon-gst:
9319         Random notes about a Phonon backend.
9320
9321 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
9322
9323         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9324         Extra debug output
9325         * tests/check/libs/gdp.c: (gst_dp_suite):
9326         Take a whack at fixing the ppc compile using a different define to
9327         disable the broken test.
9328
9329         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9330         Remove excess g_print()
9331
9332 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
9333
9334         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9335         Oops, meant to uncomment this line too to dampen the noise a bit.
9336
9337 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
9338
9339         * gst/parse/grammar.y:
9340         * gst/parse/parse.l:
9341         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9342         (GST_START_TEST), (parse_suite):
9343         Fix some of the leaks exposed by extending the parse-launch testsuite,
9344         and move the 3 I can't figure out into a separate test that won't run
9345         the pipelines unless the appropriate line is uncommented.
9346
9347 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
9348
9349         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9350           Requesting 0 bytes before the end of the file should result in
9351           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
9352           unit test.
9353
9354 2006-07-27  Wim Taymans  <wim@fluendo.com>
9355
9356         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
9357         Fix useless assert, a uint is always positive.
9358
9359         * gst/gststructure.c: (gst_structure_nth_field_name),
9360         (gst_structure_foreach), (gst_structure_map_in_place):
9361         Check input arguments for public functions to avoid obvious crashes.
9362
9363         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
9364         * plugins/elements/gstfakesink.h:
9365         Do less useless typechecking.
9366
9367 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
9368
9369         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9370           Do not use mmap() by default since there are a number of error
9371           conditions that we would like to handle in a non-fatal way that
9372           will result in a SIGBUS if we use mmap(). Examples: external
9373           devices (USB harddrive, portable music player) being unplugged
9374           while in use; file on mounted CD/DVD that can't be read because
9375           the medium is partly damaged. Fixes #348455 and #348475.
9376
9377 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
9378
9379         * gst/gstquery.h:
9380         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
9381         rates are a gdouble
9382
9383 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
9384
9385         * gst/gstregistry.c:
9386           Move big documentation comment into class section header, so that it
9387           appears in the API docs.
9388
9389 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9390
9391         * docs/gst/gstreamer-sections.txt:
9392         Oops. Commit the docs additions too for new API.
9393         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
9394
9395 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9396
9397         * gst/gststructure.c: (gst_structure_id_set),
9398         (gst_structure_id_set_valist):
9399         * gst/gststructure.h:
9400         Add API for setting values into structures without performing
9401         a quark lookup, if the appropriate quark is already known.
9402
9403         API: gst_structure_id_set
9404         API: gst_structure_id_set_valist
9405
9406         * gst/parse/grammar.y:
9407         * gst/parse/parse.l:
9408         Remove some dead code shown by the coverage information.
9409         Don't throw a critical g_warning when encountering a syntax error,
9410         just warn and let the normal error path handle it.
9411
9412         * plugins/elements/gstelements.c:
9413         Bump the rank of filesink up to PRIMARY so that it is preferred over
9414         gnomevfssink for file:// sink uri's
9415
9416         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9417         (GST_START_TEST), (run_delayed_test),
9418         (gst_parse_test_element_base_init),
9419         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
9420         (gst_parse_test_element_change_state),
9421         (gst_register_parse_element), (parse_suite):
9422         Beef up the tests for parse syntax to check that more error cases
9423         fail as they are supposed to. Increases the test coverage a bit.
9424
9425 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
9426
9427         * docs/manual/basics-elements.xml:
9428           Fix gst_element_link() example.
9429
9430         * gst/gstutils.c:
9431           Mention in API docs that one should usually gst_bin_add()
9432           elements to a bin or pipeline before doing the linking.
9433           
9434 2006-07-26  Wim Taymans  <wim@fluendo.com>
9435
9436         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
9437         (gst_subbuffer_get_type), (gst_buffer_create_sub):
9438         Avoid function call for known types by keeping the buffer and
9439         subbuffer GType global.
9440
9441         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9442         Random silly optimisations in read() path.
9443
9444 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9445
9446         * tools/gst-launch.c: (main):
9447           If the top-level of the parse is a normal bin, it doesn't do the
9448           right logic to run as a top-level element, so place it inside a
9449           pipeline.
9450
9451 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
9452
9453         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
9454           Remove superfluous g_object_notify() calls, GObject does
9455           that for us automatically.
9456
9457 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
9458
9459         * gst/gstinfo.h:
9460           on Win32, use dllspec to export the debug category symbols
9461
9462 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
9463
9464         * gst/gsttaglist.c: (_gst_tag_initialize):
9465           Allow more than one GST_TAG_IMAGE per taglist.
9466
9467 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9468
9469         * gst/gstminiobject.c:
9470           update docs
9471         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
9472         (gst_fd_src_create):
9473           log recurring events at LOG level
9474           add more debug for when the fd gets set
9475
9476 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
9477
9478         * gst/gstparse.c: (gst_parse_launch):
9479           Also remove reentrance checks if flex is MT safe (#348179)
9480          Fix my empty ChangeLog entry below
9481
9482 2006-07-21  Andy Wingo  <wingo@pobox.com>
9483
9484         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
9485
9486         * libs/gst/check/Makefile.am
9487         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
9488         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
9489         * libs/gst/check/gstbufferstraw.h:
9490         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
9491         functions, thus proving I am still a GStreamer haxor. OK I wrote
9492         them a long time ago, but anyways.
9493
9494 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
9495
9496         * configure.ac:
9497         * gst/gstparse.c: (gst_parse_launch):
9498           Check for flex version and omit mutex if we have a MT save flex
9499           (fixes #348179)
9500
9501 2006-07-21  Wim Taymans  <wim@fluendo.com>
9502
9503         * gst/gstparse.c: (gst_parse_launch):
9504         Protect recursive calls to _parse with a recursive mutex
9505         and busy flag.
9506
9507 2006-07-21  Wim Taymans  <wim@fluendo.com>
9508
9509         * tests/check/gst/gstpad.c: (GST_START_TEST):
9510         Fix leak in test.
9511
9512 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
9513
9514         * gst/gstparse.c: (gst_parse_launch):
9515           Do not hang on recursive usage of gst_parse_launch()
9516
9517 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
9518
9519         * gst/gsttaglist.c:
9520           Add some more docs, comments and FIXME 0.11s here and there
9521           and also fix some typos.
9522
9523 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
9524
9525         * gst/gstsegment.h:
9526           Convert tabs to spaces for better readability. 
9527
9528 2006-07-20  Edward Hervey  <edward@fluendo.com>
9529
9530         * tests/check/libs/gdp.c: (gst_dp_suite):
9531         the test_buffer test fails at line 140 on ppc64 at the following
9532         check:
9533         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
9534                 GST_BUFFER_FLAG_IN_CAPS),
9535                 "GST_BUFFER_IN_CAPS flag should have been copied !");
9536         See bug #348114 for more details.
9537
9538 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
9539
9540         * docs/pwg/advanced-scheduling.xml:
9541         * gst/gstpad.c:
9542           Fix typos (#348000).
9543
9544 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
9545
9546         * docs/pwg/intro-basics.xml:
9547           Fix wrong links (#347927).
9548
9549 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
9550
9551         * gst/gstregistry.h:
9552         * gst/gstregistryxml.c: (load_feature),
9553         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
9554         * win32/common/config.h:
9555           make --disable-index work (#342564)
9556
9557 2006-07-18  Wim Taymans  <wim@fluendo.com>
9558
9559         Patch by: Peter Kjellerstedt <pkj at axis dot com>
9560
9561         * gst/Makefile.am:
9562         * gst/gsttrace.h:
9563         The attached patch adds two missing defines to gsttrace.h when tracing
9564         is disabled.  It also corrects one existing define.
9565         Fixes #347756.
9566
9567 2006-07-17  Wim Taymans  <wim@fluendo.com>
9568
9569         * docs/gst/gstreamer-sections.txt:
9570         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
9571         * gst/gst.h:
9572         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
9573         Add two functions to check and change the SIGSEGV behaviour
9574         when loading plugins.
9575         Don't mess with the SIGSEGV handler when we were told not to.
9576         Fixes #347794.
9577         API: gst_segtrap_is_enabled
9578         API: gst_segtrap_set_enabled
9579
9580 2006-07-14  Wim Taymans  <wim@fluendo.com>
9581
9582         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9583         * tests/check/elements/filesrc.c: (GST_START_TEST):
9584         Revert fix for regression in #347408 after release.
9585
9586 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
9587
9588         Patch by: Antoine Tremblay <hexa00 at gmail com>
9589
9590         * gst/gstutils.c: (gst_element_unlink):
9591           Free iterator when done (#347311).
9592
9593         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9594           And add a test case for this.
9595
9596 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
9597
9598         * configure.ac:
9599         Bump nano back to CVS
9600
9601 === release 0.10.9 ===
9602
9603 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
9604
9605         * configure.ac:
9606           releasing 0.10.9, "On the road again"
9607
9608 2006-07-13  Wim Taymans  <wim@fluendo.com>
9609
9610         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9611         * tests/check/elements/filesrc.c: (GST_START_TEST):
9612         Revert pull-0 fix for release. Disable check. Fixes #347408.
9613
9614 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9615
9616         * libs/gst/dataprotocol/dataprotocol.c:
9617         (gst_dp_event_from_packet_1_0):
9618           Fixes #347337: failure to deserialize event packets with
9619           empty payload (only event type)
9620
9621 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9622
9623         * gst/Makefile.am:
9624           do not install a .c file in the header directory
9625
9626 2006-07-13  Edward Hervey  <edward@fluendo.com>
9627
9628         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9629         GhostPad no longer implicitely use the padtemplates of the targets.
9630         Fixes #347384
9631
9632 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
9633
9634         * gst/gstvalue.c: (gst_value_compare_list),
9635         (gst_value_compare_array), (_gst_value_initialize):
9636         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9637         Make GstValueArray comparison be order dependent as designed.
9638         Add checks for value lists and value array comparisons.
9639         Fixes #347221
9640
9641 2006-07-11  Edward Hervey  <edward@fluendo.com>
9642
9643         * gst/gstbin.c: (activate_pads),
9644         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
9645         (gst_bin_change_state_func):
9646         (de)activate src pads before calling state_change on the childs.
9647         This is to avoid the case where a src ghostpad is blocked (holding the
9648         stream lock), which would block the deactivation of the ghostpad's
9649         target pad.
9650         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
9651         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
9652         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
9653         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
9654         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
9655         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9656         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9657         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
9658         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
9659         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
9660         (gst_ghost_pad_class_init),
9661         (gst_ghost_pad_internal_do_activate_push),
9662         (gst_ghost_pad_internal_do_activate_pull),
9663         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9664         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9665         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
9666         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
9667         GhostPads now create their internal GstProxyPad at creation (and not
9668         when they're linked, as it was being done previously).
9669         The internal and target pads are linked straight away.
9670         The data will also travel through the other pad in order to make
9671         pad blocking and probes non-hackish (the probe/block now really happens
9672         on the GhostPad and not on the target).
9673         * gst/gstpad.c: (gst_pad_set_blocked_async),
9674         (gst_pad_link_prepare), (gst_pad_push_event):
9675         Remove previous ghostpad cruft.
9676         * gst/gstutils.c: (gst_pad_add_data_probe),
9677         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9678         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9679         (gst_pad_remove_buffer_probe):
9680         Remove previous ghost pad cruft.
9681         Added more detailed debug statements.
9682         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9683         Fix the testsuite for refcounting changes.
9684         The comments about who has references were correct, but the refcount
9685         being checked wasn't the same (!?!).
9686
9687         Fixes #341029
9688
9689 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
9690
9691         * docs/gst/gstreamer-sections.txt:
9692         * gst/gstconfig.h.in:
9693         More docs for configuration options, add docs to gtk-doc.
9694
9695 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
9696
9697         * gst/Makefile.am:
9698         * gst/gstconfig.h.in:
9699         * win32/common/config.h:
9700         Fix build when disabling tracing (fixes #344016). Also start to document
9701         the defines that disable the sub-systems.
9702
9703 2006-07-10  Edward Hervey  <edward@fluendo.com>
9704
9705         * gst/gst.c: (ensure_current_registry_forking):
9706         let's make valgrind happy...
9707
9708 2006-07-09  Wim Taymans  <wim@fluendo.com>
9709
9710         * gst/gstelement.c: (activate_pads),
9711         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9712         Better pad activation code: Reset the collect value too on resync.
9713         Add some comments.
9714
9715 2006-07-09  Wim Taymans  <wim@fluendo.com>
9716
9717         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
9718         (gst_pad_activate_push):
9719         Use some more macros where it makes sense.
9720         Allow pad mode switching instead of asserting. When a pad
9721         is activated in one mode and we activate it in another, 
9722         deactivate it first before activating it in a different mode.
9723         Fixes #329198.
9724
9725 2006-07-08  Andy Wingo  <wingo@pobox.com>
9726
9727         * tools/gst-launch.c (main): Handle err == NULL.
9728
9729         * gst/gst.c (init_post, ensure_current_registry)
9730         (ensure_current_registry_forking)
9731         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
9732         factoring out the registry scanning into separate functions. Don't
9733         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
9734         Better environment var name/interface suggestions accepted.
9735
9736 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9737
9738         * gst/gstobject.c: (gst_object_set_name_default),
9739         (gst_object_set_name):
9740           Random micro-optimisation: don't use a hash table
9741           with strings as keys and the usual strdup/strcmp
9742           involved, but rather just use the GQuark of the
9743           type name as key, since it needs to be looked up
9744           anyway to get the type name string.
9745
9746         * tests/check/gst/gstobject.c: (GST_START_TEST):
9747           Fix various leaks.
9748
9749 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9750
9751         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
9752         (gst_bin_iterate_all_by_interface):
9753           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
9754           GTypes are gulongs and thus the top 4 bytes might be cut
9755           off on some platforms when doing GPOINTER_TO_INT, leading
9756           to invalid GTypes and bad things happening (see RH bug #179654).
9757           Also add a check to make sure the type passed in is really
9758           an interface type.
9759
9760 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9761
9762         * .cvsignore:
9763           Ignore more.
9764
9765 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9766
9767         * Makefile.am:
9768         * configure.ac:
9769         * gst-element-check.m4:
9770         * gst-element-check.m4.in:
9771           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
9772           instead of the unversioned gst-inspect (#324176, #168659).
9773
9774 2006-07-06  Wim Taymans  <wim@fluendo.com>
9775
9776         * gst/gstmessage.h:
9777         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
9778         warnings.
9779
9780 2006-07-06  Wim Taymans  <wim@fluendo.com>
9781
9782         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9783         (gst_base_src_wait), (gst_base_src_update_length),
9784         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
9785         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
9786         (gst_base_src_loop), (gst_base_src_start),
9787         (gst_base_src_activate_pull):
9788         Update docs.
9789         blocksize == 0 now means the default blocksize when working in push
9790         based mode.
9791         Remove some pointless asserts in _wait function.
9792         Fix offset/length calculations and EOS handling. We can now pull 0
9793         bytes as well, which is allowed.
9794         use _check_get_range() to decide if we can operate in _pull based
9795         mode.
9796         Fix refcounting leak when check_get_range function was not 
9797         implemented.
9798         API GstBaseSrc::blocksize range can be 0 too now (default)
9799
9800         * tests/check/elements/filesrc.c: (GST_START_TEST),
9801         (filesrc_suite):
9802         Added check to test _get_range() behaviour.
9803
9804 2006-07-06  Wim Taymans  <wim@fluendo.com>
9805
9806         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9807         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
9808         (gst_pad_pull_range):
9809         * gst/gstpad.h:
9810         Lots of comments and docs added to the pad functions.
9811         Flesh out the expected behaviour of the get_range() functions.
9812
9813 2006-07-06  Wim Taymans  <wim@fluendo.com>
9814
9815         * gst/gstbus.h:
9816         * gst/gstclock.h:
9817         * gst/gstevent.h:
9818         * gst/gstiterator.h:
9819         * gst/gstpad.h:
9820         * gst/gstplugin.h:
9821         * gst/gsttask.h:
9822         Remove comma at end of enumerator list. 
9823
9824 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
9825
9826         * win32/common/libgstbase.def:
9827         * win32/common/libgstdataprotocol.def:
9828         * win32/common/libsgtreamer.def:
9829         Add new exported functions.
9830
9831 2006-07-05  Wim Taymans  <wim@fluendo.com>
9832
9833         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
9834         Add some more docs here and there.
9835
9836 2006-07-05  Wim Taymans  <wim@fluendo.com>
9837
9838         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
9839         (gst_base_sink_loop), (gst_base_sink_get_position):
9840         When operating in pull mode update the offset so that we
9841         read sequentially.
9842
9843 2006-07-05  Wim Taymans  <wim@fluendo.com>
9844
9845         * gst/gstregistryxml.c: (read_string):
9846         Avoid strdup. (will happen in libxml, but hey!)
9847
9848         * gst/gsturi.c:
9849         Add some more docs.
9850
9851 2006-07-05  Wim Taymans  <wim@fluendo.com>
9852
9853         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
9854         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9855         (gst_buffer_suite):
9856         No point in checking if the size of the subbuffer > 0, the
9857         code handles it correclty as demonstrated by unit test.
9858         Also add a unit test for the zero sized _new_and_alloc and
9859         _copy. Fixes #346663.
9860
9861 2006-07-05  Wim Taymans  <wim@fluendo.com>
9862
9863         * libs/gst/base/gstbasetransform.c:
9864         (gst_base_transform_prepare_output_buffer),
9865         (gst_base_transform_buffer_alloc),
9866         (gst_base_transform_handle_buffer):
9867         Make sure the buffer we pass to transform_ip has a refcount of
9868         1 and thus is writable. Fixes #343196
9869
9870 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
9871
9872         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9873         (gst_file_src_init), (gst_file_src_set_property),
9874         (gst_file_src_get_property), (gst_file_src_map_region):
9875         * plugins/elements/gstfilesrc.h:
9876         Add "sequential" property, off by default, to use madvise and hint
9877         to the kernel that sequential access is desired.
9878         Touch all retrieved pages by default to ensure they are pulled
9879         into memory. (Closes #345720)
9880
9881 2006-07-03  Wim Taymans  <wim@fluendo.com>
9882
9883         * docs/design/part-block.txt:
9884         * docs/design/part-dynamic.txt:
9885         Small docs updates.
9886
9887 2006-07-03  Wim Taymans  <wim@fluendo.com>
9888
9889         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
9890         (gst_caps_unref), (gst_static_caps_get),
9891         (gst_caps_append_structure):
9892         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
9893         Use GSlice when the glib we build against is >= 2.10
9894
9895 2006-07-03  Wim Taymans  <wim@fluendo.com>
9896
9897         * gst/gstelement.c: (gst_element_pads_activate):
9898         Small cleanup in pad activation code.
9899
9900 2006-07-03  Wim Taymans  <wim@fluendo.com>
9901
9902         Patch by: Peter Kjellerstedt <pkj at axis dot com>
9903
9904         * gst/gst-i18n-app.h:
9905         * gst/gst-i18n-lib.h:
9906         * tools/gst-inspect.c: (print_signal_info):
9907         The attached patch will make the inclusion of gettext.h unconditional in
9908         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
9909         libintl.h in tools/gst-inspect.c.
9910         This allows use of --disable-nls again and fixes #344642.
9911
9912 2006-07-03  Edward Hervey  <edward@fluendo.com>
9913
9914         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
9915         Implement pad blocking on events according to part-block.txt.
9916         More comments on behaviour.
9917         * tests/check/gst/gstevent.c: (test_event):
9918         Send event to peer pad of blocked pad (else it will block).
9919
9920 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9921
9922         * libs/gst/check/gstcheck.c: (gst_check_message_error),
9923         (gst_check_run_suite):
9924           if we get the wrong message, give us the types as string
9925         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9926           Fix a translatable
9927         * tests/check/elements/filesrc.c: (GST_START_TEST):
9928           add a test for trying to open a non-existing file
9929
9930 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9931
9932         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9933           add a test for adding self
9934
9935 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9936
9937         * libs/gst/check/gstcheck.h:
9938           add some assert_ as alias for fail_unless_*
9939         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
9940           increase test coverage
9941
9942 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9943
9944         * Makefile.am:
9945           include lcov.mak for lcov coverage generation
9946         * tools/Makefile.am:
9947           add to CLEANFILES
9948
9949 2006-07-02  Edward Hervey  <edward@fluendo.com>
9950
9951         * tests/check/elements/.cvsignore:
9952         moaping
9953
9954 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9955
9956         * configure.ac:
9957           don't set CFLAGS and friends for gcov, done from GST_GCOV now
9958         * tests/check/Makefile.am:
9959           clean up gcov files
9960
9961 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9962
9963         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
9964           remove gst_caps_simplify; it was not declared and not used
9965           and deprecated in 0.8
9966
9967 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9968
9969         * docs/faq/gst-uninstalled:
9970           don't put empty paths on PYTHONPATH
9971         * docs/gst/gstreamer-sections.txt:
9972           remove some symbols that are not there
9973
9974 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9975
9976         * gst/gstcaps.c: (gst_caps_compare_structures):
9977           whitespace fixes
9978         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9979         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9980           add more tests
9981
9982 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9983
9984         * libs/gst/dataprotocol/Makefile.am:
9985           build dataprotocol test by linking to the lib, instead of
9986           compiling the source, so we get coverage
9987         * tests/check/Makefile.am:
9988         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
9989         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
9990           add a test for filesrc
9991
9992 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9993
9994         * tests/check/gst/gststructure.c: (GST_START_TEST),
9995         (gst_structure_suite):
9996           Push coverage from 59.04% to 70.00%
9997
9998 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9999
10000         * tests/check/Makefile.am:
10001           gst-inspect every element; this makes sure that we also get
10002           coverage on element's get/set functions
10003
10004 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10005
10006         * configure.ac:
10007           set CFLAGS and friends to -O0 if gcov is being used
10008           add GCOV LIBS
10009         * gst/Makefile.am:
10010         * libs/gst/base/Makefile.am:
10011         * libs/gst/check/Makefile.am:
10012         * libs/gst/controller/Makefile.am:
10013         * libs/gst/dataprotocol/Makefile.am:
10014         * libs/gst/net/Makefile.am:
10015         * plugins/elements/Makefile.am:
10016         * plugins/indexers/Makefile.am:
10017           add makefile rules to generate gcov data and clean up
10018         * tests/check/Makefile.am:
10019           add a coverage target that generates an html overview
10020           of coverage data
10021
10022 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10023
10024         * tests/check/elements/fakesink.c:
10025         * tests/check/elements/fakesrc.c:
10026         * tests/check/elements/fdsrc.c:
10027         * tests/check/elements/identity.c:
10028         * tests/check/generic/sinks.c: (gst_sinks_suite):
10029         * tests/check/generic/states.c:
10030         * tests/check/gst/gst.c:
10031         * tests/check/gst/gstabi.c:
10032         * tests/check/gst/gstbin.c:
10033         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
10034         * tests/check/gst/gstbus.c: (gst_bus_suite):
10035         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10036         * tests/check/gst/gstelement.c:
10037         * tests/check/gst/gstevent.c: (gst_event_suite):
10038         * tests/check/gst/gstghostpad.c:
10039         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
10040         * tests/check/gst/gstmessage.c: (gst_message_suite):
10041         * tests/check/gst/gstminiobject.c:
10042         * tests/check/gst/gstobject.c:
10043         * tests/check/gst/gstpad.c:
10044         * tests/check/gst/gstpipeline.c:
10045         * tests/check/gst/gstplugin.c:
10046         * tests/check/gst/gstquery.c: (gst_query_suite):
10047         * tests/check/gst/gstsegment.c: (gst_segment_suite):
10048         * tests/check/gst/gststructure.c:
10049         * tests/check/gst/gstsystemclock.c:
10050         * tests/check/gst/gsttag.c:
10051         * tests/check/gst/gsttask.c: (gst_task_suite):
10052         * tests/check/gst/gstutils.c:
10053         * tests/check/gst/gstvalue.c:
10054         * tests/check/libs/adapter.c:
10055         * tests/check/libs/basesrc.c:
10056         * tests/check/libs/collectpads.c:
10057         * tests/check/libs/controller.c:
10058         * tests/check/libs/gdp.c: (gst_dp_suite):
10059         * tests/check/libs/gstnetclientclock.c:
10060         * tests/check/libs/gstnettimeprovider.c:
10061         * tests/check/libs/libsabi.c: (libsabi_suite):
10062         * tests/check/libs/typefindhelper.c:
10063         * tests/check/pipelines/cleanup.c:
10064         * tests/check/pipelines/parse-launch.c:
10065         * tests/check/pipelines/simple-launch-lines.c:
10066         * tests/check/pipelines/stress.c: (stress_suite):
10067           use the new macro
10068
10069 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10070
10071         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
10072         * libs/gst/check/gstcheck.h:
10073           create a macro and function so that the simple unit test
10074           case can be just one macro to create main()
10075
10076 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
10077
10078         * gst/gstbin.c: (gst_bin_restore_thyself):
10079         * gst/gstxml.c: (gst_xml_make_element):
10080           Fix deserialisation from XML. Set parent manually
10081           instead of using gst_bin_add(), since gst_bin_add()
10082           will unlink all pads of the element being added.
10083           Fixes #341667.
10084
10085 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
10086
10087         Patch by: Peter Kjellerstedt <pkj at axis com>
10088
10089         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
10090           Fix missing g_strdup() and double free when using the
10091           --gst-plugin-load command line option (#346097).
10092
10093 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
10094
10095         * gst/gstinfo.c:
10096           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
10097
10098         * libs/gst/net/gstnetclientclock.c:
10099         * libs/gst/net/gstnettimeprovider.c:
10100           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
10101
10102 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
10103
10104         * docs/manual/advanced-dataaccess.xml:
10105           Fix buffer probe example compilation in
10106           ADM (#345708).
10107         
10108 2006-06-22  Edward Hervey  <edward@fluendo.com>
10109
10110         * gst/gstelement.c: (gst_element_pads_activate):
10111         We need to deactivate src pads first and then sink pads.
10112         The reason is the src pads might be blocking while holding the streaming
10113         lock, so we need to deactivate them first so that deactivating the sink
10114         pads doesn't block (since it will require the streaming lock).
10115
10116 2006-06-22  Wim Taymans  <wim@fluendo.com>
10117
10118         * libs/gst/base/gstbasetransform.c:
10119         (gst_base_transform_buffer_alloc):
10120         Forgot to remove two unneeded unrefs.
10121         Simplify a check _is_equal allready checks the obvious case.
10122
10123 2006-06-22  Wim Taymans  <wim@fluendo.com>
10124
10125         * docs/design/part-block.txt:
10126         Some docs about what pad_block should do.
10127
10128 2006-06-22  Wim Taymans  <wim@fluendo.com>
10129
10130         * gst/gstcaps.c: (gst_caps_replace):
10131         Fix crasher when passed NULL. Doc clarification.
10132         Optimize for the trivial case.
10133
10134         * gst/gstpipeline.c: (gst_pipeline_change_state):
10135         Small cleanups.
10136
10137         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10138         Small documentation cleanup.
10139
10140         * libs/gst/base/gstbasetransform.c:
10141         (gst_base_transform_buffer_alloc):
10142         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
10143         is what we need and it avoids a whole lot of redundant 
10144         refcount operations.
10145
10146 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
10147
10148         Patch by: Philip Jägenstedt  <philip at lysator liu se>
10149
10150         * docs/manual/advanced-dataaccess.xml:
10151           Fix 'Embedding static elements' section to use
10152           GST_PLUGIN_DEFINE_STATIC (#345607).
10153
10154 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10155
10156         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
10157           Attempt to 'fix' spuriously failing test case: it seems like the
10158           timeout of half a second is simply too small when the system is under
10159           load otherwise, and the timeout doesn't really seem to serve any
10160           particular purpose here. Give the pipeline a few seconds to preroll
10161           first, and then give it another half a second to go from PAUSED to
10162           PLAYING and marshal the message into the main thread.
10163
10164 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10165
10166         * tools/gst-feedback-m.m:
10167           Don't only use unversioned tools, try versioned tools as well
10168           (#345086).
10169
10170 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10171
10172         * gst/gstbus.c: (gst_bus_class_init):
10173           Fix some typos, make docs more explicit.
10174
10175 2006-06-20  Wim Taymans  <wim@fluendo.com>
10176
10177         * tests/check/gst/gstghostpad.c: (block_callback),
10178         (GST_START_TEST), (gst_ghost_pad_suite):
10179         Added some more ghostpad tests, mainly blocking
10180         and probes.
10181
10182 2006-06-16  Wim Taymans  <wim@fluendo.com>
10183
10184         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10185         (gst_file_sink_close_file), (gst_file_sink_do_seek),
10186         (gst_file_sink_event), (gst_file_sink_render):
10187         * plugins/elements/gstfilesink.h:
10188         Check if we can seek in the file instead of assuming
10189         we always can. Post an error when we are asked to seek in a
10190         non-seekable file (like a fifo). Fixes #343312.
10191         Some cleanups.
10192
10193 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
10194
10195         * tools/gst-launch.1.in:
10196           Un-garble (fourcc) bit in filtered caps section.
10197
10198 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
10199
10200         * docs/manual/advanced-autoplugging.xml:
10201         * docs/manual/basics-helloworld.xml:
10202         * docs/manual/highlevel-components.xml:
10203           Don't leak bus reference in sample code.
10204
10205 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
10206
10207         * autogen.sh:
10208           Add default for new --enable-plugin-docs switch.
10209
10210         * configure.ac:
10211           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
10212           Fixes #344039.
10213
10214         * docs/Makefile.am:
10215           Use new ENABLE_PLUGIN_DOCS conditional.
10216
10217 2006-06-14  Wim Taymans  <wim@fluendo.com>
10218
10219         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
10220         Make it clear with a FIXME and a real define what the #if 0
10221         previously disabled.
10222
10223 2006-06-14  Wim Taymans  <wim@fluendo.com>
10224
10225         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10226         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10227         * libs/gst/base/gstbasetransform.c:
10228         (gst_base_transform_sink_eventfunc):
10229         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10230         Don't randomly and silently reset a segment when the format 
10231         changes as this is a bug somewhere upstream. Fixes #330379.
10232
10233 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
10234
10235         Patch by: Wouter Paesen  <wouter at kangaroot net>
10236
10237         * libs/gst/controller/gstcontroller.c:
10238         (gst_controlled_property_new):
10239           Fix controlling of float properties (#344849).
10240
10241         * tests/check/libs/controller.c:
10242         (gst_test_mono_source_get_property),
10243         (gst_test_mono_source_set_property),
10244         (gst_test_mono_source_class_init), (GST_START_TEST):
10245           While we're at it, add some float stuff to unit test.
10246
10247 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10248
10249         * docs/README:
10250         * docs/images/gdp-header.svg:
10251           add a gdp image
10252         * docs/libs/Makefile.am:
10253         * docs/libs/gdp-header.png:
10254         * libs/gst/dataprotocol/dataprotocol.c:
10255           add it to the API docs
10256         * docs/manual/intro-motivation.xml:
10257           fix typo
10258
10259 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
10260
10261         * gst/gst.c: (scan_and_update_registry), (init_post):
10262           If the fork()'ed child process can't write the updated registry cache
10263           file to disk for some reason, make it exit with a failure exit code,
10264           so that the parent can then re-scan the plugins itself and update the
10265           registry structures in memory and work with that (rather than failing
10266           when creating elements because seemingly no plugins are available).
10267           Refactor registry scanning code into separate function for this and
10268           also separate fork() and non-fork() code paths. Fixes #344748.
10269
10270 2006-06-13  Wim Taymans  <wim@fluendo.com>
10271
10272         * docs/manual/advanced-dataaccess.xml:
10273         Fix wrong PluginDesc. Fixes #344755.
10274
10275 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
10276
10277         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10278           Fix silly bug that prevented us from creating
10279           ~/.gstreamer-0.10 and writing the registry in one
10280           go (the first call to g_mkstemp() would overwrite the
10281           placeholder in the template string, so the second call
10282           to g_mkstemp() after creating the missing directory
10283           would then error out with 'invalid argument').
10284
10285 2006-06-13  Edward Hervey  <edward@fluendo.com>
10286
10287         * gst/gst.c: (init_post):
10288         Free string.
10289
10290 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10291
10292         * gst/glib-compat-private.h:
10293         * gst/glib-compat.c:
10294         * gst/glib-compat.h:
10295         * gst/gstvalue.c: (gst_value_serialize_flags):
10296           remove GLib 2.6 compatibility code
10297
10298 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
10299
10300         * gst/parse/Makefile.am:
10301           Fix build with 'make -j N' even more (#340016).
10302
10303 2006-06-12  Wim Taymans  <wim@fluendo.com>
10304
10305         * docs/gst/gstreamer-sections.txt:
10306         Fix docs.
10307
10308 2006-06-12  Wim Taymans  <wim@fluendo.com>
10309
10310         * gst/gstsegment.c: (gst_segment_set_duration),
10311         (gst_segment_set_last_stop), (gst_segment_set_seek),
10312         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10313         (gst_segment_to_running_time), (gst_segment_clip):
10314         Use G_UNLIKELY to help the compiler a bit.
10315
10316 2006-06-12  Wim Taymans  <wim@fluendo.com>
10317
10318         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10319
10320         * gst/gstevent.c: (gst_event_get_type):
10321         * gst/gstmessage.c:
10322         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10323         (gst_pad_push):
10324         constify quark registration strings. Fixes #344115
10325         Avoid unneeded type checking is _pad_push() by internally
10326         calling gst_pad_chain_unchecked().
10327
10328 2006-06-12  Wim Taymans  <wim@fluendo.com>
10329
10330         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
10331         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
10332         (gst_subbuffer_finalize), (gst_buffer_create_sub),
10333         (gst_buffer_is_span_fast), (gst_buffer_span):
10334         Init _type for consistency.
10335         Use _FLAGS macro to avoid type check.
10336         Avoid unneeded type checks in subbufer code.
10337
10338 2006-06-12  Wim Taymans  <wim@fluendo.com>
10339
10340         * gst/gst.c: (gst_debug_help):
10341         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
10342         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
10343         (gst_plugin_feature_list_free):
10344         * gst/gstregistry.c: (gst_registry_add_plugin),
10345         (gst_registry_add_feature), (gst_registry_plugin_filter),
10346         (gst_registry_feature_filter), (gst_registry_find_plugin),
10347         (gst_registry_find_feature), (gst_registry_get_plugin_list),
10348         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
10349         * gst/gstregistryxml.c: (load_feature),
10350         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
10351         * gst/gstminiobject.c: (gst_mini_object_unref),
10352         (gst_mini_object_replace), (gst_value_mini_object_free),
10353         (gst_value_mini_object_copy):
10354         Use _CAST macros to avoid unneeded type checking.
10355         Added some more G_UNLIKELY.
10356
10357 2006-06-12  Wim Taymans  <wim@fluendo.com>
10358
10359         * gst/gstbuffer.h:
10360         Avoid unneeded type checking.
10361         API: GST_BUFFER_IS_DISCONT
10362
10363         * gst/gstminiobject.h:
10364         Avoid type check in flag accessor.
10365
10366         * gst/gstelementfactory.h:
10367         * gst/gstplugin.h:
10368         * gst/gstpluginfeature.h:
10369         Add _CAST macros.
10370         API: GST_ELEMENT_FACTORY_CAST
10371         API: GST_PLUGIN_CAST
10372         API: GST_PLUGIN_FEATURE_CAST
10373
10374 2006-06-12  Wim Taymans  <wim@fluendo.com>
10375
10376         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
10377         (gst_object_unref):
10378         Add G_UNLIKELY in type registration.
10379         Avoid type check in _ref/_unref since that is also
10380         done in glib.
10381
10382 2006-06-12  Wim Taymans  <wim@fluendo.com>
10383
10384         * gst/gsterror.c: (gst_g_error_get_type):
10385         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10386         (gst_static_pad_template_get_type):
10387         * gst/gsttaglist.c: (gst_tag_list_get_type):
10388         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
10389         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
10390         * gst/gsturi.c: (gst_uri_handler_get_type):
10391         * gst/gstvalue.c: (gst_date_get_type):
10392         * gst/gstxml.c: (gst_xml_get_type):
10393         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
10394         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10395         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
10396         Add G_UNLIKELY in type registration.
10397
10398 2006-06-12  Wim Taymans  <wim@fluendo.com>
10399
10400         * tools/gst-inspect.c: (print_signal_info):
10401         Properly print enum values.
10402
10403 2006-06-12  Wim Taymans  <wim@fluendo.com>
10404
10405         * gst/gstinfo.c: (gst_debug_set_active),
10406         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
10407         * gst/gstinfo.h:
10408         Add some G_[UN]LIKELY.
10409         Maintain __gst_debug_min to avoid formatting the arguments of
10410         debug messages that will be dropped anyway to avoid a lot of 
10411         overhead from the debugging system.
10412
10413 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10414
10415         * po/POTFILES.in:
10416         * po/POTFILES.skip:
10417           add missing files containing translatable strings, tell intltool about
10418           one exception
10419
10420 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10421
10422         * tests/check/libs/.cvsignore:
10423         add test-binary to ignore list
10424
10425 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10426
10427         * docs/libs/gstreamer-libs-docs.sgml:
10428         reorder (put dp into a chapter) and indent
10429
10430 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10431
10432         * configure.ac:
10433           back to HEAD
10434
10435 === release 0.10.8 ===
10436
10437 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
10438
10439         * configure.ac:
10440           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
10441
10442 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10443
10444         * gst/gst.c: (init_post):
10445           move pid declaration to declaration block
10446
10447 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10448
10449         * gst/gst.c: (init_post):
10450           use _exit() instead of exit() in our forked child; this ensures
10451           that none of the registered exit handlers from whatever is using
10452           GStreamer get executed.  This fixes gnome-mixer-applet failing
10453           to load, because ORBit would shut down.
10454           Spotted by: Edward Hervey  <edward@fluendo.com>
10455           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
10456           Fixes #344474
10457
10458 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10459
10460         * configure.ac:
10461           back to TRUNK
10462
10463 === release 0.10.7 ===
10464
10465 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
10466
10467         * configure.ac:
10468           releasing 0.10.7, "Soepeke, ik zie ou"
10469
10470 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10471
10472         * configure.ac:
10473         * po/af.po:
10474         * po/az.po:
10475         * po/bg.po:
10476         * po/ca.po:
10477         * po/cs.po:
10478         * po/de.po:
10479         * po/en_GB.po:
10480         * po/fr.po:
10481         * po/it.po:
10482         * po/nb.po:
10483         * po/nl.po:
10484         * po/ru.po:
10485         * po/sq.po:
10486         * po/sr.po:
10487         * po/sv.po:
10488         * po/tr.po:
10489         * po/uk.po:
10490         * po/vi.po:
10491         * po/zh_CN.po:
10492         * po/zh_TW.po:
10493         * win32/common/config.h:
10494           0.10.6.2 prerelease
10495
10496 2006-06-07  Wim Taymans  <wim@fluendo.com>
10497
10498         * gst/gstindex.c: (gst_index_gtype_resolver):
10499         * tools/gst-xmlinspect.c: (print_plugin_info):
10500         Fix leak spotted by coverity checker. Fixes #343827
10501         Fix another other leak found by paolo borelli.
10502
10503 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10504
10505         * libs/gst/dataprotocol/dataprotocol.c:
10506         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10507         (gst_dp_version_get_type), (gst_dp_init),
10508         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
10509         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
10510         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
10511         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
10512         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
10513         (gst_dp_packetizer_free):
10514         * libs/gst/dataprotocol/dataprotocol.h:
10515           API: add a GstDPPacketizer object, and create/free functions
10516           API: add GstDPVersion enum
10517           Add 1.0 event function that uses the string serialization
10518           Serialize more useful buffer flags
10519           Fixes #343988
10520
10521 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10522
10523         * tests/check/Makefile.am:
10524         * tests/check/gst/gstabi.c:
10525         * tests/check/gst/struct_ppc64.h:
10526         * tests/check/libs/libsabi.c:
10527         * tests/check/libs/struct_ppc64.h:
10528           add ppc64 structure sizes
10529
10530 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10531
10532         * tests/check/Makefile.am:
10533         * tests/check/gst/gstabi.c:
10534         * tests/check/gst/struct_x86_64.h:
10535         * tests/check/libs/libsabi.c:
10536         * tests/check/libs/struct_x86_64.h:
10537           generate and add structure size lists for x86_64
10538
10539 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10540
10541         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10542         * libs/gst/check/gstcheck.h:
10543           factor out the method from tests that checks size of structures,
10544           and add code to generate the header containing these sizes
10545         * tests/check/gst/gstabi.c: (GST_START_TEST):
10546         * tests/check/gst/struct_i386.h:
10547         * tests/check/libs/libsabi.c: (GST_START_TEST):
10548         * tests/check/libs/struct_i386.h:
10549           use it
10550
10551 2006-06-06  Michael Smith  <msmith@fluendo.com>
10552
10553         * gst/gstsegment.h:
10554           Don't use c++-style comments, fixes #343929
10555
10556 2006-06-05  Edward Hervey  <edward@fluendo.com>
10557
10558         * gst/gst.c:
10559         plugin_paths is not used if we build without registry support.
10560
10561         * gst/gstsegment.c: (gst_segment_copy): 
10562         _copy() was always returning NULL...
10563
10564 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10565
10566         * libs/gst/dataprotocol/dataprotocol.c:
10567         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10568         (gst_dp_packet_from_event):
10569           factor out CRC code
10570
10571 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10572
10573         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
10574           make sure we unset caps
10575
10576 2006-06-02  Michael Smith  <msmith@fluendo.com>
10577
10578         * libs/gst/check/gstcheck.c: (gst_check_init),
10579         (gst_check_chain_func):
10580         * libs/gst/check/gstcheck.h:
10581           Add a cond/mutex to the check support lib, signal this whenever we
10582           add to the buffers list. This will allow tests to not busy-wait on
10583           the buffer-list.
10584
10585 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10586
10587         * libs/gst/dataprotocol/dataprotocol.c:
10588         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10589         (gst_dp_packet_from_event):
10590           factor out some common header init code
10591
10592 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10593
10594         * docs/libs/gstreamer-libs-sections.txt:
10595         * docs/libs/tmpl/gstdataprotocol.sgml:
10596         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
10597         * libs/gst/dataprotocol/dataprotocol.h:
10598           API: make gst_dp_crc() public
10599
10600 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
10601
10602         * plugins/indexers/gstindexers.c: (plugin_init):
10603         conditionally register fileindexer (fixes #343598)
10604
10605 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
10606
10607         * gst/gsttagsetter.h:
10608         Can't cast ifaces to a class
10609
10610         * libs/gst/net/gstnetclientclock.h:
10611         * libs/gst/net/gstnettimeprovider.h:
10612         * plugins/elements/gstfakesink.h:
10613         * plugins/elements/gstfakesrc.h:
10614         * plugins/elements/gstfdsink.h:
10615         * plugins/elements/gstfdsrc.h:
10616         * plugins/elements/gstfilesink.h:
10617         * plugins/elements/gstfilesrc.h:
10618         * plugins/elements/gstidentity.h:
10619         * plugins/elements/gstqueue.h:
10620         * plugins/elements/gsttee.h:
10621         * plugins/indexers/gstfileindex.c:
10622         * plugins/indexers/gstmemindex.c:
10623         * tests/old/examples/plugins/example.h:
10624         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
10625
10626 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10627
10628         * libs/gst/dataprotocol/dataprotocol.c:
10629         (gst_dp_header_from_buffer):
10630           make sure we zero the whole ABI-compatible area
10631
10632 2006-06-01  Wim Taymans  <wim@fluendo.com>
10633
10634         Patch by: Alessandro Decina <alessandro at nnva dot org>
10635
10636         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
10637         Make sure the EOS flag is cleared from pads after a flush
10638         or stop. Fixes #343538.
10639
10640         * tests/check/libs/collectpads.c: (GST_START_TEST),
10641         (gst_collect_pads_suite):
10642         Added test for collectpads reusage after EOS.
10643
10644 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
10645
10646         * gst/gst.c:
10647          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
10648         * win32/common/libgstbase.def:
10649          export gst_collect_pads_set_flushing
10650         * win32/common/libgstreamer.def:
10651          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
10652          gst_value_fraction_multiply
10653         * win32/vs6/gst_inspect.dsp:
10654          add a link to intl.lib
10655
10656 2006-05-30  Wim Taymans  <wim@fluendo.com>
10657
10658         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10659         (gst_collect_pads_chain):
10660         Handle the case where a pad is removed from the collection
10661         that could cause the other pads to become collectable.
10662
10663 2006-05-30  Wim Taymans  <wim@fluendo.com>
10664
10665         * gst/gstelement.c:
10666         Clarify the use of _release_request_pad() and
10667         _get_request_pad() a bit better.
10668
10669         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
10670         (gst_adapter_take_buffer):
10671         Fix some doc and comment typos.
10672
10673 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10674
10675         * docs/gst/gstreamer-sections.txt:
10676         * docs/libs/gstreamer-libs-sections.txt:
10677           add declared symbols
10678
10679 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
10680
10681         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10682         Add debug that can be enabled using a #define at the top of the file,
10683         for dumping stats about how late/early we were when waking up from
10684         waiting on the clock.
10685
10686 2006-05-30  Wim Taymans  <wim@fluendo.com>
10687
10688         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
10689         When rebuilding the pad list, don't leak the previous list.
10690
10691 2006-05-30  Wim Taymans  <wim@fluendo.com>
10692
10693         Patch by: Lutz Mueller <lutz at topfrose dot de>
10694
10695         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10696         (gst_base_src_get_query_types), (gst_base_src_update_length):
10697         Publish supported query types.
10698         Update last_stop field in get_range mode so the position
10699         query works. Fixes #342321.
10700
10701 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
10702
10703         * docs/gst/gstreamer-sections.txt:
10704         * gst/gsttaglist.c: (_gst_tag_initialize):
10705         * gst/gsttaglist.h:
10706           API: add GST_TAG_PREVIEW_IMAGE (#343341).
10707
10708 2006-05-30  Wim Taymans  <wim@fluendo.com>
10709
10710         Patch by: Alessandro Decina <alessandro at nnva dot org>
10711
10712         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10713         Unlock mutex when removing an unknown pad.
10714         Fixes #343334.
10715
10716         * tests/check/Makefile.am:
10717         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
10718         (push_event), (setup), (teardown), (GST_START_TEST),
10719         (gst_collect_pads_suite), (main):
10720         Added collecpads check, disabled for now as check crashes for
10721         some reason.
10722
10723 2006-05-29  Wim Taymans  <wim@fluendo.com>
10724
10725         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
10726         Don't leak pads lists.
10727
10728 2006-05-29  Wim Taymans  <wim@fluendo.com>
10729
10730         * docs/libs/gstreamer-libs-sections.txt:
10731         * libs/gst/base/gstcollectpads.c:
10732         (gst_collect_pads_set_flushing_unlocked),
10733         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10734         (gst_collect_pads_stop):
10735         * libs/gst/base/gstcollectpads.h:
10736         API: gst_collect_pads_set_flushing()
10737         Added api to set the pads to flushing, useful for seeking
10738         code in elements using collectpads.
10739         Clear segment when receiving a flush.
10740
10741 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
10742
10743         * gst/gst.c: (add_path_func), (init_post):
10744           Don't scan registry paths passed via --gst-plugin-path immediately
10745           (will crash, because absolutely nothing is set up and no types are
10746           registered etc.); do this later in init_post(). Fixes #343057.
10747
10748 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10749
10750         * gst/gst.c: (init_post):
10751           if we have fork, fork while reading/rebuilding the registry
10752           so the parent doesn't take the hit of having all plugins loaded
10753           in memory.  Fixes #342777.
10754         * configure.ac:
10755           Check if we have fork()
10756         * win32/common/config.h.in:
10757           no fork() on win32
10758
10759 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
10760
10761         * plugins/elements/gstelements.c:
10762         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10763         (gst_file_src_init), (gst_file_src_set_property),
10764         (gst_file_src_get_property), (gst_file_src_start):
10765         * plugins/elements/gstfilesrc.h:
10766           API: GstFileSrc::use-mmap
10767
10768         Add a use-mmap property to enable easier testing of all code paths.
10769         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
10770         in the absence of gnomevfssrc. (Closes #340501)
10771
10772 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10773
10774         * tools/gst-inspect.c:
10775         Add missing include, removes warning of ngettext not being defined on
10776         some arches.
10777
10778 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
10779
10780         * gst/gstvalue.c: (gst_value_deserialize_fraction):
10781         Handle NULL input and output pointers silently as a failed conversion,
10782         rather than g_warnings.
10783
10784 2006-05-25  Wim Taymans  <wim@fluendo.com>
10785
10786         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
10787         Initialize variable before using. Fixes #342820.
10788
10789 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
10790
10791         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
10792           Fix off-by-one bug that would only allow peeks of N-1 bytes
10793           from the start even if the buffer to typefind on contains
10794           in fact N bytes of data (makes vorbis typefinding from a
10795           vorbis identification header buffer work).
10796
10797         * tests/check/Makefile.am:
10798         * tests/check/libs/.cvsignore:
10799         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
10800         (gst_typefindhelper_suite), (main), (foobar_typefind),
10801         (plugin_init):
10802           Add very basic unit test for gst_type_find_helper_for_buffer()
10803           that checks for the problem fixed above.
10804
10805 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10806
10807         * tools/gst-inspect.c: (print_interfaces),
10808         (print_element_properties_info), (print_element_list), (main):
10809           add more translatable strings
10810
10811 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
10812
10813         Patch by: Julien Moutte  <julien at moutte net>
10814
10815         * docs/gst/gstreamer-sections.txt:
10816           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
10817           
10818         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
10819         (gst_fake_sink_preroll):
10820         * plugins/elements/gstfakesink.h:
10821           API: Add new GstFakeSink::preroll-handoff signal (#337100).
10822
10823 2006-05-23  Wim Taymans  <wim@fluendo.com>
10824
10825         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
10826         * gst/gstpad.h:
10827         Added _CUSTOM error and success GstFlowReturn that can be
10828         used be elements internally. 
10829         Added macro to check for SUCCESS flowreturns.
10830         API: GST_FLOW_CUSTOM_SUCCESS
10831         API: GST_FLOW_CUSTOM_ERROR
10832         API: GST_FLOW_IS_SUCCESS
10833
10834         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
10835         Added check for GstFlowReturn sanity.
10836
10837 2006-05-23  Wim Taymans  <wim@fluendo.com>
10838
10839         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10840
10841         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10842         (gst_collect_pads_event):
10843         clear/reset segment info in FLUSH_STOP.
10844         Fixes #336929.
10845
10846 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
10847
10848         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
10849         (gst_collect_pads_check_collected):
10850         Flush queued buffer on _stop(), fixes playing again (#342454)
10851
10852 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10853
10854         * tests/check/gst/gststructure.c: (GST_START_TEST),
10855         (gst_structure_suite):
10856           add a test for a complete structure
10857
10858 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
10859
10860         * docs/faq/developing.xml:
10861         * docs/faq/faq.xml:
10862         * docs/faq/troubleshooting.xml:
10863         * docs/faq/using.xml:
10864           Some minor FAQ updates that won't change the fact that
10865           our FAQ is badly structured, full of information hardly
10866           anyone new to GStreamer needs to know and lacking lots
10867           of information people constantly ask for.
10868           
10869 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
10870
10871         * gst/gstpad.c: (gst_pad_set_caps):
10872           Short-circuit gst_pad_set_caps if setting the existing
10873           caps pointer again, and avoid printing debug and 
10874           reffing/unreffing the caps.
10875
10876         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10877           There's actually no need to set the caps before pushing -
10878           the acceptcaps method will handle it anyway.
10879
10880 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
10881
10882         * docs/gst/gstreamer-sections.txt:
10883         * win32/common/libgstreamer.def:
10884         * gst/gstutils.c: (gst_element_seek_simple):
10885         * gst/gstutils.h:
10886           API: add gst_element_seek_simple() (#342238).
10887
10888 2006-05-18  Edward Hervey  <edward@fluendo.com>
10889
10890         * gst/gsttypefind.c: (gst_type_find_get_type):
10891         * gst/gsttypefind.h:
10892         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
10893         registered for GstTypeFind pointers. This allows wrapping the structure
10894         in bindings (i.e. gst-python).
10895
10896 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
10897
10898         * gst/gsttagsetter.c:
10899           Docs additions and fixes (see #339918).
10900
10901 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10902
10903         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10904         The caps intersection algorithm can produce multiple copies of the
10905         caps. Until that is fixed, we need to simplify the result to be
10906         sure whether the allowed caps are fixed or not.
10907
10908         * plugins/elements/gstqueue.c: (gst_queue_init),
10909         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
10910         (gst_queue_push_one):
10911         Proxied buffer alloc should not set the caps on the source pad.
10912         When pushing buffers, we always accept the caps change that triggers.
10913         This prevents negotiation errors caused by caps changing mid-stream 
10914         and then being refused on our source pad (because upstream is now
10915         refusing those caps).
10916
10917 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
10918
10919         * tests/examples/helloworld/helloworld.c: (main):
10920           Must plug audioconvert and audioresample between decoder
10921           and audio sink.
10922
10923 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
10924
10925         * gst/gstregistryxml.c: (read_string), (load_pad_template),
10926         (load_feature), (load_plugin):
10927         Allow empty strings for some of the plugin fields so we don't 
10928         drop valid plugin entries that were written out correctly
10929         (Fixes #341479)
10930
10931 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
10932         
10933         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10934           Use g_remove and g_rename instead of remove and rename that don't 
10935           handle utf8 characters. rename was failing for users who had specific
10936           characters in their name then the registry was built at each 
10937           gstreamer init.
10938         * win32/vs6/gst_inspect.dsp:
10939         * win32/vs6/gst_launch.dsp:
10940         * win32/vs6/libgstbase.dsp:
10941         * win32/vs6/libgstcoreelements.dsp:
10942         * win32/vs6/libgstreamer.dsp:
10943           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
10944           build of libgstreamer and clean unused libraries in projects link 
10945           settings.
10946
10947 2006-05-17  Edward Hervey  <edward@fluendo.com>
10948
10949         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10950         The queue is not responsible for pushing an EOS when receiving a fatal
10951         flow error. It's up to the real element driving the pipeline to do that.
10952
10953 2006-05-16  Edward Hervey  <edward@fluendo.com>
10954
10955         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10956         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
10957         buffer returned a fatal error. It should just send an EOS and stop
10958         its task.
10959         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
10960         when pushing buffers on the queue and will be able to handle the event.
10961
10962 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
10963
10964         * docs/manual/basics-bins.xml:
10965         * docs/manual/basics-init.xml:
10966           Fix typos and minor errors in sample code (#341856).
10967
10968 2006-05-16  Wim Taymans  <wim@fluendo.com>
10969
10970         * docs/design/part-qos.txt:
10971         Fix indexes in formulas to make more sense.
10972
10973 2006-05-15  Wim Taymans  <wim@fluendo.com>
10974
10975         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10976         Don't report POSITION based on clock time if sync is
10977         disabled in a sink.
10978
10979 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
10980
10981         * gst/gstobject.h:
10982           Add cast to make compiler happy - refcount variable was a gint
10983           in GstObject but is a guint in GObject and g_atomic_int_get()
10984           wants a gint *.
10985
10986 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10987
10988         * gst/parse/Makefile.am:
10989           chain commands using &&, which also makes parallel make work
10990
10991 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
10992
10993         * docs/gst/gstreamer-sections.txt:
10994         * gst/gstevent.c:
10995         * gst/gstevent.h:
10996         * gst/gstmessage.h:
10997           Minor docs fixes.
10998
10999 === release 0.10.6 ===
11000
11001 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
11002
11003         * configure.ac:
11004           releasing 0.10.6, "Take the cannoli"
11005
11006 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11007
11008         * tools/gst-launch.c: (print_tag):
11009           Fix use of uninitialized variable in the hypothetical
11010           case that some broken plugin creates a GST_TAG_IMAGE
11011           tag containing a NULL buffer (#341667).
11012
11013 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11014
11015         * tools/gst-launch.c: (print_tag):
11016           Print something more intelligible for image tags when
11017           using the -t switch (#341556).
11018
11019 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11020
11021         * Makefile.am:
11022           updates for win32
11023         * configure.ac:
11024           define GST_MAJORMINOR so we have it available in win32/common/config.h
11025           Possibly remove it from our Makefile.am files later
11026         * win32/common/config.h:
11027         * win32/common/config.h.in:
11028           added GST_MAJORMINOR
11029         * win32/common/gstenumtypes.c: (register_gst_resource_error):
11030         * win32/common/gstversion.h:
11031           updated
11032
11033 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
11034
11035         * win32/MANIFEST:
11036           Update win32 files listing.
11037         * win32/common/gstversion.h:
11038           Add GST_MAJORMINOR definition.
11039         * win32/common/libgstreamer.def:
11040           Add new exported functions.
11041           
11042 2006-05-12  Michael Smith  <msmith@fluendo.com>
11043
11044         * gst/gstplugin.c: (gst_plugin_load_file):
11045           If an so file has no plugin entry point, unload the module.
11046
11047 2006-05-11  Wim Taymans  <wim@fluendo.com>
11048
11049         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
11050         (gst_queue_set_property):
11051         Don't forget to signal the _chain or _loop function 
11052         when the queue size or thresholds change since that might
11053         cause them to make progres again.
11054
11055 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
11056
11057         * gst/gstclock.c: (gst_clock_class_init):
11058         * gst/gstindex.c: (gst_index_class_init):
11059         * gst/gstobject.c: (gst_object_class_init):
11060         * gst/gstpad.c: (gst_pad_class_init):
11061         * gst/gstpipeline.c: (gst_pipeline_class_init):
11062         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11063         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
11064         * libs/gst/base/gstbasetransform.c:
11065         (gst_base_transform_class_init):
11066         * libs/gst/net/gstnetclientclock.c:
11067         (gst_net_client_clock_class_init):
11068         * libs/gst/net/gstnettimeprovider.c:
11069         (gst_net_time_provider_class_init):
11070         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
11071         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11072         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11073         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
11074         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11075         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11076         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11077         * plugins/elements/gstidentity.c: (gst_identity_class_init):
11078         * plugins/elements/gsttee.c: (gst_tee_class_init):
11079         * tests/old/examples/plugins/example.c: (gst_example_class_init):
11080         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11081           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
11082
11083 2006-05-11  Wim Taymans  <wim@fluendo.com>
11084
11085         * gst/gstbuffer.c: (_gst_buffer_initialize):
11086         Register subbufer along with the buffer type so that
11087         it does not accidentally gets registered from N
11088         different streaming threads in a non threadsafe way.
11089
11090 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
11091
11092         * gst/gstbuffer.h:
11093         * gst/gstevent.h:
11094         * gst/gstmessage.h:
11095           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
11096           gst_event_ref() and gst_message_ref() functions again
11097           (ugly hack, please do fix if there's a better way besides
11098           overrides.txt, which doesn't seem to work).
11099
11100 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11101
11102         * libs/gst/check/gstcheck.h:
11103           add an assert for setting state to avoid lots of repetitive code
11104           in the future
11105
11106 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11107
11108         * gst/gstvalue.c: (gst_value_serialize_flags):
11109           fix a leak if no flags are set
11110         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11111           fix leak in tests
11112
11113 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
11114
11115         * docs/manual/basics-pads.xml:
11116           Expand a bit on caps and filtered links and update
11117           examples that were still using the no longer existing
11118           gst_pad_link_filtered() (#338206).
11119
11120 2006-05-10  Wim Taymans  <wim@fluendo.com>
11121
11122         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11123         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11124         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11125         (gst_collect_pads_stop):
11126         * libs/gst/base/gstcollectpads.h:
11127         No need to call _stop in _finalize.
11128         Iterate the main pad list in _finalize.
11129         Added some more debug.
11130         Free lists and data in the right order.
11131         Also free data whem doing _remove_pad when stopped for
11132         backward compatibility protect ::started with PAD_LOCK as
11133         well.
11134
11135 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11136
11137         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
11138         (gst_structure_parse_value):
11139           add some comments
11140           rename a method so that it actually says what it does better
11141
11142 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11143
11144         * gst/gstevent.c: (_gst_event_initialize):
11145         * gst/gstformat.c: (_gst_format_initialize):
11146           make sure some essential types used by events are registered
11147           as part of gst_init()
11148         * gst/gstvalue.c: (gst_value_serialize_flags):
11149           if no flags are set, serialize them to a value that represents NONE
11150           so that deserializing them works
11151         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11152           add tests for serialization and deserialization of flags
11153
11154 2006-05-10  Wim Taymans  <wim@fluendo.com>
11155
11156         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
11157         (gst_collect_pads_collect_range), (gst_collect_pads_available),
11158         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
11159         (gst_collect_pads_event), (gst_collect_pads_chain):
11160         Update docs.
11161         Better debug info.
11162         Catch and return errors from the collect function
11163         Refuse data on eos pads.
11164
11165 2006-05-10  Edward Hervey  <edward@fluendo.com>
11166
11167         * gst/gstinterface.h:
11168         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
11169         GInterface type checking.
11170         They were previously using non-defined macros.
11171
11172 2006-05-09  Wim Taymans  <wim@fluendo.com>
11173
11174         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
11175         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
11176         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
11177         (gst_collect_pads_start), (gst_collect_pads_stop),
11178         (gst_collect_pads_peek), (gst_collect_pads_pop),
11179         (gst_collect_pads_available), (gst_collect_pads_read),
11180         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
11181         (gst_collect_pads_is_collected), (gst_collect_pads_event),
11182         (gst_collect_pads_chain):
11183         * libs/gst/base/gstcollectpads.h:
11184         Clean up the mess that is collectpads, add comments and
11185         FIXMEs where needed.
11186         Maintain a separate pad list so we can add pads while
11187         collecting the other ones. For this we need a new separate 
11188         lock (see comics).
11189         Fix memory leak in finalize.
11190         Refactor some weird code to set/unset pad flushing flags, mark
11191         with comments.
11192         Don't crash in _available, _read, _flush when we're EOS.
11193
11194         * tests/check/libs/.cvsignore:
11195         Ignore adapter check binary.
11196
11197 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11198
11199         * gst/gstindex.c: (gst_index_resolver_get_type):
11200         * plugins/elements/gstfakesink.c:
11201         (gst_fake_sink_state_error_get_type):
11202         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11203         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
11204         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11205           Const-ify GEnumValue arrays.
11206
11207 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11208
11209         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11210           Add test case for flags + gst_buffer_make_metadata_writable().
11211
11212 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11213
11214         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
11215           gst_buffer_make_metadata_writable() should maintain the
11216           buffer flags (those that make sense at least) (see #340859).
11217
11218 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11219
11220         * tools/gst-inspect.c:
11221         * tools/gst-launch.c:
11222         * tools/gst-typefind.c:
11223         * tools/gst-xmlinspect.c:
11224         * tools/tools.h:
11225           Fix up includes: need to include stdlib.h in tools.h for exit().
11226
11227 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11228
11229         * gst/gsttaglist.c: (_gst_tag_initialize):
11230         * gst/gsttaglist.h:
11231           API: add GST_TAG_IMAGE tag (#340721).
11232
11233 2006-05-08  Wim Taymans  <wim@fluendo.com>
11234
11235         * gst/gstquery.c:
11236         Added some docs for the segment query.
11237
11238 2006-05-08  Wim Taymans  <wim@fluendo.com>
11239
11240         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11241         (gst_base_src_loop), (gst_base_src_change_state):
11242         Always push non-flushing serialized events in the streaming 
11243         thread.
11244
11245 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11246
11247         * gst/gsterror.c: (_gst_stream_errors_init):
11248           Add a missing error string.
11249
11250 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
11251
11252         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
11253         Add applied_rate to the debug
11254
11255         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11256         Copy applied_rate into the outgoing NEWSEGMENT event
11257
11258 2006-05-08  Wim Taymans  <wim@fluendo.com>
11259
11260         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
11261
11262         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
11263         (gst_base_sink_change_state):
11264         call ::unlock before taking the PREROLL_LOCK so we can safely
11265         handle elements that lock in ::render.
11266         Fixes #340174.
11267
11268 2006-05-08  Edward Hervey  <edward@fluendo.com>
11269
11270         * autogen.sh: (CONFIGURE_DEF_OPT): 
11271         Darwin's libtoolize is in fact called glibtoolize.
11272         Adding glibtoolize to the list of accepted names for libtoolize.
11273
11274 2006-05-08  Wim Taymans  <wim@fluendo.com>
11275
11276         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11277         Unify error handling, don't post an error message
11278         when a push() returns EOS but perform our normal EOS
11279         handling code. Fixes #340772.
11280
11281 2006-05-08  Wim Taymans  <wim@fluendo.com>
11282
11283         * docs/design/part-overview.txt:
11284         Make upsteam/downstream concepts more clear.
11285         Give an example of serialized/non-serialized events.
11286
11287         * docs/design/part-events.txt:
11288         * docs/design/part-streams.txt:
11289         Mention applied_rate.
11290
11291         * docs/design/part-trickmodes.txt:
11292         Mention applied rate, flesh out some more use cases.
11293
11294         * gst/gstevent.c: (gst_event_new_new_segment),
11295         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
11296         (gst_event_parse_new_segment_full), (gst_event_new_tag),
11297         (gst_event_parse_tag), (gst_event_new_buffer_size),
11298         (gst_event_parse_buffer_size), (gst_event_new_qos),
11299         (gst_event_parse_qos), (gst_event_parse_seek),
11300         (gst_event_new_navigation):
11301         * gst/gstevent.h:
11302         Add applied_rate field to NEWSEGMENT event.
11303         API: gst_event_new_new_segment_full()
11304         API: gst_event_parse_new_segment_full()
11305
11306         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
11307         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
11308         (gst_segment_to_stream_time), (gst_segment_to_running_time):
11309         * gst/gstsegment.h:
11310         Add applied_rate to GstSegment structure.
11311         Make calculation of stream_time and running_time more correct
11312         wrt rate/applied_rate.
11313         Add some more docs.
11314         API: GstSegment::applied_rate field
11315         API: gst_segment_set_newsegment_full();
11316
11317         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11318         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
11319         * libs/gst/base/gstbasetransform.c:
11320         (gst_base_transform_sink_eventfunc),
11321         (gst_base_transform_handle_buffer):
11322         Parse and use applied_rate in the GstSegment field.
11323
11324         * tests/check/gst/gstevent.c: (GST_START_TEST):
11325         Add check for applied_rate field.
11326
11327         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11328         (gstsegments_suite):
11329         Add more checks for various GstSegment operations.
11330
11331 2006-05-08  Wim Taymans  <wim@fluendo.com>
11332
11333         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11334         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
11335         (gst_base_sink_get_position), (gst_base_sink_change_state):
11336         Store the sync time of the buffer end position separatly in a
11337         new variable eos_rtime so we can properly sync the EOS event.
11338         Fixes #340697.
11339         Fix the docs for gst_base_sink_set_qos_enabled().
11340         Don't set segment start to invalid value when we receive a 
11341         non TIME newsegment.
11342         get closer to handling position reporting for negative rates 
11343         correctly.
11344
11345 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
11346
11347         * gst/gstcaps.c:
11348         Docs about how to print caps for debug purposes.
11349
11350         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
11351         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
11352
11353 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
11354
11355         * gst/gstelement.c:
11356           use full enum names and preprend a '%' in docs strings to make recent 
11357           gtk-doc turn that into a link
11358
11359 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11360
11361         * docs/manual/basics-bins.xml:
11362         * docs/manual/basics-bus.xml:
11363         * docs/manual/basics-pads.xml:
11364           Some typo fixes, some additions, some clarifications. 
11365
11366 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11367
11368         * tools/gst-inspect.c: (main):
11369         * tools/gst-launch.c: (main):
11370         * tools/gst-run.c: (main):
11371         * tools/gst-typefind.c: (main):
11372         * tools/gst-xmlinspect.c: (main):
11373           Use the string passed to g_option_context_new() for
11374           what it's intended for - the program name is already
11375           printed elsewhere.
11376
11377 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11378
11379         * tools/Makefile.am:
11380         * tools/gst-inspect.c: (main):
11381         * tools/gst-launch.c: (main):
11382         * tools/gst-xmlinspect.c: (main):
11383         * tools/tools.h:
11384           Add back --version command line option (#340460).
11385
11386         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
11387           Add --version option and use GOption for argument parsing; refactor a
11388           bit; accept directories as arguments and recurse into them; lastly,
11389           print a decent error message when things go wrong.
11390
11391 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11392
11393         * docs/manual/basics-bins.xml:
11394         Don't mention GstThread (#340611)
11395         * docs/manual/basics-elements.xml:
11396         Update link to GObject tutorial (#340607)
11397         
11398 2006-05-05  Wim Taymans  <wim@fluendo.com>
11399
11400         * gst/gstbuffer.h:
11401         * gst/gstminiobject.c:
11402         Add note about refcounting and miniobject/buffer writeability
11403         to docs. Fixes #340604
11404
11405         * gst/gstelementfactory.h:
11406         Added some explanation about @klass.
11407
11408 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11409
11410         * docs/manual/intro-motivation.xml:
11411         * docs/manual/manual.xml:
11412         Avoid CORBA & Bonobo references (#340598)
11413
11414 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11415
11416         * docs/manual/basics-bus.xml:
11417         * docs/manual/basics-pads.xml:
11418         Fix up some inaccuracies and omissions (#340609)
11419         
11420 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11421
11422         * gst/gstghostpad.c:
11423           Small typo in docs (#340625)
11424
11425 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11426
11427         * gst/parse/Makefile.am:
11428           Make 'make -j' proof (see #340698).
11429
11430 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11431
11432         * configure.ac:
11433           Require GLib-2.8 here as well.
11434
11435 2006-05-05  Wim Taymans  <wim@fluendo.com>
11436
11437         * gst/glib-compat.c:
11438         * gst/gst.c: (init_pre):
11439         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11440         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
11441         (gst_object_dispatch_properties_changed):
11442         * gst/gstobject.h:
11443         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11444         * gst/gststructure.c: (gst_structure_set_valist):
11445         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11446         Remove pre glib2.8 compatibility, fixes #340508
11447
11448 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
11449
11450         * gst/gsttaglist.h:
11451           Mention type of tags in doc blurbs.
11452
11453 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
11454
11455         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11456         (gst_pad_configure_src), (gst_pad_push):
11457         Restore acceptcaps checking behaviour now that good plugins have
11458         been released.
11459
11460 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
11461
11462         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
11463
11464         * gst/gst.c:
11465         * gst/gstbus.c:
11466         * gst/gstclock.c:
11467         * gst/gstevent.c:
11468         * gst/gstformat.c:
11469         * gst/gstmessage.c:
11470         * gst/gstparse.c:
11471         * gst/gstquery.c:
11472         * gst/gstutils.c:
11473         * gst/parse/Makefile.am:
11474         * libs/gst/base/gstadapter.c:
11475         * libs/gst/base/gstbasesrc.c:
11476         * libs/gst/base/gstpushsrc.c:
11477         * libs/gst/base/gsttypefindhelper.c:
11478         * plugins/elements/gstfakesrc.c:
11479         * plugins/elements/gstidentity.c:
11480           Make sure gstprivate.h and/or config.h are
11481           always included first, otherwise some of our
11482           defines (like _FILE_OFFSET_BITS) might be
11483           redefined in the system headers. Fixes build
11484           on opensolaris (#340016).
11485
11486 2006-05-04  Wim Taymans  <wim@fluendo.com>
11487
11488         * docs/libs/gstreamer-libs-sections.txt:
11489         API: addition: gst_adapter_take_buffer()
11490         
11491         * libs/gst/base/gstadapter.c: (gst_adapter_push),
11492         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
11493         (gst_adapter_available_fast):
11494         * libs/gst/base/gstadapter.h:
11495         Prepare for optimizing the hell out of this hugely inefficient
11496         piece of code. 
11497         Added gst_adapter_take_buffer() so we can at least start thinking
11498         about subbuffering and merging.
11499         Added some comments.
11500
11501         * tests/check/Makefile.am:
11502         * tests/check/libs/adapter.c: (GST_START_TEST),
11503         (gst_adapter_suite), (main):
11504         Added GstAdapter check.
11505
11506 2006-05-04  Wim Taymans  <wim@fluendo.com>
11507
11508         * docs/design/part-overview.txt:
11509         Fix some typos, add blurb about buffer flags.
11510
11511 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11512
11513         * docs/libs/gstreamer-libs-sections.txt:
11514           make sure GstBaseTransformClass shows up in the docs
11515         * libs/gst/base/gstbasetransform.c:
11516         * libs/gst/base/gstbasetransform.h:
11517           move docs so gtk-doc picks it up now
11518
11519 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
11520
11521         * docs/libs/gstreamer-libs-sections.txt:
11522           add missing symbols to docs
11523
11524 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
11525
11526         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11527           back out the newsegment handling change, see #340060 for ongoing
11528           discussion
11529
11530 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
11531
11532         * tools/gst-run.c: (get_candidates), (main):
11533           Fix wrong g_file_test() usage (see glib docs for why it doesn't
11534           work); fix typo in error message. Fixes #340079.
11535
11536 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11537
11538         * common/Makefile.am:
11539         * docs/Makefile.am:
11540         * docs/faq/Makefile.am:
11541         * docs/gst/Makefile.am:
11542         * docs/libs/Makefile.am:
11543         * docs/manual/Makefile.am:
11544         * docs/plugins/Makefile.am:
11545         * docs/pwg/Makefile.am:
11546         * docs/slides/Makefile.am:
11547         * docs/upload.mak:
11548         * common/upload.mak:
11549           move upload.mak to common
11550
11551 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11552
11553         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11554           add more asserts on refcounts
11555           do more cleanup at end of tests
11556           fix test leaks showing in FC5
11557
11558 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
11559
11560         * plugins/elements/gsttypefindelement.c:
11561         (gst_type_find_element_handle_event):
11562         reverted wrong change and reflowed code to avoid others falling into
11563         this trap
11564
11565 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11566
11567         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11568           fix changelog entry about last collectpads change,
11569           add notes about proper fix
11570
11571 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11572
11573         * gst/gst.c:
11574         * gst/gstregistry.c: (gst_registry_scan_path_level),
11575         (gst_registry_scan_path):
11576         * gst/gstregistry.h:
11577           only write out registry if it has changed, fixes #338339
11578
11579 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11580
11581         * gst/gstbin.c:
11582         * gst/gstpipeline.c:
11583         * plugins/elements/gstcapsfilter.c:
11584         * plugins/elements/gstfakesink.c:
11585         * plugins/elements/gstfakesrc.c:
11586         * plugins/elements/gstfdsink.c:
11587         * plugins/elements/gstfdsrc.c:
11588         * plugins/elements/gstfilesink.c:
11589         * plugins/elements/gstfilesrc.c:
11590         * plugins/elements/gstidentity.c:
11591         * plugins/elements/gstqueue.c:
11592         * plugins/elements/gsttee.c:
11593         * plugins/elements/gsttypefindelement.c:
11594         (gst_type_find_element_handle_event):
11595           make GstElementDetails const
11596
11597 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11598
11599         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
11600         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11601         (gst_collect_pads_is_collected), (gst_collect_pads_event):
11602           more detailed debug and formatting cleanup,
11603           forward newsegments to src-pad (so that e.g. adder not eats them)
11604
11605 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11606
11607         * gst/gstutils.c: (gst_element_link_pads):
11608           cleanup double code
11609
11610 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11611
11612         * libs/gst/controller/gstcontroller.c:
11613         (gst_controller_sync_values):
11614           some little tuning
11615         * tests/check/libs/controller.c: (GST_START_TEST),
11616         (gst_controller_suite):
11617           a new test for live value handling
11618
11619 2006-04-28  Wim Taymans  <wim@fluendo.com>
11620
11621         * gst/gstutils.c: (push_and_ref):
11622         Added some more docs.
11623         Fix refcount issue whith gst_element_found_tags() helper 
11624         function. Fixes #338335
11625
11626         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11627         Added testsuite for gst_element_found_tags().
11628
11629 2006-04-28  Michael Smith  <msmith@fluendo.com>
11630
11631         * gst/gstvalue.c: (gst_value_serialize_flags):
11632           Avoid NULL dereference when trying to serialize flags containing
11633           invalid values.
11634
11635 2006-04-28  Michael Smith  <msmith@fluendo.com>
11636
11637         * plugins/elements/gsttypefindelement.c:
11638         (gst_type_find_element_handle_event):
11639           If we get EOS before any data is accumulated, don't use
11640           uninitialised local variables.
11641
11642 2006-04-28  Michael Smith  <msmith@fluendo.com>
11643
11644         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11645         (gst_dp_event_from_packet):
11646           Fixes in reading/writing events over GDP (not currently used?) - 
11647           dereferencing NULL events for unknown/invalid event types, memory
11648           leak, and change g_warning to GST_WARNING.
11649
11650 2006-04-28  Wim Taymans  <wim@fluendo.com>
11651
11652         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
11653         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11654         (gst_base_sink_get_position), (gst_base_sink_change_state):
11655         When frame dropping is enabled, we should not ignore frames
11656         without a duration.
11657         Update some documentation.
11658
11659 2006-04-28  Wim Taymans  <wim@fluendo.com>
11660
11661         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11662         (gst_base_src_send_event), (gst_base_src_change_state):
11663         Documentation updates.
11664
11665 2006-04-28  Wim Taymans  <wim@fluendo.com>
11666
11667         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
11668         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
11669         handle EAGAIN, EINTR and short writes correctly. Also clean
11670         up some error cases, avoid a deadlock on bad file descriptors and
11671         use GST_DEBUG_OBJECT.
11672         Fixes #339843
11673
11674 2006-04-28  Wim Taymans  <wim@fluendo.com>
11675
11676         * gst/gstvalue.c: (gst_value_serialize_buffer),
11677         (gst_value_deserialize_buffer):
11678         Don't try to serialize a GValue with a NULL buffer. 
11679         Fixes #339821.
11680
11681         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11682         Added check for serialisation of NULL buffers.
11683
11684 2006-04-28  Wim Taymans  <wim@fluendo.com>
11685
11686         * gst/gstminiobject.c: (gst_value_take_mini_object):
11687         Taking a NULL miniobject is valid, fix the case where
11688         we try to unref the NULL miniobject.
11689
11690 2006-04-28  Wim Taymans  <wim@fluendo.com>
11691
11692         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
11693
11694         * gst/gstbin.c: (gst_bin_handle_message_func):
11695         Update docs.
11696         Don't leak bin refcount when a state recalc is
11697         in progress and we delay another one #339808.
11698
11699 2006-04-28  Wim Taymans  <wim@fluendo.com>
11700
11701         * docs/design/part-TODO.txt:
11702         Mention QoS as an ongoing work item.
11703
11704         * docs/design/part-buffering.txt:
11705         New doc about buffering that needs to be fleshed out
11706         at some point.
11707
11708         * docs/design/part-qos.txt:
11709         More QoS policy for decoders/demuxers/transforms
11710
11711         * docs/design/part-trickmodes.txt:
11712         Small update.
11713
11714 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11715
11716         * configure.ac:
11717           back to HEAD
11718
11719 === release 0.10.5 ===
11720
11721 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
11722
11723         * configure.ac:
11724           releasing 0.10.5, "Fogo"
11725
11726 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11727
11728         patch by: Wim Taymans
11729
11730         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11731         (gst_pad_configure_src), (gst_pad_push):
11732         * gst/gstpipeline.c: (gst_pipeline_init):
11733           Fix internal data flow errors.  Fixes #338711.
11734
11735 2006-04-12  Wim Taymans  <wim@fluendo.com>
11736
11737         * tests/check/gst/gstelement.c: (GST_START_TEST):
11738         Don't leak the factory.
11739
11740 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11741
11742         * configure.ac:
11743         * win32/common/config.h:
11744           prerelease
11745
11746 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
11747
11748         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11749         (gst_controller_unset_all):
11750           Free allocated GstTimedValues when freeing list nodes.
11751           Should fix leaks 'make check-valgrind' complains about.
11752
11753         * win32/common/libgstcontroller.def:
11754           Add gst_controller_unset_all.
11755
11756 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
11757
11758         * docs/libs/gstreamer-libs-sections.txt:
11759         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11760         (gst_controller_unset_all):
11761         * libs/gst/controller/gstcontroller.h:
11762         API: Added new method gst_controller_unset_all()
11763         fixed gst_controller_unset()
11764         * tests/check/libs/controller.c: (GST_START_TEST),
11765         (gst_controller_suite):
11766         Added two testcases for new and fixed method
11767
11768 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
11769
11770         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11771           MSG_DONTWAIT is not defined on Cygwin, so work
11772           around that (fixes #317048).
11773           
11774 2006-04-11  Wim Taymans  <wim@fluendo.com>
11775
11776         * gst/gstelementfactory.c: (gst_element_register),
11777         (gst_element_factory_create), (gst_element_factory_make):
11778         Some cleanups.
11779         Fixed a FIXME.
11780         Updated docs (Fixes #131079)
11781
11782         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11783         Small cleanups.
11784
11785         * tests/check/gst/gstelement.c: (GST_START_TEST),
11786         (gst_element_suite):
11787         Added testcase for elementfactory class field.
11788
11789 2006-04-10  Wim Taymans  <wim@fluendo.com>
11790
11791         * gst/gstsegment.c:
11792         Added some more docs.
11793
11794         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
11795         (gst_base_sink_reset_qos):
11796         Calculate more accurate rate values.
11797
11798 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
11799
11800         * gst/gst_private.h:
11801           add a new #ifdef to use __declspec(dllimport) only for
11802           other modules and not for gstreamer core
11803         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
11804           use gst_guint64_to_gdouble for conversion
11805         * win32/common/libgstreamer.def:
11806           add new exported functions
11807         * win32/vs6/gst_inspect.dsp:
11808         * win32/vs6/gst_launch.dsp:
11809         * win32/vs6/libgstbase.dsp:
11810         * win32/vs6/libgstcontroller.dsp:
11811         * win32/vs6/libgstcoreelements.dsp:
11812         * win32/vs6/libgstdataprotocol.dsp:
11813         * win32/vs6/libgstnet.dsp:
11814           update project files
11815
11816 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
11817
11818         * gst/gstbuffer.c: (gst_subbuffer_class_init):
11819         * gst/gstclock.c: (gst_clock_class_init):
11820         * gst/gstelement.c: (gst_element_class_init):
11821         * gst/gstindex.c: (gst_index_class_init):
11822         * gst/gstindexfactory.c: (gst_index_factory_class_init):
11823         * gst/gstobject.c: (gst_object_class_init),
11824         (gst_signal_object_class_init):
11825         * gst/gstpad.c: (gst_pad_class_init):
11826         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
11827         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
11828         * gst/gstregistry.c: (gst_registry_class_init):
11829         * gst/gstsystemclock.c: (gst_system_clock_class_init):
11830         * gst/gsttask.c: (gst_task_class_init):
11831         * gst/gstxml.c: (gst_xml_class_init):
11832         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11833         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11834         (gst_base_src_loop):
11835         * libs/gst/controller/gstcontroller.c:/
11836         (_gst_controller_class_init):
11837         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11838         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
11839         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
11840         * tests/old/examples/plugins/example.c: (gst_example_class_init):
11841         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11842         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
11843
11844 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
11845
11846         * gst/gstpad.c: (gst_pad_link):
11847           Must set peer pads before calling the link function, otherwise
11848           a task started from a link function might get a flow-not-linked
11849           result when trying to push because the other thread where the
11850           linking happens hasn't had a chance to set the peers yet. This
11851           might happen for example when a queue gets linked to a downstream
11852           element, as queue starts a streaming task when its source pad
11853           gets linked. Happens in real life when playing back flac/musepack
11854           files in playbin (#332390).
11855           
11856 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
11857
11858         * gst/gstindex.h:
11859         * gst/gstxml.h:
11860         * libs/gst/base/gstadapter.h:
11861         * libs/gst/base/gstbasesink.h:
11862         * libs/gst/base/gstbasesrc.h:
11863         * libs/gst/base/gstbasetransform.h:
11864         * libs/gst/base/gstcollectpads.h:
11865         * libs/gst/base/gstpushsrc.h:
11866         Fix broken GObject macros
11867
11868 2006-04-07  Wim Taymans  <wim@fluendo.com>
11869
11870         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11871         Initialize start and stop times, thanks valgrind.
11872
11873 2006-04-07  Wim Taymans  <wim@fluendo.com>
11874
11875         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11876         Be a bit nicer to badly behaving upstream elements that expect
11877         us to deal with non TIME segments and timestamps (such as fakesrc
11878         in the testsuite).
11879
11880 2006-04-07  Wim Taymans  <wim@fluendo.com>
11881
11882         * gst/gstbus.c:
11883         Small documentation clarification about the signal watch.
11884
11885         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11886         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11887         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11888         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11889         (gst_base_sink_get_position_last),
11890         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
11891         Convert and store timestamps in stream time and running time, the
11892         raw timestamps are not useful, also document this better.
11893         Use different window sizes for good and bad QoS observations so
11894         we react to badness a little quicker.
11895         Keep track of the amount of rendered and dropped buffers.
11896         Send QoS timestamps in running time.
11897
11898         * libs/gst/base/gstbasetransform.c:
11899         (gst_base_transform_sink_eventfunc),
11900         (gst_base_transform_handle_buffer):
11901         Compare QoS timestamps against running time.
11902
11903 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
11904
11905         * gst/gstpad.c:
11906           Typo fixes in docs.
11907
11908 2006-04-06  Michael Smith  <msmith@fluendo.com>
11909
11910         * gst/gstpad.c: (gst_pad_set_property):
11911           Use g_value_get_object() instead of g_value_dup_gst_object(),
11912           to avoid double-reffing the pad template (which we then sink,
11913           so this worked previously if (and only if) the pad template
11914           was floating.
11915
11916         * gst/gstpadtemplate.c: (gst_pad_template_init),
11917         (gst_pad_template_pad_created):
11918           Never return floating references to pad templates, create
11919           them as initially-sunken.
11920
11921           Document an extra function (and make this stop sinking our
11922           pad template, since that is now guaranteed to do nothing,
11923           since we created it sunken).
11924
11925         * gst/gstghostpad.c:
11926           Fix docs typo.
11927
11928 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
11929
11930         * gst/gstinfo.c: (__gst_in_valgrind):
11931           Add some newlines.
11932
11933         * plugins/elements/gsttypefindelement.c:
11934         (gst_type_find_element_chain):
11935           Don't leak buffer caps.
11936
11937 2006-04-06  Michael Smith  <msmith@fluendo.com>
11938
11939         * gst/parse/grammar.y:
11940           Fix a leak in parse-launch for any source-or-sink named element 
11941           references used.
11942
11943         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11944           Unref the pipeline if it exists after we've failed parsing.
11945
11946 2006-04-05  Michael Smith  <msmith@fluendo.com>
11947
11948         * gst/gstpipeline.c: (gst_pipeline_init):
11949           When we create a pipeline bus, initially create it in flushing mode.
11950           Fixes leaks in at least one test, and makes a new pipeline work the
11951           same as one that has gone to READY and then back to NULL.
11952
11953         * gst/gstelement.c:
11954           Typo fix in docs.
11955
11956 2006-04-05  Michael Smith  <msmith@fluendo.com>
11957
11958         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11959           Unref a pad we reffed.
11960         * tests/check/gst/gstutils.c: (GST_START_TEST):
11961           Unref bins
11962
11963 2006-04-05  Michael Smith  <msmith@fluendo.com>
11964
11965         * gst/gstquery.c: (gst_query_set_formats),
11966         (gst_query_set_formatsv):
11967           Fix leaking GValues in queries, as shown by valgrind/testsuite.
11968
11969 2006-04-05  Michael Smith  <msmith@fluendo.com>
11970
11971         * tests/check/generic/sinks.c: (GST_START_TEST):
11972           Fix a variety of memleaks in sinks check, which are only sometimes 
11973           shown by running the tests under valgrind (weird?).
11974
11975 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
11976
11977         * docs/version.entities.in:
11978           Fix the substituted entity name after thomas' changes on the
11979           weekend.
11980
11981 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11982
11983         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
11984         VALGRIND_PRINTF
11985         
11986 2006-04-05  Andy Wingo  <wingo@pobox.com>
11987
11988         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
11989
11990         * libs/gst/base/gstbasetransform.c
11991         (gst_base_transform_sink_eventfunc): When resetting our segment on
11992         FLUSH_STOP, also update the flag saying we haven't seen a
11993         newsegment.
11994
11995 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11996
11997         Patch by: Paolo Borelli  <pborelli at katamail dot com>
11998
11999         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12000         (gst_plugin_check_license):
12001           minor clean-ups: G_DEFINE_TYPE already takes care of the
12002           parent_class stuff, no need to do it twice. Mark array of
12003           license strings as constant. (#337103)
12004           
12005 2006-04-04  Michael Smith  <msmith@fluendo.com>
12006
12007         * tools/gst-inspect.c: (print_element_list):
12008           Free the right plugin list; fixes a memory leak.
12009
12010 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
12011
12012         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
12013
12014         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12015           Don't error out on empty buffers (#336945).
12016           
12017 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
12018
12019         * docs/libs/gstreamer-libs-sections.txt:
12020         * gst/gsttaglist.c:
12021         * libs/gst/base/gstbasesink.c:
12022         * libs/gst/base/gstbasesink.h:
12023         * libs/gst/base/gstbasesrc.c:
12024         * libs/gst/base/gstbasesrc.h:
12025           Documentation updates. Make BaseSink and BaseSrc docs contain the
12026           class structure so that people can actually see the prototypes for
12027           virtual functions they're supposed to be overriding.
12028
12029 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
12030
12031         * plugins/elements/gsttypefindelement.c:
12032         (gst_type_find_element_chain):
12033           More debug info; when skipping typefinding, send cached
12034           events in all cases.
12035
12036 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12037
12038         * configure.ac:
12039           use new AS_VERSION and AS_NANO macros
12040         * gst/gst-i18n-lib.h:
12041         * gst/gst.c:
12042         * gst/gsterror.c:
12043         * gst/gstversion.h.in:
12044         * win32/common/config.h:
12045         * win32/common/config.h.in:
12046           update accordingly
12047
12048 2006-03-31  Michael Smith  <msmith@fluendo.com>
12049
12050         * plugins/elements/gsttypefindelement.c:
12051         (gst_type_find_element_chain):
12052           Do not typefind content if the buffers already have caps.
12053           Neccesary for icydemux (#333657), and the right thing to do anyway.
12054
12055 2006-03-30  Wim Taymans  <wim@fluendo.com>
12056
12057         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12058         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
12059         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
12060         (gst_base_sink_record_qos_observation),
12061         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12062         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12063         (gst_base_sink_change_state):
12064         More QoS measurements as described in the design doc.
12065         Get rid of ringbuffer with observations, running average is
12066         more simple and equally good.
12067         Calculates valid proportion now.
12068         Added beginning of flood measurement.
12069
12070 2006-03-29  Wim Taymans  <wim@fluendo.com>
12071
12072         * docs/design/part-qos.txt:
12073         * gst/gstclock.c:
12074         Small documentation updates and additions.
12075
12076 2006-03-29  Wim Taymans  <wim@fluendo.com>
12077
12078         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12079         (gst_base_src_send_event), (gst_base_src_loop),
12080         (gst_base_src_change_state):
12081         Perform the EOS logic when we reach the segment stop position.
12082         Fix compilation on gcc4.1
12083
12084 2006-03-29  Wim Taymans  <wim@fluendo.com>
12085
12086         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
12087
12088         * plugins/elements/gstqueue.c: (gst_queue_init),
12089         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12090         (gst_queue_set_property):
12091         * plugins/elements/gstqueue.h:
12092         In queue, when EOS is received, if minimum threshold > max_size -
12093         current_level, there is chance that queue blocks forever in conditional
12094         item del wait. This is because the queue is not emptied completely due
12095         to minimum threshold.  Here is another approach. Instead of setting
12096         cur_levels to max in EOS, just zero all minimum threshold levels. This
12097         should make sure that queue gives out all data. When going to READY
12098         (stop) state, just reset the original minimum threshold levels.
12099         Fixes #336336.
12100
12101 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
12102
12103         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
12104         (gst_type_find_element_handle_event),
12105         (gst_type_find_element_send_cached_events),
12106         (gst_type_find_element_change_state):
12107         * plugins/elements/gsttypefindelement.h:
12108           When typefinding is done in push mode, we should cache
12109           events we receive during typefinding instead of just
12110           dropping them (e.g. newsegment, custom events from
12111           dvdreadsrc etc.) and then send them out once we've
12112           determined the type of the stream (and decodebin
12113           has had a chance to plug in a decoder/demuxer).
12114           
12115 2006-03-27  Wim Taymans  <wim@fluendo.com>
12116
12117         * docs/design/part-qos.txt:
12118         First QoS ideas.
12119
12120 2006-03-27  Wim Taymans  <wim@fluendo.com>
12121
12122         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
12123
12124         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12125         (gst_base_src_send_event), (gst_base_src_change_state):
12126         Handle element seek correctly when we are streaming.
12127         Fixes #326998.
12128
12129 2006-03-24  Michael Smith  <msmith@fluendo.com>
12130
12131         * docs/faq/gst-uninstalled:
12132           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
12133           allow you to correctly run intalled applications built against old 
12134           core, using plugins that require updated core (e.g. running
12135           installed totem against a full uninstalled gstreamer stack)
12136
12137 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
12138
12139         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12140         more debug details
12141
12142 2006-03-24  Wim Taymans  <wim@fluendo.com>
12143
12144         * docs/gst/gstreamer-sections.txt:
12145         Rearrange the order of the methods so that related methods
12146         are grouped together in sections.
12147
12148 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
12149
12150         * gst/gstelement.c:
12151           Little clarification in the docs
12152
12153 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
12154
12155         * docs/README:
12156         formatting fix
12157         * plugins/elements/gstidentity.c:
12158         * plugins/elements/gstqueue.c:
12159         * plugins/elements/gsttee.c:
12160         * plugins/elements/gsttypefindelement.c:
12161         GST_ELEMENT_DETAILS formatting
12162
12163 2006-03-24  Wim Taymans  <wim@fluendo.com>
12164
12165         * libs/gst/base/gstbasesink.h:
12166         Only add fields, not insert or we break ABI.
12167
12168 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12169
12170         * win32/common/libgstbase.def:
12171         * win32/common/libgstreamer.def:
12172           Update, add recently added functions.
12173
12174 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12175
12176         * docs/gst/gstreamer-sections.txt:
12177         * gst/gstutils.c: (gst_pad_query_peer_position),
12178         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
12179         * gst/gstutils.h:
12180           API: add some new utility functions:
12181            - gst_pad_query_peer_position()
12182            - gst_pad_query_peer_duration()
12183            - gst_pad_query_peer_convert()
12184           
12185 2006-03-23  Wim Taymans  <wim@fluendo.com>
12186
12187         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12188         (gst_base_sink_init), (gst_base_sink_finalize),
12189         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
12190         (gst_base_sink_set_property), (gst_base_sink_get_property),
12191         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
12192         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12193         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
12194         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12195         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12196         (gst_base_sink_preroll_object), (gst_base_sink_event),
12197         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
12198         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
12199         (gst_base_sink_query), (gst_base_sink_change_state):
12200         Decouple max-lateness and the fact that QoS messages are generated
12201         with a new property (qos).
12202         added API: GstBaseSink::async_play()
12203         Add vmethod so subclasses can be notified of ASYNC playing
12204         state changes.
12205         Collect timestamp start and stop to report better current
12206         position in EOS/PLAYING/PAUSED/READY/NULL.
12207         Refactor QoS/frame dropping and other measurements.
12208         API: GstBaseSrc::qos
12209         Fixes #326311
12210
12211         * libs/gst/base/gstbasesink.h:
12212         Added Private struct.
12213         API: gst_base_sink_set_qos_enabled()
12214         API: gst_base_sink_is_qos_enabled()
12215
12216 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12217
12218         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12219           If compiling against GLib-2.8 or newer, try to read the
12220           registry file using GMappedFile first before falling back
12221           to fopen() + fread() (#332151).
12222
12223 2006-03-22  Wim Taymans  <wim@fluendo.com>
12224
12225         * gst/gstinfo.c: (gst_debug_set_active),
12226         (gst_debug_category_set_threshold):
12227         Disable debugging unless explicitly activated.
12228         Fixes #335480.
12229
12230 2006-03-22  Wim Taymans  <wim@fluendo.com>
12231
12232         * gst/gstelement.c: (gst_element_set_locked_state),
12233         (gst_element_dispose):
12234         Cleanup the error case.
12235
12236         * gst/gstobject.c: (gst_object_dispose):
12237         print a critical when some object was disposed with
12238         a parent, also revive the object since it might
12239         crash the parent.
12240
12241 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
12242
12243         * tools/gst-launch.1.in:
12244           Fix another typo.
12245
12246 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12247
12248         * configure.ac:
12249         * tests/check/Makefile.am:
12250           disable some tests when we don't have a registry
12251         * tests/check/gst/gstutils.c: (gst_utils_suite):
12252           don't build the part that needs parsing
12253
12254 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12255
12256         * gst/Makefile.am
12257         * tests/examples/Makefile.am:
12258           fix --disable-parse build
12259
12260 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12261
12262         * tools/gst-feedback.1.in:
12263           Fix typo: s/feeback/feedback/ (#133494).
12264
12265 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12266
12267         * tools/Makefile.am:
12268         * tools/gst-launch.1.in:
12269           Add FILES section and correct entry about GST_REGISTRY_PATH
12270           environment variable (#133495; #133494).
12271
12272 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12273
12274         * tools/Makefile.am:
12275         * tools/gst-md5sum.1.in:
12276         * tools/gst-md5sum.c:
12277           Remove gst-md5sum and man page (the md5sink element
12278           required was removed ages ago)
12279
12280 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12281
12282         * gst/gststructure.c: (gst_structure_id_set_value):
12283           Make sure that string fields in structures/taglists
12284           contain valid UTF-8 - we don't want to pass rubbish to
12285           applications because of a buggy plugin (cp. #334167).
12286
12287 2006-03-21  Edward Hervey  <edward@fluendo.com>
12288
12289         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12290         (gst_bin_handle_message_func):
12291         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
12292         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
12293         (gst_element_set_bus_func):
12294         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
12295         * gst/gstminiobject.c: (gst_value_set_mini_object),
12296         (gst_value_take_mini_object):
12297         * gst/gstpad.c: (gst_pad_set_pad_template):
12298         * gst/gstpipeline.c: (gst_pipeline_dispose),
12299         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
12300         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
12301         (gst_collect_pads_chain):
12302         * libs/gst/net/gstnettimeprovider.c:
12303         (gst_net_time_provider_set_property):
12304         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
12305         It's in fact all issues with gst_*object_replace().
12306
12307 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12308
12309         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
12310         
12311         * pkgconfig/gstreamer-check-uninstalled.pc.in:
12312         * pkgconfig/gstreamer-check.pc.in:
12313           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
12314
12315 2006-03-21  Edward Hervey  <edward@fluendo.com>
12316
12317         * gst/gstbuffer.h:
12318         * gst/gstevent.h:
12319         * gst/gstmessage.h:
12320         gst_[buffer|event|message]_ref() macros are replaced by a static
12321         inline functions because gcc-4.1 will about if the return value
12322         isn't used.
12323         * tests/check/gst/gstevent.c: (event_probe):
12324         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
12325
12326 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
12327
12328         * gst/gstutils.h:
12329         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
12330         the type' case. (Closes: #335195 for now). In the future, when we
12331         depend on GLib 2.10, we could also intern the type name using
12332         g_intern_static_string()
12333
12334 2006-03-20  Wim Taymans  <wim@fluendo.com>
12335
12336         * gst/gstbin.c: (gst_bin_handle_message_func),
12337         (bin_query_max_init), (bin_query_position_fold),
12338         (bin_query_position_done), (gst_bin_query):
12339         Position query should also take max of all streams.
12340
12341 2006-03-20  Wim Taymans  <wim@fluendo.com>
12342
12343         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12344         (gst_fake_src_finalize):
12345         Fix leaks in fakesrc.
12346
12347         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12348         Fix leaks in the testcase.
12349
12350 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
12351
12352         * gst/gst_private.h:
12353           add win32 specific import decoration(__declspec(dllimport)) 
12354           for all extern GstDebugCategory * variables
12355         * win32/common/libgstbase.def:
12356         * win32/common/libgstcontroller.def:
12357         * win32/common/libgstreamer.def:
12358           Add some exports, remove empty lines
12359         * win32/common/libgstdataprotocol.def:
12360         * win32/common/libgstdataprotocol.dsp:
12361         * win32/common/libgstnet.def:
12362         * win32/common/libgstnet.dsp:
12363           new project files and exportation files added
12364         
12365 2006-03-19  Wim Taymans  <wim@fluendo.com>
12366
12367         * tests/check/libs/basesrc.c: (eos_event_counter):
12368         Use proper return value for probe.
12369
12370 2006-03-17  Wim Taymans  <wim@fluendo.com>
12371
12372         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12373         (gst_pad_push):
12374         Don't leak buffers, caps and pads on negotiation errors.
12375
12376 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
12377
12378         * docs/faq/cvs.xml:
12379         * docs/faq/dependencies.xml:
12380         * docs/faq/developing.xml:
12381         * docs/faq/faq.xml:
12382         * docs/faq/general.xml:
12383         * docs/faq/getting.xml:
12384         * docs/faq/legal.xml:
12385         * docs/faq/troubleshooting.xml:
12386         * docs/faq/using.xml:
12387         Faq review and update.
12388
12389 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
12390
12391         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12392         (gst_pad_push):
12393         Don't pound the cpu to pieces by checking get_caps when accept_caps
12394         is called with the same caps as the pad already has.
12395         Use GST_DEBUG_OBJECT when outputting caps change information.
12396
12397 2006-03-15  Wim Taymans  <wim@fluendo.com>
12398
12399         * gst/gstclock.c: (gst_clock_class_init):
12400         Fix docs.
12401
12402 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
12403
12404         * gst/gstbuffer.h:
12405         Documentation fix.
12406
12407         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
12408         (gst_pad_accept_caps), (gst_pad_configure_sink),
12409         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
12410         Make the default acceptcaps behaviour be to check the requested 
12411         caps against the gst_pad_get_caps output. 
12412
12413         Ensure that gst_pad_accept_caps is used to check caps when a pad
12414         doesn't have a setcaps function, so that pads automatically refuse 
12415         caps that they don't allow in their pad template. (Fixes #332986)
12416
12417         When a buffer with attached caps is pushed, ensure that the source 
12418         pad receives those caps even if the element didn't call
12419         gst_pad_set_caps first.
12420
12421 2006-03-15  Wim Taymans  <wim@fluendo.com>
12422
12423         * libs/gst/base/gstadapter.c:
12424         Add some docs.
12425
12426 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
12427
12428         * win32/common/libgstbase.def:
12429         * win32/common/libgstcontroller.def:
12430         * win32/common/libgstreamer.def:
12431           Add a whole bunch of missing functions (#334434).
12432
12433 2006-03-14  Wim Taymans  <wim@fluendo.com>
12434
12435         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12436         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12437         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
12438         Better debug info when we receive a segment event.
12439         Reorganize a bit so we can pass the get_times() results around.
12440         Use the segment format when calculating the running time.
12441         Don't do QoS is sync is disabled or we have no clock or the
12442         element does not want us to sync to the clock.
12443         Don't drop buffers if QoS is disabled for now.
12444
12445 2006-03-14  Wim Taymans  <wim@fluendo.com>
12446
12447         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
12448         Marked the stats property as unimplemented so people don't get
12449         wild ideas.
12450         Add debug message when regression goes wrong.
12451         Added some more docs.
12452
12453 2006-03-14  Wim Taymans  <wim@fluendo.com>
12454
12455         * gst/gstsegment.c: (gst_segment_to_stream_time):
12456         Return correct return type in case of errors.
12457
12458 2006-03-14  Wim Taymans  <wim@fluendo.com>
12459
12460         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
12461           Don't segfault on invalid formats.
12462
12463 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
12464
12465         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12466           Can't use gst_segment_to_running_time() when the segment
12467           is not in GST_TIME_FORMAT (like with filesink, for example).
12468           Stops flac encoding pipelines from spewing critical warnings
12469           at EOS (#331248).
12470           
12471 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
12472
12473         * gst/gstpipeline.c: (gst_pipeline_class_init):
12474           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
12475
12476         * plugins/elements/gsttypefindelement.c:
12477         (gst_type_find_element_handle_event):
12478           Don't try to typefind empty streams.
12479
12480 2006-03-14  Wim Taymans  <wim@fluendo.com>
12481
12482         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12483         (gst_base_sink_do_qos):
12484         Separate QoS calculation.
12485         Only drop buffers when lateness is bigger than the 
12486         duration of the buffer.
12487
12488 2006-03-13  Wim Taymans  <wim@fluendo.com>
12489
12490         * gst/gstpipeline.c: (gst_pipeline_set_property),
12491         (gst_pipeline_get_property), (do_pipeline_seek),
12492         (gst_pipeline_change_state), (gst_pipeline_set_delay),
12493         (gst_pipeline_get_delay):
12494         Don't deadlock when reading properties.
12495
12496 2006-03-13  Wim Taymans  <wim@fluendo.com>
12497
12498         * libs/gst/base/gstbasetransform.c:
12499         (gst_base_transform_class_init), (gst_base_transform_init),
12500         (gst_base_transform_sink_event),
12501         (gst_base_transform_sink_eventfunc),
12502         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
12503         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12504         (gst_base_transform_set_property),
12505         (gst_base_transform_get_property),
12506         (gst_base_transform_change_state), (gst_base_transform_update_qos),
12507         (gst_base_transform_set_qos_enabled),
12508         (gst_base_transform_is_qos_enabled):
12509         * libs/gst/base/gstbasetransform.h:
12510         Make basetransform virtual method for src events too.
12511         Handle QOS in basetransform.
12512         API: gst_base_transform_update_qos()
12513         API: gst_base_transform_set_qos_enabled()
12514         API: gst_base_transform_is_qos_enabled()
12515
12516 2006-03-13  Wim Taymans  <wim@fluendo.com>
12517
12518         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12519         (gst_base_sink_do_sync):
12520         Small cleanups.
12521         Use QOS debug category.
12522
12523 2006-03-13  Wim Taymans  <wim@fluendo.com>
12524
12525         * plugins/elements/gstqueue.c:
12526         Very small doc update.
12527
12528 2006-03-13  Wim Taymans  <wim@fluendo.com>
12529
12530         * gst/gst_private.h:
12531         * gst/gstinfo.c: (_gst_debug_init):
12532         Added QOS debug category
12533
12534 2006-03-13  Wim Taymans  <wim@fluendo.com>
12535
12536         * docs/gst/gstreamer-sections.txt:
12537         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
12538         * gst/gstbin.h:
12539         * gst/gstbus.c: (gst_bus_class_init):
12540         * gst/gstbus.h:
12541         * gst/gstclock.c:
12542         * gst/gstelement.c: (gst_element_set_locked_state):
12543         * gst/gstsegment.c:
12544         Documentation updates.
12545
12546         * gst/gstpipeline.c: (gst_pipeline_get_type),
12547         (gst_pipeline_class_init), (gst_pipeline_init),
12548         (gst_pipeline_dispose), (gst_pipeline_set_property),
12549         (gst_pipeline_get_property), (do_pipeline_seek),
12550         (gst_pipeline_send_event), (gst_pipeline_change_state),
12551         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
12552         (gst_pipeline_get_delay):
12553         * gst/gstpipeline.h:
12554         Added methods for setting the delay.
12555         API: gst_pipeline_set_delay()
12556         API: gst_pipeline_get_delay()
12557         Add pipeline debug category
12558         Various cleanups.
12559         Updated docs.
12560         Don't reset stream time when seek failed.
12561
12562 2006-03-13  Wim Taymans  <wim@fluendo.com>
12563
12564         * docs/design/draft-klass.txt:
12565         * docs/design/part-clocks.txt:
12566         * docs/design/part-events.txt:
12567         * docs/design/part-gstbin.txt:
12568         * docs/design/part-gstpipeline.txt:
12569         * docs/design/part-messages.txt:
12570         * docs/design/part-negotiation.txt:
12571         * docs/design/part-overview.txt:
12572         * docs/design/part-preroll.txt:
12573         * docs/design/part-seeking.txt:
12574         * docs/design/part-states.txt:
12575         * docs/design/part-streams.txt:
12576         Documentation updates.
12577
12578 2006-03-12  Julien MOUTTE  <julien@moutte.net>
12579
12580         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
12581         us to leak strings...
12582
12583 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12584
12585         * libs/gst/net/gstnettimeprovider.c:
12586           fix docs
12587         * win32/common/config.h:
12588           update
12589
12590 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
12591
12592         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
12593
12594         * configure.ac:
12595           Don't check for libgnomeui (leftover from old examples
12596           that aren't built or disted any longer) (#334303).
12597           
12598 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
12599
12600         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
12601         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12602           Emit RESOURCE_NO_SPACE_LEFT error here as well when
12603           there's no space left on the device.
12604
12605 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
12606
12607         * gst/gstclock.h:
12608           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
12609           to cast the input to GstClockTime before comparing with
12610           another GstClockTime value.
12611
12612 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12613
12614         * configure.ac:
12615           back to trunk
12616
12617 === release 0.10.4 ===
12618
12619 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
12620
12621         * configure.ac:
12622           releasing 0.10.4, "Light"
12623
12624 2006-03-10  Michael Smith  <msmith@fluendo.com>
12625
12626         * libs/gst/dataprotocol/dataprotocol.c:
12627           Fix docs for dataprocotol to not get the return types completely
12628           wrong for a few functions.
12629
12630 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
12631
12632         * docs/gst/gstreamer-sections.txt:
12633         * gst/gstpipeline.c: (gst_pipeline_class_init),
12634         (gst_pipeline_init), (gst_pipeline_set_property),
12635         (gst_pipeline_get_property), (gst_pipeline_change_state),
12636         (gst_pipeline_set_auto_flush_bus),
12637         (gst_pipeline_get_auto_flush_bus):
12638         * gst/gstpipeline.h:
12639           Add new API: gst_pipeline_set_auto_flush_bus() and
12640           gst_pipeline_get_auto_flush_bus() to disable automatic
12641           flushing of the pipeline's GstBus when going from READY
12642           to NULL state (#332045).
12643
12644 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
12645
12646         * docs/gst/gstreamer-sections.txt:
12647         * gst/gsturi.c: (gst_uri_has_protocol):
12648         * gst/gsturi.h:
12649            Add new API: gst_uri_has_protocol() (#333779).
12650
12651 2006-03-09  Wim Taymans  <wim@fluendo.com>
12652
12653         * gst/gstclock.c: (gst_clock_entry_new),
12654         (gst_clock_id_compare_func), (gst_clock_id_wait),
12655         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
12656         (gst_clock_init), (gst_clock_get_internal_time),
12657         (gst_clock_set_master), (do_linear_regression),
12658         (gst_clock_add_observation), (gst_clock_set_property):
12659         * gst/gstclock.h:
12660         Review docs.
12661         Small cleanups.
12662         Fix a possible segfault when the window-size is made smaller.
12663         Calculate jitter before performing the clock wait. Ideally
12664         the clock implementation should calculate jitter but we need
12665         API breakage for that.
12666
12667         * gst/gstsystemclock.c: (gst_system_clock_init):
12668         Docs review.
12669         
12670         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12671         Remove leftover else
12672
12673         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
12674         (gst_systemclock_suite):
12675         Added check to test GST_CLOCK_DIFF.
12676
12677 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
12678
12679         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
12680         (gst_type_find_helper_get_range):
12681           If we are provided with the size, we should implement
12682           GstTypeFind::get_length, so that typefind functions who
12683           want to can actually peek at the middle of a file.
12684
12685 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
12686
12687         * docs/manual/advanced-dataaccess.xml:
12688           Add some very very basic error checking.
12689
12690         * docs/pwg/appendix-checklist.xml:
12691           Some updates to the list of things to check when writing an element.
12692
12693 2006-03-08  Wim Taymans  <wim@fluendo.com>
12694
12695         * docs/design/part-element-transform.txt:
12696         Added some docs about the design of tranform elements.
12697
12698         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12699         (gst_base_src_loop), (gst_base_src_change_state):
12700         Mark buffers with the DISCONT flag.
12701
12702 2006-03-08  Michael Smith  <msmith@fluendo.com>
12703
12704         * gst/gstregistry.h:
12705         * gst/gstregistryxml.c: (gst_registry_save),
12706         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
12707         (gst_registry_xml_save_pad_template),
12708         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
12709         (gst_registry_xml_write_cache):
12710           Rewrite registry-saving to avoid race conditions and check for
12711           failed writes.
12712
12713 2006-03-08  Wim Taymans  <wim@fluendo.com>
12714
12715         * libs/gst/base/gstbasetransform.c:
12716         (gst_base_transform_transform_caps),
12717         (gst_base_transform_transform_size),
12718         (gst_base_transform_prepare_output_buffer),
12719         (gst_base_transform_get_unit_size),
12720         (gst_base_transform_buffer_alloc),
12721         (gst_base_transform_handle_buffer),
12722         (gst_base_transform_change_state):
12723         Cleanups, separate normal flow from errors, add sensible
12724         DEBUG lines.
12725         Don't try to renegotiate when allocating an output buffer.
12726         Also copy DISCONT buffer flag when copying a buffer.
12727         Reset the transform after we finish streaming, not during.
12728
12729 2006-03-08  Wim Taymans  <wim@fluendo.com>
12730
12731         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12732         Use last buffer timestamp in qos message.
12733
12734 2006-03-07  Wim Taymans  <wim@fluendo.com>
12735
12736         Patch by: Christophe Fergeau
12737
12738         * docs/pwg/advanced-tagging.xml:
12739         * docs/pwg/building-pads.xml:
12740           fixes #333416
12741
12742 2006-03-07  Wim Taymans  <wim@fluendo.com>
12743
12744         * docs/libs/gstreamer-libs-sections.txt:
12745         Added basesink new methods.
12746
12747         * gst/gstevent.c:
12748         * gst/gstevent.h:
12749         Docs updates. Flesh out the QoS docs.
12750
12751         * libs/gst/base/gstadapter.c:
12752         Small doc clarification about ownership and flushing.
12753
12754         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
12755         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
12756         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
12757         (gst_base_sink_get_property), (gst_base_sink_do_sync):
12758         * libs/gst/base/gstbasesink.h:
12759         API additions: 
12760         Added new methods to allow subclass to control max-lateness 
12761         and sync.
12762         Generate very basic QoS events based on last sync observation.
12763         Updated docs, fix typo, added some QoS blurb.
12764
12765         * libs/gst/base/gstbasesrc.c:
12766         Remove obsolete _get_state() calls from docs.
12767
12768 2006-03-07  Wim Taymans  <wim@fluendo.com>
12769
12770         * docs/libs/gstreamer-libs-sections.txt:
12771         * libs/gst/base/gstbasetransform.h:
12772         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
12773         Fix docs for GstBaseSrc.
12774
12775 2006-03-07  Wim Taymans  <wim@fluendo.com>
12776
12777         * docs/gst/gstreamer-sections.txt:
12778         * gst/gstbuffer.h:
12779         * gst/gstvalue.c:
12780         * libs/gst/base/gstbasetransform.h:
12781         Small documentation fixes.
12782
12783 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
12784
12785         * gst/gstvalue.c:
12786           Document thread-unsafety of gst_value_register_foo_func()
12787           when used at the same time as gst_value_foo() (#322628).
12788
12789 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
12790
12791         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
12792         (gst_push_src_check_get_range):
12793           Push sources don't support pull mode by default.
12794
12795 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
12796
12797         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12798         (gst_base_src_init), (gst_base_src_pad_check_get_range),
12799         (gst_base_src_default_check_get_range):
12800         * libs/gst/base/gstbasesrc.h:
12801           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
12802           provide default implementation, and rename
12803           gst_base_src_check_get_range() to
12804           gst_base_src_pad_check_get_range() for clarity.
12805
12806 2006-03-06  Wim Taymans  <wim@fluendo.com>
12807
12808         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12809         Make property overridable.
12810
12811 2006-03-06  Wim Taymans  <wim@fluendo.com>
12812
12813         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12814         (gst_base_sink_init), (gst_base_sink_set_property),
12815         (gst_base_sink_get_property), (gst_base_sink_do_sync):
12816         * libs/gst/base/gstbasesink.h:
12817         API addition: Make max-lateness a property.
12818
12819 2006-03-06  Wim Taymans  <wim@fluendo.com>
12820
12821         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
12822         (gst_base_sink_do_sync), (gst_base_sink_render_object):
12823         Don't ever draw a frame that is >10ms late.
12824
12825 2006-03-06  Michael Smith  <msmith@fluendo.com>
12826
12827         * gst/gstmessage.c: (_gst_message_copy):
12828           When copying a message, set the parent_refcount of the enclosed
12829           structure to point at the copy, not the original message.
12830
12831 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
12832
12833         Patch by: Christophe Fergeau
12834
12835         * gst/gstutils.h:
12836           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
12837           usable in c++ code (#333417)
12838
12839 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12840
12841         * gst/gstclock.h:
12842           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
12843
12844 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
12845
12846         * libs/gst/base/gstbasetransform.c:
12847         (gst_base_transform_transform_caps):
12848           Make sure caps are writable before passing them to
12849           gst_caps_append().
12850
12851 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
12852
12853         * gst/gsterror.h:
12854           Fix some minor docs errors.
12855
12856 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
12857
12858           Patch by: Ross Burton <ross at burtonini dot com>
12859
12860         * gst/gsterror.c: (_gst_resource_errors_init):
12861         * gst/gsterror.h:
12862           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
12863
12864 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
12865
12866         * gst/gst.c:
12867         Add a check and output a g_warning when GStreamer is built
12868         against GLib 2.6 but running against 2.8 or higher, and vice 
12869         versa. (Closes: #323542)
12870
12871 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
12872
12873         * gst/parse/parse.l:
12874           Commit patch for parse_launch syntax from #331255. Removes 
12875           support for quoted strings and mimetypes when writing filtered 
12876           caps. See the bug report for more details - I'm pretty sure this
12877           obscure feature is not in use by _anyone_ anywhere.
12878
12879           With this simple change, the size of the gstreamer.so here 
12880           drops from 2193KB to 1565KB.
12881
12882 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
12883
12884         * plugins/elements/gsttypefindelement.h:
12885         * plugins/elements/gsttypefindelement.c:
12886         (gst_type_find_element_src_event), (start_typefinding),
12887         (stop_typefinding), (gst_type_find_element_handle_event),
12888         (gst_type_find_element_chain),
12889         (gst_type_find_element_chain_do_typefinding):
12890           Use gst_type_find_helper_for_buffer() for chain-based
12891           typefinding.
12892
12893 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
12894
12895         * plugins/elements/gsttypefindelement.c:
12896         (gst_type_find_element_class_init),
12897         (gst_type_find_element_set_property),
12898         (gst_type_find_element_get_property):
12899           Deprecate "maximum" property (not only was it only taken into
12900           account for typefinding in push-mode anyway, it also was never
12901           actually possible to set it in the first place because the
12902           property was registered with the numeric property ID for the
12903           "minimum" property). Register "maximum" property correctly,
12904           for the sake of future copy'n'pasters. Remove some cruft
12905           from property get/set functions.
12906
12907 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
12908
12909         * plugins/elements/gsttypefindelement.c:
12910         (gst_type_find_element_activate):
12911           Use gst_type_find_helper_get_range() here, so we
12912           can honour the "minimum" property and also emit
12913           the signal with the correct probability of the found caps.
12914
12915 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
12916
12917         * docs/libs/gstreamer-libs-sections.txt:
12918         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
12919         (helper_find_suggest), (gst_type_find_helper_get_range),
12920         (gst_type_find_helper):
12921         * libs/gst/base/gsttypefindhelper.h:
12922           New API: gst_type_find_helper_get_range() (#333042).
12923
12924 2006-03-02  Michael Smith  <msmith@fluendo.com>
12925
12926         * gst/gstregistryxml.c: (load_feature):
12927           Asserting on a failure to read part of the registry is Not Cool.
12928           Just log a warning and return NULL (which is already handled)
12929
12930 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
12931
12932         * win32/common/libgstbase.def:
12933           added export of gst_type_find_helper_for_buffer
12934         * win32/common/libgstbase.def:
12935           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
12936           gst_ghost_pad_get_target
12937
12938 2006-02-28  Wim Taymans  <wim@fluendo.com>
12939
12940         * docs/design/draft-klass.txt:
12941         We use Filter now.
12942         Added Connector to mark elements that are only used to
12943         allow pipeline connections.
12944         Moved Debug to extra feature since most of them are 
12945         functionally something else.
12946
12947 2006-02-28  Wim Taymans  <wim@fluendo.com>
12948
12949         * docs/design/draft-klass.txt:
12950         Some updates and clarifications.
12951
12952 2006-02-28  Wim Taymans  <wim@fluendo.com>
12953
12954         * docs/design/draft-klass.txt:
12955         Proposal for klass field values.
12956
12957         * docs/design/part-streams.txt:
12958         Start of a doc describing stream anatomy.
12959
12960 2006-02-28  Wim Taymans  <wim@fluendo.com>
12961
12962         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
12963         Help the compiler a bit with type registration.
12964         Use existing forward cod path instead of duplicating it when 
12965         handling a message.
12966         
12967         * gst/gstbus.c: (gst_bus_get_type):
12968         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
12969         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
12970         * gst/gstclock.c: (gst_clock_get_type):
12971         * gst/gstelement.c: (gst_element_get_type),
12972         * gst/gstelementfactory.c: (gst_element_factory_get_type):
12973         * gst/gstindexfactory.c: (gst_index_factory_get_type):
12974         * gst/gstminiobject.c: (gst_mini_object_get_type):
12975         * gst/gstpad.c: (gst_pad_get_type):
12976         * gst/gstsegment.c: (gst_segment_get_type):
12977         * gst/gststructure.c: (gst_structure_get_type):
12978         * gst/gstsystemclock.c: (gst_system_clock_get_type):
12979         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
12980         * gst/gstvalue.c:
12981         Help compiler with type registration.
12982
12983         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
12984         Small doc update.
12985
12986 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12987
12988         * plugins/elements/gsttypefindelement.c:
12989         (gst_type_find_element_handle_event):
12990           When we get an EOS event and have not found a type yet
12991           (most likely because we had not yet accumulated
12992           TYPE_FIND_MIN_SIZE of data yet), try to determine the
12993           type given the data we have so far. Fixes typefinding
12994           for very short streams again, most notably quicktime
12995           redirections as used on Apple's trailer site (#331701).
12996
12997 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12998
12999         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
13000         (gst_type_find_helper):
13001           Try typefinding factories with the highest rank first.
13002
13003 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13004
13005         * docs/libs/gstreamer-libs-docs.sgml:
13006         * docs/libs/gstreamer-libs-sections.txt:
13007         * libs/gst/base/gsttypefindhelper.c:
13008           Add section for typefind helper and add documentation
13009           for the old and the new function.
13010
13011 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13012
13013         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
13014         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
13015         (gst_type_find_helper_for_buffer):
13016         * libs/gst/base/gsttypefindhelper.h:
13017           New API: gst_type_find_helper_for_buffer() (#332723).
13018           
13019 2006-02-27  Michael Smith  <msmith@fluendo.com>
13020
13021         Patch by: Loïc Minier
13022
13023         * configure.ac:
13024         * docs/Makefile.am:
13025         * docs/slides/Makefile.am:
13026           prevent CVS directories getting disted.
13027
13028 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13029
13030         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
13031           Use the REFCOUNTING category for caps refcounting.
13032           
13033 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
13034
13035         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13036           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
13037
13038 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
13039
13040         * plugins/elements/gsttypefindelement.c:
13041         (gst_type_find_element_activate):
13042           Use gst_pad_check_pull_range() before _activate_pull()
13043           to avoid unnecessary open/close (see #331690).
13044
13045 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
13046
13047         * gst/gstutils.c:
13048           Docs enhancement: make it crystal clear what the
13049           gst_pad_add_*_probe() callbacks should look like.
13050
13051 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
13052
13053         * libs/gst/base/gstbasesrc.c:
13054           Document how applications can stop recording from
13055           live sources (see #330996).
13056
13057 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13058
13059         * tests/check/Makefile.am:
13060         * tests/check/libs/basesrc.c: (eos_event_counter),
13061         (basesrc_eos_events_pull), (basesrc_eos_events_push),
13062         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
13063         (gst_basesrc_suite), (main):
13064           ... and add some tests for the base source EOS stuff.
13065
13066 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13067
13068         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
13069           Test case originally showed the problem fixed below,
13070           but was then amended. Add checks back at the place
13071           where they used to be.
13072
13073 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13074
13075         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13076         (gst_base_src_init), (gst_base_src_loop),
13077         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13078         (gst_base_src_change_state):
13079         * libs/gst/base/gstbasesrc.h:
13080           Don't unconditionally send EOS when going from PAUSED to
13081           READY state, esp. make sure we don't send two EOS events
13082           in some cases (e.g. one when reaching EOS and one when
13083           going from PAUSED to READY). Also, we don't want to send
13084           EOS events when operating in pull mode. However, we do
13085           want to send an EOS event when shutting down a live
13086           source explicitly, for example (fixes #330996).
13087           
13088 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13089
13090         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13091           Update src->read_position after a seek when not using mmap.
13092           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
13093
13094 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
13095
13096         * gst/Makefile.am:
13097         * gst/gstparse.h:
13098         * gst/gstutils.c:
13099         * gst/gstutils.h:
13100         Make things work with --disable-parse as they do with 
13101         --disable-load-save - the symbols involved disappear, but the
13102         header is still installed and GST_DISABLE_PARSE is included via
13103         gstconfig.h
13104
13105 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13106
13107         * libs/gst/base/gstbasetransform.c:
13108         (gst_base_transform_change_state): Fix a stupid bug. I was 
13109         sure I compiled that.
13110
13111 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13112
13113         * gst/gstpad.c: (gst_pad_set_blocked_async):
13114         * gst/gstutils.c: (gst_pad_add_data_probe),
13115         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13116         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13117         (gst_pad_remove_buffer_probe): Make those function act on the
13118         ghostpad target when it's a ghostpad. (Closes #331727)
13119
13120 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13121
13122         * libs/gst/base/gstbasetransform.c:
13123         (gst_base_transform_change_state): Make basetransform reusable.
13124         (Closes #331898)
13125
13126 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
13127
13128         * docs/random/release:
13129         Move the current documentation of how to do a release to the top
13130         of the file.
13131
13132         * gst/gstbin.c: (gst_bin_class_init),
13133         (gst_bin_handle_message_func):
13134         Allow multiple state-recalculation threads. (Closes #328873)
13135
13136 2006-02-19  Julien MOUTTE  <julien@moutte.net>
13137
13138         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
13139         * gst/gstpad.c: (gst_pad_set_event_function),
13140         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13141         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
13142         2 strings. You can't use the STR_NULL macro on that.
13143
13144 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
13145
13146         * gst/gstpad.c: (gst_pad_set_event_function),
13147         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13148         (gst_pad_set_getcaps_function)
13149         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
13150           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
13151           So now, we can use --gst-debug-level=5 on Windows
13152         * win32/common/libgstcontroller.def:
13153           Added export of gst_controller_init
13154         * win32/vs6/libgstcontroller.dsp:
13155           Fixed Release post build configuration
13156
13157 2006-02-17  Wim Taymans  <wim@fluendo.com>
13158
13159         * tests/check/gst/gstquery.c: (GST_START_TEST):
13160         Added another check.
13161
13162 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
13163
13164         * plugins/elements/gsttypefindelement.c: (find_peek):
13165           We can do peeks at non-zero offsets, as long as they
13166           fall within the buffer we have.
13167
13168 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
13169
13170         * tests/check/Makefile.am:
13171         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
13172         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
13173         (parse_suite), (main):
13174           Add testsuite for parse launch syntax
13175
13176 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
13177
13178         * plugins/elements/gsttypefindelement.c:
13179         (gst_type_find_element_chain):
13180           When typefinding is unsuccessful in the chain function, don't
13181           error out immediately. Only error out with NO_CAPS_FOUND if
13182           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
13183           otherwise simply wait for more data so we can try typefinding
13184           again with more data later. Also, don't attempt to typefind
13185           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
13186           this should improve typefinding from network sources where the
13187           size of the first buffer can be somewhat random.
13188
13189 2006-02-14  Wim Taymans  <wim@fluendo.com>
13190
13191         * docs/gst/gstreamer-sections.txt:
13192         * gst/gstpadtemplate.c:
13193         * gst/gstpadtemplate.h:
13194         Fix padtemplate docs, fixes #328805.
13195
13196 2006-02-14  Wim Taymans  <wim@fluendo.com>
13197
13198         * tools/gst-launch.c: (main):
13199         NO_PREROLL is not an ERROR so don't send confusing messages
13200         to the user.
13201
13202 2006-02-14  Wim Taymans  <wim@fluendo.com>
13203
13204         Patch by: Torsten Schoenfeld
13205
13206         * gst/gstregistry.c: (gst_registry_get_default),
13207         (_gst_registry_cleanup):
13208         Protect default registry with lock and ref/sink it.
13209         Fixes #324818
13210
13211 2006-02-14  Wim Taymans  <wim@fluendo.com>
13212
13213         * gst/gstbuffer.c:
13214         * gst/gstquery.c: (gst_query_list_add_format),
13215         (gst_query_set_formatsv), (gst_query_parse_formats_length),
13216         (gst_query_parse_formats_nth):
13217         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13218         Docs fixes.
13219
13220 2006-02-14  Wim Taymans  <wim@fluendo.com>
13221
13222         * docs/gst/gstreamer-sections.txt:
13223         Reworked query docs.
13224
13225         * gst/gstquery.c: (gst_query_new_formats),
13226         (gst_query_list_add_format), (gst_query_set_formats),
13227         (gst_query_set_formatsv), (gst_query_parse_formats_length),
13228         (gst_query_parse_formats_nth):
13229         * gst/gstquery.h:
13230         Flesh out formats query, added some new methods.
13231         Fix part of #324398.
13232
13233         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
13234         Added query creation tests.
13235
13236 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
13237
13238         * gst/gstpad.c: (fixate_value):
13239         Add a default fixation for fraction lists.
13240
13241 2006-02-13  Wim Taymans  <wim@fluendo.com>
13242
13243         * gst/gsttask.c: (gst_task_init), (gst_task_func),
13244         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
13245         (gst_task_join):
13246         * gst/gsttask.h:
13247         Detect and warn for obvious deadlocks. fixes #320340
13248         Fix error case where lock was not released.
13249
13250         * tests/check/Makefile.am:
13251         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
13252         (task_func), (gst_element_suite), (main):
13253         Add task check.
13254
13255 2006-02-13  Wim Taymans  <wim@fluendo.com>
13256
13257         * docs/gst/gstreamer-sections.txt:
13258         * gst/gstbus.c:
13259         Add new functions to docs.
13260
13261 2006-02-13  Wim Taymans  <wim@fluendo.com>
13262
13263         * docs/design/part-TODO.txt:
13264         Updated TODO list, basesrc supports seeking to non-bytes
13265         formats.
13266
13267         * docs/design/part-element-sink.txt:
13268         Update docs.
13269
13270         * gst/gstbin.c: (bin_replace_message),
13271         (gst_bin_handle_message_func):
13272         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
13273         * gst/gstevent.c: (gst_event_finalize):
13274         * gst/gstpad.c: (gst_pad_event_default_dispatch),
13275         (gst_pad_send_event):
13276         Use shiny new _TYPE_NAME macros.
13277
13278         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13279         Move debug statement up.
13280
13281         * gst/gstelement.c: (gst_element_set_locked_state):
13282         Add some debugging.
13283
13284 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
13285
13286         * docs/gst/gstreamer-sections.txt:
13287         * gst/gstmessage.h:
13288         * gst/gstquery.h:
13289           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
13290           macros (#330906). Also, document the already existing
13291           GST_QUERY_TYPE macro.
13292
13293 2006-02-13  Wim Taymans  <wim@fluendo.com>
13294
13295         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
13296         (event_probe), (GST_START_TEST):
13297         Only events up to the pipeline EOS are counted, there are
13298         some more when going to NULL currently which we don't care
13299         about for now.
13300
13301 2006-02-13  Wim Taymans  <wim@fluendo.com>
13302
13303         * gst/gstpad.c: (gst_pad_send_event):
13304         Correctly check flushing and emit probes. fixes #330125
13305
13306 2006-02-10  Andy Wingo  <wingo@pobox.com>
13307
13308         * gst/gstbus.c (gst_bus_class_init): Declare our private data
13309         structure.
13310         (gst_bus_init): Cache the location of the private data in the
13311         instance structure.
13312         (gst_bus_enable_sync_message_emission) 
13313         (gst_bus_disable_sync_message_emission): Implement new public
13314         functions.
13315         (gst_bus_post): Emit the sync-message signal if the user asked for
13316         it. Fixes #330684.
13317
13318         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
13319         location of the bus-private structure.
13320         (gst_bus_enable_sync_message_emission)
13321         (gst_bus_disable_sync_message_emission): API addition
13322
13323 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
13324
13325         Patch by: Vincent Torri
13326
13327         * docs/pwg/building-boiler.xml:
13328         PWG patch from #326800
13329
13330 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
13331
13332         * configure.ac:
13333         * docs/Makefile.am:
13334         * docs/design/Makefile.am:
13335           Dist design docs.
13336
13337 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
13338
13339         * configure.ac:
13340           back to CVS
13341
13342 === release 0.10.3 ===
13343
13344 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
13345
13346         * configure.ac:
13347           releasing 0.10.3, "Like a virgin"
13348
13349 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
13350
13351         * configure.ac:
13352           2nd prerelease of 0.10.3
13353           Bump libtool versioning.
13354
13355 2006-02-07  Andy Wingo  <wingo@pobox.com>
13356
13357         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
13358         update last_stop if we're in TIME format and the timestamp is
13359         valid.
13360
13361         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
13362         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
13363         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
13364         If we get a new newsegment with a different format, adapt
13365         accordingly.
13366
13367         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
13368         of 0. Not a problem, really.
13369
13370         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
13371         warn if sync=true.
13372
13373 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
13374
13375         * configure.ac:
13376           Prelease of 0.10.3
13377
13378 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
13379
13380         * win32/vs7:
13381           project files updated to the default vs7 configuration
13382         * win32/common/libgstbase.def:
13383         * win32/common/libgstreamer.def:
13384           added new symbols,
13385           removed empty lines,
13386           sorted all exported symbols alphabetically
13387         * win32/common/dirent.c:
13388         * win32/common/dirent.h:
13389         * win32/common/gchar.h:
13390           use windows line end.
13391           
13392 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
13393
13394         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13395           Send EOS event when stopping.
13396
13397 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
13398
13399         * docs/README:
13400           Tell folks what to do if the plugin-foobar.xml file
13401           hasn't been generated for a newly-added plugin.
13402
13403 2006-02-05  Julien MOUTTE  <julien@moutte.net>
13404
13405         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13406         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13407         (gst_collect_pads_start), (gst_collect_pads_stop),
13408         (gst_collect_pads_event): Collectpads now holds a reference
13409         to the GstPad that was added. Indeed we don't want to look
13410         at pads that might just go away with no warning...
13411
13412 2006-02-05  Julien MOUTTE  <julien@moutte.net>
13413
13414         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13415         (gst_collect_pads_start), (gst_collect_pads_stop),
13416         (gst_collect_pads_event), (gst_collect_pads_chain):
13417         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
13418         Mark Nauwelaerts's patch on bug #328491.
13419
13420 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
13421
13422         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
13423         (gst_utils_suite):
13424           Add some simple tests for gst_parse_bin_from_description() and
13425           gst_bin_find_unconnected_pad() (#329069).
13426
13427 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
13428
13429         * tools/gst-launch.c: (event_loop), (main):
13430           Catch errors during preroll (#320084).
13431
13432 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
13433
13434         * plugins/elements/gsttypefindelement.c:
13435         (gst_type_find_element_activate):
13436           Post TYPE_NOT_FOUND error message when typefinding
13437           is unsuccessful in the activate function as well.
13438
13439 2006-02-02  Wim Taymans  <wim@fluendo.com>
13440
13441         * docs/design/part-element-sink.txt:
13442         Updated doc.
13443
13444 2006-02-02  Wim Taymans  <wim@fluendo.com>
13445
13446         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13447         (gst_base_sink_render_object),
13448         (gst_base_sink_queue_object_unlocked):
13449         Only keep track of prerollable items when we are 
13450         prerolling.
13451         Before rendering after preroll, always check if we
13452         have queued items.
13453         Added some more debugging.
13454
13455 2006-02-02  Wim Taymans  <wim@fluendo.com>
13456
13457         * gst/gstelement.c: (gst_element_continue_state),
13458         (gst_element_set_state_func), (gst_element_change_state):
13459         Fixed #326576, been running this for quite some time with
13460         no regressions at all.
13461
13462 2006-02-02  Wim Taymans  <wim@fluendo.com>
13463
13464         * common/gst.supp:
13465         Added more suppressions
13466
13467 2006-02-02  Wim Taymans  <wim@fluendo.com>
13468
13469         * docs/design/part-element-sink.txt:
13470         Updated document.
13471
13472         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13473         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
13474         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
13475         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13476         (gst_base_sink_do_sync), (gst_base_sink_render_object),
13477         (gst_base_sink_preroll_object),
13478         (gst_base_sink_queue_object_unlocked),
13479         (gst_base_sink_queue_object), (gst_base_sink_event),
13480         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
13481         (gst_base_sink_loop), (gst_base_sink_activate_pull),
13482         (gst_base_sink_get_position), (gst_base_sink_change_state):
13483         * libs/gst/base/gstbasesink.h:
13484         Totally refactored matching the design doc.
13485         Use two segments, one to clip incomming buffers and another to
13486         perform sync.
13487         Handle queueing correctly, bypass the queue when playing.
13488         Make EOS cancelable.
13489         Handle errors correctly when operating in pull based mode.
13490
13491         * tests/check/elements/fakesink.c: (GST_START_TEST),
13492         (fakesink_suite):
13493         Added new check for sinks.
13494
13495 2006-02-02  Wim Taymans  <wim@fluendo.com>
13496
13497         * gst/gstsegment.c: (gst_segment_clip):
13498         No reason to refuse to clip when start == -1
13499
13500 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
13501
13502         * docs/README:
13503         * docs/manual/intro-basics.xml:
13504         * docs/manual/intro-preface.xml:
13505         * docs/manual/manual.xml:
13506         * docs/pwg/advanced-dparams.xml:
13507         * docs/pwg/intro-basics.xml:
13508         * docs/pwg/intro-preface.xml:
13509         * docs/pwg/pwg.xml:
13510           describe dparams (controller) for plugins
13511           unify docs a little more
13512
13513 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
13514
13515         * docs/gst/gstreamer-sections.txt:
13516         * gst/gstutils.c: (element_find_unconnected_pad),
13517         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
13518         * gst/gstutils.h:
13519           Add new API: gst_parse_bin_from_description() and
13520           gst_bin_find_unconnected_pad() (#329069).
13521
13522 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
13523
13524         * docs/manual/README:
13525           uncover a nasty detail of the docs build
13526
13527 2006-01-31  Wim Taymans  <wim@fluendo.com>
13528
13529         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
13530         Don't cache duration messages if we're not going to use or
13531         free them.
13532
13533 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
13534
13535         * docs/manual/advanced-dparams.xml:
13536         * docs/pwg/advanced-dparams.xml:
13537           more dparam docs
13538         * gst/gstindex.c:
13539           fix docs
13540         * libs/gst/controller/lib.c: (gst_controller_init):
13541           init just once
13542
13543 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13544
13545         * gst/gstelement.c: (gst_element_message_full):
13546           also show file/line/func if no additional debug was given
13547
13548 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
13549         
13550         * win32/vs7/grammar.vcproj:
13551           activate copy of autogenerated files for Release mode
13552
13553 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
13554         
13555         * win32/common/libgstreamer.def:
13556           export gst_value_compare
13557
13558 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
13559
13560         * plugins/elements/Makefile.am:
13561         * plugins/elements/gstelements.c:
13562         * plugins/elements/gstfdsink.c: (_do_init),
13563         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
13564         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
13565         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
13566         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
13567         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
13568         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
13569         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
13570         * plugins/elements/gstfdsink.h:
13571         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
13572
13573 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
13574
13575         * docs/manual/advanced-dparams.xml:
13576           describe controller
13577         * docs/manual/advanced-position.xml:
13578         * docs/manual/basics-init.xml:
13579         * docs/manual/manual.xml:
13580         * docs/manual/titlepage.xml:
13581         * docs/pwg/pwg.xml:
13582         * docs/pwg/titlepage.xml:
13583           cleanup xml (more to come)
13584         * libs/gst/controller/gstcontroller.c:
13585           fix typo
13586
13587 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
13588         
13589         * win32/vs6/grammar.dsp:
13590           add autogen of gstmarshal.c,h for Release mode
13591                 
13592 2006-01-30  Wim Taymans  <wim@fluendo.com>
13593
13594         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13595         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
13596         (gst_base_sink_handle_object), (gst_base_sink_event),
13597         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
13598         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13599         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
13600         (gst_base_sink_deactivate), (gst_base_sink_activate),
13601         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13602         (gst_base_sink_query), (gst_base_sink_change_state):
13603         Basesink cleanups, remove some old code.
13604         Handle the case where a subclass can preroll in the render
13605         method (mostly audiosinks).
13606         Handle more events.
13607         Remove some locks around variables that are now protected
13608         with the PREROLL_LOCK (clock_id, flushing, ..).
13609         Optimize position query some more, do correct locking.
13610         Remove old code to push queue in state change, this is not
13611         needed anymore since preroll blocks on all prerollable items 
13612         now.
13613         Almost implemented as described in design doc.
13614
13615 2006-01-30  Wim Taymans  <wim@fluendo.com>
13616
13617         * tests/check/gst/gstbin.c: (GST_START_TEST):
13618         Wait for refcount to settle down before checking.
13619
13620 2006-01-30  Wim Taymans  <wim@fluendo.com>
13621
13622         * docs/design/part-element-sink.txt:
13623         Pseudo code overview of desired sink behaviour regarding
13624         preroll.
13625
13626 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
13627         * win32/vs6/grammar.dsp:
13628           fix some bugs in Release mode for autogenerated files
13629                 
13630 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
13631         * win32/common/libgstbase.def:
13632         * win32/common/libgstreamer.def:
13633           export some new symbols: gst_base_src_set_format,
13634           gst_iterator_next, gst_structure_set_valist
13635
13636 2006-01-29  Julien MOUTTE  <julien@moutte.net>
13637
13638         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13639         Set pad functions unconditionally. Fixes #329105.
13640
13641 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
13642         * win32/vs8:
13643           add vs8 project files created by Sergey Scobich
13644
13645 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
13646
13647         * gst/gstutils.c: (gst_element_unlink_pads):
13648         Don't leak pad references.
13649
13650         * tests/check/elements/fakesink.c: (GST_START_TEST):
13651         * tests/check/generic/sinks.c: (GST_START_TEST):
13652         * tests/check/generic/states.c: (GST_START_TEST):
13653         * tests/check/gst/gstbin.c: (GST_START_TEST):
13654         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13655         * tests/check/gst/gstelement.c: (GST_START_TEST):
13656         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13657         * tests/check/gst/gstiterator.c: (GST_START_TEST):
13658         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13659         Fix a bunch of leaks. Make generic/sinks.c
13660         use a bit less cpu by slowing the buffer rate
13661         between fakesrc and fakesink.
13662         
13663 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
13664         * gst/gstcaps.c:
13665         * gst/gstelement.c: (gst_element_send_event):
13666         * gst/gstevent.c:
13667         * gst/gstinfo.c:
13668         * gst/gstiterator.c:
13669         * gst/gstiterator.h:
13670         * gst/gstpad.c: (gst_pad_send_event):
13671         * gst/gststructure.c:
13672         * gst/gsturi.c:
13673         * gst/gstutils.c:
13674         * gst/gstvalue.c:
13675         * libs/gst/base/gstadapter.c:
13676           doc fixes, to link to function, just write gst_cool_function(), don't
13677           prefix with '#'
13678
13679 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
13680
13681         * plugins/elements/gsttee.c: (gst_tee_do_push),
13682         (gst_tee_handle_buffer):
13683         Always prefer an actual return value from a src
13684         pad in place of NOT_LINKED. This means we return
13685         WRONG_STATE when all src pads are WRONG_STATE
13686         instead of NOT_LINKED.
13687
13688         Lock when replacing the last message to prevent
13689         racing with the get_property method.
13690
13691         Add debug output
13692
13693 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
13694
13695         * tests/check/Makefile.am:
13696         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
13697         (main):
13698         Add a very simple check that should have caught the memleak I fixed
13699         last night (if not for the slice allocator hiding it)
13700
13701 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
13702
13703         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13704         (gst_bin_remove_func), (gst_bin_handle_message_func),
13705         (bin_query_duration_fold), (bin_query_generic_fold):
13706         Clean up references to the clock provider when disposed or when
13707         handling a clock-lost message from it.
13708
13709         Unref sinks when performing a query via gst_iterator_fold, as the
13710         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
13711
13712         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
13713         (gst_clock_set_master):
13714         Drop our reference to the master clock, if any, when we are disposed.
13715
13716         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
13717         Chain up in dispose. 
13718
13719 2006-01-26  Wim Taymans  <wim@fluendo.com>
13720
13721         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13722         Add some debugging.
13723
13724 2006-01-26  Julien MOUTTE  <julien@moutte.net>
13725
13726         * plugins/elements/gsttee.c: (gst_tee_do_push),
13727         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
13728         handles pad being NOT_LINKED or in WRONG_STATE.
13729
13730 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
13731
13732         * win32/MANIFEST:
13733           more updating
13734
13735 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
13736
13737         * win32/MANIFEST:
13738           remove obsolete entry
13739
13740 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
13741
13742         * docs/gst/gstreamer-sections.txt:
13743         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
13744         (gst_bin_iterate_sources), (gst_bin_send_event):
13745         * gst/gstbin.h:
13746         * gst/gstelement.c: (gst_element_send_event):
13747         * gst/gstevent.c:
13748         * gst/gstpad.c: (gst_pad_send_event):
13749           added code for downstream events, reviewed docs in gstevent.c
13750
13751 2006-01-25  Julien MOUTTE  <julien@moutte.net>
13752
13753         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13754         We only query position using the clock in the playing state.
13755         Query peer in the other cases.
13756         * win32/common/config.h: Updates.
13757
13758 2006-01-24  Wim Taymans  <wim@fluendo.com>
13759
13760         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13761         A clock entry that is scheduled for the exact time of the
13762         clock is still in time.
13763
13764         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13765         (gst_base_sink_do_sync):
13766         Add some more debug info.
13767
13768 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
13769
13770         * win32/vs7:
13771           Add new vs7 project files and solution.
13772
13773 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
13774
13775         * win32/vs7:
13776           all files removed as they were out-dated.
13777
13778 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13779
13780         * docs/random/release:
13781           update notes
13782         * gst/gstbin.c: (gst_bin_init):
13783         * gst/gstbus.c: (gst_bus_new):
13784         * gst/gstbus.h:
13785         * gst/gstpipeline.c: (gst_pipeline_init):
13786           use gst_bus_new(), improve logging, fix docs
13787         * win32/common/config.h:
13788           update for cvs build
13789
13790 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13791
13792         * autogen.sh:
13793           up required version of automake to 1.7
13794
13795 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
13796
13797         * win32/common/libgstreamer.def:
13798           export gst_buffer_is_metadata_writable
13799
13800 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
13801
13802         * docs/gst/gstreamer-sections.txt:
13803         * gst/gstevent.h:
13804           Add gst_event_replace() (#327001)
13805
13806 2006-01-20  Wim Taymans  <wim@fluendo.com>
13807
13808         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
13809         Make it actually compile too..
13810
13811 2006-01-20  Wim Taymans  <wim@fluendo.com>
13812
13813         * gst/gstcaps.c:
13814         Clarify behaviour of _is_equal() when passing NULL parameters.
13815
13816         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13817         (gst_pad_set_caps):
13818         Cleanups. Don't unref NULL caps.
13819         When setting the same caps, protect caps of the pad with
13820         proper lock.
13821         Use full functionality of _is_equal() when comparing caps.
13822
13823 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
13824
13825         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13826         Don't loop infinitely if there are no buffers to present. Partially
13827         fixes #327197, but collectpads is just broken for reusing elements
13828         to do multiple encodes atm.
13829
13830 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
13831
13832         * tools/gst-inspect.c: (print_element_features):
13833         * tools/gst-xmlinspect.c: (main):
13834         URL_HANDLER is not a plugin feature we can search for in
13835         the registry.
13836
13837 2006-01-19  Edward Hervey  <edward@fluendo.com>
13838
13839         * gst/gstelement.c: (gst_element_pads_activate): 
13840         When activating, do src pads first, then sink pads.
13841         When de-activating, do sink pads first, then src pads.
13842
13843 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13844
13845         * docs/gst/gstreamer-sections.txt:
13846         Add gst_index_add_associationv to the docs
13847
13848 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13849
13850         * gst/gstevent.c:
13851           Fix docs typo
13852
13853         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
13854         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
13855           Do some refactoring. Doesn't actually change functionality,
13856           but makes landing the DRAIN event easier later.
13857
13858 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
13859
13860         * docs/pwg/advanced-scheduling.xml:
13861           Update from 0.9.x to 0.10 API and make example a bit
13862           clearer.
13863
13864 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13865
13866         * docs/gst/gstreamer-sections.txt:
13867         Add gst_buffer_(is|make)_metadata_writable methods.
13868
13869 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13870
13871         * docs/design/part-sparsestreams.txt:
13872         Update sparse streams doc, hopefully for greater clarity
13873
13874 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
13875
13876         * docs/design/part-events.txt:
13877         Remove mention of FILLER events.
13878         Add DRAIN event.
13879
13880         * docs/design/part-sparsestreams.txt:
13881         Write some things about using NEWSEGMENT to keep sparse streams
13882         flowing.
13883
13884 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
13885
13886         * gst/gstbin.c: (gst_bin_dispose):
13887           Guard gst_object_unref call against a NULL object (dispose
13888           can theoretically be called multiple times).
13889           
13890 2006-01-18  Wim Taymans  <wim@fluendo.com>
13891
13892         * gst/gstbin.c: (gst_bin_element_set_state):
13893         * gst/gstclock.c: (gst_clock_id_wait):
13894         Added some more debug info.
13895
13896         * libs/gst/base/gstadapter.c:
13897         Added more docs.
13898
13899         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13900         (gst_base_sink_do_sync), (gst_base_sink_chain):
13901         Added some comments.
13902
13903 2006-01-18  Wim Taymans  <wim@fluendo.com>
13904
13905         * tests/check/Makefile.am:
13906         * tests/check/elements/fakesink.c: (chain_async_buffer),
13907         (chain_async), (chain_async_return), (GST_START_TEST),
13908         (fakesink_suite), (main):
13909         Added fakesink test that checks prerolling and clipping
13910         behaviour.
13911
13912         * tests/check/gst/gstutils.c: (GST_START_TEST):
13913         Make check run faster so that buildbots don't timeout.
13914
13915 2006-01-18  Wim Taymans  <wim@fluendo.com>
13916
13917         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13918         (gst_base_sink_do_sync):
13919         Some cleanups.
13920         When the sink finishes blocking on the preroll buffer, it can
13921         immediatly render it instead of rendering when the next buffer
13922         arrives.
13923
13924 2006-01-18  Wim Taymans  <wim@fluendo.com>
13925
13926         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
13927         (gst_base_sink_get_property), (gst_base_sink_do_sync),
13928         (gst_base_sink_chain):
13929         Small cleanups.
13930         GST_ELEMENT_CLOCK and sync are protected with LOCK.
13931         Don't store _last_stop if the buffer is dropped.
13932
13933 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
13934
13935         * plugins/elements/gsttypefindelement.c:
13936         (gst_type_find_element_class_init):
13937           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
13938           object method handler that sets the caps on the pad and we want
13939           that to happen before we emit the signal (fixes e.g. feeding a
13940           plain text file to decodebin).
13941
13942 2006-01-18  Christian Schaller  <Christian@fluendo.com>
13943
13944         * gst/gstplugin.c: Add MPL and Proprietary as license options
13945
13946 2006-01-18  Andy Wingo  <wingo@pobox.com>
13947
13948         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
13949         symbol was exported before, it appears this was just an oversight.
13950         Fixes #168703.
13951         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
13952
13953         * gst/gstindex.c (gst_index_add_associationv): Changed int in
13954         prototype to gint. OK since this prototype was not in the header.
13955
13956 2006-01-17  Andy Wingo  <wingo@pobox.com>
13957
13958         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
13959         registry while we remove plugins.
13960
13961         * tools/gst-inspect.c (print_element_info): Don't unref the
13962         factory arg, that should be the responsibility of whatever code
13963         received the ref. Fixes a double-free when called from
13964         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
13965         (main): Unref the factory if we have one.
13966         (print_element_list): No change -- relies on the
13967         plugin_feature_list_free to free the list of features.
13968
13969 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
13970
13971         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13972         (gst_buffer_make_metadata_writable):
13973         * gst/gstbuffer.h:
13974         * libs/gst/base/gstbasetransform.c:
13975         (gst_base_transform_prepare_output_buf):
13976         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13977         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13978           Replace gst_buffer_(make|is)_metadata_writable patch now
13979           that the release is out.
13980
13981 2006-01-17  Andy Wingo  <wingo@pobox.com>
13982
13983         * gst/gstregistry.c: Reflow design comment. Update so as to speak
13984         in the present tense without reference to versions.
13985
13986         * gst/gstregistry.c (gst_registry_add_plugin)
13987         (gst_registry_remove_plugin, gst_registry_remove_feature)
13988         (gst_registry_find_feature, gst_registry_get_feature_list)
13989         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
13990         (gst_registry_lookup, gst_registry_scan_path)
13991         (_gst_registry_remove_cache_plugins)
13992         (gst_registry_get_feature_list_by_plugin): Add argument
13993         validation.
13994
13995 === release 0.10.2 ===
13996
13997 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
13998
13999         * configure.ac:
14000           releasing 0.10.2, "If man is five"
14001
14002 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
14003
14004         * gst/gstbuffer.c:
14005         * gst/gstbuffer.h:
14006         * libs/gst/base/gstbasetransform.c:
14007         (gst_base_transform_prepare_output_buf):
14008         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14009         * tests/check/gst/gstbuffer.c: (gst_test_suite):
14010           Back out patch until after the release.
14011
14012 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
14013
14014         * gst/gstminiobject.c:
14015           Spelling fix in docs.
14016         * ChangeLog - remove conflict indicator
14017
14018 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
14019
14020         Reviewed By: Andy Wingo
14021
14022         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14023         (gst_buffer_make_metadata_writable):
14024         * gst/gstbuffer.h:
14025           Add gst_buffer_(is|make)_metadata_writable as analogues of
14026           gst_buffer_(is|make)_writable.
14027
14028         * libs/gst/base/gstbasetransform.c:
14029         (gst_base_transform_prepare_output_buf):
14030         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14031           Use name gst_buffer_(is|make)_metadata_writable functions.
14032
14033         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14034           Test gst_buffer_(is|make)_metadata_writable
14035         
14036           (Closes: #324162)
14037
14038 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14039
14040         * docs/manual/Makefile.am:
14041           don't do parallel make
14042         * configure.ac:
14043           AC_SUBST HOST_CPU
14044         * win32/common/config.h.in:
14045           add generations for HOST_CPU and GST_MAJORMINOR
14046         * win32/common/config.h:
14047           commit generated result
14048
14049 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
14050
14051         * docs/manual/appendix-integration.xml:
14052           Update GNOME integration section to use gst_init_get_option_group()
14053           instead of the old popt stuff (#322911). Also, GNOME applications
14054           should  now use gconf*sink and gconf*src instead of the old gconf
14055           helper lib we had.
14056
14057 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
14058
14059
14060         * docs/gst/gstreamer-docs.sgml:
14061         * docs/gst/gstreamer-sections.txt:
14062         * docs/libs/gstreamer-libs-sections.txt:
14063           add new API entries to the docs
14064         * libs/gst/controller/Makefile.am:
14065         * libs/gst/controller/gstcontroller.c:
14066         * libs/gst/controller/gstcontroller.h:
14067         * libs/gst/controller/gstcontrollerprivate.h:
14068         * libs/gst/controller/gsthelper.c:
14069         * libs/gst/controller/gstinterpolation.c:
14070           move private structs to private header
14071         * po/README:
14072           gstreamer-0.7 -> gstreamer-0.10
14073         * tests/check/libs/struct_i386.h:
14074           remove private structs
14075
14076 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14077
14078         * plugins/indexers/Makefile.am:
14079           Fixes as part of #317048
14080
14081 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14082
14083         * plugins/indexers/Makefile.am:
14084           fix #316086 - compilation when mmap is missing
14085
14086 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
14087
14088         * libs/gst/base/gstbasesink.c:
14089           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
14090           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
14091         * win32/common/config.h:
14092           added some defines GST_MAJORMINOR and HOST_CPU
14093         * win32/common/libgstbase.def:
14094         * win32/common/libgstreamer.def:
14095           added some exported functions.
14096
14097 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
14098
14099         * libs/gst/controller/gstcontroller.c:
14100         (gst_controlled_property_set_interpolation_mode),
14101         (gst_controlled_property_new):
14102         * libs/gst/controller/gstcontroller.h:
14103         * libs/gst/controller/gstinterpolation.c:
14104         (interpolate_none_get_string_value_array):
14105           make G_TYPE_STRING controlable
14106
14107 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
14108
14109         * tools/README:
14110         * tools/gst-feedback.1.in:
14111         * tools/gst-inspect.1.in:
14112         * tools/gst-launch.1.in:
14113         * tools/gst-md5sum.1.in:
14114         * tools/gst-typefind.1.in:
14115         * tools/gst-xmlinspect.1.in:
14116         * tools/gst-xmllaunch.1.in:
14117           cleanup man-pages, remove reference to gst-register, document env-vars
14118
14119 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
14120
14121         * gst/gstbuffer.c: (gst_buffer_span):
14122           gst_buffer_span should copy the timestamp of the first buffer
14123           if they were both originally overlapping subbuffers of the 
14124           same parent, using the same logic as the 'slow copy' case.
14125
14126 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
14127
14128         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
14129           Need to awaken ALL the pads when we pop a buffer, otherwise
14130           collectpads only works when there is 2 input streams.
14131
14132 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
14133
14134         * docs/random/ensonic/media-device-daemon.txt:
14135           more ideas (dbus)
14136         * gst/gstbuffer.c:
14137           fix doc example, add clarification
14138         * tools/gst-launch.1.in:
14139           add initial info about GST_PLUGIN_PATH, needs more work
14140
14141 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
14142
14143         * docs/manual/basics-bins.xml:
14144         * docs/manual/basics-elements.xml:
14145         * docs/manual/intro-basics.xml:
14146           Some more minor docs additions and updates.
14147
14148 2006-01-11  Wim Taymans  <wim@fluendo.com>
14149
14150         * docs/manual/basics-bins.xml:
14151         * docs/manual/basics-elements.xml:
14152         Some small fixes as pointed out by Ser-ver on IRC.
14153
14154 2006-01-10  Edward Hervey  <edward@fluendo.com>
14155
14156         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14157         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
14158         the single-segment mode.
14159
14160 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
14161
14162         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14163
14164         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
14165         (gst_base_src_perform_seek), (gst_base_src_send_event),
14166         (gst_base_src_set_property), (gst_base_src_get_property),
14167         (gst_base_src_loop), (gst_base_src_start),
14168         (gst_base_src_activate_push):
14169         * libs/gst/base/gstbasesrc.h:
14170           Name (private) union; makes Sun's Forte compiler happy (#324900).
14171
14172 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
14173
14174         * README:
14175           gst-register is gone.
14176
14177 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14178
14179         * gst/gstvalue.c: (_gst_value_initialize):
14180           make the G_TYPE_DATE instantiation work if debug is disabled
14181
14182 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
14183
14184         * gst/gstmessage.c: (gst_message_parse_tag),
14185         (gst_message_parse_error), (gst_message_parse_warning):
14186           Don't crash when return location for error/warning debug
14187           string is NULL; add fact that return locations can be
14188           NULL to docs where appropriate.
14189
14190 2006-01-05  Wim Taymans  <wim@fluendo.com>
14191
14192         * gst/gstplugin.c: (gst_plugin_load_file):
14193         Replace strdup by g_strdup.
14194
14195 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14196
14197         * docs/pwg/advanced-types.xml:
14198           fix doc borkage
14199
14200 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14201
14202         submitted by: Abel Cheung
14203
14204         * po/LINGUAS:
14205         * po/zh_TW.po:
14206           Added Chinese (traditional) translation
14207
14208 2006-01-04  Wim Taymans  <wim@fluendo.com>
14209
14210         * docs/manual/basics-pads.xml:
14211         * docs/plugins/Makefile.am:
14212         * docs/plugins/gstreamer-plugins-docs.sgml:
14213         * docs/plugins/gstreamer-plugins-sections.txt:
14214         * docs/pwg/advanced-clock.xml:
14215         * docs/pwg/advanced-scheduling.xml:
14216         * docs/pwg/advanced-types.xml:
14217         * plugins/elements/gstfdsink.c:
14218         * plugins/elements/gstfdsrc.c:
14219         * plugins/elements/gstfdsrc.h:
14220         * plugins/elements/gstidentity.c: (gst_identity_class_init):
14221         * plugins/elements/gstidentity.h:
14222         * plugins/elements/gstqueue.h:
14223         * plugins/elements/gsttee.c:
14224         * plugins/elements/gsttee.h:
14225         * plugins/elements/gsttypefindelement.c:
14226         (gst_type_find_element_class_init):
14227         * plugins/elements/gsttypefindelement.h:
14228         Small updates to various docs.
14229         Added core plugins to docs.
14230
14231 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14232
14233         * common/gst.supp:
14234           add a suppression for liboil's uninitialized variable
14235
14236 2006-01-02  James Livingston  <jrl at ids dot org dot au>
14237
14238         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14239
14240         * gst/gstutils.h:
14241           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
14242           macro, so that gcc doesn't complain if the -Wmissing-prototypes
14243           compiler switch is being used (#325429).
14244
14245 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
14246
14247         * gst/gstbin.c: (gst_bin_query):
14248           Disable duration query caching in bins until it gets
14249           fixed (see #324807).
14250
14251 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
14252
14253         * tools/gst-inspect.c: (print_element_properties_info):
14254           Handle properties of POINTER and BOXED type.
14255
14256 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
14257
14258         * gst/gst.c: (init_post):
14259           Init tags stuff and some other things before loading
14260           any static plugins (there may be other static plugins
14261           than just the GStreamer ones, and they may want to
14262           register their own tags or formats or whatever, and
14263           preferably without segfaulting).
14264
14265         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
14266           Print at least a warning in the debug logs if we drop a
14267           query just because we don't know how to adjust the value
14268           in the particular format.
14269
14270 2005-12-24  David Schleef  <ds@schleef.org>
14271
14272         * tools/gstreamer-completion:
14273           Replacement for gst-complete written in sh and sed.  Only
14274           completes names of features, but that's 90% of what I want
14275           it for.  Properties are not available in registry.xml.  (Maybe
14276           they should be...)
14277
14278 === release 0.10.1 ===
14279
14280 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
14281
14282         * configure.ac:
14283           releasing 0.10.1, "Nollaig chridheil"
14284
14285 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
14286
14287         * docs/faq/cvs.xml:
14288           Add missing quote, should be make ERROR_CFLAGS="".
14289
14290 2005-12-20  Wim Taymans  <wim@fluendo.com>
14291
14292         * docs/design/part-trickmodes.txt:
14293         More documentation on trickmodes.
14294
14295 2005-12-20  Edward Hervey  <edward@fluendo.com>
14296
14297         * gst/gstcaps.c: (gst_static_caps_get_type):
14298         * gst/gstcaps.h:
14299           API addition: GST_TYPE_STATIC_CAPS
14300         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
14301         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
14302         * gst/gstpadtemplate.h:
14303           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
14304         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
14305         bindings.
14306
14307 2005-12-18  Wim Taymans  <wim@fluendo.com>
14308
14309         * libs/gst/base/gstadapter.c:
14310         * libs/gst/base/gstadapter.h:
14311         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14312         (gst_base_sink_get_position):
14313         * libs/gst/base/gstbasesink.h:
14314         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14315         (gst_base_src_default_query), (gst_base_src_default_do_seek),
14316         (gst_base_src_do_seek), (gst_base_src_perform_seek),
14317         (gst_base_src_send_event), (gst_base_src_update_length),
14318         (gst_base_src_get_range), (gst_base_src_loop),
14319         (gst_base_src_start):
14320         * libs/gst/base/gstbasesrc.h:
14321         * libs/gst/base/gstbasetransform.h:
14322         * libs/gst/base/gstcollectpads.h:
14323         * libs/gst/base/gstpushsrc.c:
14324         * libs/gst/base/gstpushsrc.h:
14325         * libs/gst/dataprotocol/dataprotocol.c:
14326         * libs/gst/dataprotocol/dataprotocol.h:
14327         * libs/gst/net/gstnetclientclock.h:
14328         * libs/gst/net/gstnettimeprovider.h:
14329         Documentation updates.
14330
14331 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
14332
14333         * docs/manual/basics-helloworld.xml:
14334           Remove superfluous closing bracket in helloworld example.
14335
14336 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
14337
14338         * tools/gst-launch.1.in:
14339           Update gst-launch man page; add a section with useful
14340           environment variables. Fixes #323882.
14341
14342 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
14343
14344         * gst/gst.c:
14345         * gst/gst_private.h:
14346           change some char* into char[]
14347
14348 2005-12-16  Wim Taymans  <wim@fluendo.com>
14349
14350         * gst/gstregistryxml.c: (load_feature):
14351         Cleanups.
14352         Don't use g_object_unref on GstObjects so that we avoid
14353         leaks on unsafe glibs.
14354
14355 2005-12-16  Wim Taymans  <wim@fluendo.com>
14356
14357         * gst/gstbin.c: (gst_bin_recalc_state):
14358         Small doc updates.
14359
14360 2005-12-16  Wim Taymans  <wim@fluendo.com>
14361
14362         * common/check.mak:
14363         Added make forever target for check.
14364
14365 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14366
14367         * gst/gst.c: (init_post):
14368           make the registry cache file HOST_CPU-dependent
14369
14370 2005-12-16  Andy Wingo  <wingo@pobox.com>
14371
14372         * plugins/elements/gstbufferstore.c
14373         (gst_buffer_store_cleared_func): Pay attention to g_list_append
14374         return value.
14375
14376         * tests/check/gst/gstobject.c
14377         (test_fake_object_name_threaded_unique): Pay attention to
14378         g_list_sort return value.
14379
14380 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
14381
14382         * tools/gst-feedback-m.m:
14383           Update for 0.9/0.10 (fixes #323870).
14384
14385 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
14386
14387         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
14388           Fix lcopy for mini objects, the mini object needs to be ref'ed.
14389           
14390         * tests/check/gst/gstminiobject.c: (my_foo_init),
14391         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
14392         (test_value_collection), (gst_mini_object_suite):
14393           Add test to ensure refcounts end up as expected when passing
14394           GstMiniObjects through g_object_get() and g_object_set().
14395
14396 2005-12-14  Julien MOUTTE  <julien@moutte.net>
14397
14398         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14399         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
14400         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
14401         of collectpads. This version removes a lot of races without
14402         touching API/ABI. Yay !
14403
14404 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
14405
14406         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
14407           Don't allow activation of a srcpad in pull_range if it has no
14408           getrange function.
14409           Change some debug statements to be a little clearer
14410
14411         * plugins/elements/gsttypefindelement.c:
14412         (gst_type_find_handle_src_query):
14413           Check that we have a peer before executing queries thereupon.
14414
14415         * tests/examples/metadata/read-metadata.c: (message_loop):
14416           Use gst_bus_pop instead of gst_bus_poll when we just want it to
14417           immediately return us any available message with 0 timeout.
14418
14419 2005-12-12  Michael Smith  <msmith@fluendo.com>
14420
14421         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
14422           Don't unref factories after calling them.
14423         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
14424         * plugins/elements/gsttypefindelement.c:
14425         (gst_type_find_element_chain):
14426           Free lists of factories after using them. Fixing typefinding memory
14427           leaks.
14428
14429 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14430
14431         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14432         (gst_plugin_feature_load):
14433           more meaningful debug output
14434         * configure.ac:
14435         * tests/Makefile.am:
14436         * tests/old/examples/Makefile.am:
14437           make make distcheck happy again
14438
14439 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
14440
14441         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14442           Catch the special case where we are operating chain-based,
14443           but the downstream peer pad has no chain function. Emit a
14444           custom error message in this case instead of letting the
14445           core generate one implying that this is some sort of core
14446           bug. It's not, it just means that whatever got plugged
14447           into the pipeline downstream when we announced the type
14448           can only operate pull-based, while our source can only
14449           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
14450           Error string has not been marked for translation yet, as
14451           it probably needs some more work first.
14452
14453         (gst_type_find_element_get_best_possibility):
14454           Add helper function to find the best of all available
14455           found possibilities that qualify given the min. threshold.
14456
14457         (gst_type_find_element_handle_event):
14458           Fix the case where we get an EOS while still in TYPEFIND
14459           mode (we want to chose the best of all possible types,
14460           not just the first type that happens to be in our unsorted
14461           list of possible types).
14462
14463         (gst_type_find_element_chain):
14464           Make sure we return GST_FLOW_ERROR when we errored out
14465           in stop_typefinding(); also, don't just find the best of
14466           all found type entries and then use the last examined
14467           type entry, but actually use the best entry.
14468
14469 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
14470
14471         * tests/examples/typefind/typefind.c: (type_found):
14472         * tests/examples/xml/runxml.c: (xml_loaded):
14473           More gcc4 fixes and a mem leak fix.
14474
14475 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14476
14477         * tests/examples/xml/createxml.c: (object_saved):
14478           gcc 4 fixes
14479
14480 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14481
14482         * tests/Makefile.am:
14483           enable the examples even more
14484
14485 2005-12-12  Andy Wingo  <wingo@pobox.com>
14486
14487         * libs/gst/net/gstnettimeprovider.c
14488         (gst_net_time_provider_class_init, gst_net_time_provider_init)
14489         (gst_net_time_provider_set_property)
14490         (gst_net_time_provider_get_property):
14491         API addition: Export "active" as a GObject property.
14492         (gst_net_time_provider_thread): Only respond to time queries if
14493         the time provider is active.
14494
14495         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
14496         NetTimeProvider, preserving binary compat.
14497
14498 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14499
14500         * tests/examples/controller/audio-example.c: (main):
14501         * tests/examples/launch/Makefile.am:
14502           convert comments again
14503
14504 2005-12-12  Wim Taymans  <wim@fluendo.com>
14505
14506         * libs/gst/base/gstpushsrc.c:
14507         Fix typo.
14508
14509 2005-12-12  Wim Taymans  <wim@fluendo.com>
14510
14511         * docs/libs/gstreamer-libs-sections.txt:
14512         Added new symbol to docs.
14513
14514         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14515         (gst_base_src_init), (gst_base_src_set_format),
14516         (gst_base_src_default_query), (gst_base_src_query),
14517         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
14518         (gst_base_src_perform_seek), (gst_base_src_send_event),
14519         (gst_base_src_default_event), (gst_base_src_event_handler),
14520         (gst_base_src_set_property), (gst_base_src_get_property),
14521         (gst_base_src_wait), (gst_base_src_do_sync),
14522         (gst_base_src_update_length), (gst_base_src_get_range),
14523         (gst_base_src_check_get_range), (gst_base_src_loop),
14524         (gst_base_src_default_negotiate), (gst_base_src_start),
14525         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14526         (gst_base_src_change_state):
14527         * libs/gst/base/gstbasesrc.h:
14528         Implement seeking to other formats than _BYTES.
14529         Implement more seeking methods correctly.
14530         Doc updates.
14531         Added query vmethod.
14532         Added do_seek vmethod to make life easier for subclasses
14533         when seeking.
14534         API addition: gst_base_src_set_format()
14535
14536 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14537
14538         * tests/examples/Makefile.am:
14539           added that too
14540
14541 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14542
14543         * configure.ac:
14544         * docs/random/ensonic/media-device-daemon.txt:
14545         * tests/examples/controller/.cvsignore:
14546         * tests/examples/controller/Makefile.am:
14547         * tests/examples/controller/audio-example.c: (main):
14548         * tests/examples/helloworld/.cvsignore:
14549         * tests/examples/helloworld/Makefile.am:
14550         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
14551         * tests/examples/launch/.cvsignore:
14552         * tests/examples/launch/Makefile.am:
14553         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
14554         * tests/examples/metadata/.cvsignore:
14555         * tests/examples/metadata/Makefile.am:
14556         * tests/examples/metadata/read-metadata.c: (message_loop),
14557         (make_pipeline), (print_tag), (main):
14558         * tests/examples/queue/.cvsignore:
14559         * tests/examples/queue/Makefile.am:
14560         * tests/examples/queue/queue.c: (event_loop), (main):
14561         * tests/examples/typefind/.cvsignore:
14562         * tests/examples/typefind/Makefile.am:
14563         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
14564         (main):
14565         * tests/examples/xml/.cvsignore:
14566         * tests/examples/xml/Makefile.am:
14567         * tests/examples/xml/createxml.c: (object_saved), (main):
14568         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
14569         * tests/old/examples/Makefile.am:
14570         * tests/old/examples/TODO:
14571         * tests/old/examples/controller/.cvsignore:
14572         * tests/old/examples/controller/Makefile.am:
14573         * tests/old/examples/controller/audio-example.c:
14574         * tests/old/examples/helloworld/.cvsignore:
14575         * tests/old/examples/helloworld/Makefile.am:
14576         * tests/old/examples/helloworld/helloworld.c:
14577         * tests/old/examples/launch/.cvsignore:
14578         * tests/old/examples/launch/Makefile.am:
14579         * tests/old/examples/launch/mp3parselaunch.c:
14580         * tests/old/examples/launch/mp3play:
14581         * tests/old/examples/manual/Makefile.am:
14582         * tests/old/examples/metadata/Makefile.am:
14583         * tests/old/examples/metadata/read-metadata.c:
14584         * tests/old/examples/queue/.cvsignore:
14585         * tests/old/examples/queue/Makefile.am:
14586         * tests/old/examples/queue/queue.c:
14587         * tests/old/examples/typefind/.cvsignore:
14588         * tests/old/examples/typefind/Makefile.am:
14589         * tests/old/examples/typefind/typefind.c:
14590         * tests/old/examples/xml/.cvsignore:
14591         * tests/old/examples/xml/Makefile.am:
14592         * tests/old/examples/xml/createxml.c:
14593         * tests/old/examples/xml/runxml.c:
14594           applied some simple fixing to some examples
14595           re-enabled the working examples
14596
14597 2005-12-12  Wim Taymans  <wim@fluendo.com>
14598
14599         * gst/gstsegment.c: (gst_segment_init),
14600         (gst_segment_set_last_stop), (gst_segment_set_seek),
14601         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14602         (gst_segment_to_running_time):
14603         Added more documentation.
14604         Make sure the last_pos value is updated properly.
14605         Make sure to_stream_time and to_running_time don't
14606         operate on wrong values.
14607
14608         * tests/check/gst/gstsegment.c: (GST_START_TEST):
14609         Update check.
14610
14611 2005-12-12  Michael Smith  <msmith@fluendo.com>
14612
14613         * plugins/elements/gsttypefindelement.c: (free_entry),
14614         (gst_type_find_element_chain):
14615           Now that we're not leaking factories, make sure we keep references
14616           to them while we need them.
14617
14618 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14619
14620         * tests/check/gst/struct_i386.h:
14621           ifdef out the XML structs
14622
14623 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14624
14625         * gst/gstvalue.c: (gst_value_transform_double_fraction):
14626           floor is not needed, F is always positive; this obviates the
14627           need for adding -lm when building without libxml
14628
14629 2005-12-12  Wim Taymans  <wim@fluendo.com>
14630
14631         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14632         Take current playback rate into account when reporting
14633         the position.
14634
14635 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14636
14637         * docs/manual/mime-world.fig:
14638           Let's try this again, this time with a file that is
14639           actually in XFig format.
14640
14641 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14642
14643         * docs/manual/mime-world.fig:
14644           Add audioconvert element to diagram so that it
14645           matches the text and the code (fixes #319526).
14646
14647 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14648
14649         * docs/pwg/building-chainfn.xml:
14650         * docs/pwg/building-pads.xml:
14651         * docs/pwg/building-state.xml:
14652         * docs/pwg/other-source.xml:
14653           Update state change stuff for 0.10 (fixes #322969).
14654
14655 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14656
14657         * docs/manual/advanced-dataaccess.xml:
14658         * docs/manual/appendix-checklist.xml:
14659         * docs/manual/appendix-programs.xml:
14660         * docs/manual/basics-pads.xml:
14661         * docs/manual/highlevel-components.xml:
14662         * docs/manual/manual.xml:
14663           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
14664           add converters in front of pipelines; remove curly
14665           brackets for threads stuff, they no longer exist; use
14666           GST_TYPE_FRACTION for framerates; update some pieces of
14667           code to 0.10, but there's plenty more to do.
14668
14669         * docs/manual/appendix-porting.xml:
14670           Expand on asynchroneous state changes; s/0.9/0.10/;
14671           mention disappearance of gst_init_get_popt_table()
14672           (fixes #322916).
14673
14674 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14675
14676         * docs/faq/using.xml:
14677           Spider no longer exists, and neither does gst-launch-ext.
14678           Update examples to use decodebin and playbin and put
14679           converters in front of sinks (fixes #323726).
14680
14681 2005-12-09  Michael Smith  <msmith@fluendo.com>
14682
14683         * plugins/elements/gsttypefindelement.c: (find_peek),
14684         (gst_type_find_element_chain):
14685           Fix leaking element factories in typefinding.
14686           Fix problem where we forgot about a probable type on non-seekable
14687           files, and thus later mis-typefound it.
14688
14689 2005-12-09  Michael Smith  <msmith@fluendo.com>
14690
14691         * common/m4/gst-makecontext.m4:
14692         * common/m4/gst-mcsc.m4:
14693         * configure.ac:
14694         * win32/common/config.h:
14695         * win32/common/config.h.in:
14696           Remove makecontext stuff; not used in 0.10 and causes problems on
14697           HPUX according to bug #322441
14698
14699 2005-12-07  Wim Taymans  <wim@fluendo.com>
14700
14701         * tests/check/Makefile.am:
14702         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
14703         (main):
14704         * tests/check/libs/struct_i386.h:
14705         Added ABI check for libs
14706
14707 2005-12-07  Wim Taymans  <wim@fluendo.com>
14708
14709         * tests/check/Makefile.am:
14710         And add the struct_i386.h to dist.
14711
14712 2005-12-07  Wim Taymans  <wim@fluendo.com>
14713
14714         * tests/check/Makefile.am:
14715         * tests/check/gst/.cvsignore:
14716         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
14717         (main):
14718         * tests/check/gst/struct_i386.h:
14719         Added check for ABI compatibility.
14720
14721 2005-12-07  Wim Taymans  <wim@fluendo.com>
14722
14723         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14724         (gst_fake_src_get_times), (gst_fake_src_create):
14725         Fix broken sync option, fixes #323259
14726
14727 2005-12-07  Wim Taymans  <wim@fluendo.com>
14728
14729         * gst/gstbuffer.c:
14730         Small docs update.
14731
14732         * gst/gstcaps.c: (gst_caps_is_equal):
14733         Don't assert on NULL <--> X. Fixes #323260
14734
14735         * gst/gstminiobject.c: (gst_mini_object_replace):
14736         If we're doing atomic operations, we might just as well use
14737         the proper way to get an atomic pointer.
14738
14739         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14740         Clean up debugging.
14741
14742 2005-12-07  Michael Smith  <msmith@fluendo.com>
14743
14744         * gst/parse/grammar.y:
14745           Remove handling of { } for threads.
14746
14747 2005-12-06  David Schleef  <ds@schleef.org>
14748
14749         * libs/gst/base/gstbasetransform.c: speling fix.
14750
14751 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14752
14753         * docs/libs/tmpl/gstdataprotocol.sgml:
14754         * docs/random/omega/testing/gstobject.c:
14755         * gst/gst.c:
14756         * gst/gstclock.c:
14757         * gst/gstelement.c:
14758         * gst/gstelementfactory.c:
14759         * gst/gsterror.c:
14760         * gst/gstevent.c:
14761         * gst/gstghostpad.c:
14762         * gst/gstinfo.c:
14763         * gst/gstpadtemplate.c:
14764         * gst/gstregistryxml.c:
14765         * gst/gsttaglist.c:
14766         * gst/gsttagsetter.c:
14767         * gst/gsttypefind.c:
14768         * gst/gstvalue.c:
14769         * libs/gst/base/gstbasesrc.c:
14770         * libs/gst/net/gstnetclientclock.c:
14771         * libs/gst/net/gstnettimeprovider.c:
14772         * plugins/elements/gstfakesrc.c:
14773         * plugins/elements/gstfdsrc.c:
14774         * plugins/elements/gstfilesrc.c:
14775         * plugins/elements/gstidentity.c:
14776         * plugins/elements/gstqueue.c:
14777         * plugins/elements/gsttypefindelement.c:
14778         * plugins/indexers/gstfileindex.c:
14779         * plugins/indexers/gstmemindex.c:
14780         * tests/check/gst/gsttag.c:
14781         * tests/old/examples/cutter/cutter.c:
14782         * tests/old/examples/mixer/mixer.c:
14783         * tests/old/examples/xml/runxml.c: (main):
14784         * tests/old/testsuite/caps/normalisation.c:
14785         * tests/old/testsuite/debug/global.c:
14786         * tests/old/testsuite/parse/parse1.c:
14787         * tools/gst-xmlinspect.c:
14788         * win32/common/dirent.c:
14789           expand tabs
14790
14791 === release 0.10.0 ===
14792
14793 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14794
14795         * configure.ac:
14796           releasing 0.10.0, "Maroilles"
14797
14798 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14799
14800         submitted by: Funda Wang <fundawang@linux.net.cn>
14801
14802         * po/LINGUAS:
14803         * po/zh_CN.po:
14804           added Chinese (Traditional) translation
14805
14806 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14807
14808         * docs/gst/gstreamer-sections.txt:
14809         * docs/libs/tmpl/gstdataprotocol.sgml:
14810         * docs/random/thomasvs/TODO:
14811         * gst/gstutils.c:
14812         * gst/gstutils.h:
14813           fix docs
14814
14815 2005-12-05  Andy Wingo  <wingo@pobox.com>
14816
14817         patch by: Wim Taymans <wim@fluendo.com>
14818
14819         * libs/gst/base/gstbasetransform.c
14820         (gst_base_transform_prepare_output_buf)
14821         (gst_base_transform_buffer_alloc):
14822         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
14823         alloc_buffer_and_set_caps.
14824
14825         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
14826         set_caps on the source pad.
14827         (gst_pad_alloc_buffer_and_set_caps): New function, does what
14828         alloc_buffer used to do. Fixes #322874.
14829
14830         * docs/gst/gstreamer-sections.txt: 
14831         * docs/design/part-negotiation.txt: 
14832         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
14833         changes.
14834
14835 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14836
14837         patch by: Sebastien Moutte
14838
14839         * win32/MANIFEST:
14840         * win32/common/config.h.in:
14841         * win32/vs6/libgstcontroller.dsp:
14842           win32 build fixes
14843
14844 2005-12-05  Wim Taymans  <wim@fluendo.com>
14845
14846         * gst/gstcaps.c: (gst_caps_is_equal):
14847         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14848         (gst_fake_src_create):
14849         Back out previous code changes, leave doc updates, file bugs 
14850         instead. 
14851
14852 2005-12-05  Wim Taymans  <wim@fluendo.com>
14853
14854         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14855         (gst_fake_src_get_times), (gst_fake_src_create):
14856         * plugins/elements/gstfakesrc.h:
14857         Fix broken sync code.
14858
14859 2005-12-05  Wim Taymans  <wim@fluendo.com>
14860
14861         * gst/gstcaps.c: (gst_caps_is_equal):
14862         Comparing NULL against !NULL yields different caps, not a
14863         failure.
14864
14865 2005-12-05  Wim Taymans  <wim@fluendo.com>
14866
14867         * gst/gstpipeline.c:
14868         Fix small typo in docs.
14869
14870 2005-12-05  Andy Wingo  <wingo@pobox.com>
14871
14872         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
14873
14874         * gst/gst.c (init_post): remove hard-coded 0.9 location for
14875         registries/plugins with a MAJORMINOR one.
14876         (plugin_desc): Rename library from gstcoreleements to
14877         staticelements. Fixes #323222.
14878
14879 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
14880
14881         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
14882           Change debug category to 'collectpads' from 'collect_pads'
14883           (fixes #323250).
14884
14885 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
14886
14887         patch by: Sebastien Moutte
14888
14889         * libs/gst/controller/gstinterpolation.c:
14890           use convert function for uint64/double
14891         * win32/vs6/libgstcontroller.dsp:
14892           link to GLib
14893
14894 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
14895
14896         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
14897         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
14898         * gst/gstutils.h:
14899         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14900           add tests that seem to show that the guint64/gdouble conversions
14901           are correct.
14902
14903 2005-12-02  Wim Taymans  <wim@fluendo.com>
14904
14905         * gst/gstregistry.c: (gst_registry_add_path):
14906         * gst/gstregistry.h:
14907         * gst/gstregistryxml.c:
14908         Fix docs again.
14909
14910 2005-12-02  Wim Taymans  <wim@fluendo.com>
14911
14912         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14913         (gst_util_uint64_scale_int):
14914         Small cleanup.
14915
14916         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14917         Add debug log line.
14918
14919         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
14920         Add FIXME.
14921
14922 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14923
14924         * win32/MANIFEST:
14925         * win32/common/config.h:
14926         * win32/vs6/gstreamer.dsw:
14927         * win32/vs6/libgstcoreelements.dsp:
14928         * win32/vs6/libgstelements.dsp:
14929           renamed core elements plugin
14930
14931 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14932
14933         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
14934         (get_candidates):
14935           do piece-wise major/minor comparison so 0.9 < 0.10
14936           also allow .exe extensions for tools
14937
14938 2005-12-02  Michael Smith  <msmith@fluendo.com>
14939
14940         * gst/gst.c:
14941           Escape a % to make gtkdoc happier; bug 322958.
14942
14943 === release 0.9.7 ===
14944
14945 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14946
14947         * configure.ac:
14948           releasing 0.9.7, "My Dog Has No Nose"
14949
14950 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14951
14952         * common/gst-xmlinspect.py:
14953         * configure.ac:
14954         * docs/libs/tmpl/gstdataprotocol.sgml:
14955         * docs/random/release:
14956         * po/af.po:
14957         * po/az.po:
14958         * po/bg.po:
14959         * po/ca.po:
14960         * po/cs.po:
14961         * po/de.po:
14962         * po/en_GB.po:
14963         * po/fr.po:
14964         * po/it.po:
14965         * po/nb.po:
14966         * po/nl.po:
14967         * po/ru.po:
14968         * po/sq.po:
14969         * po/sr.po:
14970         * po/sv.po:
14971         * po/tr.po:
14972         * po/uk.po:
14973         * po/vi.po:
14974         * win32/common/config.h:
14975         * win32/common/config.h.in:
14976         * win32/vs6/gst_inspect.dsp:
14977         * win32/vs6/gst_launch.dsp:
14978         * win32/vs6/libgstbase.dsp:
14979         * win32/vs6/libgstelements.dsp:
14980         * win32/vs6/libgstreamer.dsp:
14981         * win32/vs7/GStreamer.vcproj:
14982         * win32/vs7/gst-inspect.vcproj:
14983         * win32/vs7/gst-launch.vcproj:
14984         * win32/vs7/libgstbase.vcproj:
14985           bump GST_MAJORMINOR to 0.10
14986           reset libtool version
14987
14988 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14989
14990         * po/LINGUAS:
14991         * po/bg.po:
14992           Added Bulgarian translation by (Alexander Shopov)
14993
14994 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14995
14996         * tests/check/gst/gstplugin.c:
14997           fix test
14998
14999 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15000
15001         * common/gst-xmlinspect.py:
15002         * common/gtk-doc-plugins.mak:
15003         * configure.ac:
15004         * docs/Makefile.am:
15005         * docs/gst/Makefile.am:
15006         * docs/gst/gstreamer-docs.sgml:
15007         * docs/gst/gstreamer-sections.txt:
15008         * docs/gst/gstreamer.types:
15009         * docs/gst/gstreamer.types.in:
15010         * docs/plugins/Makefile.am:
15011         * docs/plugins/gstreamer-plugins-docs.sgml:
15012         * docs/plugins/gstreamer-plugins-sections.txt:
15013         * docs/plugins/gstreamer-plugins.types:
15014         * docs/plugins/inspect.stamp:
15015         * docs/plugins/inspect/plugin-coreelements.xml:
15016         * docs/plugins/inspect/plugin-coreindexers.xml:
15017         * docs/plugins/scanobj-build.stamp:
15018         * gstreamer.spec.in:
15019         * plugins/elements/Makefile.am:
15020         * plugins/elements/gstelements.c:
15021         * plugins/elements/gstfakesink.c:
15022         * plugins/elements/gstfakesrc.c:
15023         * plugins/elements/gstfilesink.c:
15024         * plugins/elements/gstfilesrc.c:
15025         * plugins/elements/gstqueue.c:
15026         * plugins/indexers/Makefile.am:
15027         * plugins/indexers/gstindexers.c:
15028           document core plugins in a separate document just like all the
15029           others
15030           rename these plugins to something starting with core
15031
15032 2005-12-01  Andy Wingo  <wingo@pobox.com>
15033
15034         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
15035         padding here before, but it missed the commit.
15036
15037 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15038
15039         * libs/gst/controller/gstinterpolation.c:
15040           whitespace prices have crashed, we should feel free to use some now
15041           use gst_guint64_to_gdouble
15042
15043 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15044
15045         * libs/gst/controller/gstcontroller.c:
15046         * libs/gst/controller/gsthelper.c:
15047         * libs/gst/controller/gstinterpolation.c:
15048         * libs/gst/controller/lib.c:
15049           wrap config.h include
15050
15051 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15052
15053         * docs/gst/gstreamer-sections.txt:
15054           update docs
15055
15056 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15057
15058         * plugins/elements/gstelements.c:
15059         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
15060         (gst_fd_sink__class_init), (gst_fd_sink__init),
15061         (gst_fd_sink__chain), (gst_fd_sink__set_property),
15062         (gst_fd_sink__get_property):
15063         * plugins/elements/gstfdsink.h:
15064         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
15065         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
15066         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
15067         (gst_fd_src_unlock), (gst_fd_src_set_property),
15068         (gst_fd_src_get_property), (gst_fd_src_create),
15069         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
15070         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
15071         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
15072         (gst_fd_src_uri_handler_init):
15073         * plugins/elements/gstfdsrc.h:
15074         * plugins/elements/gstqueue.c: (gst_queue_get_type):
15075           more anal cleanup
15076
15077 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15078
15079         * docs/gst/Makefile.am:
15080         * docs/gst/gstreamer.types.in:
15081         * gst/Makefile.am:
15082           fix the docs build
15083
15084 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15085
15086         * configure.ac:
15087         * gst/Makefile.am:
15088         * gst/gst.c:
15089         * gst/gstplugin.h:
15090         * gst/gstregistry.h:
15091         * tests/benchmarks/complexity.c:
15092         * tests/benchmarks/mass-elements.c:
15093         * tests/check/Makefile.am:
15094         * tools/Makefile.am:
15095         * tools/gst-inspect.c:
15096         * tools/gst-xmlinspect.c:
15097           various fixes to make
15098           --disable-nls --disable-registry --disable-loadsave
15099           --disable-parse --disable-gst-debug
15100           work and get the core .so down to 360444 bytes after stripping
15101
15102 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15103
15104         * Makefile.am:
15105         * configure.ac:
15106           descend into tests
15107         * docs/random/thomasvs/TODO:
15108         * tests/Makefile.am:
15109         * tests/README:
15110           add a README
15111
15112 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15113
15114         * win32/GStreamer.vcproj:
15115         * win32/MANIFEST:
15116         * win32/Makefile:
15117         * win32/Makefile.inspect:
15118         * win32/Makefile.launch:
15119         * win32/Makefile.register:
15120         * win32/README.txt:
15121         * win32/gst-inspect.vcproj:
15122         * win32/gst-launch.vcproj:
15123         * win32/gst-register.vcproj:
15124         * win32/gstelements.vcproj:
15125         * win32/gstgetbits.def:
15126         * win32/gstgetbits.vcproj:
15127         * win32/gstreamer-dbg.def:
15128         * win32/gstreamer.def:
15129         * win32/libgstbase.def:
15130         * win32/libgstbase.vcproj:
15131         * win32/link_oldruntime.c:
15132         * win32/mman.c:
15133         * win32/mman.h:
15134         * win32/mman.inl:
15135         * win32/msvc71.sln:
15136           move even more stuff, win32/ is nice and clean now
15137
15138 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15139
15140         * libs/gst/control/.cvsignore:
15141         * win32/MANIFEST:
15142         * win32/config.h:
15143         * win32/dirent.c:
15144         * win32/dirent.h:
15145         * win32/gstbytestream.def:
15146         * win32/gstbytestream.vcproj:
15147         * win32/gstconfig.h:
15148         * win32/gstenumtypes.c:
15149         * win32/gstenumtypes.h:
15150         * win32/gstoptimalscheduler.vcproj:
15151         * win32/gstversion.h:
15152         * win32/gtchar.h:
15153         * win32/testsuite/bins.vcproj:
15154         * win32/testsuite/bytestream.vcproj:
15155         * win32/testsuite/caps.vcproj:
15156         * win32/testsuite/cleanup.vcproj:
15157         * win32/testsuite/clock.vcproj:
15158         * win32/testsuite/debug.vcproj:
15159         * win32/testsuite/dlopen.vcproj:
15160         * win32/testsuite/dynparams.vcproj:
15161         * win32/testsuite/elements.vcproj:
15162         * win32/testsuite/ghostpads.vcproj:
15163         * win32/testsuite/indexers.vcproj:
15164         * win32/testsuite/negotiation.vcproj:
15165         * win32/testsuite/parse.vcproj:
15166         * win32/testsuite/plugin.vcproj:
15167         * win32/testsuite/refcounting.vcproj:
15168         * win32/testsuite/schedulers.vcproj:
15169         * win32/testsuite/states.vcproj:
15170         * win32/testsuite/tags.vcproj:
15171         * win32/testsuite/threads.vcproj:
15172           remove old win32 stuff that isn't maintained and should be
15173           reorganized
15174
15175 2005-11-30  Andy Wingo  <wingo@pobox.com>
15176
15177         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
15178         loading the gst.interfaces python module bork.
15179
15180         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
15181         available since GLib 2.2. Fixes #318031.
15182
15183 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15184
15185         * Makefile.am:
15186         * check/.cvsignore:
15187         * check/Makefile.am:
15188         * check/elements/.cvsignore:
15189         * check/elements/fakesrc.c:
15190         * check/elements/fdsrc.c:
15191         * check/elements/identity.c:
15192         * check/generic/.cvsignore:
15193         * check/generic/states.c:
15194         * check/gst-libs/.cvsignore:
15195         * check/gst-libs/controller.c:
15196         * check/gst-libs/gdp.c:
15197         * check/gst/.cvsignore:
15198         * check/gst/capslist.h:
15199         * check/gst/gst.c:
15200         * check/gst/gstbin.c:
15201         * check/gst/gstbuffer.c:
15202         * check/gst/gstbus.c:
15203         * check/gst/gstcaps.c:
15204         * check/gst/gstelement.c:
15205         * check/gst/gstevent.c:
15206         * check/gst/gstghostpad.c:
15207         * check/gst/gstiterator.c:
15208         * check/gst/gstmessage.c:
15209         * check/gst/gstminiobject.c:
15210         * check/gst/gstobject.c:
15211         * check/gst/gstpad.c:
15212         * check/gst/gstpipeline.c:
15213         * check/gst/gstplugin.c:
15214         * check/gst/gstsegment.c:
15215         * check/gst/gststructure.c:
15216         * check/gst/gstsystemclock.c:
15217         * check/gst/gsttag.c:
15218         * check/gst/gstutils.c:
15219         * check/gst/gstvalue.c:
15220         * check/net/.cvsignore:
15221         * check/net/gstnetclientclock.c:
15222         * check/net/gstnettimeprovider.c:
15223         * check/pipelines/.cvsignore:
15224         * check/pipelines/cleanup.c:
15225         * check/pipelines/simple_launch_lines.c:
15226         * check/pipelines/stress.c:
15227         * check/states/.cvsignore:
15228         * check/states/sinks.c:
15229         * configure.ac:
15230         * examples/Makefile.am:
15231         * examples/appreader/.cvsignore:
15232         * examples/appreader/Makefile.am:
15233         * examples/appreader/appreader.c:
15234         * examples/controller/.cvsignore:
15235         * examples/controller/Makefile.am:
15236         * examples/controller/audio-example.c:
15237         * examples/cutter/.cvsignore:
15238         * examples/cutter/Makefile.am:
15239         * examples/cutter/cutter.c:
15240         * examples/cutter/cutter.h:
15241         * examples/events/Makefile.am:
15242         * examples/events/seek.c:
15243         * examples/helloworld/.cvsignore:
15244         * examples/helloworld/Makefile.am:
15245         * examples/helloworld/helloworld.c:
15246         * examples/helloworld2/.cvsignore:
15247         * examples/helloworld2/Makefile.am:
15248         * examples/helloworld2/helloworld2.c:
15249         * examples/launch/.cvsignore:
15250         * examples/launch/Makefile.am:
15251         * examples/launch/mp3parselaunch.c:
15252         * examples/launch/mp3play:
15253         * examples/manual/.cvsignore:
15254         * examples/manual/Makefile.am:
15255         * examples/manual/extract.pl:
15256         * examples/metadata/Makefile.am:
15257         * examples/metadata/read-metadata.c:
15258         * examples/mixer/.cvsignore:
15259         * examples/mixer/Makefile.am:
15260         * examples/mixer/mixer.c:
15261         * examples/mixer/mixer.h:
15262         * examples/pingpong/.cvsignore:
15263         * examples/pingpong/Makefile.am:
15264         * examples/pingpong/pingpong.c:
15265         * examples/plugins/.cvsignore:
15266         * examples/plugins/Makefile.am:
15267         * examples/plugins/example.c:
15268         * examples/plugins/example.h:
15269         * examples/pwg/.cvsignore:
15270         * examples/pwg/Makefile.am:
15271         * examples/pwg/extract.pl:
15272         * examples/queue/.cvsignore:
15273         * examples/queue/Makefile.am:
15274         * examples/queue/queue.c:
15275         * examples/queue2/.cvsignore:
15276         * examples/queue2/Makefile.am:
15277         * examples/queue2/queue2.c:
15278         * examples/queue3/.cvsignore:
15279         * examples/queue3/Makefile.am:
15280         * examples/queue3/queue3.c:
15281         * examples/queue4/.cvsignore:
15282         * examples/queue4/Makefile.am:
15283         * examples/queue4/queue4.c:
15284         * examples/retag/.cvsignore:
15285         * examples/retag/Makefile.am:
15286         * examples/retag/retag.c:
15287         * examples/retag/transcode.c:
15288         * examples/thread/.cvsignore:
15289         * examples/thread/Makefile.am:
15290         * examples/thread/thread.c:
15291         * examples/typefind/.cvsignore:
15292         * examples/typefind/Makefile.am:
15293         * examples/typefind/typefind.c:
15294         * examples/xml/.cvsignore:
15295         * examples/xml/Makefile.am:
15296         * examples/xml/createxml.c:
15297         * examples/xml/runxml.c:
15298         * tests/Makefile.am:
15299         * tests/check/Makefile.am:
15300         * testsuite/.cvsignore:
15301         * testsuite/Makefile.am:
15302         * testsuite/Rules:
15303         * testsuite/caps/.cvsignore:
15304         * testsuite/caps/Makefile.am:
15305         * testsuite/caps/app_fixate.c:
15306         * testsuite/caps/audioscale.c:
15307         * testsuite/caps/caps.c:
15308         * testsuite/caps/caps.h:
15309         * testsuite/caps/caps_strings:
15310         * testsuite/caps/compatibility.c:
15311         * testsuite/caps/deserialize.c:
15312         * testsuite/caps/enumcaps.c:
15313         * testsuite/caps/eratosthenes.c:
15314         * testsuite/caps/filtercaps.c:
15315         * testsuite/caps/fixed.c:
15316         * testsuite/caps/fraction-convert.c:
15317         * testsuite/caps/fraction-multiply-and-zero.c:
15318         * testsuite/caps/intersect2.c:
15319         * testsuite/caps/intersection.c:
15320         * testsuite/caps/normalisation.c:
15321         * testsuite/caps/random.c:
15322         * testsuite/caps/renegotiate.c:
15323         * testsuite/caps/sets.c:
15324         * testsuite/caps/simplify.c:
15325         * testsuite/caps/string-conversions.c:
15326         * testsuite/caps/structure.c:
15327         * testsuite/caps/subtract.c:
15328         * testsuite/caps/union.c:
15329         * testsuite/debug/.cvsignore:
15330         * testsuite/debug/Makefile.am:
15331         * testsuite/debug/category.c:
15332         * testsuite/debug/commandline.c:
15333         * testsuite/debug/global.c:
15334         * testsuite/debug/output.c:
15335         * testsuite/debug/printf_extension.c:
15336         * testsuite/dlopen/.cvsignore:
15337         * testsuite/dlopen/Makefile.am:
15338         * testsuite/dlopen/dlopen_gst.c:
15339         * testsuite/dlopen/loadgst.c:
15340         * testsuite/elements/.cvsignore:
15341         * testsuite/elements/Makefile.am:
15342         * testsuite/elements/gst-inspect-check.in:
15343         * testsuite/elements/struct_i386.h:
15344         * testsuite/elements/struct_size.c:
15345         * testsuite/indexers/.cvsignore:
15346         * testsuite/indexers/Makefile.am:
15347         * testsuite/indexers/cache1.c:
15348         * testsuite/indexers/indexdump.c:
15349         * testsuite/parse/.cvsignore:
15350         * testsuite/parse/Makefile.am:
15351         * testsuite/parse/parse1.c:
15352         * testsuite/parse/parse2.c:
15353         * testsuite/plugin/.cvsignore:
15354         * testsuite/plugin/Makefile.am:
15355         * testsuite/plugin/README:
15356         * testsuite/plugin/dynamic.c:
15357         * testsuite/plugin/linked.c:
15358         * testsuite/plugin/loading.c:
15359         * testsuite/plugin/registry.c:
15360         * testsuite/plugin/static.c:
15361         * testsuite/plugin/static2.c:
15362         * testsuite/plugin/testplugin.c:
15363         * testsuite/plugin/testplugin2.c:
15364         * testsuite/plugin/testplugin2_s.c:
15365         * testsuite/plugin/testplugin_s.c:
15366         * testsuite/refcounting/.cvsignore:
15367         * testsuite/refcounting/Makefile.am:
15368         * testsuite/refcounting/bin.c:
15369         * testsuite/refcounting/element.c:
15370         * testsuite/refcounting/element_pad.c:
15371         * testsuite/refcounting/mainloop.c:
15372         * testsuite/refcounting/mem.c:
15373         * testsuite/refcounting/mem.h:
15374         * testsuite/refcounting/object.c:
15375         * testsuite/refcounting/pad.c:
15376         * testsuite/refcounting/sched.c:
15377         * testsuite/refcounting/thread.c:
15378         * testsuite/states/.cvsignore:
15379         * testsuite/states/Makefile.am:
15380         * testsuite/states/bin.c:
15381         * testsuite/states/locked.c:
15382         * testsuite/states/parent.c:
15383         * testsuite/threads/.cvsignore:
15384         * testsuite/threads/159566.c:
15385         * testsuite/threads/159852.c:
15386         * testsuite/threads/Makefile.am:
15387         * testsuite/threads/queue.c:
15388         * testsuite/threads/signals.c:
15389         * testsuite/threads/staticrec.c:
15390         * testsuite/threads/thread.c:
15391         * testsuite/threads/threadb.c:
15392         * testsuite/threads/threadc.c:
15393         * testsuite/threads/threadd.c:
15394         * testsuite/threads/threade.c:
15395         * testsuite/threads/threadf.c:
15396         * testsuite/threads/threadg.c:
15397         * testsuite/threads/threadh.c:
15398         * testsuite/threads/threadi.c:
15399           move all of these under tests
15400
15401 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15402
15403         * configure.ac:
15404         * tests/Makefile.am:
15405           fix distcheck
15406
15407 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15408
15409         * docs/gst/gstreamer-sections.txt:
15410         * tests/sched/.cvsignore:
15411         * tests/sched/Makefile.am:
15412         * tests/sched/cases/(fs-fs).xml:
15413         * tests/sched/cases/(fs-i-fs).xml:
15414         * tests/sched/cases/(fs-i-i-fs).xml:
15415         * tests/sched/cases/(fs-i-q[i-fs]).xml:
15416         * tests/sched/dynamic-pipeline.c:
15417         * tests/sched/interrupt1.c:
15418         * tests/sched/interrupt2.c:
15419         * tests/sched/interrupt3.c:
15420         * tests/sched/runtestcases:
15421         * tests/sched/runxml.c:
15422         * tests/sched/sched-stress.c:
15423         * tests/sched/sort.c:
15424         * tests/sched/testcases:
15425         * tests/sched/testcases1.tc:
15426         * tests/seeking/.cvsignore:
15427         * tests/seeking/Makefile.am:
15428         * tests/seeking/seeking1.c:
15429         * tests/threadstate/.cvsignore:
15430         * tests/threadstate/Makefile.am:
15431         * tests/threadstate/test1.c:
15432         * tests/threadstate/test2.c:
15433         * tests/threadstate/threadstate1.c:
15434         * tests/threadstate/threadstate2.c:
15435         * tests/threadstate/threadstate3.c:
15436         * tests/threadstate/threadstate4.c:
15437         * tests/threadstate/threadstate5.c:
15438           remove obsolete tests
15439         * configure.ac:
15440         * tests/bench-complexity.scm:
15441         * tests/bench-mass_elements.scm:
15442         * tests/complexity.c:
15443         * tests/complexity.gnuplot:
15444         * tests/instantiate/.cvsignore:
15445         * tests/instantiate/Makefile.am:
15446         * tests/instantiate/caps.c:
15447         * tests/mass_elements.c:
15448         * tests/network-clock-utils.scm:
15449         * tests/network-clock.scm:
15450         * tests/plot-data:
15451         First pass at cleaning up tests/ dir before moving the rest
15452         Combined with CVS surgery
15453
15454 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15455
15456         * po/POTFILES.in:
15457           queue has moved, update
15458
15459 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15460
15461         * docs/gst/gstreamer-sections.txt:
15462           remove double entries from the docs
15463         * gst/gst_private.h:
15464         * gst/gstinfo.c: (_gst_debug_init):
15465           remove the THREAD debug category
15466         * gst/Makefile.am:
15467         * gst/gstqueue.c:
15468         * gst/gstqueue.h:
15469         * docs/gst/gstreamer.types:
15470         * plugins/elements/gstqueue.c: (gst_queue_get_type),
15471         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
15472           completely move queue and fix up debugging categories
15473
15474 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15475
15476         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15477           make initialization portable, using LL is not
15478
15479 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15480
15481         * win32/common/gstconfig.h:
15482           add large padding
15483
15484 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15485
15486         * win32/common/libgstreamer.def:
15487           rename symbols; sort base section
15488
15489 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15490
15491         * gst/gstclock.c: (do_linear_regression):
15492           remove crack non-portable handrolled DEBUG macro
15493
15494 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15495
15496         * docs/random/release:
15497           update notes
15498         * win32/common/gstenumtypes.c: (register_gst_object_flags),
15499         (gst_object_flags_get_type), (register_gst_bin_flags),
15500         (gst_bin_flags_get_type), (register_gst_buffer_flag),
15501         (gst_buffer_flag_get_type), (register_gst_bus_flags),
15502         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15503         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
15504         (gst_caps_flags_get_type), (register_gst_clock_return),
15505         (gst_clock_return_get_type), (register_gst_clock_entry_type),
15506         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15507         (gst_clock_flags_get_type), (register_gst_state),
15508         (gst_state_get_type), (register_gst_state_change_return),
15509         (gst_state_change_return_get_type), (register_gst_state_change),
15510         (gst_state_change_get_type), (register_gst_element_flags),
15511         (gst_element_flags_get_type), (register_gst_core_error),
15512         (gst_core_error_get_type), (register_gst_library_error),
15513         (gst_library_error_get_type), (register_gst_resource_error),
15514         (gst_resource_error_get_type), (register_gst_stream_error),
15515         (gst_stream_error_get_type), (register_gst_event_type_flags),
15516         (gst_event_type_flags_get_type), (register_gst_event_type),
15517         (gst_event_type_get_type), (register_gst_seek_type),
15518         (gst_seek_type_get_type), (register_gst_seek_flags),
15519         (gst_seek_flags_get_type), (register_gst_format),
15520         (gst_format_get_type), (register_gst_index_certainty),
15521         (gst_index_certainty_get_type), (register_gst_index_entry_type),
15522         (gst_index_entry_type_get_type),
15523         (register_gst_index_lookup_method),
15524         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15525         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15526         (gst_index_resolver_method_get_type), (register_gst_index_flags),
15527         (gst_index_flags_get_type), (register_gst_debug_level),
15528         (gst_debug_level_get_type), (register_gst_debug_color_flags),
15529         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15530         (gst_iterator_result_get_type), (register_gst_iterator_item),
15531         (gst_iterator_item_get_type), (register_gst_message_type),
15532         (gst_message_type_get_type), (register_gst_mini_object_flags),
15533         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15534         (gst_pad_link_return_get_type), (register_gst_flow_return),
15535         (gst_flow_return_get_type), (register_gst_activate_mode),
15536         (gst_activate_mode_get_type), (register_gst_pad_direction),
15537         (gst_pad_direction_get_type), (register_gst_pad_flags),
15538         (gst_pad_flags_get_type), (register_gst_pad_presence),
15539         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15540         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15541         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15542         (gst_plugin_error_get_type), (register_gst_plugin_flags),
15543         (gst_plugin_flags_get_type), (register_gst_rank),
15544         (gst_rank_get_type), (register_gst_query_type),
15545         (gst_query_type_get_type), (register_gst_tag_merge_mode),
15546         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15547         (gst_tag_flag_get_type), (register_gst_task_state),
15548         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15549         (gst_alloc_trace_flags_get_type),
15550         (register_gst_type_find_probability),
15551         (gst_type_find_probability_get_type), (register_gst_uri_type),
15552         (gst_uri_type_get_type), (register_gst_parse_error),
15553         (gst_parse_error_get_type):
15554         * win32/common/gstenumtypes.h:
15555         * win32/common/gstversion.h:
15556           update visual studio generated files
15557
15558 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15559
15560         * win32/vs6/libgstbase.dsp:
15561         * win32/vs6/libgstelements.dsp:
15562           update project files for new locations
15563
15564 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15565
15566         * Makefile.am:
15567           remove some files
15568         * README:
15569           reinstate and update
15570         * DEVEL:
15571         * REQUIREMENTS:
15572           removed
15573         * LICENSE:
15574         * docs/random/LICENSE:
15575           moved to random
15576
15577 2005-11-30  Edward Hervey  <edward@fluendo.com>
15578
15579         * gst/gsttypefind.c: (gst_type_find_register):
15580         * gst/gsttypefind.h:
15581         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
15582         (gst_type_find_factory_dispose):
15583         * gst/gsttypefindfactory.h:
15584         Fix memory leak in GstTypeFindFactory.
15585
15586 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15587
15588         * gst/gst.c:
15589         * plugins/elements/Makefile.am:
15590         * plugins/elements/gstelements.c:
15591         * plugins/elements/gstqueue.c:
15592           move queue from core to the elements plugin
15593
15594 2005-11-29  Andy Wingo  <wingo@pobox.com>
15595
15596         * libs/gst/base/gstbasetransform.h: 
15597         * libs/gst/base/gstbasesrc.h: 
15598         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
15599
15600         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
15601         of pointers by which to pad very extensible base classes (like the
15602         ones in libs/gst/base).
15603
15604 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15605
15606         * docs/gst/gstreamer-docs.sgml:
15607         * docs/gst/gstreamer-sections.txt:
15608         * docs/libs/gstreamer-libs-docs.sgml:
15609         * docs/libs/gstreamer-libs-sections.txt:
15610           moving documentation from core to lib
15611
15612 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15613
15614         * check/Makefile.am:
15615         * configure.ac:
15616         * docs/gst/Makefile.am:
15617         * gst/Makefile.am:
15618         * gst/base/.cvsignore:
15619         * gst/base/Makefile.am:
15620         * gst/base/README:
15621         * gst/base/gstadapter.c:
15622         * gst/base/gstadapter.h:
15623         * gst/base/gstbasesink.c:
15624         * gst/base/gstbasesink.h:
15625         * gst/base/gstbasesrc.c:
15626         * gst/base/gstbasesrc.h:
15627         * gst/base/gstbasetransform.c:
15628         * gst/base/gstbasetransform.h:
15629         * gst/base/gstcollectpads.c:
15630         * gst/base/gstcollectpads.h:
15631         * gst/base/gstpushsrc.c:
15632         * gst/base/gstpushsrc.h:
15633         * gst/base/gsttypefindhelper.c:
15634         * gst/base/gsttypefindhelper.h:
15635         * gst/check/Makefile.am:
15636         * gst/check/gstcheck.c:
15637         * gst/check/gstcheck.h:
15638         * gst/net/Makefile.am:
15639         * gst/net/gstnet.h:
15640         * gst/net/gstnetclientclock.c:
15641         * gst/net/gstnetclientclock.h:
15642         * gst/net/gstnettimepacket.c:
15643         * gst/net/gstnettimepacket.h:
15644         * gst/net/gstnettimeprovider.c:
15645         * gst/net/gstnettimeprovider.h:
15646         * libs/gst/Makefile.am:
15647         * libs/gst/base/Makefile.am:
15648         * libs/gst/base/gstbasetransform.c:
15649         * libs/gst/check/Makefile.am:
15650         * plugins/elements/Makefile.am:
15651         * po/POTFILES.in:
15652           CVS surgery + support to move base, check, and net out of gst
15653           and into libs/gst
15654
15655 2005-11-29  Andy Wingo  <wingo@pobox.com>
15656
15657         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
15658
15659         * gst/gststructure.h (struct _GstStructure): Only one pointer of
15660         padding.
15661
15662         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
15663
15664         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
15665
15666         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
15667
15668         * gst/gstobject.h: (struct _GstObject): Only one pointer of
15669         padding; reduces object size by about 30%. We don't expect
15670         anything else to go into gstobject.
15671
15672         * gst/gstminiobject.h (struct _GstMiniObject)
15673         (struct _GstMiniObjectClass): Only one pointer of padding; the
15674         payload is only a pointer and two ints anyway. For the class there
15675         are only two methods as well.
15676         
15677         * gst/gstelement.h (struct _GstElementClass): Removed
15678         the state_changed signal callback, it is not used.
15679
15680 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15681
15682         * docs/gst/gstreamer.types:
15683           fix includes, though they are a little dinky
15684
15685 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15686
15687         * check/Makefile.am:
15688           look in the right place for elements, a lot more chance of
15689           success
15690         * gst/Makefile.am:
15691           remove indexers and elements subdirs
15692         * plugins/Makefile.am:
15693           make indexers conditional
15694
15695 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15696
15697         * Makefile.am:
15698         * configure.ac:
15699         * plugins/elements/Makefile.am:
15700         * plugins/elements/gstcapsfilter.c:
15701         * plugins/elements/gstfilesink.c:
15702         * plugins/elements/gstfilesrc.c:
15703         * plugins/elements/gstidentity.c:
15704         * plugins/indexers/Makefile.am:
15705           do CVS surgery and related build fixery to move elements
15706           and indexers in a new gstreamer/plugins directory, out of the
15707           gst/ directory
15708
15709 2005-11-29  Andy Wingo  <wingo@pobox.com>
15710
15711         * check/Makefile.am:
15712         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15713         * pkgconfig/gstreamer-net.pc.in:
15714         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
15715         #322257.
15716
15717 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15718
15719         * tools/Makefile.am:
15720         * tools/gst-complete.1.in:
15721         * tools/gst-complete.c:
15722         * tools/gst-compprep.1.in:
15723         * tools/gst-compprep.c:
15724           removing -compprep and -complete
15725
15726 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15727
15728         * gst/gstevent.c: (gst_event_new_new_segment),
15729         (gst_event_parse_new_segment):
15730         * gst/gstevent.h:
15731           fix #320529 - clean up new_segment API and structure.
15732           Let's hope everyone was using the methods, and not the structure.
15733
15734 2005-11-29  Edward Hervey  <edward@fluendo.com>
15735
15736         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15737         (gst_base_sink_event), (gst_base_sink_do_sync),
15738         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15739         Properly handle non GST_FORMAT_TIME segment
15740         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15741         Properly handle non GST_FORMAT_TIME segment
15742         * gst/gstsegment.c:
15743         This function is valid if the accumulator is 0 and the format
15744         is different from the requested format.
15745         
15746 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
15747
15748         * docs/gst/gstreamer-sections.txt:
15749         Add gst_query_new_seeking and gst_query_parse_seeking to the
15750         docs.
15751
15752 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
15753
15754         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15755           Treat a pad alloc with new caps the same as if we were not
15756           negotiated, in order to allow a changing upstream output
15757           to produce a new format of data.
15758
15759 2005-11-29  Edward Hervey  <edward@fluendo.com>
15760
15761         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15762         (gst_base_transform_event), (gst_base_transform_eventfunc):
15763         The event virtual method is now properly implemented, with a default
15764         handler
15765         Sub classes should call the parent_class event method. They should
15766         return FALSE if they had a problem handling the given event, or don't
15767         want GstBaseTransform to send that even downstream
15768         * gst/elements/gstidentity.c: (gst_identity_class_init),
15769         (gst_identity_init), (gst_identity_event),
15770         (gst_identity_transform_ip), (gst_identity_set_property),
15771         (gst_identity_get_property):
15772         * gst/elements/gstidentity.h:
15773         Added the single-segment boolean property.
15774         If set to TRUE, it will output a single segment of data, starting from
15775         0, will eat up all incoming newsegment, and modify the timestamp of the
15776         buffers accordingly
15777
15778 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
15779
15780         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
15781           Don't ref NULL target pad (#322751). Improve docs.
15782
15783 2005-11-29  Michael Smith  <msmith@fluendo.com>
15784
15785         * gst/gstregistryxml.c: (load_plugin):
15786           Don't crash if we failed to load a feature from a plugin. 
15787
15788 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15789
15790         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
15791         (GST_START_TEST):
15792           use more check API and less GLib API
15793
15794 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15795
15796         * Makefile.am:
15797           don't run checks if we don't have check
15798         * common/check.mak:
15799           remove the registry when running make torture
15800         * docs/gst/gstreamer-sections.txt:
15801           remove second multiply
15802         * gst/gstqueue.c: (gst_queue_loop):
15803           fix a compile warning when disabling debug
15804
15805 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
15806
15807         * gst/gstinfo.h:
15808         Hey! Let's print the pad name if the pointer != NULL instead
15809         of when it == NULL :-)
15810
15811 2005-11-28  Wim Taymans  <wim@fluendo.com>
15812
15813         * check/gst/gstutils.c: (GST_START_TEST):
15814         Updated check, add some scaling accuracy checking code.
15815
15816         * gst/gstutils.c: (gst_util_div128_64),
15817         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
15818         (gst_util_uint64_scale_int):
15819         Fix 6 times faster division code. Optimize for common 
15820         1/1 and less common X/1 cases.
15821
15822 2005-11-28  Wim Taymans  <wim@fluendo.com>
15823
15824         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15825         More checks.
15826
15827         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
15828         (do_linear_regression), (gst_clock_add_observation):
15829         Cleanups.
15830         Release lock when the clock cannot be slaved.
15831         Catch the case where the regression returned an invalid denominator.
15832
15833         * gst/gstutils.c: (gst_util_div128_64_iterate),
15834         (gst_util_div128_64), (gst_util_uint64_scale_int64),
15835         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15836         Add protentially more performant non-iterative 128/64 divide function
15837         that unfortunatly does not work yet.
15838         Shortcut the trivial 0/X = 0 case.
15839         Remove the warnings on overflow.
15840
15841 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15842
15843         * gst/gstplugin.c: (gst_plugin_register_func):
15844           everything causing a plugin not to load should be at least a WARNING
15845
15846 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
15847
15848         * docs/random/ensonic/dparams.txt:
15849           some TODOs for the next dev cycle
15850         * libs/gst/controller/gstcontroller.c:
15851         (gst_controlled_property_set_interpolation_mode),
15852         (gst_controlled_property_new):
15853         * libs/gst/controller/gstcontroller.h:
15854           use base type to assign acccessor functions
15855
15856 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
15857
15858         * check/Makefile.am:
15859         Oops, that should have been top_srcdir
15860
15861 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
15862
15863         * check/Makefile.am:
15864         * check/elements/fdsrc.c: (GST_START_TEST):
15865         Use a cmdline define to specify the location of a file to use for
15866         testing, to avoid breaking distcheck.
15867
15868 2005-11-28  Andy Wingo  <wingo@pobox.com>
15869
15870         * gst/gstpad.c (fixate_value): Use array functions for arrays.
15871
15872 2005-11-28  Edward Hervey  <edward@fluendo.com>
15873
15874         * tools/gst-launch.c: (main):
15875         Clarify the output strings, makes it easier to translate.
15876         Fixes #322626
15877
15878 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15879
15880         * gst/Makefile.am:
15881           don't try and build net if we don't even have <sys/socket.h>
15882
15883 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
15884
15885         * check/Makefile.am:
15886         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
15887         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
15888           Add tests for fdsrc seekability
15889
15890         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15891         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
15892         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
15893         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
15894         * gst/elements/gstfdsrc.h:
15895           fdsrc should not be a 'live' source.
15896           Implement seeking on seekable fd's.
15897
15898         * gst/gstquery.c: (gst_query_new_seeking),
15899         (gst_query_parse_seeking):
15900         * gst/gstquery.h:
15901           Implement SEEKING query functions: 
15902             *_new_seeking and *_parse_seeking
15903
15904 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
15905
15906         * gst/gstelement.c: (gst_element_dispose):
15907           don't loop forever
15908
15909         * gst/gstiterator.c:
15910         * gst/gststructure.c:
15911           doc fixes
15912
15913         * libs/gst/controller/gstcontroller.c:
15914         (gst_controlled_property_set_interpolation_mode):
15915         * libs/gst/controller/gstcontroller.h:
15916         * libs/gst/controller/gstinterpolation.c:
15917         (interpolate_none_get_enum_value_array):
15918           support controlling enums
15919
15920 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
15921
15922         * gst/gstvalue.c:
15923           Improve documentation for gst_value_union().
15924
15925         * gst/gstvalue.h:
15926           Change return value for union, intersect and subtract functions
15927           from gint to gboolean.
15928
15929 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
15930
15931         * gst/gstvalue.c: (gst_value_serialize_any_list),
15932         (gst_value_transform_any_list_string),
15933         (gst_value_deserialize_list), (gst_value_deserialize_array),
15934         (gst_value_set_int_range), (gst_value_deserialize_int_range),
15935         (gst_value_set_double_range), (gst_value_deserialize_double_range),
15936         (gst_value_set_fraction_range_full),
15937         (gst_value_deserialize_fraction_range),
15938         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
15939         (gst_value_deserialize_boolean),
15940         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
15941         (gst_value_serialize_float), (gst_value_deserialize_float),
15942         (gst_string_wrap), (gst_value_deserialize_string),
15943         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
15944         (gst_value_union_int_range_int_range),
15945         (gst_value_intersect_int_range_int_range),
15946         (gst_value_intersect_double_range_double_range),
15947         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
15948         (gst_value_subtract_int_range_int_range),
15949         (gst_value_subtract_double_double_range),
15950         (gst_value_subtract_double_range_double_range),
15951         (gst_value_deserialize_fraction):
15952         * gst/gstvalue.h:
15953           Use gint, gdouble and gchar in our API instead of int, double and
15954           char (and make usage in gstvalue.c more consistent).
15955
15956 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15957
15958         * check/Makefile.am:
15959         * libs/gst/controller/Makefile.am:
15960         * libs/gst/dataprotocol/Makefile.am:
15961           fix up Makefile.am and remove GST_ENABLE_NEW
15962
15963 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15964
15965         * configure.ac:
15966         * gst/Makefile.am:
15967         * gst/base/Makefile.am:
15968         * gst/check/Makefile.am:
15969         * gst/elements/Makefile.am:
15970         * gst/net/Makefile.am:
15971           update LDFLAGS use some more
15972
15973 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15974
15975         * common/m4/gst-doc.m4:
15976           Fixes #312589
15977
15978 2005-11-26  Edward Hervey  <edward@fluendo.com>
15979
15980         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15981         This shouldn't issue a g_warning since it returns NULL if it
15982         couldn't find the plugin, and all functions using this behave
15983         properly on a NULL return. Switching to a GST_WARNING.
15984
15985 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
15986
15987         * gst/gstbin.c: (gst_bin_handle_message_func):
15988         Don't leak clock messages.
15989
15990 2005-11-25  Wim Taymans  <wim@fluendo.com>
15991
15992         * gst/gstutils.c: (gst_util_uint64_scale_int64),
15993         (gst_util_uint64_scale_int):
15994         Optimisations, remove unneeded vars.
15995
15996 2005-11-25  Wim Taymans  <wim@fluendo.com>
15997
15998         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15999         Added more checks for the high precision uint64 cases.
16000
16001         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16002         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16003         Implement high precision (guint64 * guint64) / guint64.
16004
16005 2005-11-24  Wim Taymans  <wim@fluendo.com>
16006
16007         * gst/base/gstbasesrc.c: (gst_base_src_query):
16008         Fix wrong percentage query.
16009
16010         * gst/gstutils.c: (gst_util_uint64_scale),
16011         (gst_util_uint64_scale_int):
16012         Add some more common cases that can be handled 
16013         efficiently to _scale.
16014
16015 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16016
16017         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
16018         (gst_mini_object_suite):
16019           don't use check calls from threads; check probably isn't
16020           threadsafe and using a lock to make it threadsafe would
16021           defeat the purpose of this check
16022         * gst/check/gstcheck.c:
16023         * gst/check/gstcheck.h:
16024           use GST_DEBUG some more
16025
16026 2005-11-24  Wim Taymans  <wim@fluendo.com>
16027
16028         * gst/gstutils.c: (gst_util_uint64_scale),
16029         (gst_util_uint64_scale_int):
16030         Chain trivial case to _scale_int.
16031
16032 2005-11-24  Wim Taymans  <wim@fluendo.com>
16033
16034         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16035         Added test for scaling.
16036
16037         * gst/gstclock.h:
16038         Small doc fix.
16039
16040         * gst/gstutils.c: (gst_util_uint64_scale_int):
16041         Implemented high precision scaling code.
16042
16043 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
16044
16045         * gst/gstinfo.h:
16046           do not crash on pad==NULL
16047
16048 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16049
16050         Patch by: Stefan Kost
16051
16052         * common/gtk-doc.mak:
16053         * docs/gst/Makefile.am:
16054         * docs/libs/Makefile.am:
16055           Fix distcheck issues for the libraries docs build
16056           Closes #319599.
16057
16058 2005-11-24  Michael Smith <msmith@fluendo.com>
16059
16060         * docs/manual/basics-helloworld.xml:
16061           Fix bug #315027: memory leak in example code in docs.
16062
16063 2005-11-24  Michael Smith <msmith@fluendo.com>
16064
16065         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16066           Unlock the PREROLL_LOCK in a failure case.
16067
16068 2005-11-24  Wim Taymans  <wim@fluendo.com>
16069
16070         * docs/gst/gstreamer-sections.txt:
16071         * gst/base/gstadapter.h:
16072         * gst/base/gstbasesink.h:
16073         * gst/base/gstbasesrc.h:
16074         * gst/base/gstbasetransform.h:
16075         * gst/base/gstpushsrc.h:
16076         * gst/elements/gstfakesink.h:
16077         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
16078         * gst/elements/gstfakesrc.h:
16079         * gst/elements/gstfilesink.h:
16080         * gst/elements/gstfilesrc.h:
16081         * gst/gst.c:
16082         * gst/gstbin.c:
16083         * gst/gstbuffer.c: (_gst_buffer_copy):
16084         * gst/gstbus.h:
16085         * gst/gstcaps.c:
16086         * gst/gstchildproxy.c:
16087         * gst/gstclock.c:
16088         * gst/gstelement.c:
16089         * gst/gstelementfactory.c:
16090         * gst/gstelementfactory.h:
16091         * gst/gstevent.c:
16092         * gst/gstghostpad.h:
16093         * gst/gstindex.h:
16094         * gst/gstinterface.h:
16095         * gst/gstminiobject.c:
16096         * gst/gstminiobject.h:
16097         * gst/gstpad.c:
16098         * gst/gstpad.h:
16099         * gst/gstpadtemplate.h:
16100         * gst/gstpipeline.h:
16101         * gst/gstpluginfeature.h:
16102         * gst/gstquery.h:
16103         * gst/gstqueue.h:
16104         * gst/gsttaglist.c:
16105         * gst/gsttaglist.h:
16106         * gst/gsttagsetter.c:
16107         * gst/gsttagsetter.h:
16108         * gst/gsttrace.c:
16109         * gst/gsttrace.h:
16110         * gst/gsttypefind.h:
16111         * gst/gsturi.h:
16112         * gst/gstvalue.c:
16113         * gst/net/gstnetclientclock.c:
16114         * gst/net/gstnetclientclock.h:
16115         * gst/net/gstnettimepacket.c:
16116         * gst/net/gstnettimeprovider.c:
16117         * gst/net/gstnettimeprovider.h:
16118         Doc fixes.
16119
16120 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16121
16122         * configure.ac: back to HEAD
16123
16124 === release 0.9.6 ===
16125
16126 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
16127
16128         * configure.ac:
16129           releasing 0.9.6, "Always On Time"
16130
16131 2005-11-23  Wim Taymans  <wim@fluendo.com>
16132
16133         * docs/gst/gstreamer-sections.txt:
16134         * gst/glib-compat.c:
16135         * gst/gsttagsetter.c:
16136         * gst/gstvalue.c:
16137         * gst/net/gstnetclientclock.c:
16138         * gst/net/gstnettimepacket.h:
16139         Doc updates.
16140
16141 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16142
16143         * docs/faq/using.xml:
16144         * docs/libs/tmpl/gstcontrol.sgml:
16145         * docs/manual/advanced-dparams.xml:
16146         * docs/manual/appendix-checklist.xml:
16147         * docs/manual/basics-elements.xml:
16148         * docs/pwg/other-source.xml:
16149         * docs/random/moving-plugins:
16150         * gst/gstpad.c:
16151         * tools/gst-launch.1.in:
16152           remove mentions of sinesrc
16153
16154 2005-11-23  Michael Smith <msmith@fluendo.com>
16155
16156         * docs/gst/gstreamer-sections.txt:
16157           Update for new API and API changes.
16158         * gst/gstobject.h:
16159           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
16160         * gst/gstvalue.c:
16161           Documentation typo fix.
16162         * gst/net/gstnettimepacket.c:
16163           Documentation fixes for arguments.
16164
16165 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
16166
16167         * gst/gststructure.c: (gst_structure_get_fraction),
16168         (gst_structure_parse_value),
16169         (gst_structure_fixate_field_nearest_fraction):
16170         * gst/gststructure.h:
16171         * gst/gstutils.c: (gst_util_uint64_scale_int):
16172         * gst/gstutils.h:
16173         * scripts/update-funcnames:
16174         API Changes. 
16175         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
16176         Make gst_structure_fixate_field_nearest_fraction take a numerator
16177         and denominator argument instead of a GValue
16178         add gst_structure_get_fraction helper function.
16179
16180 2005-11-23  Wim Taymans  <wim@fluendo.com>
16181
16182         * docs/design/part-TODO.txt:
16183         Update TODO.
16184
16185         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
16186         * gst/net/gstnetclientclock.h:
16187         Use parent fields for timeout and window_size.
16188
16189 2005-11-23  Andy Wingo  <wingo@pobox.com>
16190
16191         * check/net/gstnetclientclock.c (test_functioning): Adjust to
16192         rate_num/rate_denom change.
16193
16194         * gst/net/gstnetclientclock.c
16195         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
16196         OBJECT_LOCK. Don't call add_observation with the lock.
16197
16198         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
16199         fraction.
16200         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
16201         rate fraction.
16202         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
16203         deal with rate as a fraction whose numerator and denominator are
16204         GstClockTime values.
16205         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
16206         master; the other fields are protected by the SLAVE_LOCK.
16207         (do_linear_regression): Note that this must be called with the
16208         SLAVE_LOCK.
16209         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
16210         OBJECT_LOCK. Call set_calibration instead of touching the
16211         variables directly.
16212         (gst_clock_set_property, gst_clock_get_property): Protect
16213         master/slave parameters with the SLAVE_LOCK.
16214
16215         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
16216         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
16217         note that all of the instance variables that add_observation and
16218         the set_master functions use are protected by that lock and not
16219         the OBJECT_LOCK.
16220         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
16221
16222         * gst/gstclock.c (gst_clock_add_observation): No longer requires
16223         the caller to take the object lock.
16224
16225 2005-11-23  Wim Taymans  <wim@fluendo.com>
16226
16227         * gst/gsterror.c: (_gst_core_errors_init):
16228         * gst/gsterror.h:
16229         Add error for clock stuff.
16230
16231         * gst/gstpipeline.c: (gst_pipeline_change_state),
16232         (gst_pipeline_set_clock):
16233         Post clock error when clock cannot be used in a pipeline.
16234
16235 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
16236
16237         * docs/gst/gstreamer-sections.txt:
16238           make two symbols from gstinfo private for the docs
16239         * gst/base/gstcollectpads.h:
16240         * gst/gstutils.c:
16241           fix doc typos, update docs
16242
16243 2005-11-22  Wim Taymans  <wim@fluendo.com>
16244
16245         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16246         (gst_base_sink_wait), (gst_base_sink_do_sync),
16247         (gst_base_sink_handle_event):
16248         * gst/base/gstbasesink.h:
16249         No need to store the clock, the parent element class already
16250         has it.
16251
16252         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
16253         Updates for clock_set returning a gboolean
16254
16255         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
16256         (gst_clock_id_wait_async), (gst_clock_class_init),
16257         (gst_clock_init), (gst_clock_finalize),
16258         (gst_clock_get_internal_time), (gst_clock_get_time),
16259         (gst_clock_slave_callback), (gst_clock_set_master),
16260         (gst_clock_get_master), (do_linear_regression),
16261         (gst_clock_add_observation), (gst_clock_set_property),
16262         (gst_clock_get_property):
16263         * gst/gstclock.h:
16264         Implement master/slave. When setting a clock as a slave, a
16265         periodic timeout is scheduled to sample master and slave times.
16266         Then the slave clock is recalibrated to match offset and rate
16267         of the master clock.
16268         Update logging a bit.
16269         Add flag so that a clock can state that is cannot be slaved to
16270         another clock.
16271
16272         * gst/gstelement.c: (gst_element_set_clock):
16273         * gst/gstelement.h:
16274         The set clock returns a gboolean for when an element cannot
16275         deal with the selected clock in the pipeline. 
16276
16277         * gst/gstpipeline.c: (gst_pipeline_change_state),
16278         (gst_pipeline_set_clock):
16279         * gst/gstpipeline.h:
16280         Handle the case where the selected clock cannot be set on
16281         the pipeline.
16282
16283         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
16284         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
16285         (gst_net_client_clock_set_property),
16286         (gst_net_client_clock_get_property),
16287         (gst_net_client_clock_observe_times):
16288         * gst/net/gstnetclientclock.h:
16289         Use regression code in GstClock parent, remove duplicated
16290         functionality.
16291
16292 2005-11-22  Michael Smith <msmith@fluendo.com>
16293
16294         * gst/gstutils.c: (gst_util_clock_time_scale):
16295         * gst/gstutils.h:
16296         * docs/gst/gstreamer-sections.txt:
16297           Rename method to have extra underscore.
16298
16299 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16300
16301         * gst/elements/Makefile.am:
16302         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
16303         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16304         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16305         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
16306         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
16307         * gst/elements/gstfakesrc.h:
16308         * gst/gstqueue.c: (queue_leaky_get_type):
16309           correctly fix GEnumValues so that nick is the short lowercase
16310           dashed tag
16311         * tools/gst-inspect.c: (print_element_properties_info):
16312           also show the nick, since it's useful to use from parse_launch
16313           syntax
16314           Fixes #322139
16315
16316 2005-11-22  Michael Smith <msmith@fluendo.com>
16317
16318         * gst/gstutils.c: (gst_util_clocktime_scale):
16319         * gst/gstutils.h:
16320         * docs/gst/gstreamer-sections.txt:
16321           Add util method for scaling a clocktime by a fraction. Useful 
16322           implementation is left as an exercise for the reader.
16323
16324 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16325
16326         * gst/gstvalue.c: (gst_value_collect_fraction_range):
16327         If needed, allocate storage in the destination value during
16328         collection.
16329
16330 2005-11-22  Edward Hervey  <edward@fluendo.com>
16331
16332         * docs/gst/gstreamer-sections.txt:
16333         * gst/Makefile.am:
16334         * gst/gst.h:
16335         * gst/gsturitype.c:
16336         * gst/gsturitype.h:
16337         * gst/gstutils.c: (gst_util_set_object_arg):
16338         * tools/gst-compprep.c: (main):
16339         * tools/gst-inspect.c: (print_element_properties_info):
16340         Removed GstURI, closes bug #321061
16341
16342 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16343
16344         * check/gst/gststructure.c: (GST_START_TEST):
16345         * gst/gststructure.c: (gst_structure_parse_value):
16346           Oops, broke automatic string type parsing.
16347           Add a test to catch it in future.
16348
16349 2005-11-22  Andy Wingo  <wingo@pobox.com>
16350
16351         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
16352         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
16353         Actually rename the function implementations. Grr.
16354
16355 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16356
16357         * check/gst/capslist.h:
16358           Comment test cases
16359         * check/gst/gststructure.c: (GST_START_TEST),
16360         (gst_structure_suite):
16361           Test automatic value type detection in gst_structure_from_string.
16362         * gst/gststructure.c: (gst_structure_parse_value):
16363           Add fraction as a type we try and guess automatically in
16364           caps/structure strings.
16365
16366 2005-11-22  Andy Wingo  <wingo@pobox.com>
16367
16368         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
16369
16370         * gst/gsttagsetter.h:
16371         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
16372         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
16373         (gst_tag_setter_add_tag_valist)
16374         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
16375         _add_values, _add_valist, and _add_valist_values. Since this is an
16376         interface the function suffixes should be more explicit so
16377         language binding don't end up with element.add_valist ->
16378         gst_tag_setter_add_valist, for example. Fixes #322069.
16379
16380 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16381
16382         * check/gst/gstcaps.c: (GST_START_TEST):
16383           Extend caps string tests to check that a caps to string
16384           conversion is reversible and produces the same caps.
16385
16386         * gst/gststructure.c: (gst_structure_value_get_generic_type):
16387           Output "fraction" as the generic type fraction range, so caps
16388           serialisation and deserialisation works.
16389         * check/gst/capslist.h:
16390         * gst/gstvalue.c: (gst_value_deserialize_fraction):
16391           Support 'MIN' and 'MAX' for deserialising fractions.
16392
16393 2005-11-22  Andy Wingo  <wingo@pobox.com>
16394
16395         * gst/gstevent.h (gst_event_new_new_segment)
16396         (gst_event_parse_new_segment, gst_event_new_buffer_size)
16397         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
16398         Renamed from *_newsegment, *_buffersize, *_notarget.
16399
16400         * scripts/update-funcnames: New script, performs the changes
16401         listed above.
16402
16403 2005-11-22  Wim Taymans  <wim@fluendo.com>
16404
16405         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16406         Make sure the GstFlowReturn is returned.
16407
16408         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
16409         (gst_bus_add_signal_watch):
16410         * gst/gstbus.h:
16411         add gst_bus_add_signal_watch_full.
16412
16413         * gst/gstplugin.c: (gst_plugin_load_file):
16414         Small style cleanup.
16415
16416 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16417
16418         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
16419           Block the fakesrc srcpad when we send an event, to avoid
16420           contention on the stream_lock causing random test failures.
16421
16422 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16423
16424         * check/gst/gstvalue.c: (GST_START_TEST):
16425         * gst/gstvalue.c: (gst_value_fraction_subtract):
16426           Fix subtraction.
16427
16428 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
16429
16430         * gst/gst.h:
16431           include "gstchildproxy.h"
16432         * gst/gstchildproxy.h:
16433         * libs/gst/controller/gstcontroller.h:
16434           use G_GNUC_NULL_TERMINATED
16435
16436 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16437
16438         * check/gst/capslist.h:
16439         * check/gst/gstcaps.c: (GST_START_TEST):
16440         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16441         * gst/gststructure.c: (gst_structure_parse_range),
16442         (gst_structure_fixate_field_nearest_fraction):
16443         * gst/gststructure.h:
16444         * gst/gstvalue.c: (gst_value_init_fraction_range),
16445         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
16446         (gst_value_collect_fraction_range),
16447         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
16448         (gst_value_set_fraction_range_full),
16449         (gst_value_get_fraction_range_min),
16450         (gst_value_get_fraction_range_max),
16451         (gst_value_serialize_fraction_range),
16452         (gst_value_transform_fraction_range_string),
16453         (gst_value_compare_fraction_range),
16454         (gst_value_deserialize_fraction_range),
16455         (gst_value_intersect_fraction_fraction_range),
16456         (gst_value_intersect_fraction_range_fraction_range),
16457         (gst_value_subtract_fraction_fraction_range),
16458         (gst_value_subtract_fraction_range_fraction),
16459         (gst_value_subtract_fraction_range_fraction_range),
16460         (gst_value_collect_fraction), (gst_value_fraction_multiply),
16461         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
16462         (gst_value_transform_string_fraction), (_gst_value_initialize):
16463         * gst/gstvalue.h:
16464           Implement fraction ranges and extend GstFraction to support
16465           arithmetic subtraction, as well as deserialization from integer
16466           strings such as "100"
16467           Add a testsuite as for int and double range set operations
16468
16469 2005-11-21  Andy Wingo  <wingo@pobox.com>
16470
16471         * gst/gsttaglist.h: 
16472         * gst/gstcaps.h: 
16473         * gst/gststructure.h: Add glib-compat.h.
16474
16475 2005-11-21  Wim Taymans  <wim@fluendo.com>
16476
16477         * gst/gstbin.c: (gst_bin_change_state_func):
16478         Fix for #321595
16479
16480 2005-11-21  Wim Taymans  <wim@fluendo.com>
16481
16482         * gst/gstsegment.h:
16483         And add a nice define too.
16484
16485 2005-11-21  Wim Taymans  <wim@fluendo.com>
16486
16487         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
16488         (gst_segment_new), (gst_segment_free), (gst_segment_init),
16489         (gst_segment_set_duration), (gst_segment_set_last_stop),
16490         (gst_segment_set_seek), (gst_segment_set_newsegment),
16491         (gst_segment_to_stream_time), (gst_segment_to_running_time),
16492         (gst_segment_clip):
16493         * gst/gstsegment.h:
16494         Make binding friendly.
16495
16496 2005-11-21  Andy Wingo  <wingo@pobox.com>
16497
16498         * gst/gsttagsetter.h: 
16499         * gst/gsttaglist.h: 
16500         * gst/gststructure.h: 
16501         * gst/gstcaps.h: 
16502         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
16503         #319940.
16504
16505         * gst/gsterror.c (_gst_core_errors_init):
16506         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
16507         category.
16508
16509         * gst/Makefile.am (gst_headers): Add glib-compat.h.
16510         (noinst_HEADERS): noinst the -private.
16511
16512 2005-11-21  Michael Smith <msmith@fluendo.com>
16513
16514         * gst/gstplugin.h:
16515         * gst/gstregistry.h:
16516           Remove unimplemented declarations for which we can see no sensible
16517           use.
16518
16519 2005-11-21  Andy Wingo  <wingo@pobox.com>
16520
16521         * gst/gst.h: Include glib-compat.h.
16522
16523         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
16524
16525         * gst/glib-compat.c: Include the public and the private header.
16526
16527         * gst/glib-compat-private.h: Copied here from glib-compat.h.
16528
16529         * gst/gstvalue.c: 
16530         * gst/gstpad.c: 
16531         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
16532
16533         * check/gst/gstevent.c (create_custom_events): Check that
16534         FLUSH_STOP is serialized.
16535
16536         * check/elements/identity.c (event_func): 
16537         * check/elements/fakesrc.c (event_func): No stream lock, the core
16538         takes it.
16539
16540         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
16541         stream lock taking, yay.
16542
16543         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
16544         ensure that core takes the stream lock.
16545
16546         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
16547         lock name change.
16548
16549         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
16550         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
16551         it already. For the flush start we do take it though so we get the
16552         right preroll state change messages.
16553
16554         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
16555         the stream lock here, the core does it for us.
16556
16557         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
16558         GST_STREAM_GET_LOCK.
16559         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
16560         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
16561         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
16562         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
16563         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
16564         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
16565
16566         * gst/gstpad.c: Update for stream lock name change.
16567
16568         * gst/base/gstbasesink.c: Update for preroll lock name change.
16569
16570 2005-11-21  Wim Taymans  <wim@fluendo.com>
16571
16572         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
16573         (gst_clock_get_master):
16574         * gst/gstclock.h:
16575         * gst/gstsystemclock.c: (gst_system_clock_init):
16576         Convert Clock flags to object flags.
16577         Added methods to manage master/slave clocks.
16578
16579 2005-11-21  Wim Taymans  <wim@fluendo.com>
16580
16581         * check/gst/gstsegment.c: (GST_START_TEST):
16582         * docs/design/part-TODO.txt:
16583         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16584         (gst_base_sink_event), (gst_base_sink_do_sync),
16585         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16586         (gst_base_sink_query), (gst_base_sink_change_state):
16587         * gst/base/gstbasesink.h:
16588         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16589         (gst_base_src_default_newsegment),
16590         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16591         (gst_base_src_get_range), (gst_base_src_loop),
16592         (gst_base_src_change_state):
16593         * gst/base/gstbasesrc.h:
16594         * gst/base/gstbasetransform.c:
16595         (gst_base_transform_prepare_output_buf),
16596         (gst_base_transform_event), (gst_base_transform_change_state):
16597         * gst/base/gstbasetransform.h:
16598         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
16599         (gst_collect_pads_event):
16600         * gst/base/gstcollectpads.h:
16601         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
16602         (gst_fake_src_create):
16603         * gst/elements/gstfakesrc.h:
16604         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16605         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16606         (gst_segment_set_last_stop), (gst_segment_set_seek),
16607         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16608         (gst_segment_to_running_time), (gst_segment_clip):
16609         * gst/gstsegment.h:
16610         More segment updates, replace code in plugins with segment
16611         helper functions.
16612
16613 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
16614
16615         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
16616         Don't ignore sscanf results
16617
16618 2005-11-21  Andy Wingo  <wingo@pobox.com>
16619
16620         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
16621
16622         * *.h:
16623         * *.c: Ran scripts/update-macros. Oh yes.
16624
16625         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
16626         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
16627         GST_GET_LOCK, etc.
16628
16629         * scripts/update-macros: New script. Run it on your files to
16630         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
16631         well.
16632
16633 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
16634
16635         * docs/gst/Makefile.am:
16636         * docs/gst/gstreamer-docs.sgml:
16637         * docs/gst/gstreamer-sections.txt:
16638         * docs/gst/gstreamer.types:
16639         * gst/gstinfo.h:
16640           more docs fixes, add new api to the docs
16641
16642 2005-11-21  Andy Wingo  <wingo@pobox.com>
16643
16644         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
16645         state_broadcast call.
16646
16647         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
16648
16649 2005-11-21  Julien MOUTTE  <julien@moutte.net>
16650
16651         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
16652         function calls for arrays.
16653
16654 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
16655
16656         * docs/random/ensonic/media-device-daemon.txt:
16657           wild idea, can this be done?
16658         * docs/gst/gstreamer-sections.txt:
16659         * gst/gsterror.h:
16660         * gst/gstfilter.c:
16661         * gst/gstfilter.h:
16662         * gst/gstplugin.h:
16663         * gst/gstpluginfeature.c:
16664         * gst/gsttrace.c:
16665         * gst/gstvalue.c:
16666         * gst/gstvalue.h:
16667           doc fixes and additions
16668
16669 2005-11-21  Andy Wingo  <wingo@pobox.com>
16670
16671         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
16672         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
16673         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
16674         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
16675         private to the basesrc implementation.
16676
16677         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
16678         behalf of event function if necessary. It should no longer be
16679         necessary to take the stream lock in pad's event functions. Fixes
16680         #320299.
16681
16682 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
16683         * docs/gst/gstreamer-sections.txt:
16684         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
16685         (gst_structure_fixate_field_nearest_double),
16686         (gst_structure_fixate_field_boolean):
16687         * gst/gststructure.h:
16688         * win32/common/libgstreamer.def:
16689         * win32/gstreamer.def:
16690
16691         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
16692         (#322027)
16693
16694 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
16695
16696         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
16697         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
16698         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
16699         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
16700         (gst_fdsrc_uri_handler_init):
16701         * gst/elements/gstfdsrc.h:
16702           Port fd:// URI handler from 0.8 to fdsrc
16703
16704 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16705
16706         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
16707         (gst_value_serialize_fourcc):
16708         * gst/gstvalue.h:
16709           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
16710           consistent with our other format defines (#320324).
16711
16712 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16713
16714         * gst/gstvalue.c: (gst_value_is_fixed):
16715           Revert previous commit. Value lists are by definition
16716           not fixed, as they are a list of possible values.
16717
16718 2005-11-21  Andy Wingo  <wingo@pobox.com>
16719
16720         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
16721         during the stable series if we need it. Fixes #319178.
16722
16723         * gst/gstevent.c (gst_event_new_filler): Removed.
16724
16725         * check/gst/gstevent.c: Update comment about filler events.
16726
16727 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16728
16729         * gst/gstvalue.c: (gst_value_is_fixed):
16730           Should handle both value arrays and value lists.
16731
16732 2005-11-21  Andy Wingo  <wingo@pobox.com>
16733
16734         patch by: Alessandro Dessina <alessandro nnva org>
16735
16736         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
16737         functions to access arrays. Fixes #321962.
16738
16739 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16740
16741         * docs/gst/gstreamer.types:
16742           gst_collectpads_get_type => gst_collect_pads_get_type.
16743           
16744         * gst/base/gstbasetransform.c:
16745           Remove unused SIGNAL_HANDOFF enum.
16746
16747 2005-11-21  Andy Wingo  <wingo@pobox.com>
16748
16749         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
16750         the event type (upstream, downstream, serialized). Renamed
16751         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
16752         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
16753         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
16754
16755         * gst/gstevent.c: Update for new CUSTOM event names.
16756
16757         * check/gst/gstevent.c: Update check for new CUSTOM event names.
16758
16759         * gst/gstevent.h:
16760         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
16761         bug #319392.
16762
16763 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16764
16765         * docs/gst/gstreamer-sections.txt:
16766         * win32/common/libgstbase.def:
16767         * win32/libgstbase.def:
16768         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16769         (gst_collect_pads_class_init), (gst_collect_pads_init),
16770         (gst_collect_pads_finalize), (gst_collect_pads_new),
16771         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
16772         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
16773         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
16774         (gst_collect_pads_start), (gst_collect_pads_stop),
16775         (gst_collect_pads_peek), (gst_collect_pads_pop),
16776         (gst_collect_pads_available), (gst_collect_pads_read),
16777         (gst_collect_pads_flush), (gst_collect_pads_event),
16778         (gst_collect_pads_chain):
16779         * gst/base/gstcollectpads.h:
16780           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
16781           unimplemented functions as unimplemented. Add padding to
16782           GstCollectData. (#320766, #320423)
16783
16784 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16785
16786         * gst/gstmessage.c:
16787           Improve docs for DURATION message (usage of duration parameter)
16788           (#320113)
16789
16790 2005-11-20  Wim Taymans  <wim@fluendo.com>
16791
16792         * check/Makefile.am:
16793         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
16794         (main):
16795         * gst/Makefile.am:
16796         * gst/gst.h:
16797         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16798         (gst_segment_set_seek), (gst_segment_set_newsegment),
16799         (gst_segment_to_stream_time), (gst_segment_to_running_time),
16800         (gst_segment_clip):
16801         * gst/gstsegment.h:
16802         Added segment helper structure and methods. Not fully implemented
16803         yet.
16804         Added segment check.
16805
16806 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
16807
16808         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16809           Add a deserialisation test for fractions
16810         * examples/metadata/read-metadata.c: (message_loop),
16811         (make_pipeline), (main):
16812           Fix up metadata reading sample.
16813         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16814           Debug format fix
16815         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16816           Don't try and fixate empty caps
16817         * gst/gst_private.h:
16818           Wrap in G_BEGIN_DECLS/G_END_DECLS
16819         * gst/gstvalue.c: (gst_value_collect_fraction),
16820         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
16821         (gst_value_transform_string_fraction),
16822         (gst_value_compare_fraction):
16823           Add some extra guards to ensure that we don't end up 
16824           with an invalid denominator of 0 in a gstfraction and
16825           that fractions always get reduced.
16826
16827 2005-11-20  Wim Taymans  <wim@fluendo.com>
16828
16829         * docs/gst/gstreamer-sections.txt:
16830         * gst/gstbuffer.h:
16831         * gst/gstelement.c:
16832         * gst/gstformat.c:
16833         * gst/gstformat.h:
16834         * gst/gstindex.h:
16835         * gst/gstquery.c:
16836         * gst/gstquery.h:
16837         * gst/gstvalue.c:
16838         Doc fixes.
16839
16840 2005-11-20  Wim Taymans  <wim@fluendo.com>
16841
16842         * docs/design/part-TODO.txt:
16843         * gst/gstcaps.h:
16844         Make a proper enum of the flag.
16845
16846 2005-11-19  Wim Taymans  <wim@fluendo.com>
16847
16848         * docs/design/part-TODO.txt:
16849         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
16850         (gst_format_to_quark), (gst_format_register):
16851         * gst/gstformat.h:
16852         * gst/gstquery.c: (_gst_query_initialize),
16853         (gst_query_type_get_name), (gst_query_type_to_quark),
16854         (gst_query_type_register):
16855         * gst/gstquery.h:
16856         Add type to quark and type to string conversions.
16857
16858 2005-11-19  Andy Wingo  <wingo@pobox.com>
16859
16860         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
16861         #320097.
16862
16863 2005-11-19  Wim Taymans  <wim@fluendo.com>
16864
16865         * docs/design/part-TODO.txt:
16866         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16867         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
16868         (gst_bin_handle_message_func):
16869         * gst/gstbin.h:
16870         Make message handling overridable.
16871
16872 2005-11-19  Andy Wingo  <wingo@pobox.com>
16873
16874         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
16875
16876         * gst/gstclock.h:
16877         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
16878         be a GstClockTime.
16879         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
16880         is a GstClockTime. Fixes #321710.
16881
16882         * gst/gstclock.h (GstClock): Remove offset property. Add
16883         internal_calibration and external_calibration. Fix padding. Pad
16884         also by GstClockTime so we don't run into problems.
16885
16886         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
16887         (gst_clock_get_rate_offset): Remove.
16888         (gst_clock_set_time_adjust): Remove. Fixes #321712.
16889
16890         * gst/gstutils.h:
16891         * gst/gstutils.c (g_static_rec_cond_wait)
16892         (g_static_rec_cond_timed_wait): Removed, no longer needed.
16893
16894         * gst/gstbin.c: Remove terrible continue_state prototype.
16895
16896         * gst/gstelement.h (gst_element_continue_state): Make public.
16897
16898         * gst/gstelement.h:
16899         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
16900         by continue_state. Fixes #319389.
16901
16902         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
16903         Really fixes #168438. However I don't see anywhere where the
16904         filter function is called... stupid GStreamer...
16905         
16906         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
16907         don't have a dispose function, so it won't get called when the
16908         object is unreffed, but oh well!
16909
16910         * gst/gstindex.c (gst_index_set_filter_full): New API function,
16911         allows a destroy function to be set so user_data can be freed.
16912         Fixes #168438.
16913         (gst_index_set_filter): Call gst_index_set_filter_full.
16914
16915         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
16916
16917         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
16918         string should produce an error, given the lack of a way to
16919         represent NULL strings. Fixes #165650.
16920         
16921         * gst/gstvalue.h: 
16922         * gst/gstvalue.c (gst_value_array_append_value) 
16923         (gst_value_array_prepend_value, gst_value_array_get_size) 
16924         (gst_value_array_get_value): New API, copied from
16925         gst_value_list_*, only operates on arrays.
16926         (gst_value_list_append_value, gst_value_list_prepend_value) 
16927         (gst_value_list_concat, gst_value_list_get_size) 
16928         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
16929
16930         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
16931         init_list, because it works on both.
16932         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
16933         (gst_value_copy_list_or_array): Renamed from copy_list.
16934         (gst_value_free_list_or_array): Renamed from free_list.
16935         (gst_value_collect_list_or_array): Renamed from collect_list.
16936         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
16937         (gst_value_list_or_array_peek_pointer): Renamed from
16938         list_peek_pointer.
16939         (_gst_value_array_value_table, _gst_value_list_value_table):
16940         Update value table functions.
16941         (gst_value_compare_list_or_array): Renamed from compare_list.
16942
16943         * gsttaglist.h: Whoops, foreach function returns void. Also fix
16944         some constness.
16945
16946         * gst/gsttaglist.c:
16947         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
16948         GstTagList*. Fixes #143472.
16949
16950         * gst/gststructure.h: Clarify what the foreach/map functions can
16951         or can't do to their arguments.
16952
16953 2005-11-18  Wim Taymans  <wim@fluendo.com>
16954
16955         * gst/gstclock.c: (gst_clock_set_calibration),
16956         (gst_clock_get_calibration):
16957         Doc and API fixes.
16958         Calibration can be set with internal time equal to current
16959         internal time too.
16960
16961 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16962
16963         * gst/gsterror.c:
16964         * gst/gsterror.h:
16965           document
16966
16967 2005-11-18  Andy Wingo  <wingo@pobox.com>
16968
16969         * configure.ac: 
16970         * pkgconfig/gstreamer-net.pc.in:
16971         * pkgconfig/gstreamer-net-uninstalled.pc.in:
16972         * pkgconfig/Makefile.am: Add net pkgconfig files.
16973
16974 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
16975
16976         * gst/gstcaps.c:
16977         * gst/gstghostpad.c:
16978         * gst/gsttrace.c:
16979         * gst/gstvalue.c:
16980         * gst/gstvalue.h:
16981           docs fixes
16982
16983 2005-11-18  Andy Wingo  <wingo@pobox.com>
16984
16985         * gst/net/gstnetclientclock.c: Turn off debugging.
16986
16987         * check/net/gstnetclientclock.c (test_functioning): Assert that the
16988         times connverge somewhat. Can't make a real test.
16989
16990         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
16991         integer arithmetic. Return the minimum of the domain, which can be
16992         set as "internal" for gst_clock_set_calibration.
16993         (gst_net_client_clock_observe_times): Call _set_calibration.
16994         (gst_net_client_clock_new): Call _set_calibration instead of
16995         rate_offset.
16996
16997         * check/net/gstnetclientclock.c (test_functioning): Use the right
16998         adjustment api.
16999
17000         * gst/gstclock.h:
17001         * gst/gstclock.c (gst_clock_get_calibration) 
17002         (gst_clock_set_calibration): New functions, obsolete the ones I
17003         added yesterday. Doh. Precision issues mean we have to extrapolate
17004         from a point in the more recent past than 1970.
17005         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
17006         obsolete.
17007         (gst_clock_adjust_unlocked): Use the right calibration data.
17008
17009 2005-11-18  Edward Hervey  <edward@fluendo.com>
17010
17011         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
17012         Also reset the ->current_* values in READY->PAUSED
17013
17014 2005-11-18  Andy Wingo  <wingo@pobox.com>
17015
17016         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
17017         Whoops, check the right fd. Also add some debugging.
17018         (gst_net_client_clock_observe_times): Adjust for int64 offset.
17019         (do_linear_regression): Add a crapload of debugging. Subtract off
17020         the minimum values from the input series to discard unneeded bits.
17021         Use only int arithmetic. There is still double arithmetic when
17022         calculating the intercept that needs fixing. Return boolean to
17023         indicate success; FALSE would mean the domain or range is too
17024         great. Still needs fixes.
17025
17026 2005-11-18  Wim Taymans  <wim@fluendo.com>
17027
17028         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17029         For the current position in stream time, we need to subtract
17030         accumulated time.
17031         
17032         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17033         Release lock before calling the callback function of async
17034         entries.
17035
17036 2005-11-18  Andy Wingo  <wingo@pobox.com>
17037
17038         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
17039         Port goes all the way to MAXUINT16.
17040
17041         * gst/net/gstnettimeprovider.c: Make the port range the same as
17042         for the kernel: 0 assigns, otherwise ports are less than
17043         MAXUINT16.
17044
17045         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
17046         port change.
17047
17048         * check/net/gstnetclientclock.c (test_functioning): Add the start
17049         of another test. 
17050
17051 2005-11-18  Wim Taymans  <wim@fluendo.com>
17052
17053         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17054         (gst_bin_remove_func), (bin_bus_handler):
17055         * gst/gstbin.h:
17056         Removing a clock provider from a bin, triggers a clock lost message
17057         so that a new clock will be selected.
17058         Adding a clock to a bin triggers a clock provider message.
17059         Make sure we reselect a clock when we received a clock lost message.
17060         Keep a reference to the element that provided the clock.
17061
17062 2005-11-18  Andy Wingo  <wingo@pobox.com>
17063
17064         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
17065         the clock initially so it produces values around the base time.
17066         (gst_net_client_clock_class_init): Typo fix.
17067         (gst_net_client_clock_thread): Add note on when the socket gets
17068         closed.
17069
17070 2005-11-17  Wim Taymans  <wim@fluendo.com>
17071
17072         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
17073         Free remote and local time arrays.
17074
17075 2005-11-17  Wim Taymans  <wim@fluendo.com>
17076
17077         * gst/net/gstnetclientclock.c: (do_linear_regression),
17078         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
17079         Fix compilation, uninitialized vars and a forgotten continue.
17080
17081 2005-11-17  Andy Wingo  <wingo@pobox.com>
17082
17083         * check/Makefile.am (check_PROGRAMS): 
17084         * check/net/gstnetclientclock.c: Add a most minimal test for the
17085         net client clock. More to come later.
17086
17087         * gst/net/gstnet.h: 
17088         * gst/net/Makefile.am: Add netclientclock.
17089
17090         * gst/net/gstnetclientclock.h:
17091         * gst/net/gstnetclientclock.c: New files, implement an untested
17092         GstClock that takes its time from a network time provider.
17093         Implements the algorithm in network-clock.scm.
17094
17095         * tests/network-clock.scm (*window-size*): Rename from
17096         *queue-length*.
17097         * tests/network-clock.scm (network-time): 
17098         * tests/network-clock-utils.scm (q-push): Update callers.
17099
17100 2005-11-17  Wim Taymans  <wim@fluendo.com>
17101
17102         * gst/gstbin.c: (gst_bin_provide_clock_func),
17103         (gst_bin_sort_iterator_new):
17104         And unref the child too..
17105
17106 2005-11-17  Wim Taymans  <wim@fluendo.com>
17107
17108         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17109         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
17110         Refactor the sort iterator so it can be used while holding the
17111         LOCK too.
17112         Make clock selection select a clock closest to the source.
17113
17114 2005-11-17  Michael Smith <msmith@fluendo.com>
17115
17116         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
17117         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
17118         * gst/gstclock.h:
17119           Anonymous structs are a gcc (and some other compilers) extension, so
17120           don't use them. Since this is only for ABI-compatibility, and our
17121           API/ABI freeze is over in a few days, this whole thing will only
17122           last a few days, so don't bother trying to think up a meaningful
17123           name for the struct.
17124
17125 2005-11-17  Andy Wingo  <wingo@pobox.com>
17126
17127         * gst/gstclock.h (GstClock): Add rate and offset properties,
17128         preserving ABI stability. Add rate/offset accessors. Will file bug
17129         for the freeze break.
17130
17131         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
17132         and offset, trying to keep precision and avoiding
17133         underflow/overflow.
17134         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
17135         functions. Make gst_clock_set_time_adjust obsolete.
17136         (gst_clock_set_time_adjust): Note that this function is obsolete.
17137         Will file bug soon.
17138
17139         * gst/base/gstbasetransform.h: Make the ABI-stability hack
17140         greppable by using GST_PADDING-1+1.
17141
17142 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
17143
17144         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17145
17146         * gst/gstmessage.c: (gst_message_parse_clock_lost):
17147           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
17148
17149         * gst/gstpadtemplate.h:
17150         * gst/gstpluginfeature.h:
17151           Don't use c++ style comments in headers (#321638).
17152
17153 2005-11-16  Andy Wingo  <wingo@pobox.com>
17154
17155         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
17156         buffer.
17157
17158         * check/net/gstnettimeprovider.c: Check to see that the time
17159         provider actually provides times. Works, yo!
17160
17161 2005-11-16  Wim Taymans  <wim@fluendo.com>
17162
17163         * check/Makefile.am:
17164         Enable more tests.
17165
17166         * check/elements/fakesrc.c: (GST_START_TEST):
17167         Set element to NULL before disposing it.
17168
17169 2005-11-16  Andy Wingo  <wingo@pobox.com>
17170
17171         * gst/net/Makefile.am:
17172         * gst/net/gstnet.h:
17173         * gst/net/gstnettimeprovider.c: 
17174         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
17175         provider, include it from gstnet.h, and add it to the build.
17176
17177         * gst/net/gstnettimepacket.h: 
17178         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
17179         sending and receiving.
17180
17181 2005-11-16  Wim Taymans  <wim@fluendo.com>
17182
17183         * check/Makefile.am:
17184         Enable valgrind check.
17185
17186         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
17187         (gst_fake_src_alloc_buffer):
17188         Fix memleak.
17189
17190 2005-11-16  Wim Taymans  <wim@fluendo.com>
17191
17192         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
17193         Call parent finalize too.
17194
17195 2005-11-16  Wim Taymans  <wim@fluendo.com>
17196
17197         * check/Makefile.am:
17198         Enable valgrind check that should work fine now.
17199
17200         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17201         * gst/gstqueue.c: (gst_queue_init):
17202         Fix memleaks in pad allocation.
17203
17204 2005-11-16  Andy Wingo  <wingo@pobox.com>
17205
17206         * gst/net/Makefile.am:
17207         * gst/net/gstnet.h: New part of core to hold network elements and
17208         objects. Put in core because it exposes API that applications want
17209         to use. The library is named libgstnet-tempname right now because
17210         of the existing libgstnet in gst-plugins-base. Solution is
17211         probably to rename the one in plugins-base; will file a bug for
17212         the freeze break.
17213
17214         * gst/net/gstnettimeprovider.c: 
17215         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
17216         get_time call over the network.
17217
17218         * configure.ac: 
17219         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
17220
17221         * check/Makefile.am:
17222         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
17223         get additions shortly.
17224
17225 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17226
17227         * gst/gstpad.c: (gst_pad_new_from_static_template):
17228         * gst/gstpad.h:
17229           add gst_pad_new_from_static_template functions
17230         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
17231         (gst_check_setup_sink_pad):
17232         * gst/elements/gsttee.c: (gst_tee_init):
17233           and use them
17234
17235 2005-11-16  Wim Taymans  <wim@fluendo.com>
17236
17237         * gst/gstpad.c: (gst_pad_pause_task):
17238         Removed warning, it's not really an error either.
17239
17240 2005-11-16  Wim Taymans  <wim@fluendo.com>
17241
17242         * gst/base/gstbasetransform.c:
17243         (gst_base_transform_prepare_output_buf),
17244         (gst_base_transform_event):
17245         Check if the caps are NULL, this can happen if the element
17246         is shutting down and the pad caps are set to NULL.
17247
17248 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17249
17250         * gst/elements/gsttee.c: (gst_tee_init):
17251           fix pad template leak in tee
17252
17253 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17254
17255         * gst/glib-compat.c: (g_value_dup_gst_object):
17256         * gst/glib-compat.h:
17257         * gst/gstpad.c: (gst_pad_set_property):
17258           use gst_object_ref when setting the pad template; this will
17259           trigger the pad template leaks on GLib 2.6 and the slaves
17260
17261 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17262
17263         * gst/glib-compat.c: (gst_flags_get_first_value):
17264         * gst/glib-compat.h:
17265         * gst/gstregistryxml.c:
17266           remove functions copied from GLib 2.6
17267
17268 2005-11-16  Michael Smith <msmith@fluendo.com>
17269
17270         * gst/Makefile.am:
17271           Don't link against VALGRIND_LIBS. That was always the wrong thing to
17272           do, but only breaks with newer valgrind versions. We're not a
17273           valgrind tool, we have no link-time dependencies on libcoregrind.
17274
17275 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17276
17277         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17278           some debug changes
17279         * gst/gstmessage.h:
17280           typo fixes
17281
17282 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17283
17284         * gst/base/gstbasesrc.c: (gst_base_src_init):
17285         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17286         * gst/gstqueue.c: (gst_queue_init):
17287         * gst/gstregistryxml.c: (load_feature):
17288           Revert all these unrefs, they don't even pass make check !
17289
17290 2005-11-15  Johan Dahlin  <johan@gnome.org>
17291
17292         * gst/base/gstbasesrc.c: (gst_base_src_init):
17293         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17294         * gst/gstqueue.c: (gst_queue_init): 
17295         Free pad templates, fixes a couple of leaks.
17296
17297 2005-11-15  Daniel Fischer  <dan at f3c dot com>
17298
17299         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17300
17301         * gst/gstpad.c: (gst_pad_get_property):
17302           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
17303           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
17304           (#321452)
17305
17306 2005-11-15  Wim Taymans  <wim@fluendo.com>
17307
17308         * gst/gstevent.c:
17309         Small doc update.
17310
17311 2005-11-15  Andy Wingo  <wingo@pobox.com>
17312
17313         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
17314
17315         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
17316         using GST_CLOCK_TIME_NONE to disable base time management.
17317         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
17318         time if it was NONE before.
17319         (gst_pipeline_change_state): Only munge the base time if
17320         stream_time != GST_CLOCK_TIME_NONE.
17321
17322         * check/gst/gstpipeline.c (test_base_time): Punt around the
17323         problem of the probe not being called, because that's not the
17324         issue I'm looking at. Add a check that setting stream_time to NONE
17325         disables base time management.
17326         
17327 2005-11-15  Wim Taymans  <wim@fluendo.com>
17328
17329         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17330         segment_stop == -1 at startup.
17331
17332         * gst/base/gstbasetransform.c: (gst_base_transform_event),
17333         (gst_base_transform_change_state):
17334         Init segment values at start.
17335
17336 2005-11-15  Wim Taymans  <wim@fluendo.com>
17337
17338         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17339         0 segment values are 0 in any format.
17340
17341         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17342         * gst/base/gstbasetransform.h:
17343         Parse newsegment correctly in basetransform
17344
17345         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17346         Sync to clock using updated segment values.
17347
17348 2005-11-15  Andy Wingo  <wingo@pobox.com>
17349
17350         * check/gst/gstpipeline.c (test_base_time): Add check that the
17351         base time and stream time are reset correctly.
17352
17353 2005-11-15  Wim Taymans  <wim@fluendo.com>
17354
17355         * docs/design/part-TODO.txt:
17356         Some more TODO items.
17357
17358 2005-11-15  Andy Wingo  <wingo@pobox.com>
17359
17360         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
17361         error if the user selected "no clock" as the clocking method.
17362
17363         * check/gst/gstpipeline.c (test_base_time): New test for buffer
17364         timestamps with live capture.
17365
17366         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
17367         is 0 but we are a live source, timestamp the buffers using the
17368         element's clock.
17369
17370 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
17371
17372         * docs/gst/gstreamer-sections.txt:
17373         * gst/gsterror.c:
17374         * gst/gstghostpad.c:
17375         * gst/gstobject.h:
17376         * gst/gstxml.c:
17377           more section docs
17378
17379 2005-11-14  Wim Taymans  <wim@fluendo.com>
17380
17381         * common/gst.supp:
17382           add suppressions from Wim's Debian machine
17383
17384 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17385
17386         * common/gst.supp:
17387           add suppressions from Andy's AMD64 Ubuntu machine
17388
17389 2005-11-14  Andy Wingo  <wingo@pobox.com>
17390
17391         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
17392         STATE_LOCK not necessary. Fixes #311489.
17393
17394         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
17395         #305291.
17396
17397         * gst/gstindex.c (gst_index_add_object): Note in the docs that
17398         this function is not implemented.
17399
17400 2005-11-14  Julien MOUTTE  <julien@moutte.net>
17401
17402         * gst/base/gstbasetransform.c:
17403         (gst_base_transform_prepare_output_buf):
17404         Ref the source pad caps while we need them.
17405         Fixes (#321386)
17406
17407 2005-11-11  Wim Taymans  <wim@fluendo.com>
17408
17409         * docs/gst/gstreamer-sections.txt:
17410         Added some docs for GstCollectData.
17411
17412         * gst/base/gstadapter.c:
17413         Some small code example fix.
17414
17415         * gst/base/gstcollectpads.c:
17416         * gst/base/gstcollectpads.h:
17417         Document some more.
17418
17419 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17420
17421         * configure.ac: back to HEAD
17422
17423 === release 0.9.5 ===
17424
17425 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
17426
17427         * configure.ac:
17428           releasing 0.9.5, "Bike Lunch Day"
17429
17430 2005-11-11  Wim Taymans  <wim@fluendo.com>
17431
17432         * gst/gstbuffer.c: (_gst_buffer_copy):
17433         Copy more flags.
17434
17435         * gst/gstcaps.c: (gst_caps_is_equal):
17436         Fix some docs.
17437         Make _is_equal fast in the trivial cases.
17438
17439         * gst/gstminiobject.c:
17440         * gst/gstminiobject.h:
17441         More docs. Spifify .h file.
17442
17443         * gst/gstutils.c:
17444         Small doc update.
17445
17446 2005-11-11  Wim Taymans  <wim@fluendo.com>
17447
17448         * gst/base/gstbasetransform.c:
17449         (gst_base_transform_prepare_output_buf),
17450         (gst_base_transform_handle_buffer):
17451         Small cleanups.
17452         If we're processing a buffer and need to allocate an output
17453         buffer, we cannot accept a format change. If we did get a 
17454         format change, we have to alloc a buffer ourselves of the 
17455         right size.
17456
17457 2005-11-11  Wim Taymans  <wim@fluendo.com>
17458
17459         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
17460         While checking the flag for reentrancy in the gstcaps function
17461         is nice to detect recursive invocations, it also makes it 
17462         impossible to call getcaps from multiple threads, which must be
17463         possible. So, checking for recursive calls has to go.
17464
17465 2005-11-11  Michael Smith <msmith@fluendo.com>
17466
17467         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17468           Don't sync on buffers that fall partially outside our current
17469           segment. Prevents an assertion failure/abort playing some files.
17470
17471 2005-11-10  Andy Wingo  <wingo@pobox.com>
17472
17473         * check/gst/gstbin.c (test_message_state_changed_children): Style
17474         fix..
17475
17476         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
17477         gst_bus_poll with the signal watch. Ensures that poll and a signal
17478         watch see the same messages.
17479
17480         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
17481         a poll and a watch at the same time get the same messages.
17482
17483 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17484
17485         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
17486         * gst/gstcaps.c: (gst_caps_intersect):
17487           Don't call gst_caps_do_simplify - it doesn't respect order of caps
17488           and it's not needed.
17489
17490 2005-11-10  Wim Taymans  <wim@fluendo.com>
17491
17492         * docs/design/part-TODO.txt:
17493         Updated todo.
17494
17495 2005-11-10  Wim Taymans  <wim@fluendo.com>
17496
17497         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17498         * gst/base/gstbasesrc.c: (gst_base_src_wait),
17499         (gst_base_src_do_sync), (gst_base_src_get_range):
17500         Implement clock sync in base class.
17501
17502 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17503
17504         patch by: Tim-Philipp Müller <tim at centricular dot net>
17505
17506         * gst/gststructure.c: (gst_structure_parse_field),
17507         (gst_structure_from_string):
17508           Forward-port a 0.8 patch to handle escaped spaces in structure string,
17509           so that gst_parse_launch() can deal with spaces in filtered link
17510           caps (fixes #164479)
17511         * check/gst/capslist.h:
17512         * check/gst/gststructure.c: (GST_START_TEST):
17513           add unit tests for this change
17514
17515 2005-11-10  Wim Taymans  <wim@fluendo.com>
17516
17517         * docs/gst/gstreamer-sections.txt:
17518         * gst/gstelement.c:
17519         * gst/gstelement.h:
17520         Fix docs, move some STATE macros to private.
17521
17522 2005-11-10  Wim Taymans  <wim@fluendo.com>
17523
17524         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17525         Added check for bug #317341
17526
17527         * gst/gstbuffer.c:
17528         * gst/gstbuffer.h:
17529         Some more spiffifying.
17530
17531         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
17532         Call peer linkfunction if we are a source pad. Totally fixes
17533         #317341
17534
17535         * gst/gstpad.c:
17536         Update docs, source pads should call the peer linkfunction
17537         so they can atomically perform the pad link.
17538
17539 2005-11-09  Wim Taymans  <wim@fluendo.com>
17540
17541         * gst/gstbuffer.c:
17542         * gst/gstbuffer.h:
17543         Uber-spiffy-spiffify some more.
17544
17545 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
17546
17547         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
17548         * gst/elements/gstfilesink.c: (gst_file_sink_init):
17549         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17550         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
17551         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
17552         * gst/gstpad.c: (gst_pad_init):
17553           Use GST_DEBUG_FUNCPTR() more extensively.
17554
17555 2005-11-09  Wim Taymans  <wim@fluendo.com>
17556
17557         * gst/gstobject.c: (gst_object_class_init):
17558         * gst/gstobject.h:
17559         Documentation fixes.
17560
17561 2005-11-09  Edward Hervey  <edward@fluendo.com>
17562
17563         * gst/gsttypefindfactory.c:
17564         Fix docs.
17565         
17566 2005-11-09  Edward Hervey  <edward@fluendo.com>
17567
17568         * gst/base/gsttypefindhelper.c:
17569         * gst/gsttypefind.c:
17570         * gst/gsttypefind.h:
17571         Fix docs.
17572
17573 2005-11-09  Wim Taymans  <wim@fluendo.com>
17574
17575         * gst/gstiterator.c:
17576         Fix revision data.
17577
17578         * gst/gsttask.c:
17579         * gst/gsttask.h:
17580         Fix docs.
17581
17582 2005-11-09  Wim Taymans  <wim@fluendo.com>
17583
17584         * gst/gstevent.h:
17585         * gst/gsturi.h:
17586         Fix docs.
17587
17588 2005-11-09  Wim Taymans  <wim@fluendo.com>
17589
17590         * docs/gst/gstreamer-sections.txt:
17591         Moved the message async delivery private lock and cond
17592         to the private section.
17593
17594         * gst/gstmessage.c:
17595         * gst/gstmessage.h:
17596         Fixed docs.
17597
17598 2005-11-09  Edward Hervey  <edward@fluendo.com>
17599
17600         * docs/gst/gstreamer-sections.txt:
17601         * gst/gsturi.c:
17602         * gst/gsturi.h:
17603         Document GstURIHandler
17604
17605 2005-11-09  Wim Taymans  <wim@fluendo.com>
17606
17607         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
17608         (gst_iterator_find_custom):
17609         * gst/gstiterator.h:
17610         Fix iterator docs.
17611
17612 2005-11-09  Wim Taymans  <wim@fluendo.com>
17613
17614         * gst/gstbin.h:
17615         Document another field.
17616
17617         * gst/gststructure.c:
17618         * gst/gststructure.h:
17619         Document.
17620
17621 2005-11-09  Wim Taymans  <wim@fluendo.com>
17622
17623         * gst/gstbin.h:
17624         Documented structs.
17625
17626 2005-11-09  Wim Taymans  <wim@fluendo.com>
17627
17628         * docs/gst/gstreamer-sections.txt:
17629         Added some new macros.
17630
17631         * gst/gstclock.c:
17632         * gst/gstclock.h:
17633         * gst/gstobject.h:
17634         Docs updates.
17635
17636 2005-11-09  Wim Taymans  <wim@fluendo.com>
17637
17638         * docs/design/part-TODO.txt:
17639         Some more items for the TODO
17640
17641         * gst/gstcaps.c:
17642         * gst/gstcaps.h:
17643         Document GstCaps.
17644
17645 2005-11-09  Andy Wingo  <wingo@pobox.com>
17646
17647         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
17648         to work on something else now tho...
17649
17650         * gst/base/gstadapter.c: More adapter docs.
17651
17652         * gst/elements/gstfilesink.c (gst_file_sink_start) 
17653         (gst_file_sink_stop): New functions, replace the state change
17654         handler.
17655         (gst_file_sink_class_init): Hook up the start and stop functions.
17656         (gst_file_sink_base_init): Don't set the state change handler any
17657         more. It was a bit ugly too, being set from here...
17658         (gst_file_sink_get_property, gst_file_sink_set_property):
17659         Cleanups...
17660         (gst_file_sink_set_location): More robust check that doesn't call
17661         GST_STATE. Ugggggg.
17662
17663 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
17664
17665         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17666           Hold STREAM_LOCK while pushing newsegment or tag events as well.
17667
17668 2005-11-08  Wim Taymans  <wim@fluendo.com>
17669
17670         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17671         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17672         (gst_base_sink_chain), (gst_base_sink_change_state):
17673         * gst/base/gstbasesink.h:
17674         * gst/base/gstbasesrc.h:
17675         * gst/gstelement.h:
17676         * gst/gstevent.h:
17677         Avoid excessive typechecking in macros.
17678
17679         * gst/gstminiobject.c: (gst_mini_object_get_type),
17680         (gst_mini_object_init), (gst_mini_object_new),
17681         (gst_mini_object_free):
17682         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17683         (gst_object_finalize):
17684         Remove cruft code, optimize alloc_trace.
17685
17686 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17687
17688         * docs/faq/gst-uninstalled:
17689           fix up PS1 for systems that try to reset it
17690
17691 2005-11-07  Wim Taymans  <wim@fluendo.com>
17692
17693         * gst/base/gstbasesrc.c: (gst_base_src_init),
17694         (gst_base_src_get_range):
17695         Set the segment_end to -1 initially. Fixed typefind.
17696
17697 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
17698
17699         * gst/base/gstadapter.c:
17700           Debug category should be 'adapter', not 'GstAdapter'.
17701           
17702         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
17703         (gst_collectpads_class_init), (gst_collectpads_init),
17704         (gst_collectpads_peek), (gst_collectpads_pop),
17705         (gst_collectpads_event), (gst_collectpads_chain):
17706           Add debug category and some debugging output. Use boilerplate
17707           macros. Remove some extraneous words from docs.
17708
17709 2005-11-05  Andy Wingo  <wingo@pobox.com>
17710
17711         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
17712         macro.
17713
17714 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
17715
17716         * docs/gst/gstreamer-sections.txt:
17717         * gst/gstcaps.h:
17718         * gst/gstinfo.c:
17719         * gst/gstminiobject.h:
17720         * gst/gstobject.h:
17721         * gst/gstutils.h:
17722           more docs added
17723
17724 2005-11-04  Wim Taymans  <wim@fluendo.com>
17725
17726         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17727         Small update to stop at the configured segment_end
17728         position.
17729
17730 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
17731
17732         * gst/gstregistry.c:
17733         * gst/gstregistry.h:
17734           added missing docs
17735
17736 2005-11-04  Edward Hervey  <edward@fluendo.com>
17737
17738         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17739         Check if we are doing a segment seek and have arrived at the
17740         end of that segment.
17741
17742 2005-11-04  Wim Taymans  <wim@fluendo.com>
17743
17744         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
17745         Don't leak a mutex unlock in case of an error.
17746
17747         * gst/gstbus.h:
17748         Doc fixes.
17749
17750 2005-11-04  Wim Taymans  <wim@fluendo.com>
17751
17752         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
17753         (gst_bus_post):
17754         Get the context to wake up only once.
17755
17756 2005-11-03  Wim Taymans  <wim@fluendo.com>
17757
17758         * check/states/sinks.c: (GST_START_TEST):
17759         Uncomment fixed check.
17760
17761         * docs/design/part-TODO.txt:
17762         Updated TODO.
17763
17764         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17765         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17766         (gst_base_sink_get_position):
17767         If we are going to PLAYING, post the right pending state
17768         when we post the intermediate paused message.
17769
17770         * gst/gstelement.c: (gst_element_continue_state),
17771         (gst_element_set_state_func), (gst_element_change_state):
17772         Don't post state changes that were between the same state
17773         and were not ASYNC.
17774
17775 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
17776
17777         * docs/gst/gstreamer-sections.txt:
17778         * gst/gstcaps.h:
17779         * gst/gstinfo.c:
17780         * gst/gstminiobject.h:
17781         * gst/gstobject.h:
17782         * gst/gstutils.h:
17783           more docs and doc style fixes
17784
17785 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
17786
17787         * docs/gst/gstreamer-sections.txt:
17788         * gst/gstelement.c:
17789         * gst/gstminiobject.c:
17790         doc fixes
17791
17792 2005-11-03  Andy Wingo  <wingo@pobox.com>
17793
17794         * check/states/sinks.c (test_livesrc_sink): Add checks that the
17795         state-changed messages actually have the right order and the right
17796         values.
17797
17798 2005-11-03  Wim Taymans  <wim@fluendo.com>
17799
17800         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17801         Added some more checks. Specifically the case where NO_PREROLL
17802         elements are in the pipeline.
17803
17804         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17805         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17806         (gst_base_sink_get_position):
17807         Post READY->PAUSED state change messages too.
17808         Fix bug where VOID was posted as pending state...
17809
17810         * gst/gstbin.c: (gst_bin_recalc_state):
17811         use _element_continue_state() to continue the state change.
17812
17813         * gst/gstelement.c: (gst_element_continue_state),
17814         (gst_element_commit_state), (gst_element_set_state_func),
17815         (gst_element_change_state), (gst_element_change_state_func):
17816         Lots of state change cleanups, assign the STATE_RETURN in
17817         a new continue_state() function that also propagates the
17818         last return value from a state change to the app.
17819         Update some debug statements with proper category.
17820
17821 2005-11-03  Wim Taymans  <wim@fluendo.com>
17822
17823         * docs/design/part-events.txt:
17824         * docs/design/part-gstpipeline.txt:
17825         * docs/design/part-messages.txt:
17826         * docs/design/part-overview.txt:
17827         * docs/design/part-seeking.txt:
17828         * docs/design/part-states.txt:
17829         * docs/design/part-trickmodes.txt:
17830         * docs/manual/advanced-position.xml:
17831         Small docs updates.
17832
17833         * gst/gstobject.h:
17834         People think !! is ugly, this looks better.
17835
17836         * gst/gstpad.c: (gst_pad_set_blocked_async):
17837         Remove !! since it's fixed elsewhere now.
17838
17839 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
17840
17841         * gst/gstminiobject.h:
17842         * gst/gstobject.h:
17843           Add !! to _FLAG_IS_SET macros to make the result boolean.
17844
17845 2005-11-03  Edward Hervey  <edward@fluendo.com>
17846
17847         * gst/gstpad.c: (gst_pad_set_blocked_async):
17848         comparing a flag and a gboolean rarely returns coherent results...
17849         Added two characters (!!) to make that work correctly.
17850         
17851 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
17852
17853         * gst/gstbus.c: (gst_bus_class_init):
17854           Fix some typos.
17855           
17856         * gst/gstqueue.c: (gst_queue_loop):
17857           Don't assume a miniobject that isn't a buffer is an
17858           event (it could be that there is a refcounting
17859           problem somewhere and the pointer is stale and
17860           refers to an already destroyed miniobject).
17861
17862 2005-11-03  Julien MOUTTE  <julien@moutte.net>
17863
17864         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
17865
17866 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
17867
17868         * docs/manual/advanced-position.xml:
17869           Update seek example and explanations to current 0.9 API.
17870
17871         * gst/elements/gsttypefindelement.c:
17872         (gst_type_find_element_activate):
17873           Remove FIXME comment now that the found caps
17874           are unreffed.
17875
17876 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17877
17878         * gst/gstregistryxml.c: (load_feature):
17879           Add another GST_STR_NULL instance
17880
17881 2005-11-02  Edward Hervey  <edward@fluendo.com>
17882
17883         * gst/gstpad.c: (handle_pad_block):
17884         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
17885         
17886 2005-11-02  Wim Taymans  <wim@fluendo.com>
17887
17888         * gst/gstbin.c:
17889         Fix typo in docs.
17890
17891         * gst/gstelement.c: (gst_element_commit_state):
17892         Remove unused value.
17893
17894         * gst/gstiterator.c:
17895         Mention that the returned element is reffed in the docs.
17896
17897 2005-11-02  Wim Taymans  <wim@fluendo.com>
17898
17899         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
17900         (gst_pad_push), (gst_pad_push_event):
17901         Unlock blocked pads when they are flushed.
17902
17903 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17904
17905         * docs/README:
17906         * docs/gst/gstreamer-sections.txt:
17907         * gst/gstbin.c:
17908           doc updates
17909         * gst/gstregistry.c: (gst_registry_scan_path_level):
17910           fix for a nasty little missed situation where an installed plug-in
17911           which was in the cache did not get overridden by an uninstalled one
17912           which was earlier in the plugin path because the newly created plugin
17913           for the uninstalled one (not in the registry) didn't get its
17914           ->registered set to TRUE
17915
17916 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
17917
17918         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
17919         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
17920         (gst_collectpads_is_active), (gst_collectpads_collect),
17921         (gst_collectpads_collect_range), (gst_collectpads_start),
17922         (gst_collectpads_stop), (gst_collectpads_peek),
17923         (gst_collectpads_pop), (gst_collectpads_available),
17924         (gst_collectpads_read), (gst_collectpads_flush):
17925           Guard public API with assertions.
17926         
17927         * gst/gstpad.c:
17928           Fix docs for gst_pad_set_link_function().
17929
17930 2005-11-02  Johan Dahlin  <johan@gnome.org>
17931
17932         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
17933         Unref found_caps after we used it.
17934
17935 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
17936
17937         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
17938           Don't try to ref NULL.
17939
17940 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17941
17942         * win32/common/config.h.in:
17943           provide a GST_FUNCTION that just gives a string for now
17944
17945 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17946
17947         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17948         (gst_object_flags_get_type), (register_gst_bin_flags),
17949         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17950         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17951         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17952         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
17953         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17954         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17955         (gst_clock_flags_get_type), (register_gst_state),
17956         (gst_state_get_type), (register_gst_state_change_return),
17957         (gst_state_change_return_get_type), (register_gst_state_change),
17958         (gst_state_change_get_type), (register_gst_element_flags),
17959         (gst_element_flags_get_type), (register_gst_core_error),
17960         (gst_core_error_get_type), (register_gst_library_error),
17961         (gst_library_error_get_type), (register_gst_resource_error),
17962         (gst_resource_error_get_type), (register_gst_stream_error),
17963         (gst_stream_error_get_type), (register_gst_event_type),
17964         (gst_event_type_get_type), (register_gst_seek_type),
17965         (gst_seek_type_get_type), (register_gst_seek_flags),
17966         (gst_seek_flags_get_type), (register_gst_format),
17967         (gst_format_get_type), (register_gst_index_certainty),
17968         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17969         (gst_index_entry_type_get_type),
17970         (register_gst_index_lookup_method),
17971         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17972         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17973         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17974         (gst_index_flags_get_type), (register_gst_debug_level),
17975         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17976         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17977         (gst_iterator_result_get_type), (register_gst_iterator_item),
17978         (gst_iterator_item_get_type), (register_gst_message_type),
17979         (gst_message_type_get_type), (register_gst_mini_object_flags),
17980         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17981         (gst_pad_link_return_get_type), (register_gst_flow_return),
17982         (gst_flow_return_get_type), (register_gst_activate_mode),
17983         (gst_activate_mode_get_type), (register_gst_pad_direction),
17984         (gst_pad_direction_get_type), (register_gst_pad_flags),
17985         (gst_pad_flags_get_type), (register_gst_pad_presence),
17986         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17987         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17988         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17989         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17990         (gst_plugin_flags_get_type), (register_gst_rank),
17991         (gst_rank_get_type), (register_gst_query_type),
17992         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17993         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17994         (gst_tag_flag_get_type), (register_gst_task_state),
17995         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17996         (gst_alloc_trace_flags_get_type),
17997         (register_gst_type_find_probability),
17998         (gst_type_find_probability_get_type), (register_gst_uri_type),
17999         (gst_uri_type_get_type), (register_gst_parse_error),
18000         (gst_parse_error_get_type):
18001         * win32/common/gstversion.h:
18002           update win32 copies
18003
18004 2005-11-01  Luca Ognibene  <luogni@tin.it>
18005
18006         * gst/gst.c:
18007           fix docs. popt is dead, long live GOption.
18008
18009 2005-10-31  Wim Taymans  <wim@fluendo.com>
18010
18011         * gst/gstbuffer.h:
18012         Small doc fix.
18013
18014 2005-10-31  Andy Wingo  <wingo@pobox.com>
18015
18016         * Boo!
18017
18018         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
18019
18020         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
18021         need to serialize property notifications on GLib 2.8. GLib 2.6 has
18022         the possibility of deadlocks here if code calling notify() or
18023         set() has a lock that can be taken in another notify handler (ABBA
18024         with class lock and e.g. python GIL state lock).
18025
18026 2005-10-28  Julien MOUTTE  <julien@moutte.net>
18027
18028         * gst/gstbus.c: Doc updates.
18029
18030 2005-10-28  Wim Taymans  <wim@fluendo.com>
18031
18032         * docs/design/part-TODO.txt:
18033         * gst/gstiterator.c:
18034         * gst/gstsystemclock.c:
18035         * gst/gstsystemclock.h:
18036         Doc updates.
18037
18038 2005-10-28  Edward Hervey  <edward@fluendo.com>
18039
18040         * docs/gst/gstreamer-docs.sgml:
18041         * docs/gst/gstreamer-sections.txt:
18042         the GstURIType documentation page is private, it only defines GstURIType
18043         which should be defined in the GstURIHandler page
18044         
18045 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18046
18047         * gst/gstbin.c: (gst_bin_class_init):
18048         * gst/gstbin.h:
18049         * gst/gstutils.c:
18050         Documentation updates.
18051
18052 2005-10-28  Wim Taymans  <wim@fluendo.com>
18053
18054         * docs/gst/gstreamer-sections.txt:
18055         * gst/gstclock.c:
18056         * gst/gstclock.h:
18057         Documented the clocks.
18058
18059 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
18060
18061         * docs/gst/gstreamer-sections.txt:
18062           move some macros to private sections
18063         * gst/gstminiobject.c:
18064         * gst/gstminiobject.h:
18065           add descriptions provided by ds and some more
18066         * gst/gstpad.h:
18067           mark macro as to be removed
18068
18069 2005-10-28  Wim Taymans  <wim@fluendo.com>
18070
18071         * docs/design/part-TODO.txt:
18072         Add an item to TODO.
18073
18074         * gst/gstiterator.c: (gst_iterator_fold),
18075         (gst_iterator_find_custom):
18076         * gst/gstiterator.h:
18077         Add iterator docs.
18078
18079 2005-10-28  Wim Taymans  <wim@fluendo.com>
18080
18081         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18082         (gst_base_transform_init):
18083         Don't leak class.
18084
18085         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
18086         An EOS event marks the queue as completely filled.
18087
18088 2005-10-27  Wim Taymans  <wim@fluendo.com>
18089
18090         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18091         (gst_base_sink_do_sync), (gst_base_sink_get_position):
18092         Some more debugging.
18093
18094         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
18095         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
18096         (gst_base_transform_event), (gst_base_transform_getrange),
18097         (gst_base_transform_chain):
18098         * gst/base/gstbasetransform.h:
18099         Fix debugging,
18100         Protect transform and concurrent buffer alloc with a new lock.
18101         Try not to break ABI/API.
18102
18103 2005-10-27  Wim Taymans  <wim@fluendo.com>
18104
18105         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18106         (gst_base_src_init), (gst_base_src_query),
18107         (gst_base_src_default_newsegment),
18108         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18109         (gst_base_src_send_event), (gst_base_src_event_handler),
18110         (gst_base_src_pad_get_range), (gst_base_src_loop),
18111         (gst_base_src_unlock), (gst_base_src_default_negotiate),
18112         (gst_base_src_start), (gst_base_src_deactivate),
18113         (gst_base_src_activate_push), (gst_base_src_change_state):
18114         Move some stuff around and cleanup things.
18115
18116 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
18117
18118         * gst/base/gstbasesrc.c: (gst_base_src_query):
18119           Add missing break statements.
18120
18121 2005-10-27  Wim Taymans  <wim@fluendo.com>
18122
18123         * check/gst/gstbin.c: (GST_START_TEST):
18124         An extra refcount is taken in basesrc.
18125
18126         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18127         (gst_base_src_get_range), (gst_base_src_pad_get_range),
18128         (gst_base_src_loop):
18129         Small cleanups, check for flushing after being unlocked from the 
18130         LIVE_LOCK. take refcounts correctly (not yet everywhere).
18131         Don't send out EOS when going to READY.
18132
18133 2005-10-27  Wim Taymans  <wim@fluendo.com>
18134
18135         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18136         (gst_base_sink_get_position):
18137         Some more debug.
18138
18139         * gst/gstbin.c: (message_check), (bin_replace_message),
18140         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18141         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18142         (bin_query_duration_init), (bin_query_duration_fold),
18143         (bin_query_duration_done), (bin_query_generic_fold),
18144         (gst_bin_query):
18145         * tools/gst-launch.c: (main):
18146         Remove old option.
18147
18148 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
18149
18150         * examples/controller/audio-example.c: (main):
18151         * examples/queue/queue.c: (event_loop):
18152         * gst/base/gstbasetransform.h:
18153         * gst/gstelement.c: (gst_element_send_event):
18154         * gst/gstevent.h:
18155         * gst/gstpad.c: (gst_pad_send_event):
18156           fixing examples
18157           fixing docs typos
18158           changing log priority in error situations
18159
18160 2005-10-25  Wim Taymans  <wim@fluendo.com>
18161
18162         * gst/gstbin.c: (message_check), (bin_replace_message),
18163         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18164         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18165         (bin_query_duration_init), (bin_query_duration_fold),
18166         (bin_query_duration_done), (bin_query_generic_fold),
18167         (gst_bin_query):
18168         Some doc and debug updates.
18169         Cache previously requested query DURATION for speed. invalidate
18170         cached duration if element posts a DURATION message.
18171
18172 2005-10-25  Wim Taymans  <wim@fluendo.com>
18173
18174         * docs/design/part-TODO.txt:
18175         Update TODO.
18176
18177         * gst/gstbin.c: (message_check), (bin_replace_message),
18178         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18179         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18180         (bin_query_duration_init), (bin_query_duration_fold),
18181         (bin_query_duration_done), (bin_query_generic_fold),
18182         (gst_bin_query):
18183         Handle SEGMENT_START/DONE messages correctly.
18184         More evolved query algorithm that handles duration queries
18185         correctly.
18186
18187         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
18188         (gst_element_get_state_func), (gst_element_abort_state),
18189         (gst_element_commit_state), (gst_element_lost_state):
18190         Some more debugging.
18191
18192         * gst/gstmessage.h:
18193         Added doc.
18194
18195 2005-10-25  Wim Taymans  <wim@fluendo.com>
18196
18197         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18198         Don't use invalid stream_time.
18199
18200         * gst/gstevent.c: (gst_event_new_newsegment):
18201         stream_time in newsegment cannot be undefined.
18202
18203 2005-10-24  Wim Taymans  <wim@fluendo.com>
18204
18205         * gst/gstbus.c:
18206         Doc fix.
18207
18208         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18209         (gst_queue_loop):
18210         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
18211
18212 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
18213
18214         * docs/libs/tmpl/gstdparam.sgml:
18215         * docs/libs/tmpl/gstdplinint.sgml:
18216         * docs/libs/tmpl/gstdpman.sgml:
18217         * docs/libs/tmpl/gstdpsmooth.sgml:
18218         * docs/libs/tmpl/gstunitconvert.sgml:
18219           these are obsolete
18220
18221 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18222
18223         * configure.ac:
18224           back to HEAD
18225
18226 === release 0.9.4 ===
18227
18228 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18229
18230         * configure.ac:
18231           releasing 0.9.4, "Tyrannosaurus Rex"
18232
18233 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
18234
18235         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18236         (gst_file_sink_get_current_offset):
18237           Use fseeko() and ftello() if available. When falling back on
18238           lseek() to get the current offset, fflush() first to make sure
18239           everything is up-to-date and we get the right offset.
18240
18241 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18242
18243         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18244         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18245         * gst/gsterror.c: (_gst_stream_errors_init):
18246         * gst/gsterror.h:
18247         * gst/gstqueue.c: (gst_queue_loop):
18248         * po/POTFILES.in:
18249           remove prematurely added error category and clean up the instances
18250
18251 2005-10-21  Wim Taymans  <wim@fluendo.com>
18252
18253         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18254         (gst_base_sink_get_position), (gst_base_sink_query),
18255         (gst_base_sink_change_state):
18256         Simply set the right flag when going to playing, that's all
18257         we need to do instead of calling a function inside the object
18258         lock (that could take the lock as well and deadlock)
18259
18260 2005-10-21  Wim Taymans  <wim@fluendo.com>
18261
18262         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
18263         (gst_base_src_loop):
18264         Don't warn, the peer element knows what to do best when
18265         the seek failed, it might try something else.
18266
18267 2005-10-21  Wim Taymans  <wim@fluendo.com>
18268
18269         * gst/base/gstbasesrc.c: (gst_base_src_init),
18270         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18271         Fix seeking.
18272
18273 2005-10-21  Wim Taymans  <wim@fluendo.com>
18274
18275         * docs/design/part-segments.txt:
18276         More docs.
18277
18278         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18279         Correctly set caps, even on the subbufer.
18280
18281 2005-10-21  Wim Taymans  <wim@fluendo.com>
18282
18283         * docs/gst/gstreamer-docs.sgml:
18284         * docs/gst/gstreamer-sections.txt:
18285         * gst/gstelement.h:
18286         * gst/gstevent.c:
18287         * gst/gstevent.h:
18288         * gst/gstmessage.h:
18289         * gst/gstpad.h:
18290         * gst/gstparse.h:
18291         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
18292         * gst/gsttask.h:
18293         * gst/gstutils.c:
18294         * gst/gstutils.h:
18295         And 2% more doc coverage.
18296
18297 2005-10-21  Andy Wingo  <wingo@pobox.com>
18298
18299         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
18300         position reporting.
18301
18302 2005-10-20  Wim Taymans  <wim@fluendo.com>
18303
18304         * gst/gsterror.c: (gst_error_get_message):
18305         * gst/gstparse.h:
18306         * gst/gstquery.h:
18307         * gst/gststructure.c:
18308         * gst/gsttrace.c:
18309         * gst/gstutils.c:
18310         More docs.
18311
18312 2005-10-20  Wim Taymans  <wim@fluendo.com>
18313
18314         * gst/gstbuffer.h:
18315         * gst/gstpad.c:
18316         * gst/gstparse.c:
18317         Another 1% more coverage.
18318
18319 2005-10-20  Wim Taymans  <wim@fluendo.com>
18320
18321         * docs/gst/gstreamer-sections.txt:
18322         * gst/gstelement.c: (gst_element_get_state_func),
18323         (gst_element_abort_state), (gst_element_commit_state),
18324         (gst_element_lost_state):
18325         * gst/gstevent.h:
18326         * gst/gstquery.c: (gst_query_set_position),
18327         (gst_query_parse_position), (gst_query_set_duration),
18328         (gst_query_parse_duration), (gst_query_new_convert):
18329         * gst/gstutils.c:
18330         Yay! 1% more docs coverage.
18331
18332 2005-10-20  Wim Taymans  <wim@fluendo.com>
18333
18334         * gst/gstpad.h:
18335         * gst/gstquery.c: (gst_query_set_position),
18336         (gst_query_parse_position), (gst_query_set_duration),
18337         (gst_query_parse_duration), (gst_query_new_convert):
18338         * gst/gstquery.h:
18339         * gst/gstutils.c: (gst_element_query_convert):
18340         * gst/gstutils.h:
18341         Docs and consistency fixes.
18342
18343 2005-10-20  Wim Taymans  <wim@fluendo.com>
18344
18345         * gst/gsttask.c:
18346         * gst/gsttask.h:
18347         More docs.
18348
18349 2005-10-20  Wim Taymans  <wim@fluendo.com>
18350
18351         * gst/gstbin.c: (message_check), (bin_replace_message),
18352         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18353         (update_degree), (gst_bin_sort_iterator_next),
18354         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
18355         Reworked the message handling a bit, cache the messages instead of
18356         only the senders. alows us to do more in the future.
18357
18358 2005-10-20  Wim Taymans  <wim@fluendo.com>
18359
18360         * docs/design/part-TODO.txt:
18361         Update TODO
18362
18363         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18364         (gst_base_sink_query):
18365         Don't use clock time to report position when in EOS.
18366
18367 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
18368
18369         * tools/gst-inspect.c: (print_interfaces),
18370         (print_element_properties_info), (print_element_info):
18371           Fix interface output with gst-inspect -a; don't print
18372           newlines after double/float properties.
18373
18374 2005-10-20  Wim Taymans  <wim@fluendo.com>
18375
18376         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18377         (gst_base_sink_query):
18378         Speed up current position calculation.
18379
18380         * gst/base/gstbasesrc.c: (gst_base_src_query),
18381         (gst_base_src_default_newsegment):
18382         Correctly set stream position in newsegment.
18383
18384         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
18385         (update_degree), (gst_bin_sort_iterator_next),
18386         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
18387         * gst/gstmessage.c: (gst_message_new_custom):
18388         Clean up debugging info
18389
18390         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18391         (gst_queue_loop), (gst_queue_handle_src_query):
18392         Pause task faster.
18393
18394 2005-10-19  Wim Taymans  <wim@fluendo.com>
18395
18396         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18397         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18398         Fix query handling again.
18399
18400 2005-10-19  Wim Taymans  <wim@fluendo.com>
18401
18402         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18403         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18404         * gst/base/gstbasesrc.c: (gst_base_src_query):
18405         * gst/elements/gstfilesink.c: (gst_file_sink_query):
18406         * gst/elements/gsttypefindelement.c:
18407         (gst_type_find_handle_src_query), (find_element_get_length),
18408         (gst_type_find_element_activate):
18409         API change fix.
18410
18411         * gst/gstquery.c: (gst_query_new_position),
18412         (gst_query_set_position), (gst_query_parse_position),
18413         (gst_query_new_duration), (gst_query_set_duration),
18414         (gst_query_parse_duration), (gst_query_set_segment),
18415         (gst_query_parse_segment):
18416         * gst/gstquery.h:
18417         Bundling query position/duration is not a good idea since duration
18418         does not change much and we don't want to recalculate it for every
18419         position query, so they are separated again..
18420         Base value in segment query is not needed.
18421
18422         * gst/gstqueue.c: (gst_queue_handle_src_query):
18423         * gst/gstutils.c: (gst_element_query_position),
18424         (gst_element_query_duration), (gst_pad_query_position),
18425         (gst_pad_query_duration):
18426         * gst/gstutils.h:
18427         Updates for query API change.
18428         Added some docs here and there.
18429
18430 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18431
18432         * check/gst/gstbin.c: (GST_START_TEST):
18433         * check/gst/gstghostpad.c: (GST_START_TEST):
18434         * check/pipelines/cleanup.c: (GST_START_TEST):
18435           wait on thread to die so we can check refcount correctly
18436
18437 2005-10-18  Wim Taymans  <wim@fluendo.com>
18438
18439         * check/pipelines/stress.c: (GST_START_TEST):
18440         Make check a little more time consuming.
18441
18442 2005-10-18  Wim Taymans  <wim@fluendo.com>
18443
18444         * check/Makefile.am:
18445         * check/pipelines/stress.c: (GST_START_TEST),
18446         (simple_launch_lines_suite), (main):
18447         Small state change torture test.
18448
18449         * docs/design/part-states.txt:
18450         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18451         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
18452         (gst_base_sink_change_state):
18453         Never take state lock from streaming thread, clean up ugly
18454         hacks. Unfortunatly core does not yet support nice ways to
18455         async commit state.
18456         
18457         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
18458         (bin_bus_handler):
18459         Start state recalc if a STATE_DIRTY message is posted, but only
18460         on the toplevel bin.
18461
18462         * gst/gstelement.c: (gst_element_sync_state_with_parent),
18463         (gst_element_get_state_func), (gst_element_abort_state),
18464         (gst_element_commit_state), (gst_element_lost_state),
18465         (gst_element_set_state_func), (gst_element_change_state):
18466         * gst/gstelement.h:
18467         State variables are now protected with the LOCK, the state
18468         lock is only used to serialize _set_state().
18469
18470 2005-10-18  Wim Taymans  <wim@fluendo.com>
18471
18472         * check/gst/gstbin.c: (GST_START_TEST):
18473         * check/gst/gstmessage.c: (GST_START_TEST):
18474         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18475         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
18476         (bin_bus_handler):
18477         * gst/gstelement.c: (gst_element_abort_state),
18478         (gst_element_commit_state), (gst_element_lost_state):
18479         * gst/gstmessage.c: (gst_message_new_state_changed),
18480         (gst_message_new_state_dirty), (gst_message_new_segment_start),
18481         (gst_message_new_segment_done), (gst_message_new_duration),
18482         (gst_message_parse_state_changed),
18483         (gst_message_parse_segment_start),
18484         (gst_message_parse_segment_done), (gst_message_parse_duration):
18485         * gst/gstmessage.h:
18486         * tools/gst-launch.c: (event_loop):
18487         Seriously, this is better than a previous commit as we only need
18488         to notify the fact that an element changed state in a streaming
18489         thread, marking the state of the parents dirty, hence the 
18490         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
18491         message.
18492
18493 2005-10-18  Wim Taymans  <wim@fluendo.com>
18494
18495         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
18496         (gst_bin_recalc_func):
18497         * gst/gstelement.c: (gst_element_set_clock),
18498         (gst_element_abort_state), (gst_element_lost_state):
18499         Cleanups, prepare for state change fixes.
18500
18501 2005-10-18  Wim Taymans  <wim@fluendo.com>
18502
18503         * gst/gstbin.h:
18504         * gst/gstelement.c: (gst_element_class_init),
18505         (gst_element_set_state), (gst_element_set_state_func):
18506         * gst/gstelement.h:
18507         Pending ABI changes.
18508         GThreadPool in GstBinClass to monitor async state changes.
18509         state_cookie in GstElement to detect concurrent gst/set state.
18510         set_state is now virtual too in case a very complicated element
18511         has to be constructed.
18512
18513 2005-10-18  Wim Taymans  <wim@fluendo.com>
18514
18515         * check/gst/gstbin.c: (GST_START_TEST):
18516         * check/gst/gstmessage.c: (GST_START_TEST):
18517         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18518         * gst/gstbin.c: (bin_bus_handler):
18519         * gst/gstelement.c: (gst_element_commit_state),
18520         (gst_element_lost_state):
18521         * gst/gstmessage.c: (gst_message_new_state_changed),
18522         (gst_message_new_segment_start), (gst_message_new_segment_done),
18523         (gst_message_new_duration), (gst_message_parse_state_changed),
18524         (gst_message_parse_segment_start),
18525         (gst_message_parse_segment_done), (gst_message_parse_duration):
18526         * gst/gstmessage.h:
18527         * tools/gst-launch.c: (event_loop):
18528         Make messages future proof.
18529         state-change gets a flag if it was a message comming from the
18530         streaming thread.
18531         segment-start/stop can also be specified in other formats.
18532         A message to notify an app that a pipeline changed playback 
18533         duration.
18534         Also fix a GstMessage leak in -launch
18535
18536 2005-10-18  Andy Wingo  <wingo@pobox.com>
18537
18538         * gst/gstelement.c (gst_element_dispose): More helpful message.
18539
18540 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18541
18542         reviewed by: <delete if not using a buddy>
18543
18544         * common/gtk-doc.mak:
18545
18546 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18547
18548         * gst/gstregistry.c: (gst_registry_scan_path_level):
18549           unref a plug-in we get that was already initialized
18550
18551 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
18552
18553         * docs/gst/gstreamer-sections.txt:
18554         * docs/libs/gstreamer-libs-sections.txt:
18555         * gst/gstelement.h:
18556           add new api entries
18557           hide internal macro
18558
18559 2005-10-17  Andy Wingo  <wingo@pobox.com>
18560
18561         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
18562         cleanup.
18563
18564         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
18565
18566         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
18567
18568         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
18569         (gst_element_get_state_func): Better debug message.
18570         (gst_element_commit_state): s/INFO/DEBUG/.
18571         (gst_element_lost_state, gst_element_change_state): 
18572
18573         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
18574         (gst_message_new_custom): s/INFO/LOG/.
18575
18576 2005-10-17  Michael Smith <msmith@fluendo.com>
18577
18578         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18579           Check if end time is valid using end time, not start time.
18580
18581 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
18582
18583         * check/gst-libs/controller.c: (GST_START_TEST),
18584         (gst_controller_suite):
18585         * libs/gst/controller/gstcontroller.c:
18586         (gst_controlled_property_set_interpolation_mode):
18587         * libs/gst/controller/gstcontroller.h:
18588         * libs/gst/controller/gstinterpolation.c:
18589         * testsuite/controller/.cvsignore:
18590         * testsuite/controller/Makefile.am:
18591         * testsuite/controller/interpolator.c:
18592           merge controller testsuites
18593           fix broken tests
18594           remove mem-chunk from docs
18595
18596 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18597
18598         * gst/gstmemchunk.c:
18599         * gst/gstmemchunk.h:
18600         * gst/gsttrashstack.c:
18601         * gst/gsttrashstack.h:
18602           out.  get out.  you're fired.  to the Attic !
18603
18604 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18605
18606         * gst/gstcaps.c: (gst_caps_intersect):
18607           fix signedness issues in a (hopefully) correct way
18608         * gst/gstelement.c: (gst_element_pads_activate):
18609           some debugging
18610         * gst/gstobject.c: (gst_object_set_parent):
18611           some debugging
18612
18613 2005-10-17  Julien MOUTTE  <julien@moutte.net>
18614
18615         * gst/gstvalue.h: Fix prototypes.
18616
18617 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18618
18619         * docs/gst/gstreamer-sections.txt:
18620         * gst/gst.c: (gst_version_string):
18621         * gst/gst.h:
18622         * gst/gstversion.h.in:
18623         * win32/common/libgstreamer.def:
18624           add gst_version_string ()
18625
18626 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18627
18628         * configure.ac:
18629           clean up further
18630         * gst/gst.c: (init_post):
18631         * win32/common/config.h.in:
18632           it's PLUGINDIR now
18633         * gst/gstcaps.c: (gst_caps_intersect):
18634           use gint64, the range could be bigger than a guint
18635
18636 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18637
18638         * gst/gstclock.h:
18639           document potential problem in 2038
18640
18641 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18642
18643         * gst/gstcaps.c: (gst_caps_intersect):
18644           Fix guint j diving under 0
18645
18646 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18647
18648         * configure.ac:
18649         * win32/common/config.h:
18650         * win32/common/config.h.in:
18651           check for process.h, declares getpid() on Windows
18652         * gst/gstinfo.c:
18653           include process.h if we have it
18654         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
18655         * gst/gstmemchunk.h:
18656           fix signedness issues
18657         * win32/common/libgstreamer.def:
18658           fix get_type's
18659
18660 2005-10-16  Julien MOUTTE  <julien@moutte.net>
18661
18662         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
18663         fix. Because of unsigned ints, caps intersection was going nuts and
18664         trying to access structures with G_MAXUINT index. That fixes
18665         videotestsrc ! ffmpegcolorspace ! fakesink
18666         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
18667         consistency.
18668
18669 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18670
18671         * configure.ac:
18672           use the gettext macro
18673         * gst/elements/gstelements.c:
18674         * gst/gst.c:
18675         * gst/indexers/gstindexers.c:
18676           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
18677         * win32/common/config.h:
18678           updated config.h
18679         * win32/common/config.h.in:
18680           add the template to generate config.h
18681         * win32/common/gstenumtypes.c:
18682         * win32/common/gstversion.h:
18683           updated copies
18684
18685 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18686
18687         * gst/gst.c: (gst_version):
18688         * gst/gstversion.h.in:
18689           add the nano
18690
18691 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
18692
18693         * gst/gstevent.h:
18694           Oops, add missing closing bracket.
18695
18696 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18697
18698         * configure.ac:
18699           use common m4's for argument checking
18700
18701 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
18702
18703         * docs/gst/gstreamer-sections.txt:
18704         * gst/gstevent.h:
18705           Add GST_EVENT_TYPE_NAME() macro.
18706
18707 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18708
18709         * gst/gstinfo.c:
18710         * gst/gstpluginfeature.c:
18711         * gst/gsttask.c:
18712           privatize more symbols
18713
18714 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18715
18716         * configure.ac:
18717           add srcdir, builddir includes to GST_ALL_CFLAGS, since
18718           everything that uses GStreamer API should have the includes
18719
18720 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18721
18722         * docs/gst/gstreamer-sections.txt:
18723         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
18724         * gst/gstvalue.h:
18725           give each value a _get_type, removes the DATA exports
18726
18727 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18728
18729         * gst/gst.c:
18730         * gst/gst.h:
18731           remove _gst_registry_auto_load, not used anymore
18732         * gst/gstbin.c: (gst_bin_get_type):
18733         * gst/gstbin.h:
18734         * gst/gstelement.c: (gst_element_get_type):
18735         * gst/gstelement.h:
18736         * gst/gstobject.c: (gst_object_get_type):
18737         * gst/gstobject.h:
18738         * gst/gstpad.c: (gst_pad_get_type):
18739         * gst/gstpad.h:
18740           make _get_type functions similar, fixes data export from library
18741
18742 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18743
18744         * configure.ac:
18745           correctly make conditionals
18746         * gst/elements/Makefile.am:
18747         * gst/elements/gstelements.c:
18748           fix typo causing fdsrc not to build
18749
18750 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18751
18752         * testsuite/Makefile.am:
18753         * testsuite/bytestream/.cvsignore:
18754         * testsuite/bytestream/Makefile.am:
18755         * testsuite/bytestream/filepadsink.c:
18756         * testsuite/bytestream/gstbstest.c:
18757         * testsuite/bytestream/test1.c:
18758         * testsuite/bytestream/testfile1:
18759         * testsuite/caps/normalisation.c:
18760         * testsuite/caps/random.c: (main):
18761         * testsuite/cleanup/.cvsignore:
18762         * testsuite/cleanup/Makefile.am:
18763         * testsuite/cleanup/cleanup1.c:
18764         * testsuite/cleanup/cleanup2.c:
18765         * testsuite/cleanup/cleanup3.c:
18766         * testsuite/cleanup/cleanup4.c:
18767         * testsuite/cleanup/cleanup5.c:
18768         * testsuite/controller/interpolator.c:
18769         * testsuite/debug/printf_extension.c: (main):
18770         * testsuite/elements/tee.c:
18771         * testsuite/negotiation/.cvsignore:
18772         * testsuite/negotiation/Makefile.am:
18773         * testsuite/negotiation/pad_link.c:
18774         * testsuite/pad/Makefile.am:
18775         * testsuite/pad/chainnopull.c:
18776         * testsuite/pad/getnopush.c:
18777         * testsuite/pad/link.c:
18778         * testsuite/refcounting/sched.c: (create_pipeline):
18779         * testsuite/registry/Makefile.am:
18780         * testsuite/registry/gst-print-formats.c:
18781         * testsuite/schedulers/.cvsignore:
18782         * testsuite/schedulers/142183-2.c:
18783         * testsuite/schedulers/142183.c:
18784         * testsuite/schedulers/143777-2.c:
18785         * testsuite/schedulers/143777.c:
18786         * testsuite/schedulers/147713.c:
18787         * testsuite/schedulers/147819.c:
18788         * testsuite/schedulers/147894-2.c:
18789         * testsuite/schedulers/147894.c:
18790         * testsuite/schedulers/Makefile.am:
18791         * testsuite/schedulers/group_link.c:
18792         * testsuite/schedulers/queue_link.c:
18793         * testsuite/schedulers/relink.c:
18794         * testsuite/schedulers/unlink.c:
18795         * testsuite/schedulers/unref.c:
18796         * testsuite/schedulers/useless_iteration.c:
18797         * testsuite/states/bin.c:
18798           clean out/remove some stuff from the testsuite directories
18799
18800 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18801
18802         * configure.ac:
18803           check for some headers
18804         * gst/elements/Makefile.am:
18805         * gst/elements/gstelements.c:
18806           don't compile fdsrc without sys/socket.h
18807         * gst/indexers/Makefile.am:
18808         * gst/indexers/gstindexers.c: (plugin_init):
18809           don't compile fileindex without mmap
18810
18811 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18812
18813         * configure.ac:
18814           reorganize
18815           clean up
18816           document more
18817           remove cruft
18818         * check/Makefile.am:
18819         * docs/gst/Makefile.am:
18820         * examples/helloworld/Makefile.am:
18821         * gst/Makefile.am:
18822         * gst/base/Makefile.am:
18823         * gst/check/Makefile.am:
18824         * gst/elements/Makefile.am:
18825         * gst/indexers/Makefile.am:
18826         * gst/parse/Makefile.am:
18827         * libs/gst/controller/Makefile.am:
18828         * libs/gst/dataprotocol/Makefile.am:
18829         * examples/helloworld/helloworld.c: (event_loop):
18830           compile fixes, though it's not being compiled currently
18831
18832 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
18833
18834         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
18835           Add some simple tests for the new taglist date API.
18836
18837 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
18838
18839         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
18840         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
18841           Beautify 'last-message' output: print 'none' for buffer timestamps
18842           and durations if none is set; improve alignment with next messages.
18843
18844 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
18845
18846         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
18847         * gst/gstpluginfeature.h:
18848         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
18849         * gst/gstregistry.h:
18850         * docs/gst/gstreamer-sections.txt:
18851           Add new API to check plugin feature version requirements.
18852
18853         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
18854           Some basic tests for the above.         
18855
18856 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18857
18858         * gst/gststructure.c: (gst_structure_to_string):
18859           guard against NULL printf - happens when for example
18860           a message structure with GstClock gets serialized
18861
18862 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
18863
18864         * gst/base/gstcollectpads.c: (gst_collectpads_event):
18865           Fix presumable copy'n'pasto.
18866
18867 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18868
18869         * gst/elements/gstfakesrc.h:
18870         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
18871         * gst/elements/gsttypefindelement.c:
18872           fix some signedness
18873         * gst/elements/gstfilesink.c: (gst_file_sink_render):
18874           I wonder if this could actually write +2GB files before
18875
18876 2005-10-13  Andy Wingo  <wingo@pobox.com>
18877
18878         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
18879         Fix Timmeke Waymans bug.
18880         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
18881         string of the proper length to gst_caps_from_string. There's a
18882         potential for, before this fix, that this could cause someone
18883         connecting over the network to cause a segfault if the payload is
18884         not NUL-terminated.
18885
18886 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
18887
18888         * docs/design/draft-push-pull.txt:
18889         * docs/design/part-overview.txt:
18890         * docs/random/TODO-pre-0.9:
18891         * docs/random/old/ChangeLog.gstreamer:
18892         * gst/base/gstpushsrc.c:
18893         * gst/gstclock.c:
18894           fixed typos
18895
18896 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18897
18898         * gst/glib-compat.c: (gst_flags_get_first_value):
18899         * gst/glib-compat.h:
18900         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
18901         (gst_value_compare_double), (gst_value_serialize_flags):
18902           GLib 2.6 g_flags_get_first_value has a bug that triggers an
18903           infinite loop
18904
18905 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18906
18907         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18908         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18909           fix up debugging
18910         * tools/gst-launch.c: (event_loop):
18911           print out clock nicely
18912
18913 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
18914
18915         * docs/gst/gstreamer-sections.txt:
18916         * gst/gsttaglist.h:
18917         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
18918         (gst_tag_list_get_date_index):
18919           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
18920           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
18921
18922 2005-10-13  Julien MOUTTE  <julien@moutte.net>
18923
18924         * gst/base/gstcollectpads.c: (gst_collectpads_event),
18925         (gst_collectpads_chain):
18926         * gst/base/gstcollectpads.h: Handle newsegment and store informations
18927         in CollectData.
18928
18929 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
18930
18931         * docs/gst/gstreamer-sections.txt:
18932         * gst/gst.c:
18933         * gst/gsterror.h:
18934         * tools/gst-inspect.c: (main):
18935         * tools/gst-launch.c: (main):
18936         * tools/gst-run.c: (main):
18937         * tools/gst-xmlinspect.c: (main):
18938           fix GOption context leaks
18939           doc fixes
18940
18941 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18942
18943         * gst/gstbus.c:
18944           use HAVE_UNISTD_H
18945         * win32/common/config.h:
18946           update config
18947         * win32/vs6/grammar.dsp:
18948         * win32/vs6/libgstelements.dsp:
18949         * win32/vs6/libgstreamer.dsp:
18950           update vs6 files
18951
18952 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18953
18954         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18955         * gst/base/gstbasesrc.c: (gst_base_src_query):
18956           fix more guint64<->gdouble conversions
18957
18958 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18959
18960         * Makefile.am:
18961           add win32-update target
18962         * win32/common/gstconfig.h:
18963         * win32/common/gstenumtypes.c:
18964         * win32/common/gstenumtypes.h:
18965         * win32/common/gstversion.h:
18966           add files that visual studio can't generate
18967
18968 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18969
18970         * Makefile.am:
18971           add a win32-update target
18972         * configure.ac:
18973
18974 2005-10-12  Wim Taymans  <wim@fluendo.com>
18975
18976         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18977         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
18978         * gst/gstelement.c: (gst_element_commit_state),
18979         (gst_element_set_state):
18980         Protect flags with proper lock.
18981         unref provided cached clock in dispose.
18982
18983 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
18984
18985         * gst/gst.c:
18986         * gst/gstminiobject.h:
18987         * gst/gstpad.h:
18988         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
18989           removed unused flags from miniobject
18990           doc fixes
18991
18992 2005-10-12  Wim Taymans  <wim@fluendo.com>
18993
18994         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18995         (gst_file_sink_event), (gst_file_sink_render):
18996         Flush before seeking.
18997
18998 2005-10-12  Andy Wingo  <wingo@pobox.com>
18999
19000         * gst/gst.c (gst_init_check): Ignore unknown options, as has
19001         always been the case.
19002
19003 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
19004
19005         * check/gst/gstbin.c: (GST_START_TEST):
19006         * docs/gst/gstreamer-sections.txt:
19007         * gst/base/gstbasesink.c: (gst_base_sink_init):
19008         * gst/base/gstbasesrc.c: (gst_base_src_init),
19009         (gst_base_src_get_range), (gst_base_src_check_get_range),
19010         (gst_base_src_start), (gst_base_src_stop):
19011         * gst/base/gstbasesrc.h:
19012         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
19013         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19014         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
19015         (bin_bus_handler):
19016         * gst/gstbin.h:
19017         * gst/gstbuffer.h:
19018         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
19019         * gst/gstbus.h:
19020         * gst/gstelement.c: (gst_element_is_locked_state),
19021         (gst_element_set_locked_state), (gst_element_commit_state),
19022         (gst_element_set_state):
19023         * gst/gstelement.h:
19024         * gst/gstindex.c: (gst_index_init):
19025         * gst/gstindex.h:
19026         * gst/gstminiobject.h:
19027         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
19028         (gst_object_set_parent):
19029         * gst/gstobject.h:
19030         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
19031         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
19032         * gst/gstpad.h:
19033         * gst/gstpadtemplate.h:
19034         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
19035         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
19036         * gst/gstpipeline.h:
19037         * gst/indexers/gstfileindex.c: (gst_file_index_load),
19038         (gst_file_index_commit):
19039         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
19040         * testsuite/pad/link.c: (gst_test_src_init),
19041         (gst_test_filter_init), (gst_test_sink_init):
19042         * testsuite/states/locked.c: (main):
19043           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
19044           moved bitshift from macro to enum definition
19045
19046 2005-10-12  Wim Taymans  <wim@fluendo.com>
19047
19048         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
19049         * gst/elements/gstfilesink.c: (gst_file_sink_event),
19050         (gst_file_sink_render):
19051         Some more debugging info.
19052
19053 2005-10-12  Wim Taymans  <wim@fluendo.com>
19054
19055         * docs/design/part-states.txt:
19056         * tools/gst-launch.c: (main):
19057         Some doc updates.
19058         Revert non-intentional change.
19059
19060 2005-10-12  Wim Taymans  <wim@fluendo.com>
19061
19062         * check/gst/gstbin.c: (GST_START_TEST):
19063         * check/gst/gstelement.c: (GST_START_TEST):
19064         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
19065         * check/gst/gstghostpad.c: (GST_START_TEST):
19066         * check/gst/gstpipeline.c: (GST_START_TEST):
19067         * check/pipelines/simple_launch_lines.c: (run_pipeline):
19068         * check/states/sinks.c: (GST_START_TEST):
19069         * gst/elements/gsttypefindelement.c: (stop_typefinding):
19070         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19071         (gst_bin_remove_func), (gst_bin_get_state_func),
19072         (gst_bin_recalc_state), (gst_bin_change_state_func),
19073         (bin_bus_handler):
19074         * gst/gstelement.c: (gst_element_get_state_func),
19075         (gst_element_get_state), (gst_element_abort_state),
19076         (gst_element_commit_state), (gst_element_set_state),
19077         (gst_element_change_state), (gst_element_change_state_func):
19078         * gst/gstelement.h:
19079         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
19080         (gst_pipeline_provide_clock_func):
19081         * gst/gstutils.c: (gst_element_link_pads_filtered):
19082         * tools/gst-launch.c: (main):
19083         * tools/gst-typefind.c: (main):
19084         Use GstClockTime in _get_state() instead of GTimeVal.
19085         Remove old code in gstutils.c
19086
19087 2005-10-12  Andy Wingo  <wingo@pobox.com>
19088
19089         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
19090         removed.
19091
19092         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
19093         there is no task. Shouldn't affect any code, as nothing in our
19094         plugins checks this return value.
19095         (gst_pad_stop_task): Also take the stream lock if the pad has no
19096         task. Docs updated.
19097
19098 2005-10-12  Wim Taymans  <wim@fluendo.com>
19099
19100         * gst/gstpad.c: (pre_activate), (post_activate),
19101         (gst_pad_activate_pull), (gst_pad_activate_push):
19102         Cleanup activation code. Reset old state if
19103         activation failed.
19104
19105 2005-10-12  Wim Taymans  <wim@fluendo.com>
19106
19107         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19108         (gst_base_sink_change_state):
19109         No need to prerol after receiving EOS.
19110
19111         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19112         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
19113         * gst/elements/gstidentity.c: (gst_identity_event):
19114         Print events more verbosely.
19115
19116 2005-10-12  Wim Taymans  <wim@fluendo.com>
19117
19118         * check/Makefile.am:
19119         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19120         * check/states/sinks2.c:
19121         Moved sinks2 testcode in sinks check.
19122
19123         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19124         (gst_bin_remove_func), (gst_bin_recalc_state),
19125         (gst_bin_change_state_func), (bin_bus_handler):
19126         Fix potential race condition when _get_state() iterated over an
19127         ASYNC element right before it posted a state completion.
19128
19129         * gst/gstclock.h:
19130         Do proper cast here.
19131
19132         * gst/gstevent.c: (gst_event_new_newsegment),
19133         (gst_event_parse_newsegment):
19134         A playback rate of 0.0 is not allowed.
19135
19136 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19137
19138         * win32/common/config.h:
19139         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
19140         (_trewinddir), (_ttelldir), (_tseekdir):
19141         * win32/common/dirent.h:
19142         * win32/common/gtchar.h:
19143         * win32/common/libgstbase.def:
19144         * win32/common/libgstreamer.def:
19145         * win32/vs6/grammar.dsp:
19146         * win32/vs6/gst_inspect.dsp:
19147         * win32/vs6/gst_launch.dsp:
19148         * win32/vs6/gstreamer.dsw:
19149         * win32/vs6/libgstbase.dsp:
19150         * win32/vs6/libgstelements.dsp:
19151         * win32/vs6/libgstreamer.dsp:
19152           Visual Studio 6 project files, and a new common directory.
19153           Phear.
19154
19155 2005-10-11  Wim Taymans  <wim@fluendo.com>
19156
19157         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19158         (gst_base_sink_do_sync), (gst_base_sink_query),
19159         (gst_base_sink_change_state):
19160         * gst/base/gstbasesink.h:
19161         Correctly parse newsegment info.
19162
19163 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19164
19165         * gst/gst.c: (init_post):
19166           split plugin paths correctly
19167
19168 2005-10-11  Wim Taymans  <wim@fluendo.com>
19169
19170         * check/gst/gstevent.c: (GST_START_TEST):
19171         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19172         (gst_base_sink_change_state):
19173         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
19174         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19175         * gst/elements/gstfilesink.c: (gst_file_sink_event):
19176         * gst/gstevent.c: (gst_event_new_newsegment),
19177         (gst_event_parse_newsegment):
19178         * gst/gstevent.h:
19179         Added extra flag to newsegment for future API freeze.
19180         Updated check and base elements.
19181
19182 2005-10-11  Julien MOUTTE  <julien@moutte.net>
19183
19184         * gst/base/gstcollectpads.c: (gst_collectpads_init),
19185         (gst_collectpads_add_pad), (gst_collectpads_pop),
19186         (gst_collectpads_event), (gst_collectpads_chain):
19187         * gst/base/gstcollectpads.h: Handle EOS correctly.
19188
19189 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19190
19191         * tools/gst-launch.c: (main):
19192           more null protecting
19193
19194 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19195
19196         * gst/gst-i18n-lib.h:
19197           check for ENABLE_NLS, not GETTEXT_PACKAGE
19198         * gst/gstregistry.c: (gst_registry_add_plugin),
19199         (gst_registry_scan_path_level),
19200         (_gst_registry_remove_cache_plugins):
19201           protect possibly NULL strings
19202         * gst/parse/types.h:
19203           config.h already included before
19204         * tools/gst-inspect.c: (main):
19205           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
19206           check for ENABLE_NLS, not GETTEXT_PACKAGE
19207         * tools/gst-launch.c: (main):
19208           check for ENABLE_NLS, not GETTEXT_PACKAGE
19209
19210 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19211
19212         * configure.ac:
19213           if we don't have glib, fail before testing 2.8
19214         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
19215           fix a leak, should fix plugins-base testsuite
19216
19217 2005-10-11  Andy Wingo  <wingo@pobox.com>
19218
19219         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
19220         take the mode we're going to as an arg. Go head and set the mode
19221         and flushing flags now, so that if the activate function starts a
19222         thread all the flags will be in the right state.
19223         (post_activate): Renamed also. Just handle making sure streaming
19224         finishes for the deactivation case, and setting the deactivated
19225         mode.
19226         (gst_pad_set_active): Complain loudly if deactivation fails.
19227         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
19228         (gst_pad_activate_push): Adapt to pre/post_activate changes,
19229         remove the terrible hack.
19230
19231 2005-10-11  Wim Taymans  <wim@fluendo.com>
19232
19233         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19234         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
19235         (gst_bin_recalc_state), (gst_bin_change_state_func),
19236         (gst_bin_dispose), (bin_bus_handler):
19237         * gst/gstbin.h:
19238         Prepare to make current EOS message queue more generic.
19239         Fix some typos.
19240
19241         * gst/gstevent.c: (gst_event_new_newsegment),
19242         (gst_event_parse_newsegment):
19243         * gst/gstevent.h:
19244         Rename base to stream_time.
19245
19246         * gst/gstmessage.h:
19247         Fix typo in docs.
19248
19249 2005-10-11  Wim Taymans  <wim@fluendo.com>
19250
19251         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19252         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
19253         (gst_bin_change_state_func), (bin_bus_handler):
19254         * gst/gstbin.h:
19255         Work on proper clock selection.
19256
19257 2005-10-11  Edward Hervey  <edward@fluendo.com>
19258
19259         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
19260         * libs/gst/controller/gstcontroller.h:
19261         Added GList* version of _remove_properties() in order to be able to wrap
19262         it in bindings.
19263
19264 2005-10-11  Wim Taymans  <wim@fluendo.com>
19265
19266         * docs/design/part-states.txt:
19267         Some more docs.
19268
19269         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
19270         (gst_bin_change_state_func), (bin_bus_handler):
19271         Doc updates. Don't distribute the same clock over and over again.
19272
19273         * gst/gstclock.c:
19274         * gst/gstclock.h:
19275         Doc updates.
19276
19277         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
19278         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
19279         (gst_pad_send_event):
19280         * gst/gstpad.h:
19281         Make probe emission threadsafe again.
19282         Register quarks and move _get_name() from utils.
19283         Doc updates.
19284
19285         * gst/gstpipeline.c: (gst_pipeline_class_init),
19286         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19287         Only redistribute the clock of it changed.
19288
19289         * gst/gstsystemclock.h:
19290         Doc updates. 
19291
19292         * gst/gstutils.c:
19293         * gst/gstutils.h:
19294         Moved the _flow_get_name() to GstPad.
19295
19296 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19297
19298         * check/gst-libs/gdp.c: (GST_START_TEST):
19299         * check/gst/gstcaps.c: (GST_START_TEST):
19300         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
19301         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
19302         (gst_dp_packet_from_caps):
19303           fix more valgrind warnings before turning up the heat
19304
19305 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19306
19307         * gst/parse/grammar.y:
19308           some cleanup before the hacking
19309
19310 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19311
19312         * gst/base/gstbasesrc.c: (gst_base_src_query):
19313           use conversions
19314         * gst/gstutils.c: (gst_guint64_to_gdouble),
19315         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
19316         * gst/gstutils.h:
19317           externalize, basesrc uses it
19318           obviously the implementation needs testing
19319
19320 2005-10-10  Wim Taymans  <wim@fluendo.com>
19321
19322         * tests/sched/Makefile.am:
19323         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
19324         (make_pipeline3), (make_pipeline4), (print_elem), (main):
19325
19326 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19327
19328         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
19329           apparently converting from guint64 to double is not implemented
19330           on MSVC
19331
19332 2005-10-10  Wim Taymans  <wim@fluendo.com>
19333
19334         * check/Makefile.am:
19335         * check/generic/states.c: (GST_START_TEST):
19336         * check/gst/gstbin.c: (GST_START_TEST):
19337         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19338         * check/states/sinks.c: (GST_START_TEST):
19339         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
19340         (main):
19341         Check fixes, use API as stated in design docs, remove hacks.
19342
19343         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19344         (gst_base_sink_change_state):
19345         Catch stopping our task while we're shutting down.
19346
19347         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
19348         (gst_bin_remove_func), (gst_bin_get_state_func),
19349         (gst_bin_recalc_state), (gst_bin_change_state_func),
19350         (bin_bus_handler):
19351         * gst/gstbin.h:
19352         * gst/gstelement.c: (gst_element_init),
19353         (gst_element_get_state_func), (gst_element_abort_state),
19354         (gst_element_commit_state), (gst_element_lost_state),
19355         (gst_element_set_state), (gst_element_change_state),
19356         (gst_element_change_state_func):
19357         * gst/gstelement.h:
19358         New state change algorithm (see #318116)
19359
19360         * gst/gstpipeline.c: (gst_pipeline_class_init),
19361         (gst_pipeline_init), (gst_pipeline_set_property),
19362         (gst_pipeline_get_property), (do_pipeline_seek),
19363         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19364         * gst/gstpipeline.h:
19365         Remove crude state change hacks.
19366
19367         * gst/gstutils.h:
19368         Remove crude hacks.
19369
19370         * tools/gst-launch.c: (main):
19371         Fixes for state change. Needs some more work to fully use the
19372         new stuff.
19373
19374 2005-10-10  Andy Wingo  <wingo@pobox.com>
19375
19376         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
19377
19378         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
19379         this flag, but it's not even in GLib 2.6. Odd. Hack around the
19380         issue.
19381
19382 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19383
19384         * gst/gstiterator.c: (gst_iterator_new):
19385           Fix my previous commit: GTypes passed to gst_iterator_new()
19386           can be fundamental types.
19387
19388 2005-10-10  Wim Taymans  <wim@fluendo.com>
19389
19390         * gst/gstelement.c: (gst_element_iterate_pad_list),
19391         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
19392         (gst_element_iterate_sink_pads):
19393         Use src/sink pads lists for the respective iterators instead
19394         of filtering.
19395
19396 2005-10-10  Andy Wingo  <wingo@pobox.com>
19397
19398         Merged in popt removal + GOption addition patch from Ronald, bug
19399         #169772.
19400
19401         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
19402         GstElement macros around, remove popt-related symbols, add goption
19403         stuff.
19404
19405         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
19406         
19407         * docs/gst/Makefile.am:
19408         * docs/libs/Makefile.am: No POPT_CFLAGS.
19409         
19410         * examples/manual/Makefile.am:
19411         * docs/manual/basics-init.xml: Doc updates with an example.
19412         
19413         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
19414         (gst_init), (parse_one_option), (parse_goption_arg):
19415         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
19416         bit of hand merging and debugging to get the GOption stuff working
19417         tho.
19418         
19419         * tests/Makefile.am:
19420         * tools/Makefile.am:
19421         * tools/gst-inspect.c: (main):
19422         * tools/gst-launch.c: (main):
19423         * tools/gst-run.c: (main):
19424         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
19425
19426 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19427
19428         * gst/gstiterator.c: (gst_iterator_new):
19429           Add assertions to make sure passed GType is likely to really
19430           be a GType (as the compiler won't catch it if the size and
19431           GType arguments get mixed up, see #318447).
19432
19433 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
19434
19435         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19436
19437         * gst/gstbin.c: (gst_bin_iterate_sorted):
19438           Pass GType and size arguments to gst_iterator_new() in the right
19439           order (maybe we should make _new() take the GType as first argument
19440           just like _new_list()?) (#318447).
19441           
19442
19443 2005-10-10  Wim Taymans  <wim@fluendo.com>
19444
19445         * gst/gstelement.c: (gst_element_finalize):
19446         And free the GStaticRecMutex too
19447
19448 2005-10-10  Andy Wingo  <wingo@pobox.com>
19449
19450         * gst/gstelement.c (gst_element_init, gst_element_finalize):
19451         Allocate and free the mutex properly.
19452
19453         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
19454         New macros.
19455         (GstElement): The state_lock is now recursive. Rebuild your
19456         plugins, suckers. Old macros adapted.
19457
19458         * docs/gst/gstreamer-sections.txt: Doc updates.
19459
19460         * gst/gstutils.h:
19461         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
19462         (g_static_rec_cond_wait): Ported from state changes patch, while
19463         we wait on bug #317802 to be solved in a well-distributed GLib.
19464
19465         * gst/gstelement.c (gst_element_change_state_func): Renamed from
19466         gst_element_change_state, variable name changes.
19467         (gst_element_change_state): Split out of gst_element_set_state in
19468         preparation for the state change merge. Doesn't pay attention to
19469         the 'transition' argument.
19470         (gst_element_set_state): Updates, hopefully purely cosmetic.
19471         (gst_element_sync_state_with_parent): MT-safety. Ported from the
19472         state change patch.
19473         (gst_element_get_state_func): Renamed from get_state, cosmetic
19474         changes.
19475
19476 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19477
19478         * gst/elements/gstelements.c:
19479         * win32/GStreamer.vcproj:
19480         * win32/config.h:
19481         * win32/dirent.c: (_tseekdir):
19482         * win32/gst-inspect.vcproj:
19483         * win32/gst-launch.vcproj:
19484         * win32/gstconfig.h:
19485         * win32/gstelements.vcproj:
19486         * win32/gstenumtypes.c: (gst_object_flags_get_type):
19487         * win32/gstreamer.def:
19488         * win32/msvc71.sln:
19489           updates for the win32 build (patch from Sebastien Moutte)
19490
19491 2005-10-10  Andy Wingo  <wingo@pobox.com>
19492
19493         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
19494         gst_bin_get_state, cleaned up (but no logic changes).
19495         (bin_element_is_sink): Comment updates.
19496         (sink_iterator_filter): Remove needless cast.
19497         (gst_bin_iterate_sinks): Doc update.
19498         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
19499         cleaned up (but no logic changes).
19500
19501         * check/states/sinks.c (test_src_sink): Cleanups from the state
19502         change patch.
19503         (test_livesrc_sink): Sync on the state.
19504
19505         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
19506         the state change patch.
19507
19508         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
19509         change patch.
19510
19511         * check/gst/gstbin.c: Merge in some style fixes and additional
19512         checks from Wim's state change patch.
19513
19514 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19515
19516         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19517         (gst_type_find_helper):
19518           Check whether we have the requested data already in our list of
19519           cached buffers before pulling a new buffer; also make the buffer
19520           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
19521
19522 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19523
19524         * gst/gstcaps.c:
19525         * gst/gstevent.c:
19526           doc updates
19527         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19528           don't use long long, it's not portable.  Replacing with
19529           gint64 seems to work; let's hope no skeletons fall out of the closet.
19530
19531 2005-10-10  Andy Wingo  <wingo@pobox.com>
19532
19533         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
19534
19535 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
19536
19537         * docs/gst/gstreamer-sections.txt:
19538         * gst/gstevent.c:
19539         * gst/gstevent.h:
19540         * gst/gstinfo.c:
19541         * gst/gstinfo.h:
19542         * gst/gstmessage.c: (gst_message_parse_state_changed):
19543         * gst/gstpad.c:
19544         * gst/gstpad.h:
19545           more docs, fix compilation
19546
19547 2005-10-09  Philippe Khalaf <burger@speedy.org>
19548         * gst/gstmessage.c:
19549           Fixed a few forgotten variables on previous commit
19550
19551 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
19552
19553         * gst/base/gsttypefindhelper.c: (helper_find_peek):
19554           Fix evil typefind crasher: getrange() might return a short
19555           buffer at the end of a file, but gst_type_find_peek() must
19556           either return the full data as requested or NULL, but
19557           never a short buffer.
19558
19559 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19560
19561         * gst/gstmessage.c: (gst_message_new_state_changed),
19562         (gst_message_parse_state_changed):
19563         * gst/gstmessage.h:
19564           don't use "new", it's a C++ keyword
19565
19566 2005-10-08  Wim Taymans  <wim@fluendo.com>
19567
19568         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
19569         * gst/gstelement.c: (gst_element_post_message):
19570         * gst/gstpipeline.c: (gst_pipeline_change_state):
19571         Small docs and debug updates.
19572
19573 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
19574
19575         * docs/gst/gstreamer-sections.txt:
19576         * gst/gstelementfactory.c:
19577         * gst/gstevent.c:
19578         * gst/gsttaglist.c:
19579           more docs
19580
19581 2005-10-08  Wim Taymans  <wim@fluendo.com>
19582
19583         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
19584         (gst_bin_dispose), (bin_bus_handler):
19585         Fix typos, add comments.
19586         Clear EOS list when going to PAUSED from any direction and do it
19587         in a threadsafe way.
19588         Get base time in a threadsafe way too.
19589         Fix confusing debug in the change_state function.
19590         Various other small cleanups.
19591         
19592         * gst/gstelement.c: (gst_element_post_message):
19593         Fix very verbose bus posting code.
19594
19595         * gst/gstpipeline.c: (gst_pipeline_class_init),
19596         (gst_pipeline_set_property), (gst_pipeline_get_property),
19597         (gst_pipeline_change_state):
19598         Small ARG_ -> PROP_ cleanup
19599
19600 2005-10-08  Wim Taymans  <wim@fluendo.com>
19601
19602         * gst/gstbin.c: (is_eos), (bin_bus_handler):
19603         Do a less CPU demanding EOS check because we can.
19604
19605 2005-10-08  Wim Taymans  <wim@fluendo.com>
19606
19607         * libs/gst/dataprotocol/dataprotocol.c:
19608         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
19609         (gst_dp_packet_from_event):
19610         * libs/gst/dataprotocol/dataprotocol.h:
19611         * libs/gst/dataprotocol/dp-private.h:
19612         It's about time we bump the version number.
19613         Since event types don't fit in the guint8 anymore describing
19614         the payload type, make payload type 16 bits wide.
19615
19616 2005-10-08  Wim Taymans  <wim@fluendo.com>
19617
19618         * docs/design/part-TODO.txt:
19619         * docs/design/part-clocks.txt:
19620         * docs/design/part-events.txt:
19621         * docs/design/part-gstbin.txt:
19622         * docs/design/part-gstelement.txt:
19623         * docs/design/part-gstpipeline.txt:
19624         * docs/design/part-live-source.txt:
19625         * docs/design/part-messages.txt:
19626         * docs/design/part-overview.txt:
19627         * docs/design/part-states.txt:
19628         Many doc updates.
19629
19630 2005-10-08  Wim Taymans  <wim@fluendo.com>
19631
19632         * gst/gstevent.c:
19633         * gst/gstevent.h:
19634         Fix event quark registration.
19635         Add some space between events so we can insert them in the
19636         right groups.
19637
19638 2005-10-08  Wim Taymans  <wim@fluendo.com>
19639
19640         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19641         (gst_base_sink_handle_buffer):
19642         Better log message.
19643
19644         * gst/gstbus.h:
19645         * gst/gstelement.h:
19646         More docs.
19647
19648         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19649         (gst_queue_set_property), (gst_queue_get_property):
19650         * gst/gstqueue.h:
19651         Remove old unused properties.
19652
19653 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
19654         * docs/gst/gstreamer-sections.txt:
19655         * gst/gstmessage.c:
19656         * gst/gstmessage.h:
19657         * gst/gstminiobject.c:
19658         * gst/gstminiobject.h:
19659         * gst/gstobject.h:
19660         * gst/gstpad.h:
19661         * gst/gstutils.h:
19662           lots of new docs and doc fixes
19663
19664 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19665
19666         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
19667         * gst/gstplugin.h:
19668         * gst/gstregistry.c: (gst_registry_lookup_locked),
19669         (gst_registry_scan_path_level):
19670         * gst/gstregistryxml.c: (load_plugin):
19671           Only ever load one plugin for a given plugin basename.
19672           This ensures correct overriding of GST_PLUGIN_PATH over
19673           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
19674           system installed plugins.
19675
19676 2005-10-08  Wim Taymans  <wim@fluendo.com>
19677
19678         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19679         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
19680         Prepare for doing QOS.
19681
19682 2005-10-08  Wim Taymans  <wim@fluendo.com>
19683
19684         * check/gst/gstbin.c: (GST_START_TEST):
19685         * check/pipelines/cleanup.c: (GST_START_TEST):
19686         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19687         Allow new clock message too.
19688
19689 2005-10-08  Wim Taymans  <wim@fluendo.com>
19690
19691         * gst/gstmessage.c: (gst_message_new_error),
19692         (gst_message_new_warning), (gst_message_new_tag),
19693         (gst_message_new_state_changed), (gst_message_new_clock_provide),
19694         (gst_message_new_clock_lost), (gst_message_new_new_clock),
19695         (gst_message_new_segment_start), (gst_message_new_segment_done),
19696         (gst_message_parse_state_changed),
19697         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
19698         (gst_message_parse_new_clock):
19699         * gst/gstmessage.h:
19700         Also carry the clock in question.
19701
19702 2005-10-08  Wim Taymans  <wim@fluendo.com>
19703
19704         * gst/gstmessage.c: (gst_message_new_custom),
19705         (gst_message_new_eos), (gst_message_new_error),
19706         (gst_message_new_warning), (gst_message_new_tag),
19707         (gst_message_new_state_changed), (gst_message_new_clock_provide),
19708         (gst_message_new_new_clock), (gst_message_new_segment_start),
19709         (gst_message_new_segment_done), (gst_message_parse_state_changed),
19710         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
19711         * gst/gstmessage.h:
19712         Clean up.
19713         Added clock related messages.
19714
19715         * gst/gstpipeline.c: (gst_pipeline_change_state):
19716         Post message when the clock changed.
19717
19718         * tools/gst-launch.c: (event_loop):
19719         Print new clock.
19720
19721 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
19722
19723         * tools/gst-inspect.c: (print_element_properties_info):
19724           Can't pass NULL strings to g_print() on windows.
19725
19726 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19727
19728         * docs/Makefile.am:
19729         * docs/gst/Makefile.am:
19730         * docs/gst/gstreamer-docs.sgml:
19731         * docs/gst/running.xml:
19732         * docs/version.entities.in:
19733           add a chapter on running GStreamer.
19734           document GST_DEBUG and GST_PLUGIN* env vars
19735
19736 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19737
19738         * Makefile.am:
19739           remove include dir
19740         * configure.ac:
19741           remove PLUGINS_BUILDDIR stuff
19742         * gst/gst.c: (init_post):
19743           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
19744         * idiottest.mak:
19745           remove, it was condescending and not needed
19746
19747 2005-10-08  Wim Taymans  <wim@fluendo.com>
19748
19749         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
19750         (gst_base_sink_handle_object), (gst_base_sink_event),
19751         (gst_base_sink_wait), (gst_base_sink_handle_event),
19752         (gst_base_sink_change_state):
19753         * gst/base/gstbasesink.h:
19754         Repost EOS message while going to PLAYING if still EOS.
19755         Make sure that when receiving a FLUSH_START we don't attempt
19756         to sync on the clock anymore.
19757
19758 2005-10-08  Wim Taymans  <wim@fluendo.com>
19759
19760         * tools/gst-launch.c: (event_loop):
19761         Better message printout.
19762
19763 2005-10-08  Wim Taymans  <wim@fluendo.com>
19764
19765         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
19766         (gst_bin_child_proxy_get_children_count):
19767         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19768         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
19769         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
19770         (gst_child_proxy_set_valist):
19771         * gst/parse/grammar.y:
19772         Make ChildProxy threadsafe and fix mem leaks.
19773
19774 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19775
19776         * gst/gst.c: (init_post):
19777           debug the GST_PLUGIN_ env vars
19778
19779 2005-10-08  Wim Taymans  <wim@fluendo.com>
19780
19781         * check/gst/gstbin.c: (GST_START_TEST):
19782         * check/gst/gstmessage.c: (GST_START_TEST):
19783         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19784         * gst/gstelement.c: (gst_element_commit_state),
19785         (gst_element_lost_state):
19786         * gst/gstmessage.c: (gst_message_new_state_changed),
19787         (gst_message_parse_state_changed):
19788         * gst/gstmessage.h:
19789         * tools/gst-launch.c: (event_loop):
19790         Added extra field to STATE_CHANGE message with the pending
19791         state, which will be different from the new state soon.
19792
19793 2005-10-08  Wim Taymans  <wim@fluendo.com>
19794
19795         * gst/gstbus.c: (gst_bus_pop):
19796         * gst/gstclock.c:
19797         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19798         Small cleanups and doc updates.
19799
19800 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19801
19802         * gst/gst.c: (init_pre):
19803         * gst/gstbin.c: (gst_bin_add_func):
19804           log distributing clocks and base time
19805         * gst/gstregistry.c: (gst_registry_add_plugin),
19806         (gst_registry_scan_path_level), (gst_registry_scan_path):
19807           clean up the debugging output a little
19808         * gst/gstutils.c: (gst_element_state_get_name):
19809           warn about a memleak (I've actually seen this be used, though
19810           it was probably a bug)
19811
19812 2005-10-07  Wim Taymans  <wim@fluendo.com>
19813
19814         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19815         (gst_base_src_init), (gst_base_src_default_newsegment),
19816         (gst_base_src_newsegment), (gst_base_src_do_seek),
19817         (gst_base_src_loop), (gst_base_src_start):
19818         * gst/base/gstbasesrc.h:
19819         Make the newsegment event customizable by subclasses.
19820
19821 2005-10-07  Wim Taymans  <wim@fluendo.com>
19822
19823         * gst/gstevent.c: (gst_event_new_buffersize),
19824         (gst_event_parse_buffersize):
19825         * gst/gstevent.h:
19826         New event for future idea.
19827
19828 2005-10-07  Andy Wingo  <wingo@pobox.com>
19829
19830         * gst/gstelement.c (gst_element_post_message): Doc update.
19831
19832         * docs/gst/gstreamer-sections.txt: Update.
19833
19834         * gst/gstmessage.c (gst_message_new_application): Made into a
19835         function like honest API calls.
19836         (gst_message_new_element): New message type.
19837
19838         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
19839
19840         * check/elements/fakesrc.c (test_no_preroll): New check, checks
19841         that setting a live fakesrc to PAUSED returns NO_PREROLL both
19842         times.
19843
19844         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
19845         NO_PREROLL from gst_element_change_state to fall through.
19846
19847 2005-10-07  Wim Taymans  <wim@fluendo.com>
19848
19849         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
19850         (gst_ghost_pad_do_activate_push):
19851         Activating a ghostpad with no internal pad in push mode
19852         is ok.
19853
19854 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19855
19856         * gst/gstobject.h:
19857           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
19858           Fixes compilation on Windows.
19859
19860 2005-10-07  Michael Smith <msmith@fluendo.com>
19861
19862         * tools/gst-inspect.c:
19863           Print out feature and plugin count at the end when printing out
19864           all features.
19865
19866 2005-10-04  Michael Smith <msmith@fluendo.com>
19867
19868         * gst/gsterror.c: (_gst_stream_errors_init):
19869           Add another error string used in a few existing plugins.
19870
19871         * gst/gstplugin.c:
19872         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19873         * tools/gst-inspect.c: (print_element_info):
19874           When a feature disappears from a plugin (and the feature exists in
19875           the cached registry file), things went horribly wrong. This isn't a
19876           complete fix, we should actually be removing the 'missing' features
19877           from the features list when we load the actual plugin. That's not
19878           yet implemented. 
19879
19880 2005-10-04  Johan Dahlin  <johan@gnome.org>
19881
19882         * check/gst/gstiterator.c: (GST_START_TEST):
19883         * gst/gstbin.c: (gst_bin_iterate_elements),
19884         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
19885         * gst/gstelement.c: (gst_element_iterate_pads):
19886         * gst/gstformat.c: (gst_format_iterate_definitions):
19887         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19888         (gst_iterator_new_list), (gst_iterator_filter):
19889         * gst/gstiterator.h:
19890         * gst/gstquery.c: (gst_query_type_iterate_definitions):
19891         Add a GType to GstIterator, update callsites and tests.
19892
19893 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19894
19895         * gst/gstpad.c: (gst_pad_event_default_dispatch):
19896           give events a chance to be handled by event probes when the pad
19897           is not linked
19898
19899 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19900
19901         * gst/gstevent.c: (gst_event_type_get_name),
19902         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
19903         * gst/gstevent.h:
19904           add string representations for event types
19905
19906 2005-10-06  Wim Taymans  <wim@fluendo.com>
19907
19908         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
19909         Don't use NULL pointers.
19910
19911 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19912
19913         * gst/gst_private.h:
19914         * gst/gstbus.c:
19915         * gst/gstelement.c:
19916         * gst/gstinfo.c:
19917         * gst/gstpluginfeature.c:
19918           widen the debug category in output to fit the biggest one we have
19919           add a bus category and use it
19920           play with the colors
19921           fix up some categories
19922
19923 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19924
19925         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
19926           add push activation of sink ghost pads.
19927           Andye, please verify
19928
19929 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19930
19931         * gst/gstutils.c: (gst_element_link_pads):
19932           fix a bug in the case where neither element has a pad
19933         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19934           add a test for that case
19935
19936 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19937
19938         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
19939           emit have-data before checking for peers.  This allows
19940           for probe handlers to connect elements.  This helps autopluggers.
19941         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
19942         (gst_pad_suite):
19943           add six checks, linked/unlinked with no/true/false probe
19944
19945 2005-10-04  Wim Taymans  <wim@fluendo.com>
19946
19947         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
19948         (gst_fake_sink_event), (gst_fake_sink_preroll),
19949         (gst_fake_sink_render), (gst_fake_sink_change_state):
19950         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
19951         (gst_fake_src_get_property), (gst_fake_src_create),
19952         (gst_fake_src_stop):
19953         * gst/elements/gstidentity.c: (gst_identity_stop):
19954         Protect last_message with lock.
19955
19956 2005-10-04  Edward Hervey  <edward@fluendo.com>
19957
19958         * gst/gstformat.h: 
19959         Added precision in the comments for GST_FORMAT_DEFAULT
19960
19961 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
19962
19963         * tools/gst-launch.c: (main):
19964           Don't try to run erroneous pipelines.
19965
19966 2005-10-04  Julien MOUTTE  <julien@moutte.net>
19967
19968         * gst/gstbus.c: We don't need this header.
19969
19970 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19971
19972         * configure.ac:
19973           back to development
19974
19975 === release 0.9.3 ===
19976
19977 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19978
19979         * README:
19980         * configure.ac:
19981           Releasing 0.9.3, "Unregistered"
19982
19983 2005-10-03  Andy Wingo  <wingo@pobox.com>
19984
19985         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
19986         whereby calling a pad's activatepush() function can start a thread
19987         that starts to push or pull before the pad gets the FLUSHING flag
19988         unset. Hack around it by holding the stream lock until the flag is
19989         set. Need to replace this with a proper solution. Together with
19990         the ghost pad fixes, this fixes mp3 playing/tagreading.
19991
19992         * docs/design/part-gstghostpad.txt: Add a note about activation of
19993         proxy pads outside of ghost pads.
19994
19995         * gst/gstghostpad.c: Implement the ghost pad activation design.
19996
19997 2005-10-02  Andy Wingo  <wingo@pobox.com>
19998
19999         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
20000         It is volatile, after all.
20001
20002         * docs/design/part-gstghostpad.txt: Flesh out activation with
20003         ghost pads.
20004
20005         * gst/base/gstbasesrc.c (gst_base_src_init): Use
20006         GST_DEBUG_FUNCPTR.
20007
20008 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
20009
20010         * configure.ac:
20011           Fix (unused) AM_CONDITIONAL tests.
20012
20013 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
20014
20015         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20016
20017         * gst/gstutils.c: (gst_pad_query_convert):
20018           Add assertion that makes sure src_val is >=0, just like
20019           gst_query_new_convert() has. (#315895)
20020
20021 2005-09-30  Edward Hervey  <edward@fluendo.com>
20022
20023         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
20024         Let's not iterate pads we're not interested in, it avoids getting 
20025         sky-high refcounts on sinkpad.
20026
20027 2005-09-30  Wim Taymans  <wim@fluendo.com>
20028
20029         * gst/gstelement.c: (gst_element_set_state),
20030         (gst_element_change_state):
20031         Small tweak, element in ASYNC remains ASYNC.
20032
20033 2005-09-30  Wim Taymans  <wim@fluendo.com>
20034
20035         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20036         Only error is an error.
20037
20038         * gst/gstbin.c: (gst_bin_change_state):
20039         Better debugging.
20040
20041         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
20042         Also call pad_block in pad alloc.
20043
20044         * gst/gstutils.c: (gst_flow_get_name):
20045         Better debugging.
20046
20047 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
20048
20049         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20050         (gst_base_src_get_range):
20051           Fix documentation typos. Add some more debug info.
20052
20053 2005-09-29  David Schleef  <ds@schleef.org>
20054
20055         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
20056           more end-user friendly.
20057         * tools/gst-inspect.c: (main): Check if command-line argument is
20058           a file and attempt to load that file as a plugin.
20059
20060 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20061
20062         * check/gst/gstbin.c:
20063         * check/states/sinks.c:
20064           fix tests for the new warning
20065         * check/gst/gstpipeline.c:
20066           add a test for pipeline and bus interaction
20067         * gst/gstelement.c:
20068           elements should be NULL if they get disposed; add a warning if not
20069
20070 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20071
20072         * gst/gstobject.c:
20073           for 2.6 refcounting, make debug log more correct by printing
20074           the actual refcounts at the time of swap (Wim)
20075
20076 2005-09-29  Andy Wingo  <wingo@pobox.com>
20077
20078         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
20079         removes signal watches previously added via
20080         gst_bus_add_signal_watch.
20081         (gst_bus_add_signal_watch): Don't return the source id, just store
20082         it on the bus if there wasn't an id already.
20083
20084         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
20085         add_signal_watch and remove_signal_watch.
20086
20087 2005-09-29  Edward Hervey  <edward@fluendo.com>
20088
20089         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
20090         Better if we actually iterate the list :)
20091
20092 2005-09-29  Wim Taymans  <wim@fluendo.com>
20093
20094         * check/gst/gstbin.c: (GST_START_TEST):
20095         Change for new bus API.
20096
20097         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20098         (send_messages), (GST_START_TEST), (gstbus_suite):
20099         Change for new bus signal API.
20100
20101         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
20102         (gst_bus_source_prepare), (gst_bus_source_check),
20103         (gst_bus_create_watch), (gst_bus_add_watch_full),
20104         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
20105         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
20106         * gst/gstbus.h:
20107         Remove support for multiple GSources operating on different
20108         message types as it is too complex and unneeded when using
20109         signals.
20110         Added support for receiving signals from the bus.
20111
20112 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20113
20114         * docs/libs/tmpl/gstdataprotocol.sgml:
20115         * docs/manual/advanced-dataaccess.xml:
20116         * gst/elements/gstcapsfilter.c:
20117         * gst/gstutils.c:
20118           rename filter-caps to caps property
20119
20120 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
20121
20122         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20123           More robust fraction string parsing.
20124
20125         * docs/pwg/appendix-porting.xml:
20126           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
20127
20128 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
20129
20130         * gst/gstcaps.c: (gst_caps_do_simplify):
20131           Thou shalt not free a structure and then continue using it
20132           in the next loop iteration.
20133
20134         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
20135         (gst_caps_suite):
20136           Add test case for caps simplification.
20137
20138 2005-09-29  Wim Taymans  <wim@fluendo.com>
20139
20140         * check/gst/gstbin.c: (GST_START_TEST):
20141         Oops.
20142
20143 2005-09-29  Wim Taymans  <wim@fluendo.com>
20144
20145         * check/gst/gstbin.c: (GST_START_TEST):
20146         Add bus to bin.
20147
20148         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
20149         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20150         (find_element), (gst_bin_sort_iterator_next),
20151         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20152         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20153         (gst_bin_change_state), (gst_bin_dispose):
20154         A bin does not have a bus, it gets the bus from the parent.
20155
20156         * gst/gstelement.c: (gst_element_requires_clock),
20157         (gst_element_provides_clock), (gst_element_is_indexable),
20158         (gst_element_is_locked_state), (gst_element_change_state),
20159         (gst_element_set_bus_func):
20160         Small cleanups.
20161
20162         * gst/gstpipeline.c: (gst_pipeline_class_init),
20163         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
20164         The pipeline provides a bus.
20165
20166 2005-09-28  Johan Dahlin  <johan@gnome.org>
20167
20168         * gst/gstmessage.c (gst_message_parse_state_changed): Use
20169         gst_structure_get_enum instead of gst_structure_get_int
20170
20171         * gst/gststructure.c (gst_structure_get_enum): Impl.
20172
20173         * gst/gststructure.h (gst_structure_get_enum): Add
20174
20175         * docs/gst/gstreamer-sections.txt: Ditto
20176
20177         * gst/gstmessage.c (gst_message_new_state_changed): Use
20178         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
20179         which does introspection.
20180         Reviewed by Christian Schaller
20181
20182 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
20183
20184         * gst/gstinfo.c: (gst_debug_log_default):
20185           don't do dummy g_strdup()s
20186         * libs/gst/controller/gstcontroller.c:
20187         (on_object_controlled_property_changed),
20188         (gst_controlled_property_new), (gst_controller_new_valist),
20189         (gst_controller_new_list),
20190         (gst_controller_remove_properties_valist), (gst_controller_set),
20191         (gst_controller_get), (gst_controller_sync_values),
20192         (gst_controller_get_value_array), (_gst_controller_class_init),
20193         (gst_controller_get_type):
20194         * libs/gst/controller/gstcontroller.h:
20195         * libs/gst/controller/gstinterpolation.c:
20196         (gst_controlled_property_find_timed_value_node):
20197           convert // to /**/ comments
20198
20199 2005-09-28  Wim Taymans  <wim@fluendo.com>
20200
20201         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
20202         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
20203         (gst_bus_sync_signal_handler):
20204         * gst/gstbus.h:
20205         Added async-message and sync-message signals to the bus.
20206         Added helper BusFunc to emit signals for all posted messages.
20207
20208         * gst/gstmessage.c: (gst_message_type_get_name),
20209         (gst_message_type_to_quark), (gst_message_get_type):
20210         * gst/gstmessage.h:
20211         Register quarks for message names.
20212
20213 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
20214
20215         * docs/libs/gstreamer-libs-sections.txt:
20216         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
20217         (gst_controller_new_list):
20218         * libs/gst/controller/gstcontroller.h:
20219           added another constructor for language bindings
20220
20221 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20222
20223         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20224           add another check
20225         * gst/gstbus.c:
20226           add some doc
20227         * gst/gstinfo.c: (_gst_debug_init):
20228           slightly more readable color for refcount debugging
20229
20230 2005-09-28  Wim Taymans  <wim@fluendo.com>
20231
20232         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20233         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20234         (find_element), (gst_bin_sort_iterator_next),
20235         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20236         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20237         (gst_bin_change_state), (gst_bin_dispose):
20238         Small doc fixes. get_clock -> provide_clock.
20239
20240         * gst/gstelement.c: (gst_element_class_init),
20241         (gst_element_provides_clock), (gst_element_provide_clock),
20242         (gst_element_get_clock), (gst_element_commit_state),
20243         (gst_element_lost_state):
20244         * gst/gstelement.h:
20245         Make get/set_clock() symetric. Add provide_clock vmethod since
20246         that is actually what this function does.
20247
20248         * gst/gstpipeline.c: (gst_pipeline_class_init),
20249         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
20250         (gst_pipeline_get_clock):
20251         get_clock -> provide_clock.
20252
20253 2005-09-28  Andy Wingo  <wingo@pobox.com>
20254
20255         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
20256         lieu of real docs...
20257
20258         * gst/elements/gstfdsrc.c: Cleaned up a bit.
20259
20260 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
20261
20262         * gst/elements/gstcapsfilter.c:
20263         * gst/elements/gstfakesink.c:
20264         * gst/elements/gstfakesrc.c:
20265         * gst/elements/gstfdsink.c:
20266         * gst/elements/gstfdsrc.c:
20267         * gst/elements/gstfilesink.c:
20268         * gst/elements/gstfilesrc.c:
20269         * gst/elements/gstidentity.c:
20270         * gst/elements/gsttee.c:
20271         * gst/elements/gsttypefindelement.c:
20272           Make element details static.
20273
20274 2005-09-28  Wim Taymans  <wim@fluendo.com>
20275
20276         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20277         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20278         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20279         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20280         (gst_bin_change_state), (gst_bin_dispose):
20281         Some documentation updates.
20282         Clean up dispose handlers.
20283
20284         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
20285         * gst/gstpad.c: (gst_pad_dispose):
20286         Clean up dispose handler.
20287
20288         * gst/gstpipeline.c: (gst_pipeline_change_state):
20289         Removed spurious UNLOCK.
20290
20291 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
20292
20293         * docs/gst/gstreamer-sections.txt:
20294         * gst/base/gstbasesrc.h:
20295         * gst/gstelement.h:
20296         * gst/gstevent.h:
20297         * gst/gstobject.h:
20298         * gst/gstpad.h:
20299         * gst/gstpipeline.c:
20300         * gst/gstpipeline.h:
20301         * gst/gstutils.h:
20302         * gst/gstxml.h:
20303           added two new functions to the docs
20304                 documents all undocumented GstXXXFlags
20305                 completed some incomplete docs 
20306
20307 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20308
20309         * gst/gstbin.c: (gst_bin_dispose):
20310         * gst/gstelement.c: (gst_element_dispose):
20311           remove now useless and leaky resurrection code in dispose
20312         * gst/base/gstbasesrc.c: (gst_base_src_init):
20313         * gst/gstelementfactory.c: (gst_element_factory_create):
20314         * gst/gstobject.c: (gst_object_set_parent):
20315           add some debugging
20316
20317 2005-09-27  Wim Taymans  <wim@fluendo.com>
20318
20319         * docs/design/part-TODO.txt:
20320         Update TODO.
20321
20322         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20323         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20324         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20325         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20326         (gst_bin_change_state):
20327         * gst/gstelement.h:
20328         Remove element variable, we keep element info in the iterator now.
20329
20330 2005-09-27  Andy Wingo  <wingo@pobox.com>
20331
20332         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
20333         values.
20334
20335 2005-09-27  Wim Taymans  <wim@fluendo.com>
20336
20337         * check/gst/gstbin.c: (GST_START_TEST):
20338         Enable check that works now.
20339
20340         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20341         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20342         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20343         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20344         (gst_bin_change_state):
20345         * gst/gstbin.h:
20346         Redid the state change algorithm using a topological sort algo.
20347         Handles all cases correctly.
20348         Exposed iterator for state change order.
20349
20350         * gst/gstelement.h:
20351         Temp storage for state changes. Need to get rid of this soon.
20352
20353 2005-09-27  Wim Taymans  <wim@fluendo.com>
20354
20355         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
20356         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
20357         (link_fold_func), (gst_pad_proxy_setcaps):
20358         Leak fixes, the fold functions need to unref the passed object and
20359         _get_parent_*() returns ref to parent.
20360
20361 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20362
20363         * check/gst/gstbuffer.c: (test_make_writable):
20364           Plug leak in test case and fix 'make check-valgrind'
20365
20366 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20367
20368         * gst/gstbuffer.c: (gst_subbuffer_init):
20369           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
20370           works correctly in all circumstances (we could have just copied
20371           the parent buffer's readonly flag, but conceptually it seems
20372           cleaner to mark all subbuffers as read-only). (based on patch
20373           by Alessandro Decina, #314710).
20374         
20375         * check/gst/gstbuffer.c: (create_read_only_buffer),
20376         (test_make_writable), (test_subbuffer_make_writable),
20377         (gst_test_suite):
20378           Add some tests for gst_buffer_make_writable().
20379
20380 2005-09-27  Wim Taymans  <wim@fluendo.com>
20381
20382         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
20383         use gst_object_has_ancestor().
20384
20385         * gst/gstobject.c: (gst_object_has_ancestor):
20386         * gst/gstobject.h:
20387         gst_object_has_ancestor() copied from gstbin.c as it is a
20388         useful function.
20389
20390         * tests/instantiate/create.c: (create_all_elements):
20391         * tests/lat.c: (handoff_src), (handoff_sink):
20392         * tests/sched/runxml.c: (main):
20393         * tests/seeking/seeking1.c: (main):
20394         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20395         (main):
20396         Fix compilation of some tests.
20397
20398 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20399
20400         * gst/gsterror.h:
20401           Remove comment. GST_TYPE_G_ERROR is here to stay,
20402           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
20403           (#316961, #300610).
20404
20405 2005-09-26  Wim Taymans  <wim@fluendo.com>
20406
20407         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20408         Added check that shows error in state change order.
20409
20410 2005-09-26  Wim Taymans  <wim@fluendo.com>
20411
20412         * gst/gstbin.c: (gst_bin_change_state):
20413         Make state change function use 3 queues again, we were
20414         adding elements in the wrong order.
20415
20416         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
20417         Some debug info,
20418
20419         * gst/gstpad.c: (gst_pad_dispose):
20420         Added some debug info first.
20421
20422 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
20423
20424         * docs/design/draft-push-pull.txt:
20425         * docs/design/part-events.txt:
20426         * docs/design/part-overview.txt:
20427         * docs/design/part-scheduling.txt:
20428           Replace all _pull_region() with _pull_range()
20429           
20430 2005-09-26  Andy Wingo  <wingo@pobox.com>
20431
20432         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
20433
20434         * check/gst-libs/controller.c: Update for controller api change.
20435
20436         * configure.ac: 
20437         * tests/Makefile.am:
20438         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
20439         over by GLib bug 118439.
20440         
20441         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
20442         routines to a function.
20443
20444         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
20445
20446         * libs/gst/controller/gsthelper.c:
20447         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
20448         (gst_object_sync_values): Renamed from sink_values. Ugh.
20449
20450         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
20451
20452         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
20453         Renamed from controller_key, as it is exported.
20454
20455         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
20456
20457 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20458
20459         * gst/Makefile.am:
20460         * gst/gst.h:
20461         * gst/gstpad.h:
20462         * gst/gstpadtemplate.h:
20463         * gst/gstquery.c:
20464         * gst/gstquery.h:
20465         * gst/gstqueryutils.c:
20466         * gst/gstqueryutils.h:
20467           remove queryutils headers after moving the two used functions
20468           to gstquery.  also fixes build problem for gstsiddec
20469
20470 2005-09-26  Michael Smith <msmith@fluendo.com>
20471
20472         * tools/gst-launch.1.in:
20473         Correct documentation in manpage of debug syntax
20474
20475 2005-09-26  Wim Taymans  <wim@fluendo.com>
20476
20477         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
20478         (gst_base_src_is_seekable), (gst_base_src_change_state):
20479         Some more debugging info.
20480
20481 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20482
20483         * docs/gst/gstreamer-sections.txt:
20484         * gst/base/gstbasetransform.h:
20485         * gst/gstindex.h:
20486           added more docs
20487
20488 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20489
20490         * docs/gst/.cvsignore:
20491         * docs/gst/tmpl/.cvsignore:
20492         * docs/gst/tmpl/gstpipeline.sgml:
20493         * docs/gst/tmpl/gstplugin.sgml:
20494         * gst/gstpipeline.c:
20495         * gst/gstplugin.c:
20496         * gst/gstplugin.h:
20497           inlined the last two docs files
20498           removed the tmpl directory from cvs (no more conflicts here!)
20499
20500 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20501
20502         * docs/gst/gstreamer-sections.txt:
20503         * docs/gst/tmpl/.cvsignore:
20504         * docs/gst/tmpl/gstpad.sgml:
20505         * docs/gst/tmpl/gstpadtemplate.sgml:
20506         * gst/Makefile.am:
20507         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
20508         (gst_pad_finalize), (gst_pad_set_pad_template):
20509         * gst/gstpad.h:
20510         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
20511         (gst_pad_template_class_init), (gst_pad_template_init),
20512         (gst_pad_template_dispose), (name_is_valid),
20513         (gst_static_pad_template_get), (gst_pad_template_new),
20514         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
20515         (gst_pad_template_pad_created):
20516         * gst/gstpadtemplate.h:
20517           inlined two more docs
20518           factored gstpadtemplate out of gstpad
20519
20520 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
20521
20522         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20523         (test_children_state_change_order_semi_sink):
20524           Fix test case: we can't rely on a fixed state change order when
20525           going from READY => PAUSED because the sink might commit its 
20526           new state first when the first buffer created by the source 
20527           reaches the sink before the source has finished its change state.
20528           (Test case still fails at times, see #316856, comment 5 onwards)
20529
20530 2005-09-24  Wim Taymans  <wim@fluendo.com>
20531
20532         * docs/design/part-events.txt:
20533         * docs/design/part-gstbus.txt:
20534         * docs/design/part-gstpipeline.txt:
20535         * docs/design/part-messages.txt:
20536         * docs/design/part-overview.txt:
20537         * docs/design/part-segments.txt:
20538         * gst/gstbin.c:
20539         * gst/gstbuffer.c:
20540         * gst/gstclock.c:
20541         * gst/gstelement.c:
20542         * gst/gstevent.c:
20543         * gst/gstfilter.c:
20544         * gst/gstiterator.c:
20545         Various documentation updates.
20546
20547 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20548
20549         * gst/gstclock.h:
20550           Well, that's embarassing.  Luckily we weren't using
20551           GST_CLOCK_DIFF anywhere.
20552
20553 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20554
20555         * common/gtk-doc.mak:
20556           don't fail on building XML, FC4 slave shows a bunch of doc
20557           missing bits that I don't get
20558         * gst/gstpad.c:
20559         * gst/gstpipeline.c:
20560         * gst/gststructure.c:
20561           some doc updates
20562
20563 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
20564
20565         * docs/design/part-gstbin.txt:
20566         * docs/design/part-gstbus.txt:
20567         * gst/gstbus.c:
20568           Add blurb about how the bus goes into flushing mode and
20569           drops all messages when its bin goes from READY into NULL 
20570           state.
20571
20572 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20573
20574         * docs/gst/gstreamer-sections.txt:
20575         * gst/gststructure.c: (gst_structure_get_clock_time):
20576         * gst/gststructure.h:
20577           add a method to get a GstClockTime out of a structure
20578
20579 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
20580
20581         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20582         (test_children_state_change_order_semi_sink), (gst_bin_suite):
20583           Added test to check state change order in bins (can still be made
20584           to fail here under heavy disk load; bails out with 'Push on pad
20585           fakesink:sink0, but it was not activated in push mode').
20586
20587         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
20588           Fix state change order when there is only a semi sink (#316856)
20589
20590         * gst/gstbus.c: (gst_bus_class_init):
20591           Use _class_peek_parent(), not _class_ref(); fix docs to say
20592           'default main context' instead of 'mainloop' where that is
20593           what's meant.
20594
20595         * gst/gstelement.c: (gst_element_commit_state),
20596         (gst_element_set_state):
20597           Fix typos in debug messages
20598
20599 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20600
20601         * docs/README:
20602         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
20603         * gst/gstpluginfeature.c:
20604         * gst/gstutils.c:
20605           various doc updates
20606         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20607           change an assert into an error until it gets fixed properly
20608
20609 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
20610
20611         * docs/gst/gstreamer-sections.txt:
20612         * docs/gst/tmpl/.cvsignore:
20613         * docs/gst/tmpl/gstelement.sgml:
20614         * docs/gst/tmpl/gstinfo.sgml:
20615         * docs/gst/tmpl/gstobject.sgml:
20616         * gst/gstelement.c:
20617         * gst/gstelement.h:
20618         * gst/gstinfo.c:
20619         * gst/gstinfo.h:
20620         * gst/gstobject.c: (gst_object_class_init):
20621         * gst/gstobject.h:
20622           inlined 3 more biiiig doc files and added some missing docs on the fly
20623
20624 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20625
20626         * check/gst/.cvsignore:
20627         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
20628         * gst/gstregistryxml.c: (load_plugin),
20629         (gst_registry_xml_save_plugin):
20630           put back source in registry.  add checks for find_plugin.
20631         * testsuite/states/bin.c: (assert_state), (empty_bin),
20632         (test_adding_one_element), (main):
20633         * testsuite/states/locked.c: (main):
20634           some compile/run fixes
20635
20636 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20637
20638         * check/gst/gstvalue.c: (GST_START_TEST):
20639           fix leaks in the test itself
20640
20641 2005-09-22  Wim Taymans  <wim@fluendo.com>
20642
20643         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20644         (gst_base_sink_send_event), (gst_base_sink_peer_query),
20645         (gst_base_sink_query):
20646         Prepare for more accurate position reporting and query
20647         handling.
20648
20649         * gst/gstelement.c: (gst_element_send_event),
20650         (gst_element_set_state):
20651         Add some comment.
20652
20653 2005-09-22  Wim Taymans  <wim@fluendo.com>
20654
20655         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
20656         (gst_query_parse_segment):
20657         * gst/gstquery.h:
20658         More documentation.
20659         Add segment query for future use.
20660
20661 2005-09-22  Wim Taymans  <wim@fluendo.com>
20662
20663         * gst/gstbin.c: (gst_bin_add_func):
20664         Some more debug info.
20665
20666         * gst/gstelement.c: (gst_element_send_event):
20667         Simplify send_event
20668
20669         * gst/gstelement.h:
20670         Don't know how flags got broken.
20671
20672         * gst/gstquery.h:
20673         Added new query.
20674
20675 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
20676
20677         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
20678           Add simplistic test suite for GST_TYPE_DATE serialisation and
20679           deserialisation.
20680
20681 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
20682
20683         * docs/gst/gstreamer-sections.txt:
20684         * gst/gststructure.c: (gst_structure_set_valist),
20685         (gst_structure_get_date):
20686         * gst/gststructure.h:
20687         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
20688         (gst_date_copy), (gst_value_compare_date),
20689         (gst_value_serialize_date), (gst_value_deserialize_date),
20690         (gst_value_transform_date_string),
20691         (gst_value_transform_string_date), (_gst_value_initialize):
20692         * gst/gstvalue.h:
20693           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
20694           bunch of utility functions along with a hack that checks that
20695           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
20696           is required. Part of the grand scheme in #170777.
20697
20698 2005-09-22  Andy Wingo  <wingo@pobox.com>
20699
20700         * gst/gstconfig.h.in: Psych out gtk-doc.
20701
20702         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
20703
20704         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
20705
20706         * tools/gst-inspect.c (print_element_list): Plug some
20707         inconsequential leaks.
20708
20709         * gst/gstregistry.c (gst_registry_get_default): Doc.
20710
20711         * check/gst/gstplugin.c: 
20712         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
20713         * gst/gstelementfactory.c (gst_element_factory_create): 
20714         * gst/gstindexfactory.c (gst_index_factory_create): Update for
20715         refcount changes.
20716
20717         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
20718         (gst_plugin_feature_load): Doc, don't eat refs.
20719
20720         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
20721         (gst_plugin_list_free): Doc.
20722         (gst_plugin_load_file): Doc updates.
20723
20724         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
20725         accessors returning refcounted objects, return a ref.
20726
20727         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
20728         accessor for caps. IDEMPOTENCE. Oh yes.
20729
20730 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
20731
20732         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20733
20734         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20735         (_gst_debug_register_funcptr):
20736           Add mutex to serialise access to the hash table with
20737           the function pointer => function name string mapping;
20738           make that hash table static scope (#316809).
20739
20740         * gst/registries/.cvsignore:
20741           Remove left-over file.
20742
20743 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
20744
20745         * docs/pwg/appendix-porting.xml:
20746           And something about newsegment events and caps-on-buffers to
20747           the porting guide (feel free to improve).
20748
20749 2005-09-21  Andy Wingo  <wingo@pobox.com>
20750
20751         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
20752         data and event probes on the same pad.
20753         (test_buffer_probe_once): Test that removing probes from within
20754         the probe functions works.
20755
20756 2005-09-21  Andy Wingo  <wingo@pobox.com>
20757
20758         * check/gst/gstutils.c: New file.
20759         (test_buffer_probe_n_times): A simple buffer probe test. More to
20760         come, foolios.
20761
20762         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
20763         have-data::buffer, not have-data.
20764         (gst_pad_add_event_probe): Likewise for have-data::event.
20765         (gst_pad_add_data_probe): More docs. The part about 'resolving the
20766         peer' isn't quite right yet though.
20767         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
20768         (gst_pad_remove_data_probe): Change to take the guint handler_id
20769         as their arg, not the function+data, which is more glib-like.
20770
20771         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
20772         the signal emission to indicate if the data is a buffer or an
20773         event.
20774         (gst_pad_get_type): Initialize buffer and event quarks.
20775         (gst_pad_class_init): have-data is now a detailed signal, yes it
20776         is.
20777
20778 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
20779
20780         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20781         * gst/gstutils.c: (gst_util_set_value_from_string),
20782         (gst_util_set_object_arg):
20783           Don't put functional code in g_return_if_fail() or
20784           g_return_val_if_fail() statements, otherwise things will 
20785           break when G_DISABLE_CHECKS is defined during compilation.
20786
20787 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20788
20789         * docs/gst/tmpl/.cvsignore:
20790         * docs/gst/tmpl/gstvalue.sgml:
20791         * gst/gstvalue.c:
20792         * gst/gstvalue.h:
20793           inlied another one and added  some obvious docs
20794
20795 2005-09-21  Wim Taymans  <wim@fluendo.com>
20796
20797         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20798         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
20799         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
20800         (gst_fdsrc_get_property), (gst_fdsrc_create):
20801         * gst/elements/gstfdsrc.h:
20802         Properly implement fdsrc. Removed signal and timeout,
20803         better implemented somewhere else.
20804
20805 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20806
20807         * docs/gst/tmpl/.cvsignore:
20808         * docs/gst/tmpl/gstimplementsinterface.sgml:
20809         * gst/gstinterface.c:
20810           inlined more docs
20811
20812 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20813
20814         * docs/gst/gstreamer-sections.txt:
20815         * docs/gst/tmpl/.cvsignore:
20816         * docs/gst/tmpl/gstenumtypes.sgml:
20817           remove obsolete doc file
20818
20819 2005-09-21  David Schleef  <ds@schleef.org>
20820
20821         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
20822         little beer, fix a little leak.
20823
20824 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20825
20826         * docs/gst/gstreamer-docs.sgml:
20827         * docs/gst/gstreamer-sections.txt:
20828         * docs/gst/tmpl/.cvsignore:
20829         * gst/Makefile.am:
20830         * gst/gst.h:
20831         * gst/gstbin.c:
20832         * gst/gstelement.h:
20833         * gst/gstindex.c: (gst_index_class_init):
20834         * gst/gstindex.h:
20835         * gst/gstindexfactory.c: (gst_index_factory_get_type),
20836         (gst_index_factory_class_init), (gst_index_factory_init),
20837         (gst_index_factory_finalize), (gst_index_factory_new),
20838         (gst_index_factory_destroy), (gst_index_factory_find),
20839         (gst_index_factory_create), (gst_index_factory_make):
20840         * gst/gstindexfactory.h:
20841         * gst/gstpluginfeature.c:
20842         * gst/gstpluginfeature.h:
20843         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20844           more docs inlined, splitted gstindex.{c,h}
20845
20846 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20847
20848         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20849           fix a leak
20850
20851 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
20852
20853         * gst/elements/gstfilesink.c: (gst_file_sink_init):
20854           Set sync to FALSE by default.
20855
20856 2005-09-20  Wim Taymans  <wim@fluendo.com>
20857
20858         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20859         (gst_base_sink_init):
20860         Make sync property settable from subclass.
20861
20862         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20863         (gst_fake_sink_change_state):
20864         Set sync to FALSE by default.
20865
20866 2005-09-20  Wim Taymans  <wim@fluendo.com>
20867
20868         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
20869         * tools/gst-launch.c: (main):
20870         The timeout handler should have lower priority than the source
20871         so we don't timeout before popping a message with 0 timeout.
20872         Dump error messages after failed state change.
20873
20874 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
20875
20876         * tools/gst-inspect.c: (print_element_properties_info):
20877           Fix two typos.
20878
20879 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20880
20881         * check/gst/gstevent.c:
20882         * gst/elements/gstfakesink.c:
20883         * gst/elements/gstfakesink.h:
20884           remove the sync property from fakesink.
20885           has the side effect of setting sync TRUE
20886           for fakesink, which is a change.  Anyone who knows how
20887           to fix this nicely in a GObject-y way, feel free.
20888
20889 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20890
20891         * docs/gst/gstreamer-docs.sgml:
20892           remove probe refsection
20893
20894 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20895
20896         * check/Makefile.am:
20897           disable valgrinding the controller test again
20898         * docs/gst/gstreamer-sections.txt:
20899           update for api-changes
20900
20901 2005-09-20  Wim Taymans  <wim@fluendo.com>
20902
20903         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20904         (gst_base_sink_set_property), (gst_base_sink_get_property),
20905         (gst_base_sink_do_sync):
20906         * gst/base/gstbasesink.h:
20907         Added sync property to basesink to disable clock sync.
20908
20909 2005-09-20  Andy Wingo  <wingo@pobox.com>
20910
20911         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
20912         eating the caller's refcount.
20913
20914         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
20915         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
20916         refcount.
20917
20918         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
20919         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
20920         of GLib 2.8 public, so we can know which refcount to check in
20921         tests.
20922
20923         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
20924         (gst_object_init): Only set the gst refcount if we're going ahead
20925         with the refcount hack.
20926
20927 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20928
20929         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20930         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20931           more leaks plumbed, added more debug-logging
20932         * gst/gstmacros.h:
20933           whitespace fix
20934
20935 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20936
20937         * gst/gstmessage.c:
20938           remove include of gstmemchunk.h
20939
20940 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20941
20942         * gst/gstclock.c: (_gst_clock_id_free):
20943           Commit from the Political Party For More Atomic CVS Commits,
20944           so that people don't waste too much of their day fishing
20945           out obvious leaks out of massive commits.
20946           Oh, and fix a pretty damn obvious leak in the memchunk
20947           removal code.
20948
20949 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20950
20951         * check/Makefile.am:
20952         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20953           plug mem-leak, re-add to valgrindable tests
20954
20955 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20956
20957         * gst/gstplugin.h:
20958           unbreak the build for those who have chronic arthritis
20959           and typing "make check" is just too taxing on the hands
20960
20961 2005-09-20  Andy Wingo  <wingo@pobox.com>
20962
20963         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
20964         really want it out, you should fix plugins at the same time.
20965
20966 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
20967
20968         * configure.ac:
20969         * docs/gst/gstreamer-sections.txt:
20970         * gst/gstobject.c:
20971           added missing symbols to api docs
20972           disable ref-count hack if we have glib >= 2.8
20973
20974 2005-09-19  David Schleef  <ds@schleef.org>
20975
20976         * docs/gst/Makefile.am: Ignore a few more internal headers
20977         * docs/gst/gstreamer-docs.sgml: Remove old sections
20978         * docs/gst/gstreamer-sections.txt: Remove old sections
20979         * docs/gst/tmpl/gstobject.sgml: update
20980         * docs/gst/tmpl/gstplugin.sgml: update
20981         * docs/gst/tmpl/gstpluginfeature.sgml: update
20982         * docs/random/ds/0.9-suggested-changes: update.
20983         * gst/Makefile.am: remove memchunk and trashstack, since they're
20984           not used.
20985         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
20986         * gst/gst.h: don't include some headers
20987         * gst/gstchildproxy.c: add gstmarshal.h
20988         * gst/gstclock.c: Don't use memchunks
20989         * gst/gstminiobject.c: Add some docs
20990         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
20991         * gst/gstobject.h: same
20992         * gst/gstplugin.c: include gstmacros.h
20993         * gst/gstplugin.h: don't include gstmacros.h, since it's private
20994         * gst/gstquery.c: don't use memchunks
20995         * gst/gstregistry.c: rename gst_registry_deinit()
20996         * gst/gstregistry.h: same
20997
20998 2005-09-19  David Schleef  <ds@schleef.org>
20999
21000         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
21001         * docs/libs/gstreamer-libs-sections.txt:
21002         * docs/libs/tmpl/gstgetbits.sgml:
21003         * docs/libs/tmpl/gstputbits.sgml:
21004
21005 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
21006
21007         * win32/gstenumtypes.c:
21008         * win32/gstenumtypes.h:
21009           Update.
21010
21011 2005-09-19  Wim Taymans  <wim@fluendo.com>
21012
21013         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
21014         Automatically PAUSE and RESUME a pipeline when a flushing seek
21015         is performed.
21016
21017 2005-09-19  Andy Wingo  <wingo@pobox.com>
21018
21019         * gst/gstregistry.h: Spacing fixen.
21020
21021 2005-09-19  Wim Taymans  <wim@fluendo.com>
21022
21023         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
21024         Handle state change failure more correctly.
21025
21026 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21027
21028         * check/Makefile.am:
21029         * check/pipelines/cleanup.c: (run_pipeline):
21030         * check/pipelines/simple_launch_lines.c: (run_pipeline),
21031         (GST_START_TEST):
21032           enable cleanup again after fixing the leak
21033         * docs/README:
21034           some more info on docs
21035
21036 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21037
21038         * check/Makefile.am:
21039           re-enable tests now that leaks are plugged
21040         * check/gst/gst.c:
21041         * check/gst/gstbin.c:
21042         * check/gst/gstpipeline.c:
21043           add some more tests while fixing leaks
21044         * common/check.mak:
21045           make sure binaries are uptodate when valgrinding/gdbing
21046         * gst/gst.c:
21047         * gst/gstelementfactory.c:
21048           remove a ref too many, and add a FIXME for when we get
21049           round to disposing of classes
21050         * gst/gstplugin.c:
21051           fix the refcounting when loading a plugin from a file and
21052           the code pretends that the pointer is the same even though
21053           of course it can change
21054         * gst/gstpluginfeature.c:
21055           unref plugins marked cached (a bit confusing as a name)
21056           as the docs state should be done
21057           various doc additions to explain refcounting
21058         * gst/gstregistry.c:
21059         * gst/gstregistryxml.c:
21060           debugging
21061
21062 2005-09-19  Wim Taymans  <wim@fluendo.com>
21063
21064         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21065         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21066         (send_messages), (GST_START_TEST), (gstbus_suite):
21067         * check/gst/gstpipeline.c: (GST_START_TEST):
21068         * check/pipelines/cleanup.c: (run_pipeline):
21069         * check/pipelines/simple_launch_lines.c: (run_pipeline),
21070         (GST_START_TEST):
21071         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
21072         (gst_bus_source_check), (gst_bus_source_dispatch),
21073         (gst_bus_create_watch), (gst_bus_add_watch_full),
21074         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
21075         * gst/gstbus.h:
21076         * tools/gst-launch.c: (event_loop):
21077         * tools/gst-md5sum.c: (event_loop):
21078         GstBusHandler -> GstBusFunc, return value has the same meaning as
21079         any other GSource (FALSE == remove source).
21080         _add_watch() and _add_watch_full() now take a MessageType mask to
21081         only handle specific types of messages.
21082         _poll() returns the GstMessage instead of the message type to avoid
21083         race conditions.
21084         _have_pending() takes a MessageType mask now too.
21085         Added testsuite for multiple bus watches.
21086         Fix testsuites and applications for new bus API.
21087
21088 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21089
21090         * check/Makefile.am:
21091           mark a bunch of the tests as to fix until we fix them
21092
21093 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21094
21095         * common/check.mak:
21096           use GST_PLUGIN settings for valgrind tests as well, so we're
21097           valgrinding the correct thing
21098         * gst/gst.c: (init_post):
21099           plug another leak
21100
21101 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21102
21103         * gst/gst.c: (init_post), (gst_deinit):
21104         * gst/gstelementfactory.c: (gst_element_factory_class_init),
21105         (gst_element_factory_finalize), (gst_element_factory_cleanup):
21106         * gst/gstindex.c: (gst_index_factory_class_init),
21107         (gst_index_factory_finalize):
21108         * gst/gstobject.c: (gst_object_dispose):
21109         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
21110         (gst_plugin_load_file), (gst_plugin_desc_free):
21111         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
21112         (gst_plugin_feature_finalize):
21113         * gst/gstregistry.c: (gst_registry_class_init),
21114         (gst_registry_init), (gst_registry_finalize),
21115         (gst_registry_get_default), (gst_registry_deinit):
21116         * gst/gstregistry.h:
21117         * gst/gstregistryxml.c: (load_feature), (load_plugin):
21118           various cleanups and memleak plugging.  make valgrind is happy now.
21119
21120 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21121
21122         * common/check.mak:
21123           add a check-valgrind target
21124
21125 2005-09-18  David Schleef  <ds@schleef.org>
21126
21127         * tools/gst-inspect.c: Revert the GOption code.
21128
21129 2005-09-17  David Schleef  <ds@schleef.org>
21130
21131         * check/Makefile.am: Fix environment variables.
21132         * check/gst/gstplugin.c: Fix for API changes.
21133         * tools/gst-inspect.c: Fix for API changes.
21134         * tools/gst-xmlinspect.c: Fix for API changes.
21135         * gst/gstelementfactory.c:
21136         * gst/gstplugin.c:
21137         * gst/gstplugin.h:
21138         * gst/gstpluginfeature.c:
21139         * gst/gstpluginfeature.h:
21140         * gst/gstregistry.c:
21141         * gst/gstregistry.h:
21142         * gst/gstregistryxml.c:
21143         * gst/gsttypefind.c:
21144         * gst/gsttypefindfactory.c:
21145         * gst/indexers/gstfileindex.c:
21146         * gst/indexers/gstmemindex.c:
21147         * gst/schedulers/Makefile.am:
21148           Change registry to keep track of both plugins and features,
21149           removing the feature tracking from plugins themselves.
21150
21151 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21152
21153         * check/Makefile.am:
21154         * tools/gst-register.1.in:
21155           remove gst-register
21156
21157 2005-09-15  David Schleef  <ds@schleef.org>
21158
21159         * check/gst/gstplugin.c:
21160         * gst/gstelementfactory.c:
21161         * gst/gstplugin.c:
21162         * gst/gstpluginfeature.c:
21163         * gst/gstregistry.c:
21164           Getting tired of debugging.  Disabled all the unreffing of
21165           plugins and features, which fixes the segfaults, but of
21166           course leaks like crazy.  At least playbin works.
21167
21168 2005-09-15  David Schleef  <ds@schleef.org>
21169
21170         * check/gst/gstplugin.c: (register_check_elements),
21171         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
21172         More testing
21173         * gst/elements/gsttypefindelement.c: Fix refcounting.
21174         * gst/gsttypefind.c:
21175         * gst/gsttypefindfactory.c:
21176         * gst/gsttypefindfactory.h:
21177
21178 2005-09-15  David Schleef  <ds@schleef.org>
21179
21180         * gst/gstindex.c: get refcounting correct.
21181         * gst/gstregistry.c: Handle the case where a feature/plugin is
21182           not found.
21183
21184 2005-09-15  David Schleef  <ds@schleef.org>
21185
21186         * check/Makefile.am:
21187         * check/gst/gstplugin.c: Add test
21188         * gst/gstplugin.c: Fix problems noticed by testsuite
21189         * gst/gstplugin.h:
21190         * gst/gstregistry.c: 
21191         * gst/gstregistry.h:
21192
21193 2005-09-15  David Schleef  <ds@schleef.org>
21194
21195         * gst/gstplugin.c: Implement semi-decent recounting and locking
21196           in plugins and plugin features.
21197         * gst/gstplugin.h:
21198         * gst/gstpluginfeature.c:
21199         * gst/gstpluginfeature.h:
21200         * gst/gstregistry.c:
21201
21202 2005-09-15  Michael Smith <msmith@fluendo.com>
21203
21204         * gst/gstregistry.c: (gst_registry_get_feature_list):
21205           Implement this. Makes oggdemux work; decodebin still broken.
21206
21207 2005-09-14  David Schleef  <ds@schleef.org>
21208
21209         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
21210           #316076)
21211         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
21212         * gst/check/Makefile.am:
21213         * libs/gst/controller/Makefile.am:
21214         * libs/gst/dataprotocol/Makefile.am:
21215
21216 2005-09-14  David Schleef  <ds@schleef.org>
21217
21218         * configure.ac: Remove getbits library.  Nothing uses it, and
21219           it should be in something like liboil if someone did want
21220           to use it.
21221         * libs/gst/Makefile.am:
21222         * libs/gst/getbits/Makefile.am:
21223         * libs/gst/getbits/gbtest.c:
21224         * libs/gst/getbits/getbits.c:
21225         * libs/gst/getbits/getbits.h:
21226         * libs/gst/getbits/gstgetbits_generic.c:
21227         * libs/gst/getbits/gstgetbits_i386.s:
21228         * libs/gst/getbits/gstgetbits_inl.h:
21229
21230 2005-09-14  David Schleef  <ds@schleef.org>
21231
21232         * gst/Makefile.am: Dist glib-compat.h
21233
21234 2005-09-14  David Schleef  <ds@schleef.org>
21235
21236         * configure.ac: Remove gst/registries, since it's no longer used.
21237         * gst/registries/Makefile.am:
21238         * gst/registries/gstlibxmlregistry.c:
21239         * gst/registries/gstlibxmlregistry.h:
21240         * gst/registries/gstxmlregistry.c:
21241         * gst/registries/gstxmlregistry.h:
21242         * gst/registries/registrytest.c:
21243
21244 2005-09-14  David Schleef  <ds@schleef.org>
21245
21246         * gst/glib-compat.h:
21247         * gst/gstregistryxml.c:
21248           Convergence is near.  Seriously.
21249
21250 2005-09-14  David Schleef  <ds@schleef.org>
21251
21252         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21253         * gst/glib-compat.h:
21254           Attempt #4 to appease the buildbots.
21255
21256 2005-09-14  David Schleef  <ds@schleef.org>
21257
21258         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21259           Attempt #3.
21260
21261 2005-09-14  David Schleef  <ds@schleef.org>
21262
21263         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21264         Attempt #2.
21265
21266 2005-09-14  David Schleef  <ds@schleef.org>
21267
21268         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
21269           the new functions.
21270
21271 2005-09-14  David Schleef  <ds@schleef.org>
21272
21273         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21274         * gst/glib-compat.h: Add some functions that are in newer versions
21275           of glib than we care to require.
21276         * gst/gstregistryxml.c: Use them.
21277
21278 2005-09-14  David Schleef  <ds@schleef.org>
21279
21280         * po/POTFILES.in: remove gst-register.c
21281
21282 2005-09-14  David Schleef  <ds@schleef.org>
21283
21284         * docs/gst/gstreamer-docs.sgml:
21285         * docs/gst/gstreamer-sections.txt:
21286         * docs/gst/gstreamer.types:
21287         * docs/gst/tmpl/gstelement.sgml:
21288         * docs/gst/tmpl/gstplugin.sgml:
21289         * docs/gst/tmpl/gstpluginfeature.sgml:
21290           Documentation updates for registry changes.
21291
21292 2005-09-14  David Schleef  <ds@schleef.org>
21293
21294         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
21295           because we don't require glib-2.8.
21296
21297 2005-09-14  David Schleef  <ds@schleef.org>
21298
21299         * gst/gstregistryxml.c: Added.  Essentially moved out of the
21300           registries directory.
21301
21302 2005-09-14  David Schleef  <ds@schleef.org>
21303
21304         * check/Makefile.am:
21305         * check/generic/states.c:
21306         * gst/Makefile.am:
21307         * gst/gst.c:
21308         * gst/gst.h:
21309         * gst/gst_private.h:
21310         * gst/gstelementfactory.c:
21311         * gst/gstindex.c:
21312         * gst/gstinfo.c:
21313         * gst/gstplugin.c:
21314         * gst/gstplugin.h:
21315         * gst/gstpluginfeature.c:
21316         * gst/gstpluginfeature.h:
21317         * gst/gstregistry.c:
21318         * gst/gstregistry.h:
21319         * gst/gstregistrypool.c: remove
21320         * gst/gstregistrypool.h: remove
21321         * gst/gsttypefind.c:
21322         * gst/gsttypefindfactory.c:
21323         * gst/gsturi.c:
21324         * tools/Makefile.am:
21325         * tools/gst-compprep.c:
21326         * tools/gst-inspect.c:
21327         * tools/gst-register.c: remove
21328         * tools/gst-xmlinspect.c:
21329           Registry rewrite.  Changes registry from being a file created
21330           by a tool into a simple cache file created automatically by 
21331           libgstreamer.  Removed gst-register (because it's no longer
21332           needed).  Remove registry pools, because we only have one
21333           registry implementation (XML).  Fix up other subsystems as
21334           necessary.
21335
21336 2005-09-13  Michael Smith <msmith@fluendo.com>
21337
21338         * gst/gstconfig.h.in:
21339           Don't Use windows linking attributes for MinGW. Fixes #316157
21340
21341 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21342
21343         * gst/gstutils.c: (set_state_async_thread_func),
21344         (gst_element_set_state_async):
21345           Apparently people think it's better if this function doesn't
21346           try to set the state to whatever state was asked for on the first
21347           call to this function for any object.  Seriously.
21348
21349 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21350
21351         * check/gst/gstpipeline.c: (GST_START_TEST):
21352         * docs/gst/gstreamer-sections.txt:
21353         * gst/gstutils.c: (set_state_async_thread_func),
21354         (gst_element_set_state_async):
21355         * gst/gstutils.h:
21356           add a "gst_element_set_state_async" method that
21357           sets the state and starts a thread to make sure the state
21358           change completes as best as it can
21359
21360 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21361
21362         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21363           codify design+behaviour in testsuite after discussion
21364
21365 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21366
21367         * docs/gst/tmpl/gstelement.sgml:
21368         * docs/manual/appendix-quotes.xml:
21369           add a quote
21370         * gst/gstelement.c: (gst_element_set_state):
21371           add some debug
21372
21373 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
21374
21375         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21376         (gst_base_transform_prepare_output_buf),
21377         (gst_base_transform_handle_buffer):
21378         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
21379         (gst_capsfilter_prepare_buf):
21380           Remove the requirement for sub-classes to call the parent
21381           implementation of prepare_output_buffer with a wrapper function.
21382           
21383         * gst/gsttaglist.h:
21384         * gst/gsttagsetter.h:
21385           Fix #define wrapper
21386
21387 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
21388
21389         * docs/gst/gstreamer-sections.txt:
21390           more doc cleanups
21391
21392 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21393
21394         * docs/gst/gstreamer-sections.txt:
21395         * docs/gst/tmpl/gstelement.sgml:
21396         * docs/gst/tmpl/gstplugin.sgml:
21397         * gst/gstminiobject.c:
21398         * gst/gstvalue.h:
21399           docs now stop throwing warnings
21400
21401 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21402
21403         * docs/gst/gstreamer-sections.txt:
21404         * docs/gst/gstreamer.types:
21405         * docs/gst/tmpl/gstpad.sgml:
21406         * docs/gst/tmpl/gsttypes.sgml:
21407         * gst/base/gstadapter.h:
21408         * gst/base/gstbasesink.h:
21409         * gst/base/gstbasesrc.h:
21410         * gst/gstbin.h:
21411         * gst/gstbuffer.h:
21412         * gst/gstbus.h:
21413         * gst/gstcaps.h:
21414         * gst/gstclock.h:
21415         * gst/gstelement.h:
21416         * gst/gstevent.h:
21417         * gst/gstmessage.h:
21418         * gst/gstpad.h:
21419         * gst/gststructure.c:
21420         * gst/registries/gstlibxmlregistry.h:
21421           various documentation fixes
21422
21423 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21424
21425         * docs/gst/gstreamer-sections.txt:
21426         * docs/gst/tmpl/gstvalue.sgml:
21427           rearrange gstvalue section
21428         * gst/gstutils.c: (gst_element_state_get_name):
21429           NONE -> VOID
21430         * gst/gstvalue.c: (_gst_value_initialize):
21431         * gst/gstvalue.h:
21432           doc updates
21433
21434 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
21435
21436         * check/gst-libs/controller.c:
21437           Header include fix.
21438         * gst/base/gstbasetransform.c:
21439         (gst_base_transform_default_prepare_buf),
21440         (gst_base_transform_handle_buffer):
21441         * gst/base/gstbasetransform.h:
21442           Some more basetransform changes and fixes to enable sub-classes
21443           that modify buffer metadata only.
21444         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21445         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
21446         (gst_capsfilter_prepare_buf):
21447           If the output pad has fixed allowed caps and input buffers 
21448           don't have any, set the fixed caps on outgoing buffers.
21449
21450 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
21451         * check/elements/identity.c: (GST_START_TEST):
21452           Make the error a little clearer when the test fails because
21453           identity made a copy of the buffer.
21454         * docs/gst/gstreamer-sections.txt:
21455           New symbols in gstbasetransform.h
21456         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21457         (gst_base_transform_init), (gst_base_transform_transform_size),
21458         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21459         (gst_base_transform_default_prepare_buf),
21460         (gst_base_transform_get_unit_size),
21461         (gst_base_transform_buffer_alloc),
21462         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
21463         (gst_base_transform_change_state),
21464         (gst_base_transform_set_passthrough),
21465         (gst_base_transform_set_in_place),
21466         (gst_base_transform_is_in_place):
21467         * gst/base/gstbasetransform.h:
21468           Change BaseTransform to separate in_place operate from same_caps
21469           output. in_place implies that the element can perform the transform
21470           on incoming buffers in-place, even if the caps on the output are
21471           different.
21472           Sub-class elements can now implement special buffer allocation
21473           methods for outgoing buffers if they wish to.
21474           Big documentation addition.
21475         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
21476         * gst/elements/gstelements.c:
21477           Changes for basetransform modifications.
21478         * gst/elements/Makefile.am:
21479         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
21480           Compile fix. Extra debug output.
21481
21482 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21483
21484         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
21485         (gst_pad_suite):
21486           add tests for valid pad naming
21487         * gst/check/gstcheck.c: (gst_check_log_message_func),
21488         (gst_check_log_critical_func):
21489           add ASSERT_WARNING
21490           remove printing of code, it is fragile when the code contains
21491           % and the line number is enough info
21492         * gst/check/gstcheck.h:
21493         * gst/gstpad.c: (gst_pad_template_new):
21494           fix memleaks
21495
21496 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21497
21498         * configure.ac:
21499           say what CHECK flags we use
21500         * docs/libs/gstreamer-libs.types:
21501         * libs/gst/controller/Makefile.am:
21502         * libs/gst/controller/gst-controller.c:
21503         * libs/gst/controller/gst-controller.h:
21504         * libs/gst/controller/gst-helper.c:
21505         * libs/gst/controller/gst-interpolation.c:
21506         * libs/gst/controller/gstcontroller.c:
21507         * libs/gst/controller/gsthelper.c:
21508         * libs/gst/controller/gstinterpolation.c:
21509         * tools/gst-inspect.c: (print_plugin_info):
21510           we don't use dashes in header names
21511
21512 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21513
21514         * check/Makefile.am:
21515         * check/gst/.cvsignore:
21516         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
21517         (gst_pipeline_suite), (main):
21518           adding a test for pipelines and state changes
21519         * gst/gstutils.c: (get_state_func):
21520           add some debugging
21521         * gstreamer.spec.in:
21522           fix up spec file
21523
21524 2005-09-08  Michael Smith <msmith@fluendo.com>
21525
21526         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
21527         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
21528         (gst_file_src_is_seekable), (gst_file_src_get_size),
21529         (gst_file_src_start):
21530         * gst/elements/gstfilesrc.h:
21531           Various fixes for unseekable, unmmapable, and non-normal files, so
21532           that fallback to read() rather than mmap() works.
21533         * gst/gstevent.c: (gst_event_new_newsegment):
21534           Allow newsegment events with segment_start == segment_end, as will
21535           correctly happen if you use filesrc on a zero-size file, for
21536           example.
21537
21538 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
21539
21540         * gst/gstplugin.c: (gst_plugin_load_file):
21541           Call g_module_close when we don't load the module
21542
21543         * gst/registries/gstlibxmlregistry.c:
21544         (gst_xml_registry_get_property):
21545           Port leak fix from 0.8
21546
21547 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21548
21549         * docs/gst/gstreamer-docs.sgml:
21550         * docs/gst/tmpl/.cvsignore:
21551         * docs/gst/tmpl/gsttrace.sgml:
21552         * docs/gst/tmpl/gsttrashstack.sgml:
21553         * gst/Makefile.am:
21554         * gst/gst.h:
21555         * gst/gstelement.h:
21556         * gst/gstevent.h:
21557         * gst/gstmessage.c:
21558         * gst/gstmessage.h:
21559         * gst/gsttag.c:
21560         * gst/gsttag.h:
21561         * gst/gsttaginterface.c:
21562         * gst/gsttaginterface.h:
21563         * gst/gsttaglist.c:
21564         * gst/gsttaglist.h:
21565         * gst/gsttagsetter.c:
21566         * gst/gsttagsetter.h:
21567         * gst/gsttrace.c:
21568         * gst/gsttrace.h:
21569         * gst/gsttrashstack.c:
21570           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
21571           inlined docs for gsttrace, gsttrashstack
21572
21573 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21574
21575         * gst/Makefile.am:
21576         * gst/elements/gstbufferstore.h:
21577         * gst/elements/gsttypefindelement.c:
21578         * gst/elements/gsttypefindelement.h:
21579         * gst/gst.h:
21580         * gst/gsttypefind.c:
21581         * gst/gsttypefind.h:
21582         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
21583         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
21584         (gst_type_find_factory_dispose),
21585         (gst_type_find_factory_unload_thyself),
21586         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
21587         (gst_type_find_factory_get_caps),
21588         (gst_type_find_factory_get_extensions),
21589         (gst_type_find_factory_call_function):
21590         * gst/gsttypefindfactory.h:
21591         * gst/registries/gstlibxmlregistry.c:
21592         * gst/registries/gstxmlregistry.c:
21593           splitted gsttypefind into gsttypefind, gsttypefindfactory
21594
21595 2005-09-07  Andy Wingo  <wingo@pobox.com>
21596
21597         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
21598         condition whereby the pad's task function is entered before the
21599         pad_mode variable was set.
21600
21601 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
21602
21603         * gst/gstpad.c: (gst_pad_alloc_buffer):
21604           Catch misbehaving pad_alloc functions that don't
21605           set up caps and do it for them.
21606
21607 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21608
21609         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21610           test for pipe!=NULL
21611         * docs/gst/tmpl/.cvsignore:
21612         * docs/gst/tmpl/gstmemchunk.sgml:
21613         * docs/gst/tmpl/gstparse.sgml:
21614         * docs/gst/tmpl/gsttaglist.sgml:
21615         * docs/gst/tmpl/gsttagsetter.sgml:
21616         * docs/gst/tmpl/gsttypefind.sgml:
21617         * docs/gst/tmpl/gsttypefindfactory.sgml:
21618         * gst/gstmemchunk.c:
21619         * gst/gstparse.c:
21620         * gst/gsttag.c:
21621         * gst/gsttaginterface.c:
21622         * gst/gsttypefind.c:
21623         * gst/gsttypefind.h:
21624           inlined more docs
21625
21626 === release 0.9.2 ===
21627
21628 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21629
21630         * NEWS:
21631         * RELEASE:
21632         * configure.ac:
21633           releasing 0.9.2, "South"
21634
21635 2005-09-05  Andy Wingo  <wingo@pobox.com>
21636
21637         * gst/registries/gstxmlregistry.h:
21638         * gst/registries/gstxmlregistry.c: Um... resurrect...
21639         
21640         * gst/registries/gstxmlregistry.h:
21641         * gst/registries/gstxmlregistry.c: and update to newer API.
21642         Incidentally they should be a bit faster now that they don't have
21643         to parse the caps.
21644         
21645 2005-09-05  Andy Wingo  <wingo@pobox.com>
21646
21647         * gst/registries/gstxmlregistry.h:
21648         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
21649         replaced by the libxml registry a while back
21650
21651 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21652
21653         * docs/gst/tmpl/gstplugin.sgml:
21654         * gst/elements/gstelements.c:
21655         * gst/gst.c:
21656         * gst/gstplugin.c: (gst_plugin_register_func),
21657         (gst_plugin_desc_copy), (gst_plugin_desc_free),
21658         (gst_plugin_get_source):
21659         * gst/gstplugin.h:
21660         * gst/registries/gstlibxmlregistry.c: (load_plugin),
21661         (gst_xml_registry_save_plugin):
21662         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
21663         (gst_xml_registry_save_plugin):
21664         * tools/gst-inspect.c: (print_plugin_info):
21665           add a "source" plugin description field, to represent the source
21666           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
21667           will set it to PACKAGE, which is automake's idea of the name of
21668           the source project.
21669
21670 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21671
21672         * Makefile.am:
21673         * autogen.sh:
21674         * configure.ac:
21675         * docs/Makefile.am:
21676         * docs/faq/Makefile.am:
21677         * docs/gst/tmpl/gstelement.sgml:
21678         * docs/gst/tmpl/gsttypes.sgml:
21679         * docs/htmlinstall.mak:
21680         * docs/manual/Makefile.am:
21681         * docs/pwg/Makefile.am:
21682           reorganize doc build a little
21683           split out docbook and gtk-doc stuff
21684           have two separate --enable's and enable them through autogen
21685           but disable by default in configure (to be similar to other
21686           projects)
21687         * gstreamer.spec.in:
21688           clean up docs install
21689         * po/af.po:
21690         * po/az.po:
21691         * po/ca.po:
21692         * po/cs.po:
21693         * po/de.po:
21694         * po/en_GB.po:
21695         * po/fr.po:
21696         * po/it.po:
21697         * po/nb.po:
21698         * po/nl.po:
21699         * po/ru.po:
21700         * po/sq.po:
21701         * po/sr.po:
21702         * po/sv.po:
21703         * po/tr.po:
21704         * po/uk.po:
21705         * po/vi.po:
21706           translation updates
21707
21708 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
21709
21710         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
21711           Add comment.
21712           
21713         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21714         (gst_fake_sink_change_state):
21715           Make state change function thread-safe.
21716           
21717         * gst/gstpad.c: (gst_pad_alloc_buffer):
21718           Set offset on generic buffer allocated by fallback.
21719
21720 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
21721
21722         * docs/gst/gstreamer-sections.txt:
21723         * docs/gst/tmpl/gstelement.sgml:
21724         * gst/gstpad.c:
21725         * libs/gst/controller/gst-controller.c:
21726         (gst_controlled_property_set_interpolation_mode),
21727         (gst_controlled_property_new),
21728         (gst_controller_find_controlled_property):
21729          run the wingo-magic script against the docs
21730
21731 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
21732
21733         * docs/gst/gstreamer-docs.sgml:
21734         * docs/gst/gstreamer-sections.txt:
21735         * docs/gst/tmpl/.cvsignore:
21736         * docs/gst/tmpl/gstelementdetails.sgml:
21737         * docs/gst/tmpl/gstelementfactory.sgml:
21738         * gst/gst.c:
21739         * gst/gstbus.c:
21740         * gst/gstelementfactory.c:
21741         * gst/gstelementfactory.h:
21742           merged elementdetails docs into elementfactory docs
21743           inlined both
21744
21745 2005-09-02  Andy Wingo  <wingo@pobox.com>
21746
21747         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
21748         consider this enum an enum and not a flags.
21749
21750 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
21751
21752         * docs/gst/gstreamer-docs.sgml:
21753         * docs/gst/tmpl/.cvsignore:
21754         * docs/gst/tmpl/gstghostpad.sgml:
21755         * docs/gst/tmpl/gstiterator.sgml:
21756         * docs/gst/tmpl/gstmacros.sgml:
21757         * docs/gst/tmpl/gstrealpad.sgml:
21758         * docs/gst/tmpl/gstregistry.sgml:
21759         * docs/gst/tmpl/gstregistrypool.sgml:
21760         * docs/gst/tmpl/gststructure.sgml:
21761         * docs/gst/tmpl/gstsystemclock.sgml:
21762         * docs/gst/tmpl/gsttrace.sgml:
21763         * gst/gstghostpad.c:
21764         * gst/gstmacros.h:
21765         * gst/gstmemchunk.c:
21766         * gst/gstmemchunk.h:
21767         * gst/gstqueue.c:
21768         * gst/gstregistry.c:
21769         * gst/gstregistrypool.c:
21770         * gst/gststructure.c:
21771         * gst/gstsystemclock.c:
21772           more docs inlined
21773
21774 2005-09-02  Andy Wingo  <wingo@pobox.com>
21775
21776         * gst/gstelement.h (GstState): Renamed from GstElementState,
21777         changed to be a normal enum instead of flags.
21778         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
21779         munged to be GST_STATE_CHANGE_*.
21780         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
21781         work with the new state representation.
21782         (GstStateChange): New enumeration of possible state transitions.
21783         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
21784         (GstElementClass::change_state): Pass the GstStateChange along as
21785         an argument. Helps language bindings, so they don't have to use
21786         tricky lock-needing macros like GST_STATE_CHANGE ().
21787
21788         * scripts/update-states (file): New script. Run it on a file to
21789         update it for state naming and API changes. Updates files in
21790         place.
21791
21792         * All files updated for the new API.
21793
21794 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21795
21796         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
21797         * gst/gstutils.c: (gst_util_set_value_from_string),
21798         (gst_util_set_object_arg):
21799           fix a bunch of unchecked return values
21800         * tools/gst-complete.c: (main):
21801         * gstreamer.spec.in:
21802           clean up a little
21803
21804 2005-09-01  Wim Taymans  <wim@fluendo.com>
21805
21806         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21807         (gst_base_sink_event), (gst_base_sink_do_sync),
21808         (gst_base_sink_handle_event):
21809         * gst/base/gstbasesink.h:
21810         Handle newsegments more correctly.
21811
21812         * gst/gstbus.c:
21813         Fix docs.
21814
21815         * gst/gstevent.c: (gst_event_new_newsegment):
21816         A newsegment cannot have a start_time of -1
21817
21818 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
21819
21820         * win32/gstenumtypes.c:
21821         * win32/gstenumtypes.h:
21822           Update
21823
21824 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
21825
21826         * libs/gst/controller/gst-controller.c:
21827         (gst_controlled_property_set_interpolation_mode),
21828         (gst_controlled_property_new):
21829          fixed boolean again
21830
21831 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
21832
21833         * docs/faq/gst-uninstalled:
21834           add -good
21835         * gst/gstevent.c:
21836         * gst/gstevent.h:
21837           remove wrong docs
21838         * gst/gstutils.c: (gst_element_link_filtered):
21839         * gst/gstutils.h:
21840           add gst_element_link_filtered
21841
21842 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
21843
21844         * docs/gst/gstreamer-docs.sgml:
21845         * docs/gst/gstreamer-sections.txt:
21846         * docs/gst/tmpl/.cvsignore:
21847         * docs/gst/tmpl/gsterror.sgml:
21848         * docs/gst/tmpl/gstfilter.sgml:
21849         * docs/gst/tmpl/gsturihandler.sgml:
21850         * docs/gst/tmpl/gsturitype.sgml:
21851         * docs/gst/tmpl/gstutils.sgml:
21852         * docs/gst/tmpl/gstxml.sgml:
21853         * gst/gsterror.c:
21854         * gst/gsterror.h:
21855         * gst/gstfilter.c:
21856         * gst/gsturi.c:
21857         * gst/gsturitype.c:
21858         * gst/gstutils.c:
21859         * gst/gstxml.c:
21860           inlined more docs, fixed double id-ref
21861
21862 2005-08-31  Wim Taymans  <wim@fluendo.com>
21863
21864         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21865         (gst_base_transform_handle_buffer):
21866         Passthrough elements don't need the caps as they don't care.
21867
21868 2005-08-31  Wim Taymans  <wim@fluendo.com>
21869
21870         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21871         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
21872         Don't leak refcounts on buffers.
21873
21874 2005-08-31  Wim Taymans  <wim@fluendo.com>
21875
21876         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
21877         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21878         (gst_base_transform_chain), (gst_base_transform_change_state):
21879         * gst/base/gstbasetransform.h:
21880         Handle the case where we are not negotiated more gracefully.
21881
21882 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
21883
21884         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
21885         (gst_file_src_map_region):
21886           Set READONLY flag on mmap'ed buffers, otherwise
21887           gst_buffer_make_writable() won't work properly (#314708).
21888
21889 2005-08-31  Wim Taymans  <wim@fluendo.com>
21890
21891         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
21892         passthrough elements can even do inplace on non writable
21893         buffers (as they don't touch them).
21894
21895 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
21896
21897         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21898         (gst_test_mono_source_set_property),
21899         (gst_test_mono_source_class_init), (GST_START_TEST),
21900         (gst_controller_suite):
21901           more tests (hehe I have the most)
21902         * gst/gstbus.c:
21903           describe popping messages whenusing mulltiple sources
21904         * libs/gst/controller/gst-controller.c:
21905         (gst_controlled_property_set_interpolation_mode),
21906         (gst_controlled_property_new):
21907         * libs/gst/controller/gst-controller.h:
21908         * libs/gst/controller/gst-interpolation.c:
21909           implement boolean properties
21910
21911 2005-08-31  Wim Taymans  <wim@fluendo.com>
21912
21913         * gst/gstminiobject.c: (gst_mini_object_ref):
21914         Cannot assert that the refcount has to be positive
21915         since a disposed object can be resurrected.
21916
21917 2005-08-31  Wim Taymans  <wim@fluendo.com>
21918
21919         * gst/gstpad.c: (gst_pad_init):
21920         Revert change, need to first fix badly behaving 
21921         apps.
21922
21923 2005-08-30  Wim Taymans  <wim@fluendo.com>
21924
21925         * check/elements/fakesrc.c: (setup_fakesrc):
21926         * check/elements/identity.c: (setup_identity):
21927         Activate pads before using them.
21928
21929 2005-08-30  Wim Taymans  <wim@fluendo.com>
21930
21931         * gst/base/gstadapter.c: (gst_adapter_flush):
21932         Flushing out 0 bytes is ok for this function.
21933
21934         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21935         no newsegment gives a warning and sets the start/stop to 
21936         invalid.
21937
21938         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
21939         (gst_base_transform_set_passthrough):
21940         Some debug info.
21941
21942         * gst/gstminiobject.c: (gst_mini_object_ref):
21943         Check refcount here too.
21944
21945         * gst/gstpad.c: (gst_pad_init):
21946         Pads are initially flushing and refusing data.
21947
21948         * gst/gstutils.c: (gst_element_link_pads_filtered):
21949         When adding a capsfilter element make sure it has the
21950         same state as the parent bin.
21951
21952 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21953
21954         * docs/gst/tmpl/.cvsignore:
21955         * docs/gst/tmpl/gstformat.sgml:
21956         * docs/gst/tmpl/gstversion.sgml:
21957         * gst/gstbus.h:
21958         * gst/gstformat.c:
21959         * gst/gstformat.h:
21960         * gst/gstversion.h.in:
21961           more docs and two more inlined
21962
21963 2005-08-30  Wim Taymans  <wim@fluendo.com>
21964
21965         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
21966         Don't sync to clock.
21967
21968 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21969
21970         * docs/gst/gstreamer-sections.txt:
21971           ultral33t func10ns deserve to appear in the docs actually
21972         * docs/gst/tmpl/.cvsignore:
21973         * docs/gst/tmpl/gstcompat.sgml:
21974         * docs/gst/tmpl/gstconfig.sgml:
21975         * gst/check/gstcheck.c:
21976         * gst/gstcompat.h:
21977         * gst/gstconfig.h.in:
21978           inlined more docs
21979
21980 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21981
21982         * docs/gst/tmpl/.cvsignore:
21983         * docs/gst/tmpl/gstquery.sgml:
21984         * docs/gst/tmpl/gstutils.sgml:
21985         * gst/gstquery.c:
21986         * gst/gstquery.h:
21987           inlined and extended docs
21988
21989 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21990
21991         * check/gst-libs/controller.c: (GST_START_TEST),
21992         (gst_controller_suite):
21993           more tests
21994         * docs/gst/tmpl/gstutils.sgml:
21995         * docs/libs/gstreamer-libs-sections.txt:
21996         * docs/libs/tmpl/gstdataprotocol.sgml:
21997           include path fixes
21998         * examples/controller/audio-example.c: (main):
21999           controller example works now
22000         * gst/gstclock.h:
22001           doc fixes
22002         * tools/gst-inspect.c: (print_element_properties_info):
22003           show param spec flags
22004
22005 2005-08-29  Andy Wingo  <wingo@pobox.com>
22006
22007         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
22008
22009 2005-08-28  Andy Wingo  <wingo@pobox.com>
22010
22011         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
22012         as having two arguments instead of just one. Allows superclasses
22013         to access information on subclasses -- see the terrible for() loop
22014         in gtype.c:g_type_create_instance for the reason why. All callers
22015         changed.
22016
22017 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
22018
22019         * docs/design/part-messages.txt:
22020           update info
22021         * docs/gst/tmpl/.cvsignore:
22022         * docs/gst/tmpl/gstcaps.sgml:
22023         * docs/gst/tmpl/gstclock.sgml:
22024         * gst/gstbus.c:
22025         * gst/gstcaps.c:
22026         * gst/gstcaps.h:
22027         * gst/gstclock.c:
22028         * gst/gstclock.h:
22029         * gst/gstmessage.c:
22030           added descriptions for bus and message
22031           inline caps and clock docs
22032
22033 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
22034
22035         * gst/gstmessage.c:
22036         * gst/gstmessage.h:
22037           doc fixes
22038
22039 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
22040
22041         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22042           fix div-by-zero
22043
22044 2005-08-26  Andy Wingo  <wingo@pobox.com>
22045
22046         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
22047         element_set_state's return val.
22048         (test_2_elements): Add test that's been disabled for months.
22049
22050         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
22051         can-activate-pull properties.
22052
22053         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
22054         can-activate-pull properties. Implement is_seekable so fakesrc can
22055         operate in pull mode.
22056
22057         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
22058         properties.
22059         (gst_base_sink_activate, gst_base_sink_activate_pull)
22060         (gst_base_sink_activate_push): Make activation mode choosing work.
22061         Cleanups.
22062         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
22063         is right. Make pull mode work. Post an eos before pausing in pull
22064         mode.
22065         (gst_base_sink_change_state): Pay attention to the core's
22066         change_state() return val.
22067         
22068         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
22069         has-getrange properties. Cleanups.
22070         
22071         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
22072         has_getrange and replace with can_activate_pull and
22073         can_activate_push.
22074
22075         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
22076         locking comments. Remove has_loop, has_chain and replace with
22077         can_activate_pull and can_activate_push.
22078
22079 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
22080
22081         * configure.ac:
22082         * examples/Makefile.am:
22083         * examples/metadata/Makefile.am:
22084         * examples/metadata/read-metadata.c: (message_loop),
22085         (have_pad_handler), (make_pipeline), (print_tag), (main):
22086           Add metadata reading example that loops over a list of filenames,
22087           dumping any tags found.
22088
22089         * gst/gstbus.c: (gst_bus_dispose):
22090         * gst/gstelement.c: (gst_element_dispose):
22091           Release a few potentially-held references in dispose.
22092
22093 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22094
22095         * docs/gst/tmpl/gstminiobject.sgml:
22096           do *not* add tmpl/*.sgml files to CVS!
22097
22098 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22099
22100         * libs/gst/bytestream/.cvsignore:
22101         * libs/gst/bytestream/Makefile.am:
22102         * libs/gst/bytestream/adapter.c:
22103         * libs/gst/bytestream/adapter.h:
22104         * libs/gst/bytestream/bytestream.c:
22105         * libs/gst/bytestream/bytestream.h:
22106         * libs/gst/bytestream/filepad.c:
22107         * libs/gst/bytestream/filepad.h:
22108           removing obsolete files
22109
22110 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22111
22112         * docs/gst/gstreamer-docs.sgml:
22113         * docs/libs/gstreamer-libs-docs.sgml:
22114           disabed additional index entries again, as this makes docs-gen just
22115           slow and they aren't useful yet
22116         * docs/libs/gstreamer-libs-sections.txt:
22117           little -section.txt cleanup for libs
22118
22119 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22120
22121         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22122         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
22123           fix up some debugging
22124         (gst_base_transform_get_unit_size),
22125         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22126         (gst_base_transform_handle_buffer):
22127         * gst/base/gstbasetransform.h:
22128           handle and store timed NEWSEGMENT events so that subclasses that
22129           calculate time by counting samples have a segment_start time they
22130           need to add to their timestamps - see audioresample
22131
22132 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22133
22134         * gst/gstbin.h:
22135           removed ';' from the end of macro defs
22136         * docs/gst/gstreamer-docs.sgml:
22137         * docs/gst/gstreamer-sections.txt:
22138         * docs/gst/tmpl/.cvsignore:
22139         * gst/gstbus.h:
22140         * gst/gstelement.c: (gst_element_class_init),
22141         (gst_element_set_state), (activate_pads),
22142         (gst_element_save_thyself):
22143         * gst/gstevent.c: (gst_event_new_newsegment):
22144         * gst/gstevent.h:
22145         * gst/gstiterator.c:
22146         * gst/gstiterator.h:
22147         * gst/gstpad.c:
22148         * gst/gstprobe.h:
22149         * gst/gstutils.c: (gst_pad_query_convert):
22150         * gst/gstutils.h:
22151           fixed parameter name mismatches between source, header and docs
22152           added some more docs, resolved the last batch of unused elements in
22153           docs (now someone needs to doc them)
22154
22155 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22156
22157         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
22158         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
22159           don't walk through the plugins backwards.  Where is all this
22160           reversed logic coming from ?
22161
22162 2005-08-25  Wim Taymans  <wim@fluendo.com>
22163
22164         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22165         (gst_base_transform_transform_size),
22166         (gst_base_transform_configure_caps),
22167         (gst_base_transform_get_unit_size),
22168         (gst_base_transform_buffer_alloc),
22169         (gst_base_transform_change_state):
22170         * gst/base/gstbasetransform.h:
22171         Cache caps unit_size.
22172         Make sure we cannot negotiate up and downstream at the
22173         same time.
22174
22175 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22176
22177         * gst/gst.c: (init_pre), (init_post):
22178           register the installed plugin path after the env var
22179         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
22180         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
22181           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
22182           directories, so the tests can prefer uninstalled over installed
22183
22184 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22185
22186         * gst/base/gstbasetransform.h:
22187           comment
22188         * gst/gstpad.c:
22189           add to docs
22190
22191 2005-08-25  Wim Taymans  <wim@fluendo.com>
22192
22193         * gst/gstbin.c: (bin_bus_handler):
22194         Be a bit more conservative about the posted message.
22195         
22196         * gst/gstbus.c: (gst_bus_post):
22197         Some cleanups, warn wrong return values.
22198
22199 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
22200
22201         * check/gst/gstbin.c: (GST_START_TEST):
22202         * gst/gstbin.c: (bin_bus_handler):
22203         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22204         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22205         (gst_message_new_warning), (gst_message_new_tag),
22206         (gst_message_new_state_changed), (gst_message_new_segment_start),
22207         (gst_message_new_segment_done), (gst_message_new_custom):
22208         * gst/gstmessage.h:
22209         * tools/gst-launch.c: (event_loop):
22210         * tools/gst-md5sum.c: (event_loop):
22211           Revert unpopular change for GST_MESSAGE_SRC to GObject.
22212
22213 2005-08-25  Wim Taymans  <wim@fluendo.com>
22214
22215         * check/generic/states.c: (GST_START_TEST):
22216         Cleanup can be done at the end.
22217
22218         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
22219         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22220         (gst_task_get_state), (gst_task_start), (gst_task_pause):
22221         Oh boy.. Thanks for finding this, Thomas. 
22222
22223 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
22224
22225         * docs/gst/gstreamer.types:
22226           added missing types
22227
22228 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
22229
22230         * docs/gst/gstreamer-docs.sgml:
22231         * docs/gst/gstreamer-sections.txt:
22232         * docs/gst/tmpl/.cvsignore:
22233         * gst/gstbin.c:
22234         * gst/gstiterator.c:
22235         * gst/gstutils.c:
22236         * gst/registries/gstxmlregistry.h:
22237           added missing classes and symbols (123 more to go)
22238           removed removed symbols from section file
22239           fixed many doc-comments
22240
22241 2005-08-24  Wim Taymans  <wim@fluendo.com>
22242
22243         * check/generic/states.c: (GST_START_TEST):
22244         Make sure all tasks are stopped.
22245
22246         * check/gst/gstbin.c: (GST_START_TEST):
22247         Unref after usage for proper valgrinding.
22248
22249         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
22250         Really wait for the task to stop before destroying the
22251         mutex.
22252
22253         * gst/gstqueue.c: (gst_queue_sink_activate_push),
22254         (gst_queue_src_activate_push):
22255         Small cleanups. Don't stop the task when we did not start
22256         it.
22257
22258         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
22259         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22260         (gst_task_get_state), (gst_task_start), (gst_task_pause),
22261         (gst_task_join):
22262         * gst/gsttask.h:
22263         Protect the stream lock with the object lock.
22264         Disallow setting the stream lock when running.
22265         Add cleanup_all to wait for the threadpool to finish.
22266         Remove code to autoallocate a mutex if none was provided.
22267         Add _join() to wait for a task to stop.
22268         Protect the thread pool with a global lock.
22269
22270 2005-08-24  Wim Taymans  <wim@fluendo.com>
22271
22272         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22273         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22274         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
22275         * gst/base/gstbasesink.h:
22276         Handle newsegment events correctly.
22277         Drop buffers out of the segment range.
22278
22279 2005-08-22  Andy Wingo  <wingo@pobox.com>
22280
22281         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
22282         macro, implements an interface and gstimplementsinterface for a
22283         new type.
22284
22285 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22286
22287         * check/Makefile.am:
22288         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
22289           add a test that does a bunch of state changes on elements
22290           needs some fixing for valgrind
22291         * check/states/sinks.c: (gst_object_suite):
22292           whitespace
22293         * gst/gstcaps.h:
22294           add prototype for gst_caps_is_equal_fixed
22295         * gst/gstplugin.c:
22296         * gst/gstregistrypool.c:
22297           doc fixes
22298
22299 2005-08-24  Andy Wingo  <wingo@pobox.com>
22300
22301         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
22302         convert a negative value. Doesn't make much sense. Mostly this is
22303         here to force callers to ensure -1 maps to -1.
22304
22305 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
22306
22307         * docs/pwg/advanced-types.xml:
22308           Well done to Michael for catching my deliberate introduction
22309           of this spelling mistake. 
22310         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
22311         * gst/gstelement.h:
22312           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
22313           unlink pads before removing the element from the bin.
22314
22315 2005-08-24  Andy Wingo  <wingo@pobox.com>
22316
22317         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
22318         the same thing as GST_DEBUG=*:4.
22319         (parse_debug_level, parse_debug_category): New helper parsers.
22320
22321 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22322
22323         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22324         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
22325         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
22326         (gst_base_transform_buffer_alloc),
22327         (gst_base_transform_handle_buffer):
22328           use gboolean return values and pointers to size so we can use the
22329           full GST_BUFFER_SIZE range (guint) for buffer sizes
22330           use GstPadDirection for transform_caps
22331         * gst/base/gstbasetransform.h:
22332           rename get_size to get_unit_size since that's what it is
22333         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
22334           use GstPadDirection for transform_caps
22335         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22336         * gst/gstutils.h:
22337           cleanup and debugging
22338
22339 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
22340
22341         * gst/gstelement.c: (gst_element_class_init),
22342         (gst_element_set_state), (activate_pads),
22343         (gst_element_save_thyself):
22344         * tools/gst-compprep.c: (main):
22345         * tools/gst-inspect.c: (print_element_properties_info):
22346         * tools/gst-xmlinspect.c: (print_element_properties):
22347           Fixed long standing mem-leak
22348
22349 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
22350
22351         * check/gst/gstbin.c: (GST_START_TEST):
22352         * gst/gstbin.c: (bin_bus_handler):
22353         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22354         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22355         (gst_message_new_warning), (gst_message_new_tag),
22356         (gst_message_new_state_changed), (gst_message_new_segment_start),
22357         (gst_message_new_segment_done), (gst_message_new_custom):
22358         * gst/gstmessage.h:
22359         * tools/gst-launch.c: (event_loop):
22360         * tools/gst-md5sum.c: (event_loop):
22361           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
22362           that applications can sensibly post custom messages with references
22363           to their own objects.
22364
22365 2005-08-24  Andy Wingo  <wingo@pobox.com>
22366
22367         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
22368         already.
22369
22370 2005-08-24  Wim Taymans  <wim@fluendo.com>
22371
22372         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22373         (gst_base_transform_transform_caps),
22374         (gst_base_transform_transform_size),
22375         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22376         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22377         (gst_base_transform_handle_buffer):
22378         * gst/base/gstbasetransform.h:
22379         Many fixes and new features added by Thomas. Can now also do
22380         transforms with variable sizes and a custom fixate_caps function.
22381
22382 2005-08-24  Wim Taymans  <wim@fluendo.com>
22383
22384         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22385         Some debugging.
22386
22387         * gst/gstclock.h:
22388         Cast to ClockTime before formatting to time.
22389
22390         * gst/gstutils.h:
22391         Cleanups.
22392
22393 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
22394
22395         * check/gst-libs/controller.c: (GST_START_TEST),
22396         (gst_controller_suite):
22397         * docs/gst/tmpl/gstcaps.sgml:
22398         * docs/gst/tmpl/gstghostpad.sgml:
22399         * docs/gst/tmpl/gstquery.sgml:
22400         * docs/gst/tmpl/gstutils.sgml:
22401         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
22402         (gst_object_sink_values), (gst_object_get_value_arrays),
22403         (gst_object_get_value_array):
22404           gracefully handle helper method calls to objects that are not beeing
22405           controlled, added test case for that          
22406
22407 2005-08-23  Wim Taymans  <wim@fluendo.com>
22408
22409         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
22410         (gst_event_new_newsegment), (gst_event_parse_newsegment),
22411         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
22412         (gst_event_parse_qos), (gst_event_new_seek),
22413         (gst_event_parse_seek):
22414         * gst/gstevent.h:
22415         Some more debugging output and doc cleanups.
22416
22417         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22418         Fix possible deadlock.
22419
22420 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22421
22422         * docs/gst/gstreamer-docs.sgml:
22423         * docs/gst/gstreamer-sections.txt:
22424         * docs/gst/gstreamer.types:
22425         * docs/gst/tmpl/.cvsignore:
22426         * gst/gstbin.h:
22427         * gst/gstbus.c:
22428         * gst/gstelement.c:
22429         * gst/gstevent.h:
22430           added 100 symbols from gstreamer-unused.txt to the right sections
22431           fixed more broken comments
22432           added GstBus to docs
22433
22434 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22435
22436         * docs/gst/gstreamer-sections.txt:
22437         * docs/gst/tmpl/.cvsignore:
22438         * docs/gst/tmpl/gstbin.sgml:
22439         * docs/gst/tmpl/gstbuffer.sgml:
22440         * gst/base/gstbasesrc.c:
22441         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
22442         * gst/gstbuffer.c:
22443         * gst/gstbuffer.h:
22444         * tools/gst-launch.1.in:
22445           inlined more doc comments, added missing comments and fixed comments
22446           fixed typos
22447
22448 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22449
22450         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22451           some debugging
22452         * gst/gstcaps.h:
22453           whitespace fixes
22454         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
22455           more debugging
22456         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
22457         * gst/gststructure.h:
22458           add a fixate function for booleans; add a FIXME that these func
22459           names should probably be gst_structure_fixate_*
22460
22461 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22462
22463         * docs/gst/gstreamer-docs.sgml:
22464         * docs/gst/gstreamer-sections.txt:
22465         * gst/Makefile.am:
22466         * gst/gstbin.c: (gst_bin_get_type),
22467         (gst_bin_child_proxy_get_child_by_index),
22468         (gst_bin_child_proxy_get_children_count),
22469         (gst_bin_child_proxy_init):
22470         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22471         (gst_child_proxy_get_child_by_index),
22472         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
22473         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
22474         (gst_child_proxy_get), (gst_child_proxy_set_property),
22475         (gst_child_proxy_set_valist), (gst_child_proxy_set),
22476         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
22477         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
22478         * gst/gstchildproxy.h:
22479         * gst/parse/grammar.y:
22480         * tools/gst-inspect.c: (print_interfaces),
22481         (print_element_properties_info), (print_element_info):
22482           ported gstchildproxy over from 0.8
22483           ported gst-inspect fixes and enhancements over from 0.8
22484
22485 2005-08-22  Wim Taymans  <wim@fluendo.com>
22486
22487         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22488         (gst_base_transform_handle_buffer):
22489         Also call the transform function if we have ANY caps.
22490
22491         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
22492         Fix debug info.
22493
22494 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
22495
22496         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
22497           Don't pretend to handle seek events if the source is not seekable
22498
22499 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
22500
22501         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22502           Remove extra parameter to debug output
22503
22504         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22505         (gst_base_src_do_seek), (gst_base_src_activate_push):
22506           Fix seek event handling.
22507
22508         * gst/gstpipeline.c: (gst_pipeline_change_state):
22509         * gst/gstqueue.c: (gst_queue_handle_sink_event),
22510         (gst_queue_src_activate_push):
22511           Don't start the src pad task on FLUSH_STOP if the pad
22512           isn't linked.
22513           Debug changes.
22514
22515 2005-08-22  Wim Taymans  <wim@fluendo.com>
22516
22517         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
22518         Added check for gst_static_caps_get() refcounting.
22519
22520 2005-08-22  Wim Taymans  <wim@fluendo.com>
22521
22522         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
22523         Make _static_caps_get() refcounting sane.
22524         
22525         * gst/gstelement.c: (gst_element_set_state):
22526         Add g_return_val_if_fail() to protect against segfaults.
22527
22528 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
22529
22530         * docs/gst/tmpl/gstevent.sgml:
22531         * gst/gstevent.c:
22532         * gst/gstevent.h:
22533           inlined remaining docs, added missing doc comments
22534
22535 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22536
22537         * check/gst/gstbin.c: (GST_START_TEST):
22538           since we don't know when preroll is done, use refcount range
22539           check for the sink
22540         * gst/check/gstcheck.h:
22541           add macro for checking refcount range
22542
22543 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22544
22545         * check/Makefile.am:
22546           clean up environment for when registry gets built versus
22547           when actual tests are run; valgrind seems to not report
22548           leaks if GST_PLUGIN_PATH is set to some specific values
22549         * check/gst/gstbin.c: (GST_START_TEST):
22550           add more refcounting checks; maybe this exposes a
22551           preroll lock bug ?
22552         * common/check.mak:
22553         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22554         * gst/check/gstcheck.h:
22555         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
22556         (gst_bin_change_state):
22557         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
22558           add/fix debugging/whitespace
22559
22560 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
22561
22562         * check/gst/gstevent.c: (event_probe), (test_event),
22563         (GST_START_TEST):
22564          Er, don't call gst_bin_watch_for_state_change you idiot.
22565
22566 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
22567
22568         * check/Makefile.am:
22569           Use CHECK_CFLAGS and CHECK_LIBS
22570         * check/gst/gstevent.c: (event_probe), (test_event),
22571         (GST_START_TEST):
22572           Don't leak events.
22573         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22574         (gst_base_src_start), (gst_base_src_stop),
22575         (gst_base_src_activate_push), (gst_base_src_activate_pull),
22576         (gst_base_src_change_state):
22577           Sprinkle gst_base_src_stop liberally around error paths to fix
22578           problems reusing a source after failed state changes.
22579         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22580         (helper_find_suggest), (gst_type_find_helper):
22581           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
22582         * gst/gstevent.h:
22583         * docs/gst/tmpl/gstevent.sgml:
22584           Migrate part of the docs from the SGML file. Wait for ensonic to
22585           tell me how I did it wrong ;)
22586         * tools/gst-typefind.c: (main):
22587           Extra robustness to state changes between files.
22588
22589 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22590
22591         * check/Makefile.am:
22592           don't valgrind the controller test - it's leaking - Stefan, HELP
22593         * gst/check/gstcheck.c: (gst_check_message_error),
22594         (gst_check_chain_func), (gst_check_setup_element),
22595         (gst_check_teardown_element), (gst_check_setup_src_pad),
22596         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
22597         (gst_check_teardown_sink_pad):
22598         * gst/check/gstcheck.h:
22599           add a bunch of methods to set up elements, and src and sink pads
22600         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
22601         * check/elements/identity.c: (setup_identity), (cleanup_identity),
22602         (GST_START_TEST):
22603           use them
22604         * gst/gstmessage.c:
22605         * gst/gsttag.h:
22606           whitespace/doc fixes
22607
22608 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22609
22610         * gst/gstelement.h:
22611           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
22612           be handled by the application and not always printed as well
22613
22614 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22615
22616         * check/Makefile.am:
22617           set GST_TOOLS_DIR
22618         * gst/check/gstcheck.c: (gst_check_message_error):
22619         * gst/check/gstcheck.h:
22620           add a fail_unless_equals_int
22621           add fail_unless for error messages
22622
22623 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22624
22625         * check/Makefile.am:
22626         * check/gst.supp:
22627         * common/Makefile.am:
22628         * common/check.mak:
22629         * common/gst.supp:
22630           factor out some of the common stuff so we can use it
22631
22632 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22633
22634         * check/Makefile.am:
22635         * check/gst/gstiterator.c: (GST_START_TEST):
22636         * check/gst/gstsystemclock.c: (GST_START_TEST),
22637         (gst_systemclock_suite):
22638         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22639         * gst/gstclock.c:
22640           valgrind more tests
22641
22642 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22643
22644         * check/elements/.cvsignore:
22645         * check/elements/gstfakesrc.c:
22646           rename to name of element
22647         * check/elements/identity.c: (chain_func), (event_func),
22648         (setup_identity), (cleanup_identity), (GST_START_TEST),
22649         (identity_suite), (main):
22650           add a test for identity
22651         * check/Makefile.am:
22652         * pkgconfig/Makefile.am:
22653         * pkgconfig/gstreamer-check.pc.in:
22654         * pkgconfig/gstreamer-check-uninstalled.pc.in:
22655         * gst/check:
22656         * gst/Makefile.am:
22657         * configure.ac:
22658           move the check stuff to a library that gets installed
22659         * check/gst-libs/controller.c: (GST_START_TEST):
22660         * check/gst-libs/gdp.c:
22661         * check/gst/gst.c: (GST_START_TEST):
22662         * check/gst/gstbin.c:
22663         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22664         * check/gst/gstbus.c:
22665         * check/gst/gstcaps.c: (GST_START_TEST):
22666         * check/gst/gstelement.c:
22667         * check/gst/gstghostpad.c:
22668         * check/gst/gstiterator.c:
22669         * check/gst/gstmessage.c:
22670         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
22671         * check/gst/gstobject.c:
22672         * check/gst/gstpad.c: (GST_START_TEST):
22673         * check/gst/gststructure.c: (GST_START_TEST):
22674         * check/gst/gstsystemclock.c: (GST_START_TEST),
22675         (gst_systemclock_suite):
22676         * check/gst/gsttag.c: (gst_tag_suite):
22677         * check/gst/gstvalue.c:
22678         * check/pipelines/cleanup.c:
22679         * check/pipelines/simple_launch_lines.c:
22680         * check/states/sinks.c:
22681           change include statement
22682
22683         * docs/gst/gstreamer-sections.txt:
22684         * docs/gst/tmpl/gstpad.sgml:
22685           document more pad stuff
22686         * gst/gstminiobject.c: (gst_mini_object_ref),
22687         (gst_mini_object_unref):
22688           debug refcounting
22689
22690 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
22691
22692         * docs/gst/tmpl/gst.sgml:
22693         * gst/gst.c:
22694           eliminate another tmpl file, fix spelling in the long-description
22695
22696 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22697
22698         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22699         (test_event), (timediff), (gstevents_suite):
22700           Should fix build on 64-bit arch's
22701
22702 2005-08-18  Andy Wingo  <wingo@pobox.com>
22703
22704         Make sure that when a pipeline goes to PLAYING, that data has
22705         actually hit the sink.
22706
22707         * check/states/sinks.c (test_sink): A sink that doesn't get any
22708         data shouldn't return SUCCESS for going to either PLAYING or
22709         PAUSED. Test also the return values on the way back down.
22710
22711         * gst/gstelement.c (gst_element_set_state): When changing the
22712         state of an element currently changing state asynchronously, go to
22713         lost-state after commiting the pending state. Makes future calls
22714         to get_state continue to return ASYNC.
22715
22716         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
22717         ASYNC when going to PLAYING if we still don't have preroll, as can
22718         happen with live sources.
22719
22720 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22721
22722         * docs/pwg/advanced-types.xml:
22723           Hack long paragraph into 2 chunks as a workaround for buggy
22724           jadetex version in sid and breezy that loops infinitely and
22725           eats all RAM.
22726
22727 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22728
22729         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22730         (test_event), (timediff), (gstevents_suite):
22731           Provide more error margin in clock measurements to allow for 
22732           g_get_current_time inaccuracies.
22733
22734 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22735
22736         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22737         (test_event), (timediff), (gstevents_suite):
22738            Fix error message output so I might be able to tell why the
22739            test works here but fails on the build farm.
22740
22741 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22742
22743         * check/Makefile.am:
22744         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22745         (test_event), (timediff), (gstevents_suite), (main):
22746           I wrote a test!
22747
22748         * docs/design/part-seeking.txt:
22749           Spelling correction
22750
22751         * docs/gst/tmpl/gstevent.sgml:
22752         * docs/gst/tmpl/gstfakesrc.sgml:
22753           Docs updates.
22754
22755         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22756           Treat a buffer-without-newsegment the same as a receiving 
22757           a newsegment not in time format, and disable syncing to the clock
22758           with a warning.
22759
22760         * gst/gstbus.c: (gst_bus_set_sync_handler):
22761           Assert if anyone tries to replace the existing sync_handler for bus, 
22762           as only the owner should be setting it.
22763
22764         * gst/gstevent.h:
22765           Have a fixed set of custom event enums with events identified by
22766           their structure name (as in 0.8), rather than a free-for-all
22767           allowing collisions between enum values from different plugins.
22768
22769         * gst/gstpad.c: (gst_pad_class_init):
22770           Docs change.
22771           
22772         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22773           Handle out-of-band downstream events from the sending thread.
22774
22775 2005-08-17  Andy Wingo  <wingo@pobox.com>
22776
22777         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
22778         play-timeout==0 to mean no timeout at all. In that case, don't
22779         bother with a get_state or a warning, just return directly, even
22780         if it's ASYNC.
22781
22782         * gst/base/gstbasetransform.c: Debug changes.
22783
22784         * gst/gstutils.h:
22785         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
22786         ensure bins post state change messages. A bit of a hack but I can't
22787         think of a way to avoid it.
22788
22789         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
22790
22791 2005-08-16  Andy Wingo  <wingo@pobox.com>
22792
22793         * gst/base/gstadapter.h:
22794         * gst/base/gstadapter.c (gst_adapter_take): New function, like
22795         peek() but you own the data. Not terribly efficient atm.
22796
22797 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22798
22799         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
22800         (gst_element_found_tags):
22801         * gst/gstutils.h:
22802           Add two utility functions for tag handling.
22803
22804 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22805
22806         * docs/manual/advanced-dataaccess.xml:
22807         * docs/manual/basics-helloworld.xml:
22808           Fix docs to use _bin_add() before _link(), which fixes the examples
22809           with recent core versions (reported by Madhan Raj M
22810           <raj_madan@rediffmail.com>, #313199).
22811
22812 2005-08-16  Wim Taymans  <wim@fluendo.com>
22813
22814         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22815         Added subtract checks.
22816
22817         * docs/design/part-events.txt:
22818         Some more docs about newsegment
22819
22820         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22821         Fix FIXME
22822
22823         * gst/gstcaps.c: (gst_caps_to_string):
22824         Add comments, cleanups.
22825         
22826         * gst/gstelement.c: (gst_element_save_thyself):
22827         cleanups
22828         
22829         * gst/gstvalue.c: (gst_value_collect_int_range),
22830         (gst_string_unwrap), (gst_value_union_int_int_range),
22831         (gst_value_union_int_range_int_range),
22832         (gst_value_intersect_int_int_range),
22833         (gst_value_intersect_int_range_int_range),
22834         (gst_value_intersect_double_double_range),
22835         (gst_value_intersect_double_range_double_range),
22836         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
22837         (gst_value_subtract_int_range_int),
22838         (gst_value_subtract_double_range_double),
22839         (gst_value_subtract_double_range_double_range),
22840         (gst_value_subtract_from_list), (gst_value_subtract_list),
22841         (gst_value_can_compare), (gst_value_compare_fraction):
22842         Cleanups, add comments, remove unneeded asserts.
22843
22844 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22845
22846         * tools/gst-launch.c: (event_loop):
22847           don't convert NULL structures to strings
22848
22849 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
22850
22851         * docs/gst/gstreamer-sections.txt:
22852           made some defines private
22853         * docs/gst/tmpl/gstconfig.sgml:
22854         * docs/gst/tmpl/gstqueue.sgml:
22855         * docs/gst/tmpl/gsttaglist.sgml:
22856         * docs/gst/tmpl/gsttypes.sgml:
22857         * docs/gst/tmpl/gstutils.sgml:
22858         * docs/pwg/appendix-porting.xml:
22859         * gst/base/gstbasesink.h:
22860         * gst/base/gstbasesrc.c:
22861         * gst/base/gstbasesrc.h:
22862         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
22863         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
22864         * gst/gstelement.c: (gst_element_class_init):
22865         * gst/gstpad.c: (gst_pad_class_init):
22866         * gst/gstqueue.c: (gst_queue_class_init):
22867         * gst/gstxml.c: (gst_xml_class_init):
22868           documented all undocumented signal inline
22869         * libs/gst/controller/gst-controller.h:
22870           added padding
22871
22872 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22873
22874         * docs/pwg/appendix-porting.xml:
22875           Document _set_link_function -> _set_setcaps_function.
22876
22877 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22878
22879         * check/Makefile.am:
22880           add a .check target for running the check
22881         * check/gst-libs/controller.c: (GST_START_TEST):
22882           cosmetic fixups
22883         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22884           complete checks for gstbuffer; would be nice if I could get the
22885           gcov stuff to work so I can see if I actually completed gstbuffer.c
22886         * check/gstcheck.h:
22887           add ASSERT_BUFFER_REFCOUNT
22888
22889 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
22890
22891         * docs/gst/gstreamer-sections.txt:
22892         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
22893         * gst/gsttag.h:
22894           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
22895           spew out a warning if a tag that is already registered
22896           is re-registered, unless it is re-registered with a 
22897           different type (#308438).
22898
22899 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
22900
22901         * docs/pwg/appendix-porting.xml:
22902         * docs/pwg/building-state.xml:
22903           Add some paragraphs about state changes in 0.9 to the PWG
22904           and the porting guide, in particular about the new meaning
22905           of GST_STATE_PAUSED and how to write state change functions
22906           with concurrent access by multiple threads in mind.
22907
22908 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
22909
22910         * docs/gst/gstreamer-docs.sgml:
22911         * docs/libs/gstreamer-libs-docs.sgml:
22912           added deprecation and since indexes
22913         * libs/gst/controller/gst-controller.c:
22914         * libs/gst/controller/gst-helper.c:
22915           added since tags
22916
22917
22918 2005-08-11  Wim Taymans  <wim@fluendo.com>
22919
22920         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
22921         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
22922         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
22923         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
22924         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
22925         (gst_ghost_pad_set_target):
22926         Actually implement (re)setting the target on a ghostpad
22927         as described in the docs.
22928
22929 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
22930
22931         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
22932           Check whether GST_DEBUG_NO_COLOR environment variable is
22933           set and disable coloured debug output if that is the case.
22934
22935 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
22936
22937         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22938         (gst_type_find_helper):
22939           The memory returned by gst_type_find_peek() needs to
22940           stay valid until the end of a typefind function, and
22941           typefind functions may keep results from different 
22942           offsets around, so we can't just unref the buffer from
22943           the previous _peek(), but have to save all buffers 
22944           returned by _peek() until typefinding is done and only
22945           free them then.
22946
22947 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
22948
22949         * docs/gst/gstreamer-sections.txt:
22950         * gst/gstutils.h:
22951           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
22952
22953 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22954
22955         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
22956           Fix a pretty good memleak.
22957
22958 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
22959
22960         * gst/gstiterator.h:
22961           Fix wrong include and 'make distcheck'.
22962
22963 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22964
22965         * gst/gstbin.c: (bin_bus_handler):
22966           Use gst_element_post_message() instead.
22967
22968 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
22969
22970         * gst/base/gstadapter.h:
22971         * gst/base/gstbasesink.h:
22972         * gst/base/gstbasesrc.h:
22973         * gst/base/gstbasetransform.h:
22974         * gst/base/gstcollectpads.h:
22975         * gst/base/gstpushsrc.h:
22976         * gst/gstiterator.h:
22977           Add padding to our base elements' class and instance structs and
22978           to GstIterator (you will need to rebuild all plugins and apps!)
22979
22980 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22981
22982         * gst/gstbin.c: (bin_bus_handler):
22983           Make default message forwarding from child->bus to bin->bus
22984           threadsafe and make it not emit warnings if the parent has no bus.
22985
22986 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22987
22988         * gst/gstelement.c: (activate_pads):
22989           On paused->ready, set pad->caps to NULL, as is the documented
22990           behaviour in this state change. Fixes playback of series of
22991           media files when visualization is enabled in Totem.
22992
22993 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22994
22995         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22996           Allow NULL as filter-caps (which means "any").
22997
22998 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22999
23000         * docs/libs/gstreamer-libs-sections.txt:
23001         * libs/gst/controller/gst-controller.c:
23002         * libs/gst/controller/gst-controller.h:
23003         * libs/gst/controller/gst-helper.c:
23004           adding more entries to the docs and fix small doc-bugs
23005
23006 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
23007
23008         * docs/gst/gstreamer-docs.sgml:
23009         * docs/gst/gstreamer-sections.txt:
23010         * docs/gst/gstreamer.types:
23011         * docs/gst/tmpl/gstbasesink.sgml:
23012         * docs/gst/tmpl/gstbasesrc.sgml:
23013         * docs/gst/tmpl/gstbasetransform.sgml:
23014         * docs/gst/tmpl/gstfakesrc.sgml:
23015         * gst/base/gstcollectpads.c:
23016         * gst/base/gstcollectpads.h:
23017         * libs/gst/controller/gst-controller.c:
23018         * libs/gst/controller/gst-controller.h:
23019         * libs/gst/controller/gst-helper.c:
23020         * libs/gst/controller/gst-interpolation.c:
23021         * libs/gst/controller/lib.c:
23022           added long/short desc for controller docs
23023           added collectpads base class docs
23024           added correct includes to base-class docs
23025
23026 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
23027
23028         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23029         (gst_test_mono_source_set_property),
23030         (gst_test_mono_source_class_init), (GST_START_TEST),
23031         (gst_controller_suite):
23032         * docs/gst/gstreamer-docs.sgml:
23033         * docs/gst/gstreamer-sections.txt:
23034         * docs/gst/gstreamer.types:
23035         * docs/libs/gstreamer-libs-docs.sgml:
23036         * docs/libs/gstreamer-libs-sections.txt:
23037         * gst/base/gstadapter.c:
23038         * libs/gst/controller/gst-controller.c:
23039         (gst_controlled_property_new), (gst_controlled_property_free),
23040         (gst_controller_new_valist),
23041         (gst_controller_remove_properties_valist),
23042         (gst_controller_sink_values), (_gst_controller_finalize):
23043         * libs/gst/controller/gst-controller.h:
23044         * libs/gst/controller/gst-helper.c:
23045         (gst_object_control_properties), (gst_object_uncontrol_properties),
23046         (gst_object_get_controller), (gst_object_set_controller),
23047         (gst_object_sink_values), (gst_object_get_value_arrays),
23048         (gst_object_get_value_array):
23049           more tests (and fixes) for the controller
23050           more docs for the controller
23051           integrated companies docs for the adapter 
23052
23053 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23054
23055         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
23056         (GST_START_TEST), (fakesrc_suite):
23057           add tests for sizetype
23058
23059 2005-08-04  Andy Wingo  <wingo@pobox.com>
23060
23061         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
23062         fixes buffer_alloc proxying among other things.
23063
23064         * gst/base/gstbasetransform.c:
23065         * gst/base/gstbasetransform.h:
23066         Revert patch to gstbasetransform from 7-28 removing
23067         delay_configure.
23068
23069         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
23070         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
23071         Semantics changed, should return not the size of the output buffer
23072         but the byte size of a buffer with a given caps.
23073
23074         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
23075         debug object.
23076         (gst_base_transform_configure_caps): Don't set out_size here: (in,
23077         out) are not the pad caps until setcaps finishes.
23078         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
23079         not-in-place case as well. Deal with changing from in-place to
23080         not-in-place within calling pad_alloc_buffer. Still a bit
23081         concerned about the overhead here...
23082
23083 2005-08-03  Andy Wingo  <wingo@pobox.com>
23084
23085         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
23086         fixating is an error.
23087
23088 2005-08-04  Edward Hervey  <edward@fluendo.com>
23089
23090         * gst/base/gstadapter.h: 
23091         Added gst_adapter_get_type() to the header
23092
23093 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
23094
23095         * check/Makefile.am:
23096         * check/gst-libs/controller.c:
23097         * libs/gst/controller/gst-controller.c:
23098         (gst_controller_new_valist):
23099           added check test suite for the controller
23100         * gst/base/gstpushsrc.c:
23101           fixed a doc typo
23102
23103 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
23104
23105         * docs/gst/Makefile.am:
23106         * docs/gst/gstreamer-docs.sgml:
23107         * docs/gst/gstreamer-sections.txt:
23108         * docs/gst/gstreamer.types:
23109         * docs/gst/tmpl/gstfakesrc.sgml:
23110         * gst/base/README:
23111         * gst/base/gstbasesink.c:
23112         * gst/base/gstbasesink.h:
23113         * gst/base/gstbasesrc.c:
23114         * gst/base/gstbasesrc.h:
23115         * gst/base/gstbasetransform.c:
23116         * gst/base/gstpushsrc.c:
23117         * gst/base/gstpushsrc.h:
23118           add short/long description docs to base classes
23119           add pushsrc to the docs
23120           remove consolidated doc fragments
23121
23122 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
23123
23124         * configure.ac:
23125         * docs/libs/Makefile.am:
23126         * docs/libs/gstreamer-libs-docs.sgml:
23127         * docs/libs/gstreamer-libs-sections.txt:
23128         * docs/libs/gstreamer-libs.types:
23129         * examples/Makefile.am:
23130         * examples/controller/.cvsignore:
23131         * examples/controller/Makefile.am:
23132         * examples/controller/audio-example.c: (main):
23133         * libs/gst/Makefile.am:
23134         * libs/gst/controller/.cvsignore:
23135         * libs/gst/controller/Makefile.am:
23136         * libs/gst/controller/gst-controller.c:
23137         (on_object_controlled_property_changed), (gst_timed_value_compare),
23138         (gst_timed_value_find),
23139         (gst_controlled_property_set_interpolation_mode),
23140         (gst_controlled_property_new), (gst_controlled_property_free),
23141         (gst_controller_find_controlled_property),
23142         (gst_controller_new_valist), (gst_controller_new),
23143         (gst_controller_remove_properties_valist),
23144         (gst_controller_remove_properties), (gst_controller_set),
23145         (gst_controller_set_from_list), (gst_controller_unset),
23146         (gst_controller_get), (gst_controller_get_all),
23147         (gst_controller_sink_values), (gst_controller_get_value_arrays),
23148         (gst_controller_get_value_array),
23149         (gst_controller_set_interpolation_mode),
23150         (_gst_controller_finalize), (_gst_controller_init),
23151         (_gst_controller_class_init), (gst_controller_get_type):
23152         * libs/gst/controller/gst-controller.h:
23153         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
23154         (g_object_uncontrol_properties), (g_object_get_controller),
23155         (g_object_set_controller), (g_object_sink_values),
23156         (g_object_get_value_arrays), (g_object_get_value_array):
23157         * libs/gst/controller/gst-interpolation.c:
23158         (gst_controlled_property_find_timed_value_node),
23159         (interpolate_none_get), (interpolate_trigger_get),
23160         (interpolate_trigger_get_value_array):
23161         * libs/gst/controller/lib.c: (gst_controller_init):
23162         * pkgconfig/Makefile.am:
23163         * pkgconfig/gstreamer-control-uninstalled.pc.in:
23164         * pkgconfig/gstreamer-control.pc.in:
23165         * testsuite/Makefile.am:
23166         * testsuite/controller/.cvsignore:
23167         * testsuite/controller/Makefile.am:
23168         * testsuite/controller/interpolator.c: (main):
23169           added controller code
23170           removed dparam pc files
23171
23172 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
23173         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
23174         (gst_collectpads_stop):
23175           Broadcast the condition when shutting down, to make sure we wake all
23176           threads up. Shut down pads on finalize, for safety.
23177
23178 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
23179         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23180         (gst_base_transform_handle_buffer),
23181         (gst_base_transform_change_state):
23182           Handle PAUSED->READY->PAUSED transition after negotiation
23183           occurred already.
23184         * gst/gstmessage.c: (gst_message_init):
23185           Extra piece of debug for new messages.
23186
23187 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
23188
23189         * configure.ac:
23190         * docs/gst/tmpl/gstbasesrc.sgml:
23191         * docs/gst/tmpl/gstelement.sgml:
23192         * docs/gst/tmpl/gstevent.sgml:
23193         * docs/gst/tmpl/gstfakesrc.sgml:
23194         * docs/gst/tmpl/gstformat.sgml:
23195         * docs/gst/tmpl/gstghostpad.sgml:
23196         * docs/gst/tmpl/gstpad.sgml:
23197         * docs/gst/tmpl/gstquery.sgml:
23198         * docs/gst/tmpl/gststructure.sgml:
23199         * docs/gst/tmpl/gsttaglist.sgml:
23200         * docs/gst/tmpl/gstvalue.sgml:
23201         * docs/libs/gstreamer-libs-docs.sgml:
23202         * docs/libs/gstreamer-libs-sections.txt:
23203         * docs/libs/gstreamer-libs.types:
23204         * libs/gst/Makefile.am:
23205         * libs/gst/control/.cvsignore:
23206         * libs/gst/control/Makefile.am:
23207         * libs/gst/control/control.c:
23208         * libs/gst/control/control.h:
23209         * libs/gst/control/dparam.c:
23210         * libs/gst/control/dparam.h:
23211         * libs/gst/control/dparam_smooth.c:
23212         * libs/gst/control/dparam_smooth.h:
23213         * libs/gst/control/dparamcommon.h:
23214         * libs/gst/control/dparammanager.c:
23215         * libs/gst/control/dparammanager.h:
23216         * libs/gst/control/dplinearinterp.c:
23217         * libs/gst/control/dplinearinterp.h:
23218         * libs/gst/control/unitconvert.c:
23219         * libs/gst/control/unitconvert.h:
23220         * testsuite/Makefile.am:
23221         * testsuite/dynparams/.cvsignore:
23222         * testsuite/dynparams/Makefile.am:
23223         * testsuite/dynparams/dparamstest.c:
23224         * tools/Makefile.am:
23225         * tools/gst-inspect.c: (print_element_info), (main):
23226         * tools/gst-xmlinspect.c: (print_element_info), (main):
23227           deactivate and remove dparams (libgstcontrol)
23228
23229 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23230
23231         * gst/elements/gsttypefindelement.c:
23232         (gst_type_find_element_have_type), (gst_type_find_element_init),
23233         (stop_typefinding), (gst_type_find_element_handle_event),
23234         (gst_type_find_element_chain), (gst_type_find_element_getrange):
23235         * gst/elements/gsttypefindelement.h:
23236           Set caps on all outgoing buffers, not just the first one.
23237
23238 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23239
23240         * gst/elements/gsttypefindelement.c:
23241         (gst_type_find_element_have_type),
23242         (gst_type_find_element_check_set_buffer_caps),
23243         (gst_type_find_element_init), (stop_typefinding),
23244         (gst_type_find_element_handle_event),
23245         (gst_type_find_element_chain), (gst_type_find_element_getrange):
23246         * gst/elements/gsttypefindelement.h:
23247           Set caps on first outgoing buffer when we've found the type.
23248
23249 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23250
23251         * docs/gst/gstreamer-docs.sgml:
23252         * docs/gst/gstreamer-sections.txt:
23253         * docs/gst/tmpl/gstscheduler.sgml:
23254         * docs/gst/tmpl/gstschedulerfactory.sgml:
23255           Remove some old cruft from docs.
23256
23257 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
23258
23259         * gst/gstpad.h:
23260           Fix inline docs for GstPadLinkReturn.
23261           
23262         * gst/gststructure.c: (gst_structure_has_name):
23263         * gst/gststructure.h:
23264         * docs/gst/gstreamer-sections.txt:
23265           New API: gst_structure_has_name().
23266
23267 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
23268
23269         * configure.ac:
23270           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
23271           and _LARGEFILE_SOURCE in config.h as required. Do not 
23272           export those flags in our .pc files any longer (#142209).
23273
23274           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
23275
23276         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
23277         (gst_file_sink_do_seek), (gst_file_sink_event),
23278         (gst_file_sink_get_current_offset), (gst_file_sink_render):
23279           Redo seek/tell calls with large file support in mind; add some
23280           debugging messages; add log message that tells us when large
23281           file support is unavailable or not enabled for some reason.
23282
23283         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
23284           Add log message that tells us when large file support 
23285           is unavailable or not enabled for some reason.
23286
23287 2005-07-29  Wim Taymans  <wim@fluendo.com>
23288
23289         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23290         Added test for removing an element with ghostpad from a bin.
23291         Fixed test as current implementation does the right thing.
23292
23293         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
23294         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
23295         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
23296         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
23297         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
23298         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
23299         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
23300         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23301         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
23302         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
23303         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
23304         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
23305         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
23306         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
23307         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
23308         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
23309         * gst/gstghostpad.h:
23310         Clean up ghostpads, remove properties for internal stuff.
23311         Make threadsafe.
23312         Fix refcounting.
23313         Prepare for switching targets, not all use cases work yet.
23314
23315 2005-07-29  Wim Taymans  <wim@fluendo.com>
23316
23317         * docs/design/part-gstghostpad.txt:
23318         Small update.
23319
23320         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23321         (gst_bin_remove_func):
23322         Unlinking pads while holding the bin LOCK is not a good
23323         idea.
23324
23325         * gst/gstpad.c: (gst_pad_class_init),
23326         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
23327         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
23328         No prob setting template after creating the pad.
23329
23330 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
23331
23332         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
23333         (gst_bus_peek), (gst_bus_source_dispatch),
23334         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
23335         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
23336           gst_bus_poll may be called from other threads. Handle
23337           this nicely by not making poll_data disappear off the
23338           stack once gst_bus_poll returns.
23339           gst_bus_peek now increments the refcount on the returned
23340           message.
23341
23342 2005-07-29  Wim Taymans  <wim@fluendo.com>
23343
23344         * docs/design/part-gstghostpad.txt:
23345         Overview of current GhostPad datastructures and use
23346         cases for changing the target.
23347
23348 2005-07-28  Wim Taymans  <wim@fluendo.com>
23349
23350         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23351         Added checks for hierarchy consistency whan adding linked
23352         elements to bins.
23353
23354         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23355         Added check to test element scheduling without bin/pipeline.
23356
23357         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23358         First add elements to bin, then link.
23359         
23360         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23361         (gst_bin_remove_func):
23362         Unlink pads from elements added/removed from bin to maintain
23363         hierarchy consistency.
23364
23365 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23366
23367         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23368         (gst_base_transform_handle_buffer):
23369         * gst/base/gstbasetransform.h:
23370           Remove broken delay_configure (fixes renegotiation of software
23371           scaling pipelines); remove some leftover printf()s.
23372
23373 2005-07-28  Wim Taymans  <wim@fluendo.com>
23374
23375         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23376         Added some more tests for wrong hierarchy
23377
23378         * docs/design/part-overview.txt:
23379         Some updates.
23380
23381         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
23382         Cleanups.
23383
23384         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
23385         (gst_element_dispose):
23386         Some more cleanups.
23387
23388         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23389         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
23390         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23391         (gst_pad_set_caps), (gst_pad_send_event):
23392         Check for correct hierarchy when linking pads. Moving to
23393         strict requirement for ghostpads when linking elements in
23394         different bins.
23395
23396         * gst/gstpad.h:
23397         Clean ups. Added WRONG_HIERARCHY return value.
23398
23399 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23400
23401         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23402           Better debug if no transform is possible.
23403
23404 2005-07-27  Wim Taymans  <wim@fluendo.com>
23405
23406         * docs/random/wtay/network-transp:
23407         Some old doc I had.
23408
23409 2005-07-27  Wim Taymans  <wim@fluendo.com>
23410
23411         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23412         (gst_dp_event_from_packet):
23413         Fix serialization of seek events.
23414
23415 2005-07-27  Wim Taymans  <wim@fluendo.com>
23416
23417         * check/gst-libs/gdp.c: (GST_START_TEST):
23418         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23419         Fix compilation and fix event serialization.
23420
23421 2005-07-27  Wim Taymans  <wim@fluendo.com>
23422
23423         * CHANGES-0.9:
23424         * docs/design/part-TODO.txt:
23425         * docs/design/part-events.txt:
23426         Some docs updates
23427
23428         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23429         (gst_base_sink_event), (gst_base_sink_do_sync),
23430         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23431         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23432         (gst_base_src_do_seek), (gst_base_src_event_handler),
23433         (gst_base_src_loop):
23434         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23435         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23436         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23437         (gst_base_transform_event), (gst_base_transform_handle_buffer),
23438         (gst_base_transform_set_passthrough),
23439         (gst_base_transform_is_passthrough):
23440         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23441         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23442         Event updates.
23443
23444         * gst/gstbuffer.h:
23445         Use faster casts.
23446
23447         * gst/gstelement.c: (gst_element_seek):
23448         * gst/gstelement.h:
23449         Update gst_element_seek.
23450
23451         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
23452         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
23453         (gst_event_new_flush_start), (gst_event_new_flush_stop),
23454         (gst_event_new_eos), (gst_event_new_newsegment),
23455         (gst_event_parse_newsegment), (gst_event_new_tag),
23456         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
23457         (gst_event_parse_qos), (gst_event_new_seek),
23458         (gst_event_parse_seek), (gst_event_new_navigation):
23459         * gst/gstevent.h:
23460         Make GstEvent use GstStructure. Add parsing code, make sure the
23461         API is sufficiently generic.
23462         Mark possible directions of events and serialization.
23463
23464         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
23465         (_gst_message_copy), (gst_message_new_segment_start),
23466         (gst_message_new_segment_done), (gst_message_new_custom),
23467         (gst_message_parse_segment_start),
23468         (gst_message_parse_segment_done):
23469         Small cleanups.
23470
23471         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23472         (gst_pad_set_caps), (gst_pad_send_event):
23473         Update for new events. 
23474         Catch events sent in wrong directions.
23475
23476         * gst/gstqueue.c: (gst_queue_link_src),
23477         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23478         (gst_queue_handle_src_query):
23479         Event updates.
23480
23481         * gst/gsttag.c:
23482         * gst/gsttag.h:
23483         Remove event code from this file.
23484
23485         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23486         (gst_dp_event_from_packet):
23487         Event updates.
23488
23489 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23490
23491         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
23492         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23493         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
23494           Make debugging actually useful.
23495
23496 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23497
23498         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
23499         (gst_pad_fixate_caps):
23500           Implement default fixation once again, so that gst_pad_fixate()
23501           actually does anything at all. This probably needs to be some
23502           sort of a last resort, and use profile-based fixation first, but
23503           since that doesn't exist yet, this is the best we have. Fixes
23504           visualization in Totem.
23505
23506 2005-07-22  Wim Taymans  <wim@fluendo.com>
23507
23508         * docs/design/part-events.txt:
23509         Small update.
23510
23511         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23512         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
23513         (gst_base_sink_activate_pull):
23514         Some more comments.
23515
23516         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
23517         (gst_fake_src_create):
23518         Fix handoff marshall.
23519
23520         * gst/elements/gstidentity.c: (gst_identity_class_init),
23521         (gst_identity_transform_ip):
23522         We're a real inplace element.
23523
23524         * gst/gstbus.c: (gst_bus_post):
23525         Added some comments.
23526
23527         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
23528         * tests/muxing/case1.c: (main):
23529         * tests/sched/dynamic-pipeline.c: (main):
23530         * tests/sched/interrupt1.c: (main):
23531         * tests/sched/interrupt2.c: (main):
23532         * tests/sched/interrupt3.c: (main):
23533         * tests/sched/runxml.c: (main):
23534         * tests/sched/sched-stress.c: (main):
23535         * tests/seeking/seeking1.c: (event_received), (main):
23536         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23537         (main):
23538         * tests/threadstate/threadstate3.c: (main):
23539         * tests/threadstate/threadstate4.c: (main):
23540         * tests/threadstate/threadstate5.c: (main):
23541         Fix the tests.
23542
23543 2005-07-21  Wim Taymans  <wim@fluendo.com>
23544
23545         * docs/design/part-seeking.txt:
23546         Some small additions.
23547
23548         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23549         (gst_base_sink_get_times), (gst_base_sink_do_sync),
23550         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23551         * gst/base/gstbasesink.h:
23552         discont values are gint64, handle the math correctly.
23553
23554         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23555         Make the basesrc report error if the source pad is not linked.
23556
23557         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
23558         (gst_queue_loop), (gst_queue_handle_src_query),
23559         (gst_queue_src_activate_push):
23560         Make queue collect data even if the srcpad is not linked.
23561         Start pushing out data as soon as it is linked.
23562
23563         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
23564         * gst/gstutils.h:
23565         Added gst_flow_get_name() to ease error reporting.
23566
23567 2005-07-20  Wim Taymans  <wim@fluendo.com>
23568
23569         * gst/gstmessage.c: (gst_message_new_segment_start),
23570         (gst_message_new_segment_done), (gst_message_parse_segment_start),
23571         (gst_message_parse_segment_done):
23572         * gst/gstmessage.h:
23573         Added a bunch of messages for advanced seeking.
23574
23575         * gst/parse/grammar.y:
23576         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
23577         (gst_dpman_state_changed):
23578         Fix some new-pad -> pad-added signals
23579
23580 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23581
23582         * docs/manual/appendix-porting.xml:
23583         * docs/pwg/appendix-porting.xml:
23584           Document new-pad/state-change signal renames and the FixedList
23585           type rename.
23586
23587 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23588
23589         * docs/manual/advanced-autoplugging.xml:
23590         * docs/manual/basics-helloworld.xml:
23591         * docs/manual/basics-pads.xml:
23592         * docs/random/ds/0.9-suggested-changes:
23593         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
23594         * gst/gstelement.h:
23595         * gst/gstevent.h:
23596         * gst/gstformat.h:
23597         * gst/gstquery.h:
23598         * gst/gststructure.c: (gst_structure_value_get_generic_type),
23599         (gst_structure_parse_array), (gst_structure_parse_value):
23600         * gst/gstvalue.c: (gst_type_is_fixed),
23601         (gst_value_list_prepend_value), (gst_value_list_append_value),
23602         (gst_value_list_get_size), (gst_value_list_get_value),
23603         (gst_value_transform_array_string), (gst_value_serialize_array),
23604         (gst_value_deserialize_array), (gst_value_intersect_array),
23605         (gst_value_is_fixed), (_gst_value_initialize):
23606         * gst/gstvalue.h:
23607           GstElement::new-pad -> pad-added, GstElement::state-change ->
23608           state-changed, GstValueFixedList -> GstValueArray, add format and
23609           flags as their own arguments in gst_element_seek() (should improve
23610           "bindeability"), remove function generators since they don't work
23611           under a whole bunch of compilers (they were deprecated already
23612           anyway).
23613
23614 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23615
23616         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23617         (_gst_debug_register_funcptr):
23618         * gst/gstinfo.h:
23619           Fix illegal cast on some platforms (#309253).
23620
23621 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23622
23623         * gst/gstmessage.c: (gst_message_new_custom):
23624         * gst/gstmessage.h:
23625           Add _new_custom, make _new_application a macro to _new_custom.
23626
23627 2005-07-20  Wim Taymans  <wim@fluendo.com>
23628
23629         * gst/base/gstbasesrc.c: (gst_base_src_init),
23630         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
23631         * gst/base/gstbasesrc.h:
23632         Add a gboolean to decide when to push out a discont.
23633
23634         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23635         (gst_queue_loop), (gst_queue_handle_src_query),
23636         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
23637         (gst_queue_set_property), (gst_queue_get_property):
23638         Some cleanups.
23639
23640         * tests/threadstate/threadstate1.c: (main):
23641         Make a thread test compile and run... very silly..
23642
23643
23644 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23645
23646         * docs/manual/appendix-porting.xml:
23647           Mention removal of libgstgconf-0.9.la and existence of gconf
23648           elements.
23649
23650 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23651
23652         * docs/pwg/advanced-clock.xml:
23653         * docs/pwg/appendix-porting.xml:
23654         * docs/pwg/intro-preface.xml:
23655         * docs/pwg/other-base.xml:
23656         * docs/pwg/other-manager.xml:
23657         * docs/pwg/other-nton.xml:
23658         * docs/pwg/other-ntoone.xml:
23659         * docs/pwg/other-oneton.xml:
23660         * docs/pwg/pwg.xml:
23661           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
23662           demuxer), remove n-to-n (was never written), fix some code examples
23663           and links and update the porting section to include all this.
23664
23665 2005-07-19  Wim Taymans  <wim@fluendo.com>
23666
23667         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
23668         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
23669         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
23670         (gst_queue_src_activate_push), (gst_queue_change_state),
23671         (gst_queue_get_property):
23672         * gst/gstqueue.h:
23673         Propagate GstFlowReturn more intelligently upstream and output
23674         an ERROR/EOS when streaming stopped due to fatal error.
23675
23676 2005-07-19  Wim Taymans  <wim@fluendo.com>
23677
23678         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23679         Don't block forever for the state change to complete, the
23680         pipeline already did with a sensible timeout.
23681
23682 2005-07-19  Wim Taymans  <wim@fluendo.com>
23683
23684         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23685         Make sure we never call the create function is we
23686         got deactivated.
23687
23688 2005-07-19  Andy Wingo  <wingo@pobox.com>
23689
23690         * gst/parse/parse.l: Attempt to solve bug #172815.
23691
23692 2005-07-19  Wim Taymans  <wim@fluendo.com>
23693
23694         * docs/design/part-clocks.txt:
23695         * docs/design/part-events.txt:
23696         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
23697         Small docs updates.
23698         Only update the seeking values when we are not
23699         busy streaming.
23700
23701 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
23702
23703         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23704           Oops, ignore the result of gst_pad_push_event here.
23705
23706 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
23707
23708         * gst/base/gstbasesrc.c: (gst_base_src_loop),
23709         (gst_base_src_activate_push):
23710           Send discont event from the loop function, as pads
23711           aren't activated yet in the activate_push handler.
23712
23713         * gst/gstbin.c: (bin_bus_handler):
23714           Don't leak element name.
23715
23716 2005-07-18  Andy Wingo  <wingo@pobox.com>
23717
23718         * configure.ac: Use AS_LIBTOOL_TAGS.
23719
23720 2005-07-18  Wim Taymans  <wim@fluendo.com>
23721
23722         * docs/gst/gstreamer.types:
23723         Remove deleted types.
23724
23725 2005-07-18  Wim Taymans  <wim@fluendo.com>
23726
23727         * check/elements/gstfakesrc.c: (GST_START_TEST):
23728         * configure.ac:
23729         * gst/Makefile.am:
23730         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
23731         (init_popt_callback):
23732         * gst/gst.h:
23733         * gst/gst_private.h:
23734         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
23735         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
23736         * gst/gstbin.h:
23737         * gst/gstbus.h:
23738         * gst/gstconfig.h.in:
23739         * gst/gstelement.c: (gst_element_class_init),
23740         (gst_element_set_base_time), (gst_element_get_base_time),
23741         (iterator_fold_with_resync), (gst_element_change_state),
23742         (gst_element_dispose), (gst_element_get_bus):
23743         * gst/gstelement.h:
23744         * gst/gstelementfactory.h:
23745         * gst/gsterror.c: (_gst_core_errors_init):
23746         * gst/gsterror.h:
23747         * gst/gstevent.h:
23748         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23749         * gst/gstindex.c:
23750         * gst/gstinfo.c: (_gst_debug_init):
23751         * gst/gstmessage.c: (_gst_message_copy):
23752         * gst/gstmessage.h:
23753         * gst/gstminiobject.h:
23754         * gst/gstobject.c:
23755         * gst/gstobject.h:
23756         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23757         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
23758         * gst/gstpad.h:
23759         * gst/gstparse.h:
23760         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23761         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23762         (gst_pipeline_get_last_stream_time):
23763         * gst/gstpipeline.h:
23764         * gst/gstpluginfeature.h:
23765         * gst/gstquery.h:
23766         * gst/gstscheduler.c:
23767         * gst/gstscheduler.h:
23768         * gst/gststructure.h:
23769         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
23770         (gst_task_finalize), (gst_task_func), (gst_task_create),
23771         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
23772         (gst_task_stop), (gst_task_pause):
23773         * gst/gsttask.h:
23774         * gst/gsttypefind.h:
23775         * gst/gsttypes.h:
23776         * gst/registries/gstlibxmlregistry.c: (load_feature),
23777         (gst_xml_registry_load), (gst_xml_registry_save_feature):
23778         * gst/registries/gstxmlregistry.c:
23779         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
23780         * gst/schedulers/threadscheduler.c:
23781         * libs/gst/control/dparammanager.h:
23782         * tools/gst-inspect.c: (print_element_list),
23783         (print_plugin_features), (print_element_features):
23784         * tools/gst-xmlinspect.c: (print_element_list),
23785         (print_plugin_info), (main):
23786         Removed plugable schedulers.
23787         Removed Scheduler/Manager from elements.
23788         Removed gsttypes.h, rearranged includes.
23789         Removed dependency pad<->element, element<>pipeline, and
23790         various others,  fix includes.
23791         implement gst_pad_get_parent() with gst_object_get_parent()
23792         Make GstTask sefcontained.
23793         Fix _get_state() on GstBin, it did not return ASYNC with a 0
23794         timeout.
23795         Fix endless loop in iterator_fold_with_resync.
23796
23797
23798 2005-07-18  Wim Taymans  <wim@fluendo.com>
23799
23800         * gst/Makefile.am:
23801         * gst/gstarch.h:
23802         Remove old file.
23803
23804 2005-07-18  Wim Taymans  <wim@fluendo.com>
23805
23806         * gst/Makefile.am:
23807         No more cothreads.h
23808
23809 2005-07-18  Wim Taymans  <wim@fluendo.com>
23810
23811         * gst/cothreads.c:
23812         * gst/cothreads.h:
23813         Let's remove these.
23814
23815 2005-07-18  Wim Taymans  <wim@fluendo.com>
23816
23817         * docs/design/part-dynamic.txt:
23818         * docs/design/part-events.txt:
23819         * docs/design/part-seeking.txt:
23820         Some more docs in the works.
23821
23822         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23823         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
23824         (gst_base_transform_setcaps), (gst_base_transform_get_size),
23825         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23826         (gst_base_transform_handle_buffer),
23827         (gst_base_transform_sink_activate_push),
23828         (gst_base_transform_src_activate_pull),
23829         (gst_base_transform_set_passthrough),
23830         (gst_base_transform_is_passthrough):
23831         Refcounting fixes.
23832
23833         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
23834         Cleanups.
23835
23836         * gst/gstevent.c: (gst_event_finalize):
23837         Set SRC to NULL.
23838
23839         * gst/gstutils.c: (gst_element_unlink),
23840         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
23841         (gst_pad_proxy_setcaps):
23842         * gst/gstutils.h:
23843         Add _get_parent_element() to get a pads parent as an element.
23844
23845 2005-07-18  Wim Taymans  <wim@fluendo.com>
23846
23847         * check/gst/gstbin.c: (GST_START_TEST):
23848         Remove bogus test.
23849
23850 2005-07-18  Wim Taymans  <wim@fluendo.com>
23851
23852         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23853         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23854         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23855         (gst_base_sink_event), (gst_base_sink_do_sync),
23856         (gst_base_sink_chain), (gst_base_sink_loop),
23857         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
23858         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
23859         Refcounting fixes.
23860         Fix logic for returning ASYNC when not prerolled.
23861
23862 2005-07-18  Wim Taymans  <wim@fluendo.com>
23863
23864         * gst/gstqueue.c: (gst_queue_handle_sink_event):
23865         Fix nasty refcount bug.
23866
23867 2005-07-16 Philippe Khalaf <burger@speedy.org>
23868
23869         * gst/elements/gstfdsrc.c:
23870         * gst/elements/gstfdsrc.h:
23871         * gst/elements/gstelements.c:
23872         * gst/elements/Makefile.am:
23873         Ported fdsrc to 0.9.
23874
23875 2005-07-16  Wim Taymans  <wim@fluendo.com>
23876
23877         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23878         (gst_base_sink_do_sync):
23879         Fix compile error.
23880
23881 2005-07-16  Wim Taymans  <wim@fluendo.com>
23882
23883         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23884         (gst_base_sink_event), (gst_base_sink_get_times),
23885         (gst_base_sink_do_sync), (gst_base_sink_change_state):
23886         * gst/base/gstbasesink.h:
23887         Store and use discont values when syncing buffers as described
23888         in design docs.
23889         
23890         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23891         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
23892         (gst_base_src_activate_push):
23893         Push discont event when starting.
23894
23895         * gst/elements/gstidentity.c: (gst_identity_transform):
23896         Small cleanups.
23897
23898         * gst/gstbin.c: (gst_bin_change_state):
23899         Small cleanups in base_time  distribution.
23900
23901         * gst/gstelement.c: (gst_element_set_base_time),
23902         (gst_element_get_base_time), (gst_element_change_state):
23903         * gst/gstelement.h:
23904         Added methods for the base_time of the element.
23905         Some MT fixes.
23906
23907         * gst/gstpipeline.c: (gst_pipeline_send_event),
23908         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23909         (gst_pipeline_get_last_stream_time):
23910         * gst/gstpipeline.h:
23911         MT fixes.
23912         Handle seeking as described in design doc, remove stream_time
23913         hack.
23914         Cleanups clock and stream_time selection code. Added accessors
23915         for the stream_time.
23916         
23917
23918 2005-07-16  Andy Wingo  <wingo@pobox.com>
23919
23920         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
23921         (#305291).
23922
23923 2005-07-16  Wim Taymans  <wim@fluendo.com>
23924
23925         * check/gst/gstbin.c: (GST_START_TEST):
23926         Make elements silent as the deep_notify refs the
23927         parent, which might make the test fail.
23928
23929         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23930         Don't hold the lock for too long.
23931
23932 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
23933
23934         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
23935           Don't unref the caps we passed to gst_caps_make_writable() after
23936           passing them. gst_caps_make_writable() will do that for us.
23937
23938 2005-07-15  Andy Wingo  <wingo@pobox.com>
23939
23940         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
23941         (#157311).
23942
23943         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
23944         own marshalling function for the handoff signal. Properly type the
23945         buffer as a buffer. Fixes some warnings. Should do a more general
23946         solution.
23947         (gst_identity_class_init): Plug into the right marshaller.
23948
23949 2005-07-15  Wim Taymans  <wim@fluendo.com>
23950
23951         * docs/design/part-TODO.txt:
23952         * docs/design/part-clocks.txt:
23953         * docs/design/part-element-sink.txt:
23954         * docs/design/part-events.txt:
23955         * docs/design/part-gstpipeline.txt:
23956         Updated docs, mostly DISCONT related.
23957
23958 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
23959
23960         * docs/pwg/building-pads.xml:
23961           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
23962
23963 2005-07-15  Andy Wingo  <wingo@pobox.com>
23964
23965         * tools/gst-typefind.c: Update, add copyright block.
23966
23967         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
23968         Normalize and truncate caps before fixation.
23969
23970         * gst/gstcaps.h:
23971         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
23972         discards all but the first structure from its argument.
23973
23974 2005-07-15  Wim Taymans  <wim@fluendo.com>
23975
23976         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23977         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
23978         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23979         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23980         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
23981         (gst_base_transform_chain), (gst_base_transform_change_state),
23982         (gst_base_transform_set_passthrough),
23983         (gst_base_transform_is_passthrough):
23984         * gst/base/gstbasetransform.h:
23985         Make passthrough work using the bufferpools.
23986         Changed API a bit, subclasses have to write into a buffer
23987         provided by the base class.
23988         More debug info in nego functions.
23989         
23990         * gst/elements/gstidentity.c: (gst_identity_init),
23991         (gst_identity_transform):
23992         Port to new base class.
23993
23994 2005-07-15  Wim Taymans  <wim@fluendo.com>
23995
23996         * gst/gstmessage.c: (gst_message_new_state_changed):
23997         * tools/gst-launch.c: (event_loop), (main):
23998         Totally dump messages in -launch with the -m option.
23999         Fix message name for State messages,
24000
24001 2005-07-14  Wim Taymans  <wim@fluendo.com>
24002
24003         * gst/base/gstbasesrc.c: (gst_base_src_loop):
24004         Post error messages on errors.
24005
24006 2005-07-14  Wim Taymans  <wim@fluendo.com>
24007
24008         * gst/gstcaps.c: (gst_caps_do_simplify):
24009         Remove debug info.
24010
24011         * gst/gsterror.h:
24012         Define error for stream stopped.
24013
24014         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24015         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
24016         Do proper return values.
24017
24018         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24019         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
24020         (gst_pad_get_range):
24021         Better return values.
24022
24023         * gst/gstpad.h:
24024         Reorganise return values, add macro to check for fatal errors.
24025
24026         * gst/gstqueue.c: (gst_queue_chain):
24027         Return proper GstFlowReturn values,
24028
24029 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
24030
24031         * docs/gst/gstreamer-sections.txt:
24032         * docs/gst/gstreamer.types:
24033         * docs/gst/tmpl/gst.sgml:
24034         * docs/gst/tmpl/gstbasesink.sgml:
24035         * docs/gst/tmpl/gstbasesrc.sgml:
24036         * docs/gst/tmpl/gstbasetransform.sgml:
24037         * docs/gst/tmpl/gstbin.sgml:
24038         * docs/gst/tmpl/gstbuffer.sgml:
24039         * docs/gst/tmpl/gstcaps.sgml:
24040         * docs/gst/tmpl/gstclock.sgml:
24041         * docs/gst/tmpl/gstcompat.sgml:
24042         * docs/gst/tmpl/gstconfig.sgml:
24043         * docs/gst/tmpl/gstelement.sgml:
24044         * docs/gst/tmpl/gstelementdetails.sgml:
24045         * docs/gst/tmpl/gstelementfactory.sgml:
24046         * docs/gst/tmpl/gstenumtypes.sgml:
24047         * docs/gst/tmpl/gsterror.sgml:
24048         * docs/gst/tmpl/gstevent.sgml:
24049         * docs/gst/tmpl/gstfakesink.sgml:
24050         * docs/gst/tmpl/gstfakesrc.sgml:
24051         * docs/gst/tmpl/gstfilesink.sgml:
24052         * docs/gst/tmpl/gstfilesrc.sgml:
24053         * docs/gst/tmpl/gstfilter.sgml:
24054         * docs/gst/tmpl/gstformat.sgml:
24055         * docs/gst/tmpl/gstghostpad.sgml:
24056         * docs/gst/tmpl/gstimplementsinterface.sgml:
24057         * docs/gst/tmpl/gstindex.sgml:
24058         * docs/gst/tmpl/gstindexfactory.sgml:
24059         * docs/gst/tmpl/gstinfo.sgml:
24060         * docs/gst/tmpl/gstiterator.sgml:
24061         * docs/gst/tmpl/gstmacros.sgml:
24062         * docs/gst/tmpl/gstmemchunk.sgml:
24063         * docs/gst/tmpl/gstminiobject.sgml:
24064         * docs/gst/tmpl/gstobject.sgml:
24065         * docs/gst/tmpl/gstpad.sgml:
24066         * docs/gst/tmpl/gstpadtemplate.sgml:
24067         * docs/gst/tmpl/gstparse.sgml:
24068         * docs/gst/tmpl/gstpipeline.sgml:
24069         * docs/gst/tmpl/gstplugin.sgml:
24070         * docs/gst/tmpl/gstpluginfeature.sgml:
24071         * docs/gst/tmpl/gstquery.sgml:
24072         * docs/gst/tmpl/gstqueue.sgml:
24073         * docs/gst/tmpl/gstregistry.sgml:
24074         * docs/gst/tmpl/gstregistrypool.sgml:
24075         * docs/gst/tmpl/gstscheduler.sgml:
24076         * docs/gst/tmpl/gstschedulerfactory.sgml:
24077         * docs/gst/tmpl/gststructure.sgml:
24078         * docs/gst/tmpl/gstsystemclock.sgml:
24079         * docs/gst/tmpl/gsttaglist.sgml:
24080         * docs/gst/tmpl/gsttagsetter.sgml:
24081         * docs/gst/tmpl/gsttrace.sgml:
24082         * docs/gst/tmpl/gsttrashstack.sgml:
24083         * docs/gst/tmpl/gsttypefind.sgml:
24084         * docs/gst/tmpl/gsttypefindfactory.sgml:
24085         * docs/gst/tmpl/gsttypes.sgml:
24086         * docs/gst/tmpl/gsturihandler.sgml:
24087         * docs/gst/tmpl/gsturitype.sgml:
24088         * docs/gst/tmpl/gstutils.sgml:
24089         * docs/gst/tmpl/gstvalue.sgml:
24090         * docs/gst/tmpl/gstversion.sgml:
24091         * docs/gst/tmpl/gstxml.sgml:
24092         * docs/libs/tmpl/gstcontrol.sgml:
24093         * docs/libs/tmpl/gstdataprotocol.sgml:
24094         * docs/libs/tmpl/gstdparam.sgml:
24095         * docs/libs/tmpl/gstdplinint.sgml:
24096         * docs/libs/tmpl/gstdpman.sgml:
24097         * docs/libs/tmpl/gstdpsmooth.sgml:
24098         * docs/libs/tmpl/gstgetbits.sgml:
24099         * docs/libs/tmpl/gstunitconvert.sgml:
24100         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
24101         (gst_push_src_base_init), (gst_push_src_class_init),
24102         (gst_push_src_init), (gst_push_src_create):
24103         * gst/base/gstpushsrc.h:
24104         * gst/elements/gstelements.c:
24105         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
24106         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
24107         (gst_fake_sink_init), (gst_fake_sink_set_property),
24108         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
24109         (gst_fake_sink_event), (gst_fake_sink_preroll),
24110         (gst_fake_sink_render), (gst_fake_sink_change_state):
24111         * gst/elements/gstfakesink.h:
24112         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
24113         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
24114         (gst_fake_src_base_init), (gst_fake_src_class_init),
24115         (gst_fake_src_init), (gst_fake_src_event_handler),
24116         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
24117         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
24118         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
24119         (gst_fake_src_create_buffer), (gst_fake_src_create),
24120         (gst_fake_src_start), (gst_fake_src_stop):
24121         * gst/elements/gstfakesrc.h:
24122         * gst/elements/gstfilesink.c: (_do_init),
24123         (gst_file_sink_base_init), (gst_file_sink_class_init),
24124         (gst_file_sink_init), (gst_file_sink_dispose),
24125         (gst_file_sink_set_location), (gst_file_sink_set_property),
24126         (gst_file_sink_get_property), (gst_file_sink_open_file),
24127         (gst_file_sink_close_file), (gst_file_sink_query),
24128         (gst_file_sink_event), (gst_file_sink_render),
24129         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
24130         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
24131         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
24132         * gst/elements/gstfilesink.h:
24133         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
24134         (gst_file_src_class_init), (gst_file_src_init),
24135         (gst_file_src_finalize), (gst_file_src_set_location),
24136         (gst_file_src_set_property), (gst_file_src_get_property),
24137         (gst_file_src_map_region), (gst_file_src_map_small_region),
24138         (gst_file_src_create_mmap), (gst_file_src_create_read),
24139         (gst_file_src_create), (gst_file_src_is_seekable),
24140         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
24141         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
24142         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
24143         (gst_file_src_uri_handler_init):
24144         * gst/elements/gstfilesrc.h:
24145           more autistic cleanliness in functions/names/defines
24146
24147 2005-07-13  Andy Wingo  <wingo@pobox.com>
24148
24149         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
24150         source couldn't negotiate.
24151
24152         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
24153         connections again.
24154
24155         * gst/gstutils.h:
24156         * gst/gstutils.c (gst_element_link_pads_filtered): New old
24157         function. I am channeling Hades. Put your boots on suckers!!!
24158
24159 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
24160
24161         * testsuite/caps/Makefile.am:
24162         * testsuite/caps/value_compare.c:
24163         * testsuite/caps/value_intersect.c:
24164         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24165           move two testsuite apps over to the check dir
24166
24167 2005-07-12  Wim Taymans  <wim@fluendo.com>
24168
24169         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
24170         Added more debug info in the negotiate process.
24171
24172         * gst/gstmessage.h:
24173         Prepare for segment playback.
24174
24175         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
24176         Better debugging.
24177
24178         * gst/gstutils.c:
24179         Some more docs.
24180
24181         * tools/gst-launch.c: (main):
24182         NULL pipeline on errors.
24183
24184 2005-07-12  Andy Wingo  <wingo@pobox.com>
24185
24186         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
24187         not it comes from a malloc region. Make sure our copy gets freed.
24188
24189 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24190
24191         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24192         * check/gst/gstmessage.c: (GST_START_TEST):
24193         * check/gst/gststructure.c: (GST_START_TEST),
24194         (gst_structure_suite), (main):
24195           more testing
24196         * gst/gstelement.c: (gst_element_message_full):
24197           clean up GError and debug string now that they get copied
24198         * gst/gstmessage.c: (gst_message_new_error),
24199         (gst_message_new_warning), (gst_message_parse_error),
24200         (gst_message_parse_warning):
24201           use GST_TYPE_G_ERROR for structure_new, and take copies of
24202           arguments, so that we don't mess up refcounting
24203
24204 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24205
24206         * check/Makefile.am:
24207           add per-test valgrind targets
24208         * check/gst-libs/gdp.c: (GST_START_TEST),
24209         (gst_data_protocol_suite), (main):
24210           clean up
24211
24212 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24213
24214         * check/Makefile.am:
24215           instate more valgrindable tests
24216         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24217         (GST_START_TEST), (fakesrc_suite):
24218         * check/gst/gstpad.c: (GST_START_TEST):
24219         * check/gst/gststructure.c: (GST_START_TEST):
24220           fix test leaks
24221         * docs/gst/tmpl/gstminiobject.sgml:
24222         * gst/gstpad.c: (gst_pad_finalize):
24223           fix the static mutex leak
24224
24225 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24226
24227         * check/Makefile.am:
24228           add two more tests for valgrinding
24229         * check/gst/gstvalue.c: (GST_START_TEST):
24230           test refcount of deserialized buffer, found a leak
24231         * docs/gst/gstreamer-docs.sgml:
24232         * docs/gst/gstreamer-sections.txt:
24233         * docs/gst/gstreamer.types:
24234         * docs/gst/tmpl/gstminiobject.sgml:
24235           add miniobject to docs
24236         * gst/gstminiobject.c:
24237           add some docs
24238         * gst/gstvalue.c: (gst_value_deserialize_buffer),
24239         (gst_string_unwrap):
24240           fix a hard-to-find invalid write for one of the tests
24241           fix a leak for deserialized buffers
24242
24243 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24244
24245         * docs/pwg/advanced-events.xml:
24246         * docs/pwg/advanced-request.xml:
24247         * docs/pwg/advanced-scheduling.xml:
24248         * docs/pwg/appendix-porting.xml:
24249         * docs/pwg/building-boiler.xml:
24250         * docs/pwg/intro-preface.xml:
24251         * docs/pwg/other-ntoone.xml:
24252           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
24253           of example code and explanation for pad activation, loop() and
24254           getrange() functions and a bit more. Remove old comments pointing
24255           to loop-functions.
24256         * examples/pwg/Makefile.am:
24257           Add loop/getrange examples.
24258
24259 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24260
24261         * configure.ac:
24262           check for valgrind binary + some fixes
24263         * check/gst.supp:
24264           valgrind suppressions for the tests
24265         * check/Makefile.am:
24266           add a valgrind: target that valgrinds the unit tests
24267         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
24268         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24269         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24270         * check/gst/gstghostpad.c:
24271           added some cleanup
24272         * check/gst/gstdata.c:
24273           removed
24274         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
24275         (thread_unref), (gst_mini_object_suite), (main):
24276           added
24277         * gst/gst.c: (gst_deinit):
24278         * gst/gst.h:
24279           add a method to clean up.
24280         * gst/gstsystemclock.c: (gst_system_clock_dispose),
24281         (gst_system_clock_obtain):
24282           allow for disposing the system clock.
24283         * tools/gst-launch.c: (main):
24284           deinit
24285
24286 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24287
24288         * docs/gst/tmpl/gstbasesrc.sgml:
24289         * docs/gst/tmpl/gstfakesrc.sgml:
24290         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24291         (gst_base_src_init), (gst_base_src_set_property),
24292         (gst_base_src_get_property), (gst_base_src_get_range),
24293         (gst_base_src_start):
24294         * gst/base/gstbasesrc.h:
24295           add num-buffers property
24296         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24297         (gst_fakesrc_init), (gst_fakesrc_set_property),
24298         (gst_fakesrc_get_property), (gst_fakesrc_create),
24299         (gst_fakesrc_start):
24300           remove num-buffers property
24301
24302 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24303
24304         * docs/gst/gstreamer-sections.txt:
24305         * docs/gst/tmpl/gstbasesink.sgml:
24306         * docs/gst/tmpl/gstbasesrc.sgml:
24307         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24308         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24309         (gst_base_sink_finalize), (gst_base_sink_set_clock),
24310         (gst_base_sink_set_property), (gst_base_sink_get_property),
24311         (gst_base_sink_handle_object), (gst_base_sink_event),
24312         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
24313         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
24314         (gst_base_sink_loop), (gst_base_sink_deactivate),
24315         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
24316         (gst_base_sink_change_state):
24317         * gst/base/gstbasesink.h:
24318         * gst/base/gstbasesrc.h:
24319         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
24320         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24321         (gst_filesink_init):
24322           more macro splitting
24323
24324 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24325
24326         * gst/gstelement.c: (gst_element_get_bus):
24327           add debug
24328         * tools/gst-launch.c: (check_intr), (event_loop):
24329           fix bus leaks
24330
24331 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24332
24333         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
24334           fix a caps leak
24335
24336 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24337
24338         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24339         (gst_base_src_finalize):
24340           add finalize method and clean up properly
24341         * gst/gstpipeline.c: (gst_pipeline_dispose):
24342           add debug
24343
24344 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24345
24346         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
24347         (gst_bin_suite):
24348           add more things to check
24349         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24350         * gst/gstelement.c:
24351           more debug
24352
24353 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24354
24355         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24356         (GST_START_TEST), (fakesrc_suite):
24357         * check/gst-libs/gdp.c: (GST_START_TEST):
24358         * check/gst/gst.c: (GST_START_TEST):
24359         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24360         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24361         * check/gst/gstbus.c: (GST_START_TEST):
24362         * check/gst/gstcaps.c: (GST_START_TEST):
24363         * check/gst/gstdata.c: (GST_START_TEST):
24364         * check/gst/gstelement.c: (GST_START_TEST):
24365         * check/gst/gstghostpad.c: (GST_START_TEST):
24366         * check/gst/gstiterator.c: (GST_START_TEST):
24367         * check/gst/gstmessage.c: (GST_START_TEST):
24368         * check/gst/gstobject.c: (GST_START_TEST):
24369         * check/gst/gstpad.c: (GST_START_TEST):
24370         * check/gst/gststructure.c: (GST_START_TEST):
24371         * check/gst/gstsystemclock.c: (GST_START_TEST),
24372         (gst_systemclock_suite):
24373         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24374         * check/gst/gstvalue.c: (GST_START_TEST):
24375         * check/pipelines/cleanup.c: (GST_START_TEST):
24376         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24377         * check/states/sinks.c: (GST_START_TEST):
24378         * check/gstcheck.c: (gst_check_init):
24379         * check/gstcheck.h:
24380           add debugging category
24381           use GST_START_TEST now, so we add a debug line
24382
24383 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24384
24385         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
24386           add test for state change message on a bin
24387         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
24388           add another test
24389         * gst/gstbin.c: (gst_bin_init):
24390         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
24391         * gst/gstelement.c: (gst_element_post_message),
24392         (gst_element_set_state):
24393         * gst/gstelementfactory.c: (gst_element_factory_create):
24394         * gst/gstmessage.c: (gst_message_new):
24395         * gst/gstscheduler.c:
24396           various debugging additions and cleanups
24397
24398 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24399
24400         * check/Makefile.am:
24401         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
24402         (main):
24403           adding tests for elements
24404         * gst/gstelement.c: (gst_element_dispose):
24405
24406 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24407
24408         * gst/registries/gstlibxmlregistry.c: (load_feature):
24409           plug more leaks.  A simple gst_init() now is leakfree, yay.
24410
24411 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24412
24413         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
24414         (gst_xml_registry_load):
24415           plug another memleak
24416
24417 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24418
24419         * configure.ac:
24420           use GST_SET_ERROR_CFLAGS
24421         * docs/faq/cvs.xml:
24422           change to ERROR_CFLAGS
24423
24424 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24425
24426         * configure.ac:
24427           make GST_ERROR_CFLAGS overridable and re-enable Werror
24428         * docs/faq/cvs.xml:
24429           add a note about error CFLAGS
24430         * docs/gst/tmpl/gstfakesrc.sgml:
24431         * gst/elements/gstfakesrc.c:
24432           comment out some unused code
24433         * gst/gst.c: (split_and_iterate):
24434         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
24435         (load_feature):
24436           plug some memleaks
24437
24438 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24439
24440         * common/Makefile.am:
24441         * common/gtk-doc.mak:
24442         * docs/gst/Makefile.am:
24443           factor out gtk-doc.mak
24444
24445 2005-07-07  Wim Taymans  <wim@fluendo.com>
24446
24447         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
24448         (gst_thread_scheduler_dispose):
24449         Unlock the STREAM_LOCK completely.
24450
24451 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24452
24453         * check/Makefile.am:
24454         * check/elements/.cvsignore:
24455         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24456         (START_TEST), (fakesrc_suite), (main):
24457         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24458         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24459         (gst_fakesrc_create), (gst_fakesrc_start):
24460         * gst/elements/gstfakesrc.h:
24461           adding a first element test
24462
24463 2005-07-07  Andy Wingo  <wingo@pobox.com>
24464
24465         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
24466         debug message.
24467
24468 2005-07-07  Wim Taymans  <wim@fluendo.com>
24469
24470         * gst/gstquery.c:
24471         * gst/gstquery.h:
24472         Remove old types
24473
24474 2005-07-07  Wim Taymans  <wim@fluendo.com>
24475
24476         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24477         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
24478         Allow subclasses to implement their own negotiation.
24479
24480 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24481
24482         * docs/design/part-gstbin.txt:
24483         * docs/design/part-gstpipeline.txt:
24484           Update design notes to reflect the movement of
24485           responsibility for bus handling from GstPipeline to
24486           GstBin
24487
24488 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24489
24490         * configure.ac:
24491           Remove unnecessary queue2/3/4 examples.
24492
24493 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24494
24495         * examples/Makefile.am:
24496         * examples/helloworld/helloworld.c: (event_loop), (main):
24497         * examples/queue/queue.c: (event_loop), (main):
24498         * examples/queue2/queue2.c: (main):
24499           Update a couple of the examples to work again.
24500
24501         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24502         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
24503          Spelling corrections and extra debug.
24504         
24505         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
24506         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
24507         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
24508         * gst/gstbin.h:
24509         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24510         (gst_pipeline_change_state):
24511         * gst/gstpipeline.h:
24512           Move the bus handler for children to the GstBin, and create a
24513           separate bus for receiving messages from children to the one the
24514           bus sends 'upwards' on.
24515
24516 2005-07-06  Wim Taymans  <wim@fluendo.com>
24517
24518         * gst/base/README:
24519         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24520         (gst_base_sink_handle_object), (gst_base_sink_loop),
24521         (gst_base_sink_change_state):
24522         * gst/base/gstbasesink.h:
24523         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24524         (gst_base_src_init), (gst_base_src_setcaps),
24525         (gst_base_src_getcaps), (gst_base_src_loop),
24526         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
24527         (gst_base_src_start), (gst_base_src_change_state):
24528         * gst/base/gstbasesrc.h:
24529         Make basesrc negotiate.
24530         Handle the case where preroll fails in basesink.
24531         Update README.
24532
24533 2005-07-06  Wim Taymans  <wim@fluendo.com>
24534
24535         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
24536         Implement the fixate function.
24537         Clean up acceptcaps.
24538
24539 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24540
24541         * docs/pwg/building-filterfactory.xml:
24542         * docs/pwg/pwg.xml:
24543           Remove never-written filter-factory chapter; I'll add the various
24544           base classes to part 4 ("other element types") later on.
24545
24546 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24547
24548         * docs/pwg/advanced-negotiation.xml:
24549         * docs/pwg/building-boiler.xml:
24550         * docs/pwg/building-pads.xml:
24551         * docs/pwg/pwg.xml:
24552         * examples/pwg/Makefile.am:
24553           Add a chapter on caps negotiation, simplify the original code
24554           samples a bit w.r.t. caps negotiation, add link to the advanced
24555           section. Add a bunch of examples showing different use cases of
24556           different types of caps negotiation. Upstream renegotiation isn't
24557           fully documented yet since nobody knows how that works.
24558
24559 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24560
24561         * check/gst/gstpad.c:
24562         * check/gstcheck.c:
24563         * gst/gstpad.c: (gst_pad_get_internal_links_default):
24564           if pad has no parent, return NULL as list of internal links
24565
24566 2005-07-05  Andy Wingo  <wingo@pobox.com>
24567
24568         * gst/elements/gstfilesrc.c:
24569         * gst/elements/gstfakesrc.c: 
24570         * gst/base/gstpushsrc.c:
24571         * gst/base/gstbasesrc.h: 
24572         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
24573         
24574 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
24575
24576         * Makefile.am:
24577           better report generation target (lcov needs a patch)
24578
24579 2005-07-05  Andy Wingo  <wingo@pobox.com>
24580
24581         * gst/elements, testsuite: Null if we got it...
24582
24583 2005-07-05  Wim Taymans  <wim@fluendo.com>
24584
24585         * configure.ac:
24586         * libs/gst/dataprotocol/Makefile.am:
24587         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
24588         * libs/gst/dataprotocol/dataprotocol.h:
24589         * pkgconfig/Makefile.am:
24590         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
24591         * pkgconfig/gstreamer-dataprotocol.pc.in:
24592         Ported dataprotol to 0.9. 
24593         Added pkgconfig files.
24594
24595 2005-07-05  Andy Wingo  <wingo@pobox.com>
24596
24597         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
24598         Default to returning TRUE for the case when tranform_caps returns
24599         a fixed caps, like for identity or volume.
24600
24601         * check/gst/gstbus.c (pound_bus_with_messages): 
24602         * check/gst/gstmessage.c (START_TEST): 
24603         * check/pipelines/simple_launch_lines.c (got_handoff): Application
24604         message API change.
24605
24606         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
24607         logic weaks here: always run transform_caps, trying passthrough
24608         operation only if the original caps intersects with the transform.
24609
24610         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
24611         source and sink caps.
24612
24613         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
24614         Intersect the peer caps with the pad template before going into
24615         transform_caps.
24616         (gst_base_transform_transform_caps): More debugging.
24617
24618         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
24619         src argument.
24620
24621 2005-07-04  Edward Hervey  <edward@fluendo.com>
24622
24623         * gst/gstutils.c:
24624         * gst/gstutils.h:
24625         (gst_pad_add_*_probe): now returns the signal id for better wrapping
24626         in bindings.
24627
24628 2005-07-04  Andy Wingo  <wingo@pobox.com>
24629
24630         * check/gst/gstpad.c: Only set explicit caps on pads.
24631
24632 2005-07-01  Andy Wingo  <wingo@pobox.com>
24633
24634         * tests/network-clock.scm: Commentary update.
24635
24636         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
24637         Didn't really make sense, not implementable with basetransform,
24638         etc.
24639         (gst_identity_transform): Unref inbuf via make_writable. Feeble
24640         attempt at implementing the sync property, needs an unlock method.
24641
24642         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
24643         New func, by default returns the same caps (the identity
24644         transformation).
24645         (gst_base_transform_getcaps): Uses transform_caps to return
24646         something sensible.
24647         (gst_base_transform_setcaps): Complicated logic to get caps on
24648         both pads, even if they are different, and to call set_caps once
24649         for every time both pads get their caps set.
24650         (gst_base_transform_handle_buffer): Give the ref to the transform
24651         function. Allows in-place modification of the buffer.
24652
24653         * gst/base/gstbasetransform.h (transform_caps): New class method.
24654         Given caps on one side, what can I do on the other.
24655         (set_caps): Take two caps, one for each side of the element.
24656
24657         * gst/gstpad.h:
24658         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
24659         caps in place. This is safe because we can check the mutability of
24660         the caps, and a good idea because fixate functions are just called
24661         as a matter of last resort. (Not actually implemented.)
24662         (gst_pad_set_caps): If the caps we're setting is actually the same
24663         as the existing pad caps, just update the pointer without calling
24664         setcaps. Assert that caps is either NULL or fixed, as per the
24665         docs.
24666
24667         * gst/gstghostpad.c: Update for fixate changes.
24668
24669 2005-07-02  Andy Wingo  <wingo@pobox.com>
24670
24671         * gst/gstcaps.c:
24672         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
24673         two refcounts makes it immutable, which is enough. Doc more.
24674
24675 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
24676
24677         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
24678           Put the mini_object into GValue as a mini_object,
24679           not a gpointer, since that's how we declared
24680           the signal.
24681
24682 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24683
24684         * examples/pwg/Makefile.am:
24685           Fix buildbot again.
24686
24687 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24688
24689         * docs/pwg/building-testapp.xml:
24690           Add extra check.
24691         * examples/pwg/Makefile.am:
24692           Fix buildbot.
24693
24694 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24695
24696         * configure.ac:
24697         * examples/Makefile.am:
24698         * examples/pwg/Makefile.am:
24699         * examples/pwg/extract.pl:
24700           Enable building the PWG examples.
24701         * docs/pwg/advanced-interfaces.xml:
24702           Add URI interface stub.
24703         * docs/pwg/advanced-types.xml:
24704         * docs/pwg/other-autoplugger.xml:
24705         * docs/pwg/appendix-porting.xml:
24706         * docs/pwg/pwg.xml:
24707           Add porting guide (mostly stubs), remove autoplugging (see ADM).
24708         * docs/pwg/building-boiler.xml:
24709         * docs/pwg/building-chainfn.xml:
24710         * docs/pwg/building-pads.xml:
24711         * docs/pwg/building-props.xml:
24712         * docs/pwg/building-state.xml:
24713         * docs/pwg/building-testapp.xml:
24714           Update the building-*.xml parts for 0.9 changes. All examples
24715           code blocks compile in examples/pwg/*.
24716
24717 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24718
24719         * docs/manual/advanced-autoplugging.xml:
24720         * docs/manual/appendix-checklist.xml:
24721         * docs/manual/appendix-integration.xml:
24722         * docs/manual/highlevel-components.xml:
24723           Fix playbin/decodebin examples, update docs a bit, mention bus
24724           instead of signals in various places, mention kmplayer and
24725           kaffeine since they have a working GStreamer backend in the KDE
24726           section.
24727
24728 2005-06-30  Wim Taymans  <wim@fluendo.com>
24729
24730         * CHANGES-0.9:
24731         * docs/design/draft-ghostpads.txt:
24732         * docs/design/draft-push-pull.txt:
24733         * docs/design/draft-query.txt:
24734         * docs/design/part-TODO.txt:
24735         * docs/design/part-query.txt:
24736         Added CHANGES-0.9 doc, updated status of other docs.
24737         
24738         * gst/gstquery.h:
24739         Remove "hmm" macro
24740
24741 2005-06-30  Wim Taymans  <wim@fluendo.com>
24742
24743         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24744         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24745         (gst_base_sink_change_state):
24746         * gst/base/gstbasesink.h:
24747         Some tweaks, only EOS and a buffer complete a preroll.
24748
24749 2005-06-30  Andy Wingo  <wingo@pobox.com>
24750
24751         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
24752         activate_push down to the internal pad as well.
24753
24754 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
24755
24756         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24757
24758         * gst/gsttaginterface.c:
24759           Some documentation fixes (#307394 and #307397).
24760
24761 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
24762
24763         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24764
24765         * gst/gstvalue.c: (gst_value_intersect_list):
24766           Fix memleak (#309125).
24767
24768 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24769
24770         * docs/manual/advanced-dataaccess.xml:
24771           Fix fakesrc example to compile; doesn't work, bug somewhere...?
24772         * docs/manual/basics-pads.xml:
24773           Add reference for filtered caps to above chapter.
24774
24775 2005-06-30  Wim Taymans  <wim@fluendo.com>
24776
24777         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
24778         (gst_bin_change_state):
24779         Probes are gone.
24780         Lame attempt at making the state change function a bit
24781         more readable.
24782
24783 2005-06-30  Wim Taymans  <wim@fluendo.com>
24784
24785         * docs/design/part-clocks.txt:
24786         * docs/design/part-element-sink.txt:
24787         * docs/design/part-events.txt:
24788         * docs/design/part-preroll.txt:
24789         * docs/design/part-states.txt:
24790         Some more tweeks and additions to the docs.
24791
24792 2005-06-30  Wim Taymans  <wim@fluendo.com>
24793
24794         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24795         (default_have_data), (gst_pad_class_init), (gst_pad_init),
24796         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24797         (gst_pad_check_pull_range), (gst_pad_get_range),
24798         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
24799         * gst/gstpad.h:
24800         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
24801         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24802         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24803         (gst_pad_remove_buffer_probe):
24804         Removed atomic operations, use existing LOCK.
24805         Move exception handling out of main code path.
24806
24807 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24808
24809         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24810         (silly_return_true_function), (gst_pad_class_init),
24811         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24812         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
24813         (gst_pad_send_event):
24814           Fix accumulator, add default value by using _emitv() instead
24815           of _emit() for signal emission.
24816
24817 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24818
24819         * docs/manual/advanced-dataaccess.xml:
24820         * examples/manual/Makefile.am:
24821           Add probe example.
24822         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
24823           Make work (??).
24824
24825 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
24826
24827         * gst/elements/gstfilesink.c: (gst_filesink_render):
24828           Simplify code so that we don't have to handle short
24829           writes and return GST_FLOW_ERROR if an error occured.
24830
24831 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24832
24833         * docs/gst/gstreamer-docs.sgml:
24834           Remove probes more.
24835
24836 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24837
24838         * docs/gst/gstreamer-sections.txt:
24839         * docs/gst/tmpl/gstpad.sgml:
24840         * docs/gst/tmpl/gstprobe.sgml:
24841         * gst/Makefile.am:
24842         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24843         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
24844         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24845         (gst_pad_push_event), (gst_pad_send_event):
24846         * gst/gstpad.h:
24847         * gst/gstutils.c: (gst_pad_add_data_probe),
24848         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24849         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24850         (gst_pad_remove_buffer_probe):
24851         * gst/gstutils.h:
24852           Remove old probes, add new g-signal-based probes and some utility
24853           functions.
24854
24855 2005-06-29  Edward Hervey  <edward@fluendo.com>
24856
24857         * gst/gstelementfactory.c:
24858         * gst/gstutils.h:
24859         * gst/gstutils.c:
24860         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
24861         the definition to the header file.
24862
24863 2005-06-29  Andy Wingo  <wingo@pobox.com>
24864
24865         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
24866         plugins from the source directory.
24867
24868 2005-06-29  Wim Taymans  <wim@fluendo.com>
24869
24870         * docs/gst/tmpl/gstbuffer.sgml:
24871         * docs/gst/tmpl/gstclock.sgml:
24872         Some fixings for blantently wrong text.
24873
24874 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24875
24876         * check/Makefile.am:
24877         * gst/gst.c: (add_path_func), (init_pre):
24878         * gst/gstregistry.c: (gst_registry_add_path):
24879           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
24880           only scan the GST_PLUGIN_PATH locations, and not add
24881           system locations
24882
24883 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24884
24885         * docs/gst/gstreamer-sections.txt:
24886         * docs/gst/tmpl/gstbasesrc.sgml:
24887         * gst/gstelement.c:
24888         * gst/gstelement.h:
24889         * gst/gstevent.c:
24890         * gst/gstutils.c:
24891           doc fixes
24892
24893 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24894
24895         * docs/manual/advanced-autoplugging.xml:
24896           Fix autoplugging example.
24897
24898 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24899
24900         * docs/manual/advanced-autoplugging.xml:
24901         * docs/manual/mime-world.fig:
24902           Try to get autoplugging working, fix type detection. Fix text
24903           in hello-world image.
24904
24905 2005-06-29  Wim Taymans  <wim@fluendo.com>
24906
24907         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24908         (gst_base_sink_change_state):
24909         Small debug line.
24910
24911         * gst/gstclock.h:
24912         map SIGNAL and BROADCAST to the right function.
24913
24914         * gst/gstobject.h:
24915         Remove redundant braces.
24916
24917         * gst/gstpad.c: (gst_pad_set_caps):
24918         Don't call setcaps function when reseting caps to NULL.
24919
24920         * gst/gstsystemclock.c: (gst_system_clock_dispose),
24921         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
24922         (gst_system_clock_id_unschedule):
24923         Use BROADCAST as this is what we do.
24924
24925 2005-06-29  Wim Taymans  <wim@fluendo.com>
24926
24927         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24928         We are actually prerolling before commiting the state
24929         change. 
24930
24931 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24932
24933         * docs/manual/advanced-clocks.xml:
24934         * docs/manual/advanced-interfaces.xml:
24935         * docs/manual/advanced-metadata.xml:
24936         * docs/manual/advanced-position.xml:
24937         * docs/manual/advanced-schedulers.xml:
24938         * docs/manual/advanced-threads.xml:
24939         * docs/manual/appendix-porting.xml:
24940         * docs/manual/basics-bins.xml:
24941         * docs/manual/basics-bus.xml:
24942         * docs/manual/basics-elements.xml:
24943         * docs/manual/basics-helloworld.xml:
24944         * docs/manual/basics-pads.xml:
24945         * docs/manual/highlevel-components.xml:
24946         * docs/manual/manual.xml:
24947         * docs/manual/thread.fig:
24948           Update (until threads/scheduling) Application Development Manual;
24949           remove GstThread, add GstBus, add simple porting checklist, add
24950           documentation for tag writing, clocks, make all examples until this
24951           part compile and run.
24952         * examples/manual/Makefile.am:
24953           Update from changes to Application Development Manual; add bus
24954           example, remove thread example.
24955
24956 2005-06-28  Wim Taymans  <wim@fluendo.com>
24957
24958         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
24959         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
24960         (gst_bus_source_dispatch):
24961         Add debugging messages.
24962         Make internal methods static.
24963         Handle the case where the bus is flushed in the handler.
24964         
24965         * gst/gstelement.c: (gst_element_get_bus):
24966         Fix refcount in _get_bus();
24967
24968         * gst/gstpipeline.c: (gst_pipeline_change_state),
24969         (gst_pipeline_get_clock_func):
24970         Clock refcounting fixes.
24971         Handle the case where preroll timed out more gracefully.
24972         
24973         * gst/gstsystemclock.c: (gst_system_clock_dispose):
24974         Clean up the internal thread in dispose. This is needed
24975         for subclasses that actually get disposed.
24976         
24977         * gst/schedulers/threadscheduler.c:
24978         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24979         (gst_thread_scheduler_dispose):
24980         Free thread pool in dispose.
24981
24982 2005-06-28  Andy Wingo  <wingo@pobox.com>
24983
24984         * tests/network-clock-utils.scm (debug, print-event): New utils.
24985
24986         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
24987         (*packet-loss*): Unified loss probability.
24988         (network-time): Report out-of-band events.
24989
24990         * tests/plot-data: Add support for out-of-band events. Hack it
24991         into this script instead of passing it down the pipe; should fix
24992         this later.
24993
24994 2005-06-28  Wim Taymans  <wim@fluendo.com>
24995
24996         * docs/gst/gstreamer.types:
24997         * docs/gst/tmpl/gstbasesrc.sgml:
24998         * docs/gst/tmpl/gstpad.sgml:
24999         Docs fixes.
25000
25001 2005-06-28  Wim Taymans  <wim@fluendo.com>
25002
25003         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25004         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
25005         (gst_proxy_pad_do_fixatecaps):
25006         Correctly proxy the check_pull_range function.
25007
25008 2005-06-28  Andy Wingo  <wingo@pobox.com>
25009
25010         * tests/network-clock.scm: Removed need for slib.
25011         
25012 2005-06-28  Wim Taymans  <wim@fluendo.com>
25013
25014         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
25015         (gst_basesink_preroll_queue_flush):
25016         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
25017         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
25018         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25019         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25020         (gst_proxy_pad_set_property):
25021         * gst/gstpad.c:
25022         * gst/gstpad.h:
25023         * gst/gstqueue.c: (gst_queue_init):
25024         The deprecated pad loop function is removed now.
25025
25026 2005-06-28  Andy Wingo  <wingo@pobox.com>
25027
25028         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
25029         New parameters, simulate network packet loss.
25030
25031         * tests/network-clock-utils.scm: Initialize the RNG.
25032
25033 2005-06-28  Wim Taymans  <wim@fluendo.com>
25034
25035         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
25036         (gst_basesink_event), (gst_basesink_deactivate):
25037         Flushing the preroll queue always needs to unlock the waiters.
25038
25039 2005-06-28  Edward Hervey  <edward@fluendo.com>
25040
25041         * gst/gstpipeline.c: (gst_pipeline_send_event): 
25042         Wheen a seek was successful on a pipeline, set the stream_time to the
25043         seek offset in order to have a synchronized stream_time.
25044
25045 2005-06-28  Wim Taymans  <wim@fluendo.com>
25046
25047         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25048         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
25049         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
25050         (gst_proxy_pad_do_fixatecaps):
25051         Call wrapper function instead of just calling the function
25052         pointers. This takes care of any locking and whatmore.
25053
25054 2005-06-28  Wim Taymans  <wim@fluendo.com>
25055
25056         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
25057         (gst_pad_pull_range):
25058         * gst/gstpad.h:
25059         CONNECTED -> LINKED.
25060
25061 2005-06-28  Andy Wingo  <wingo@pobox.com>
25062
25063         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
25064         source-munging commit!!!
25065
25066         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
25067         (gst_object_sink): Take gpointer arguments, not GstObject --
25068         avoids casts. Like GLib.
25069
25070         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
25071         activate.
25072
25073 2005-06-27  Andy Wingo  <wingo@pobox.com>
25074
25075         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
25076         remaining buffer.
25077
25078         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
25079         returns a sorted copy of the trace list.
25080         (gst_alloc_trace_print_live): New API, only prints traces with
25081         live objects. Sort the list.
25082         (gst_alloc_trace_print_all): Sort the list.
25083         (gst_alloc_trace_print): Align columns.
25084
25085         * gst/elements/gstttypefindelement.c:
25086         * gst/elements/gsttee.c:
25087         * gst/base/gstbasesrc.c:
25088         * gst/base/gstbasesink.c:
25089         * gst/base/gstbasetransform.c:
25090         * gst/gstqueue.c: Adapt for pad activation changes.
25091
25092         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
25093         sched.
25094         (gst_pipeline_dispose): Drop ref on sched.
25095
25096         * gst/gstpad.c (gst_pad_init): Set the default activate func.
25097         (gst_pad_activate_default): Push mode by default.
25098         (pre_activate_switch, post_activate_switch): New stubs, things to
25099         do before and after switching activation modes on pads.
25100         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
25101         the pad's activate function to choose which mode to activate.
25102         Shortcut on deactivation and call the right function directly.
25103         (gst_pad_activate_pull): New API, (de)activates a pad in pull
25104         mode.
25105         (gst_pad_activate_push): New API, same for push mode.
25106         (gst_pad_set_activate_function) 
25107         (gst_pad_set_activatepull_function) 
25108         (gst_pad_set_activatepush_function): Setters for new API.
25109
25110         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
25111         Trace all miniobjects.
25112         (gst_mini_object_make_writable): Unref the arg if we copy, like
25113         gst_caps_make_writable.
25114
25115         * gst/gstmessage.c (_gst_message_initialize): No trace init.
25116
25117         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
25118         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
25119         Adapt for new pad API.
25120
25121         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
25122
25123         * gst/gstelement.h:
25124         * gst/gstelement.c (gst_element_iterate_src_pads) 
25125         (gst_element_iterate_sink_pads): New API functions.
25126         
25127         * gst/gstelement.c (iterator_fold_with_resync): New utility,
25128         should fold into gstiterator.c in some form.
25129         (gst_element_pads_activate): Simplified via use of fold and
25130         delegation of decisions to gstpad->activate.
25131
25132         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
25133         help in debugging.
25134
25135         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
25136         class once in init, like gstmessage. Didn't run into this issue
25137         but it seems correct. Don't initialize a trace, gstminiobject does
25138         that.
25139
25140         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
25141         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
25142         to the bus.
25143         (assert_live_count): New util function, uses alloc traces to check
25144         cleanup.
25145
25146         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
25147         To be modified when unlink drops the internal pad.
25148
25149 2005-06-27  Wim Taymans  <wim@fluendo.com>
25150
25151         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
25152         (gst_bin_change_state):
25153         Cleanup the get_state() function a little, make sure it
25154         iterates the same set of elements.
25155         Added stub iterate_state_order().
25156
25157 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
25158
25159         * docs/gst/gstreamer-docs.sgml:
25160         * docs/gst/gstreamer-sections.txt:
25161         * docs/gst/gstreamer.types:
25162         * docs/gst/tmpl/gstbasesink.sgml:
25163         * docs/gst/tmpl/gstbasesrc.sgml:
25164         * docs/gst/tmpl/gstbasetransform.sgml:
25165         * docs/gst/tmpl/gstelement.sgml:
25166         * docs/gst/tmpl/gstiterator.sgml:
25167         * gst/base/gstbasesrc.c:
25168         * gst/base/gstbasesrc.h:
25169         * gst/base/gstbasetransform.h:
25170         * gst/gstelement.c:
25171         * gst/gstiterator.h:
25172           adding basetransform and iterator docs
25173
25174 2005-06-27  Andy Wingo  <wingo@pobox.com>
25175
25176         * docs/design/part-activation.txt: Notes on how activation should
25177         work -- not quite implemented yet.
25178
25179 2005-06-25  Wim Taymans  <wim@fluendo.com>
25180
25181         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
25182         At least get the chain function correct, needs more
25183         fixing.
25184
25185 2005-06-25  Wim Taymans  <wim@fluendo.com>
25186
25187         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25188         (gst_basesink_handle_object), (gst_basesink_event),
25189         (gst_basesink_do_sync), (gst_basesink_handle_event),
25190         (gst_basesink_change_state):
25191         * gst/gsttask.h:
25192         Right, two problems here: ghostpads don't take locks and
25193         glib _rec_mutex_lock_full() with depth==0 still locks.
25194         Catch illegal locking and g_warn them.
25195
25196 2005-06-25  Wim Taymans  <wim@fluendo.com>
25197
25198         * check/states/sinks.c: (START_TEST), (gst_object_suite):
25199         Have to check for completion now...
25200
25201 2005-06-25  Wim Taymans  <wim@fluendo.com>
25202
25203         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25204         (gst_basesink_handle_object), (gst_basesink_event),
25205         (gst_basesink_do_sync), (gst_basesink_handle_event),
25206         (gst_basesink_change_state):
25207         * gst/gstpad.h:
25208         Unlock STREAM_LOCK whatever the recursion was.
25209
25210 2005-06-25  Wim Taymans  <wim@fluendo.com>
25211
25212         * gst/base/gstbasesink.c: (gst_basesink_set_property),
25213         (gst_basesink_preroll_queue_empty),
25214         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
25215         (gst_basesink_event), (gst_basesink_do_sync),
25216         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
25217         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
25218         (gst_basesink_change_state):
25219         Reworked the base sink, handle event and buffer serialisation
25220         correctly and removed possible deadlock.
25221         Handle EOS correctly.
25222
25223 2005-06-25  Wim Taymans  <wim@fluendo.com>
25224
25225         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
25226         (gst_pipeline_change_state):
25227         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25228         Allow elements to post EOS in the state change function.
25229         Fix up -launch, make it exit the poll loop when the
25230         pipeline actually changed state.
25231         Fix up warning parsing in -launch.
25232
25233 2005-06-25  Wim Taymans  <wim@fluendo.com>
25234
25235         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
25236         (gst_tee_sink_activate):
25237         Core takes STREAM_LOCK for us now.
25238
25239 2005-06-25  Wim Taymans  <wim@fluendo.com>
25240
25241         * gst/gstelement.c: (gst_element_get_state_func),
25242         (gst_element_set_state):
25243         * gst/gstelement.h:
25244         * gst/gstmessage.c: (gst_message_parse_error),
25245         (gst_message_parse_warning):
25246         Keep track of current target state while performing a state
25247         change so that subclasses can do something interesting.
25248         Fix parsing of warning/error messages when GError is NULL.
25249
25250 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
25251
25252         * docs/gst/Makefile.am:
25253         * docs/gst/gstreamer-docs.sgml:
25254         * docs/gst/gstreamer-sections.txt:
25255         * docs/gst/gstreamer.types:
25256         * docs/gst/tmpl/gstbasesink.sgml:
25257         * docs/gst/tmpl/gstbasesrc.sgml:
25258         * docs/gst/tmpl/gstbin.sgml:
25259         * docs/gst/tmpl/gstcompat.sgml:
25260         * docs/gst/tmpl/gstfakesink.sgml:
25261         * docs/gst/tmpl/gstfakesrc.sgml:
25262         * docs/gst/tmpl/gstfilesink.sgml:
25263         * docs/gst/tmpl/gstfilesrc.sgml:
25264         * docs/gst/tmpl/gstindex.sgml:
25265         * docs/manual/appendix-quotes.xml:
25266         * gst/base/gstbasesrc.h:
25267         * gst/elements/gstfakesrc.h:
25268         * gst/gstmessage.h:
25269           start pulling in base classes and elements in our docs
25270
25271 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
25272
25273         * docs/gst/Makefile.am:
25274         * docs/libs/Makefile.am:
25275           fixed make distcheck with gtk-doc 1.3
25276
25277 2005-06-23  Wim Taymans  <wim@fluendo.com>
25278
25279         * gst/gstelement.c: (gst_element_get_state_func),
25280         (gst_element_set_state), (gst_element_change_state):
25281         When the state did not change, also report NO_PREROLL
25282         when it matters.
25283
25284 2005-06-23  Wim Taymans  <wim@fluendo.com>
25285
25286         * gst/gstpad.c: (gst_pad_event_default):
25287         * gst/gstqueue.c: (gst_queue_loop):
25288         No unsafe task pausing please.
25289
25290 2005-06-23  Wim Taymans  <wim@fluendo.com>
25291
25292         * gst/schedulers/threadscheduler.c:
25293         (gst_thread_scheduler_task_start),
25294         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
25295         Ref the task before pushing it on the threadpool. This
25296         makes sure that we have a ref when the threadfunction is
25297         actually called.
25298
25299 2005-06-23  Andy Wingo  <wingo@pobox.com>
25300
25301         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
25302         offset is greater than the file's size.
25303
25304         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
25305         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
25306         * gst/gstobject.c (gst_object_class_init): Make the class lock
25307         recursive. Wim won't let me drop deep_notify. Decodebin works
25308         again, whoopdy doo.
25309
25310         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
25311         internal pad, and hacks accordingly. Doesn't do it on the target
25312         pad because we change its caps. Probably catches all cases of
25313         interest tho.
25314         (gst_ghost_pad_set_property): Connect to notify::caps as
25315         appropritate.
25316
25317         * tests/network-clock.scm (plot-simulation): Pipe data to the
25318         elite python skript.
25319
25320         * tests/network-clock-utils.scm (define-parameter): New macro,
25321         defines a parameter that can be set via the command line.
25322         (set-parameter!, parse-parameter-arguments): Command line args
25323         parser.
25324
25325         * tests/plot-data: Simple matplotlib-based plotter, takes input on
25326         stdin.
25327
25328 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
25329
25330         * gst/elements/gsttypefindelement.c:
25331         (gst_type_find_element_handle_event):
25332           Don't restart typefinding on a discont.
25333         * gst/gstelement.c: (gst_element_set_state):
25334           Debug spelling fix.
25335         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
25336           Allow changing mode of an active pad.
25337           Debug output fixes.
25338         * gst/registries/gstlibxmlregistry.c: (load_feature):
25339           Don't cast a static pad template to a normal pad template.
25340
25341 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
25342
25343         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25344         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25345           remove gst_strtoll completely, since it didn't actually do
25346           anything more than what g_ascii_strtoull already does.
25347           check for range errors when deserializing
25348           do a cast for the unsigned cases; but further fixing needs
25349           a decision on what the interpretation of "(int)" and
25350           deserialization should be for values that fall outside the
25351           type's boundaries (ie, refuse, or interpret as casting)
25352
25353 2005-06-23  Wim Taymans  <wim@fluendo.com>
25354
25355         * check/Makefile.am:
25356         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
25357         * docs/design/part-live-source.txt:
25358         * docs/design/part-states.txt:
25359         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25360         (gst_basesrc_set_live), (gst_basesrc_is_live),
25361         (gst_basesrc_get_range), (gst_basesrc_activate),
25362         (gst_basesrc_change_state):
25363         * gst/base/gstbasesrc.h:
25364         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25365         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25366         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
25367         * gst/gstelement.c: (gst_element_get_state_func),
25368         (gst_element_set_state):
25369         * gst/gstelement.h:
25370         * gst/gsttypes.h:
25371         * tools/gst-launch.c: (event_loop), (main):
25372         Added support for live sources and other elements that
25373         cannot do preroll.
25374         Updated design docs, added live-source design doc.
25375         Implemented live source functionality in basesrc
25376         Fix error condition in _bin_get_state()
25377         Implement live source handling in -launch.
25378         Added check for live sources.
25379         Fixed case in GstBin where elements were changed state
25380         multiple times.
25381
25382
25383 2005-06-23  Andy Wingo  <wingo@pobox.com>
25384
25385         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
25386         borken refcounting.
25387
25388         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
25389         gst_caps_replace takes care of this for us.
25390
25391         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
25392         gst_pad_set_caps on the target, not just its setcaps() function.
25393
25394         * tests/network-clock.scm: 
25395         * tests/network-clock-utils.scm: A network clock simulator.
25396         Something of an algorithmic testbed before doing something in C.
25397
25398 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25399
25400         * check/Makefile.am:
25401         * check/gst/capslist.h:
25402           copy over from 0.8, and add two with bitmasks specified with
25403           (int) 0xFF...
25404         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25405           add test to parse everything from capslist.h
25406         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
25407         (main):
25408           add test for structure deserialization
25409         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25410           add tests for deserialization of strings to int types
25411         * gst/gststructure.c: (gst_structure_nth_field_name):
25412         * gst/gststructure.h:
25413           add a way to get the name of a field referenced by index
25414         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25415           instead of checking if the resulting long long lies between
25416           min and max, we check if the long long would fit into
25417           a number of bytes for the final type.
25418           This fixes cases where a string represents 2^32 - 1, which
25419           when cast to int would be the (valid) -1, but is bigger than
25420           G_MAXINT
25421
25422 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25423
25424         * gst/parse/grammar.y:
25425           add a log line for type deserialization
25426
25427 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25428
25429         * check/gst/gstvalue.c: (START_TEST):
25430         * gst/gstvalue.c: (gst_value_deserialize):
25431           return long long, not int, so gint64 deserialization actually
25432           works.  Is there any flag that makes the compiler check this ?
25433           Fixes #308559
25434
25435 2005-06-22  Wim Taymans  <wim@fluendo.com>
25436
25437         * gst/gstbuffer.h:
25438         Added convenience macros for setting buffers in GValue.
25439
25440 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25441
25442         * check/gst/.cvsignore:
25443         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25444           add a test deserializing int64, and comment part out because
25445           it fails, yay !
25446
25447 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25448
25449         * check/Makefile.am:
25450         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
25451         * testsuite/Makefile.am:
25452         * testsuite/caps/Makefile.am:
25453         * testsuite/caps/value_serialize.c:
25454         * testsuite/test_gst_init.c:
25455           move a value_serialize test over
25456
25457 2005-06-20  Wim Taymans  <wim@fluendo.com>
25458
25459         * gst/gstpad.c:
25460         Small doc updates.
25461         
25462         * gst/gstvalue.c: (gst_value_compare_buffer),
25463         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
25464         (gst_value_compare_flags), (gst_value_serialize_flags),
25465         (gst_value_deserialize_flags), (_gst_value_initialize):
25466         Fix serialisation of buffers, they are not boxed types anymore
25467
25468 2005-06-20  Wim Taymans  <wim@fluendo.com>
25469
25470         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25471         Testcase to show error in buffer-on-caps serialisation.
25472
25473 2005-06-20  Andy Wingo  <wingo@pobox.com>
25474
25475         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
25476         will be adding to later.
25477
25478         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
25479         if its socks fill with rocks.
25480         (gst_system_clock_obtain): Set the name on object construction.
25481         Avoid double-checked locking.
25482
25483 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
25484
25485         * gst/gsturi.c: (gst_element_make_from_uri):
25486           Fix potential endless loop.
25487
25488 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25489
25490         * check/Makefile.am:
25491           add gsttag
25492         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
25493         (main):
25494           move over from testsuite dir and clean up
25495         * configure.ac:
25496         * gst/gsttag.c:
25497         * testsuite/Makefile.am:
25498         * testsuite/tags/.cvsignore:
25499         * testsuite/tags/Makefile.am:
25500         * testsuite/tags/merge.c:
25501           remove testsuite/tags
25502
25503 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25504
25505         * docs/gst/gstreamer-sections.txt:
25506         * docs/gst/tmpl/gstenumtypes.sgml:
25507         * win32/gstenumtypes.c:
25508           clean up documentation build a little
25509
25510 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25511
25512         * check/gstcheck.h:
25513           add macros for checking refcounts on objects and caps
25514         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
25515           add some more unit tests
25516         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25517         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
25518           fix leaked refcounts (I hope :)) so unittest works
25519         * gst/gstpad.h:
25520           whitespace removal
25521
25522 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25523
25524         * configure.ac: back to HEAD
25525
25526 === release 0.9.1 ===
25527
25528 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
25529
25530         * NEWS:
25531         * RELEASE:
25532           updated
25533
25534 2005-06-17  Andy Wingo  <wingo@pobox.com>
25535
25536         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
25537         assert; it's always possible that the pad gets deactivated in
25538         between the checks in gstpad.c and the implementation. Rely on
25539         finish_preroll() to return a FLUSHING or similar instead of on the
25540         assert.
25541         
25542         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
25543         clock and post an EOS message if we come out of finish_preroll in
25544         the playing state.
25545
25546 2005-06-16  David Schleef  <ds@schleef.org>
25547
25548         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25549         (gst_capsfilter_set_property): Allow NULL as possible value
25550         for filter_caps property, indicating GST_CAPS_ANY.
25551
25552 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25553
25554         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
25555           fix debug output
25556         * gst/schedulers/Makefile.am:
25557           use libgst prefix
25558         * gstreamer.spec.in:
25559           fix spec for it
25560
25561 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25562
25563         * gstreamer.spec.in:
25564           clean up
25565
25566 2005-06-08  Andy Wingo  <wingo@pobox.com>
25567
25568         * gst/gstutils.c: RPAD fixes all around.
25569         (gst_element_link_pads): Refcounting fixes.
25570
25571         * tools/gst-inspect.c:
25572         * tools/gst-xmlinspect.c:
25573         * parse/grammar.y:
25574         * gst/base/gsttypefindhelper.c:
25575         * gst/base/gstbasesink.c:
25576         * gst/gstqueue.c: RPAD fixes.
25577
25578         * gst/gstghostpad.h:
25579         * gst/gstghostpad.c: New ghost pad implementation as full proxy
25580         pads. The tricky thing is they provide both source and sink
25581         interfaces, since they proxy the internal pad for the external
25582         pad, and vice versa. Implement with lower-level ProxyPad objects,
25583         with the interior proxy pad as a child of the exterior ghost pad.
25584         Should write a doc on this.
25585         
25586         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
25587         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
25588         gst_object API.
25589         
25590         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
25591         pads are real pads. No ghost pads in this file. Not documenting
25592         the myriad s/RPAD/PAD/ and REALIZE fixes.
25593         (gst_pad_class_init): Add properties for "direction" and
25594         "template". Both are construct-only, so they can't change during
25595         the life of the pad. Fixes properly deriving from GstPad.
25596         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
25597         derived objects, just set properties when creating the objects via
25598         g_object_new.
25599         (gst_pad_get_parent): Implement as a function, return NULL if the
25600         parent is not an element.
25601         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
25602         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
25603         
25604         * gst/gstobject.c (gst_object_class_init): Make name a construct
25605         property. Don't set it in the object init.
25606
25607         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
25608         with UNKNOWN direction.
25609         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
25610         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
25611         (gst_element_remove_pad): Remove ghost-pad special cases.
25612         (gst_element_pads_activate): Remove rpad cruft.
25613
25614         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
25615         catch the pad's-parent-not-an-element case.
25616
25617         * gst/gst.h: Include gstghostpad.h.
25618
25619         * gst/gst.c (init_post): No more real, ghost pads.
25620
25621         * gst/Makefile.am: Add gstghostpad.[ch].
25622
25623         * check/Makefile.am:
25624         * check/gst/gstbin.c:
25625         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
25626         into a bin creates ghost pads, and that the refcounts are right.
25627         Partly moved from gstbin.c.
25628
25629 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25630
25631         * check/gst-libs/.cvsignore:
25632         * check/gst/.cvsignore:
25633         * check/pipelines/.cvsignore:
25634           ignore more
25635         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
25636         (START_TEST), (cleanup_suite), (main):
25637           add some tests related to cleanup after running pipelines
25638
25639 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25640
25641         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
25642           add a testsuite for GstBuffer
25643
25644 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25645
25646         * gst/gstminiobject.h:
25647           add defines for accessing the refcount
25648
25649 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
25650
25651         * Makefile.am: added support for html unit test coverage reports
25652
25653 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
25654
25655         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25656           Free existing caps if the capsfilter changes. Add a FIXME about
25657           setting those caps on the pads.
25658
25659         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
25660           Before adding a ghost pad to a parent bin, check that there isn't
25661           already one for the element on the bin. Prevents infinite recursion
25662           when using decodebin in parse pipelines. Andy says he'll rewrite the
25663           way this works anyway, so ignore the hack.
25664
25665 2005-06-02  Andy Wingo  <wingo@pobox.com>
25666
25667         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
25668         file size, pass it on to the type find helper.
25669
25670         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
25671         segment_start and segment_end properly according to the seek
25672         method. Segment_end is still a bit flaky because offset can be
25673         negative for CUR and END cases, but it takes -1 as an "unset"
25674         value.
25675
25676 2005-06-02  Wim Taymans  <wim@fluendo.com>
25677
25678         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
25679         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
25680         (gst_basesink_activate):
25681         * gst/base/gstbasesink.h:
25682         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25683         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25684         (gst_pad_query), (gst_pad_start_task):
25685         * gst/gstpad.h:
25686         * gst/gstqueue.c: (gst_queue_bufferalloc),
25687         (gst_queue_handle_sink_event), (gst_queue_chain):
25688         Bufferalloc: return GstFlowReturn to more accuratly report
25689         why allocation failed.
25690
25691 2005-06-02  Wim Taymans  <wim@fluendo.com>
25692
25693         * gst/gstpipeline.c: (gst_pipeline_send_event):
25694         Take snapshot of state without blocking.
25695
25696 2005-06-02  Wim Taymans  <wim@fluendo.com>
25697
25698         * docs/design/part-TODO.txt:
25699         * docs/design/part-caps.txt:
25700         * docs/design/part-clocks.txt:
25701         * docs/design/part-negotiation.txt:
25702         * docs/design/part-preroll.txt:
25703         Small doc updates 
25704
25705 2005-05-30  Wim Taymans  <wim@fluendo.com>
25706
25707         * gst/elements/gstidentity.c: (gst_identity_event),
25708         (gst_identity_transform), (gst_identity_get_property):
25709         Protect last_message property as it is accessed from
25710         multiple threads.
25711
25712 2005-05-30  Wim Taymans  <wim@fluendo.com>
25713
25714         * gst/gstelement.c: (gst_element_init),
25715         (gst_element_pads_activate), (gst_element_change_state):
25716         Slicker pad activation code.
25717
25718 2005-05-30  Wim Taymans  <wim@fluendo.com>
25719
25720         * gst/Makefile.am:
25721         * gst/gstelement.h:
25722         * gst/gstelementfactory.h:
25723         * gst/gsttypes.h:
25724         Move elementfactory methods to separate .h file.
25725
25726 2005-05-30  Wim Taymans  <wim@fluendo.com>
25727
25728         * docs/design/part-overview.txt:
25729         * gst/gstsystemclock.h:
25730         Small typo fixes, doc updates.
25731
25732 2005-05-30  Wim Taymans  <wim@fluendo.com>
25733
25734         * gst/gst.c: (gst_init_get_popt_table), (init_post),
25735         (init_popt_callback):
25736         Remove cpu-opt flag.
25737
25738 2005-05-30  Wim Taymans  <wim@fluendo.com>
25739
25740         * gst/gstbuffer.c: (gst_subbuffer_finalize),
25741         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
25742         * gst/gstbuffer.h:
25743         Avoid typechecking in places where not needed.
25744         Added accessor for malloc_data.
25745
25746 2005-05-30  Wim Taymans  <wim@fluendo.com>
25747
25748         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
25749         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
25750         (gst_pad_configure_sink), (gst_pad_configure_src),
25751         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
25752         (gst_pad_start_task):
25753         Propagate errors from _set_caps() in configure_src/sink
25754         functions instead of returning TRUE.
25755         FLUSH events can travel up and downstream
25756
25757
25758 2005-05-30  Wim Taymans  <wim@fluendo.com>
25759
25760         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25761         (gst_basesink_activate):
25762         Handle EOS in preroll.
25763
25764 2005-05-30  Wim Taymans  <wim@fluendo.com>
25765
25766         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25767         (gst_queue_loop), (gst_queue_handle_src_event):
25768         Remove old pieces of code
25769         Flushing the queue in an upstream event is a very bad idea.
25770
25771 2005-05-26  Andy Wingo  <wingo@pobox.com>
25772
25773         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
25774         gst_value_set_mini_object so as to add a ref on the object (which
25775         will be removed when the value is unset).
25776
25777         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
25778         arg type in ::handoff.
25779
25780         * gst/gstelement.c (gst_element_change_state): Also deactivate
25781         pads in READY->NULL, just in case the element didn't make it to
25782         PAUSED. Wingo tested, Wim approved.
25783
25784 2005-05-26  Wim Taymans  <wim@fluendo.com>
25785
25786         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25787         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25788         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
25789         A flushing pad cannot be used to alloc_buffer from.
25790
25791 2005-05-26  Wim Taymans  <wim@fluendo.com>
25792
25793         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
25794         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
25795         (gst_bus_source_dispatch), (gst_bus_source_finalize),
25796         (gst_bus_create_watch), (gst_bus_add_watch_full):
25797         * gst/gstbus.h:
25798         Implement a real GSource and use g_main_context_wakeup() to
25799         signal new messages instead of the socketpair.
25800
25801 2005-05-25  Wim Taymans  <wim@fluendo.com>
25802
25803         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
25804         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
25805         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25806         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25807         (gst_pad_send_event), (gst_pad_start_task):
25808         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
25809         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25810         (gst_queue_sink_activate), (gst_queue_src_activate),
25811         (gst_queue_change_state):
25812         * gst/gstqueue.h:
25813         Fix state changes for non sinks. We now change sinks, then elements
25814         with unconnected srcpads, then the rest.
25815         More efficient queue unlocking in flush and state changes.
25816         Set the pad activate mode even if it does not have an activate
25817         function.
25818
25819 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25820
25821         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
25822           Don't go in pull mode for non-seekable sources.
25823         * gst/elements/gsttypefindelement.h:
25824         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25825         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
25826         (free_entry), (stop_typefinding),
25827         (gst_type_find_element_handle_event), (find_peek),
25828         (gst_type_find_element_chain), (do_pull_typefind),
25829         (gst_type_find_element_change_state):
25830           Allow typefinding (w/o seeking) in push-mode, simplified version
25831           of what was in 0.8.
25832         * gst/gstutils.c: (gst_buffer_join):
25833         * gst/gstutils.h:
25834           gst_buffer_join() from 0.8.
25835
25836 2005-05-25  Wim Taymans  <wim@fluendo.com>
25837
25838         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25839         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25840         (gst_pad_send_event), (gst_pad_start_task):
25841         Disable attempt at mode switching until it is figured out.
25842
25843 2005-05-25  Wim Taymans  <wim@fluendo.com>
25844
25845         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
25846         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25847         (gst_basesink_finish_preroll), (gst_basesink_chain),
25848         (gst_basesink_loop), (gst_basesink_activate),
25849         (gst_basesink_change_state):
25850         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
25851         (gst_basesrc_get_range), (gst_basesrc_loop),
25852         (gst_basesrc_activate):
25853         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25854         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25855         (gst_real_pad_init), (gst_real_pad_set_property),
25856         (gst_real_pad_get_property), (gst_pad_set_active),
25857         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
25858         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
25859         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
25860         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
25861         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25862         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
25863         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
25864         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25865         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
25866         (gst_pad_stop_task):
25867         * gst/gstpad.h:
25868         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25869         (gst_queue_loop), (gst_queue_src_activate):
25870         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
25871         (gst_task_get_state):
25872         * gst/gsttask.h:
25873         * gst/schedulers/threadscheduler.c:
25874         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
25875         Implement gst_pad_pause/start/stop_task(), take STREAM lock
25876         in task function.
25877         Remove ACTIVE pad flag, use FLUSHING everywhere
25878         Added _pad_chain(), _pad_get_range() to call chain/getrange 
25879         functions.
25880         Add locks around IS_FLUSHING when reading.
25881         Take STREAM lock in chain(), get_range() functions so plugins
25882         don't need to take it anymore.
25883         
25884
25885
25886 2005-05-25  Wim Taymans  <wim@fluendo.com>
25887
25888         * tools/gst-launch.c: (event_loop):
25889         Unref message after using its contents instead of
25890         before.
25891
25892 2005-05-24  Wim Taymans  <wim@fluendo.com>
25893
25894         * docs/design/draft-ghostpads.txt:
25895         * docs/design/draft-push-pull.txt:
25896         * docs/design/draft-query.txt:
25897         * docs/design/part-overview.txt:
25898         Docs updates, added general overview doc.
25899
25900 2005-05-21  David Schleef  <ds@schleef.org>
25901
25902         * docs/gst/tmpl/old/GstBin.sgml:
25903         * docs/gst/tmpl/old/GstBuffer.sgml:
25904         * docs/gst/tmpl/old/GstCaps.sgml:
25905         * docs/gst/tmpl/old/GstClock.sgml:
25906         * docs/gst/tmpl/old/GstCompat.sgml:
25907         * docs/gst/tmpl/old/GstData.sgml:
25908         * docs/gst/tmpl/old/GstElement.sgml:
25909         * docs/gst/tmpl/old/GstEvent.sgml:
25910         * docs/gst/tmpl/old/GstIndex.sgml:
25911         * docs/gst/tmpl/old/GstStructure.sgml:
25912         * docs/gst/tmpl/old/GstTag.sgml:
25913         * docs/gst/tmpl/old/cothreads.sgml:
25914         * docs/gst/tmpl/old/cothreads_compat.sgml:
25915         * docs/gst/tmpl/old/gettext.sgml:
25916         * docs/gst/tmpl/old/gobject2gtk.sgml:
25917         * docs/gst/tmpl/old/grammar.tab.sgml:
25918         * docs/gst/tmpl/old/gst-i18n-app.sgml:
25919         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
25920         * docs/gst/tmpl/old/gst_private.sgml:
25921         * docs/gst/tmpl/old/gstaggregator.sgml:
25922         * docs/gst/tmpl/old/gstarch.sgml:
25923         * docs/gst/tmpl/old/gstatomic_impl.sgml:
25924         * docs/gst/tmpl/old/gstbufferstore.sgml:
25925         * docs/gst/tmpl/old/gstdata_private.sgml:
25926         * docs/gst/tmpl/old/gstdisksink.sgml:
25927         * docs/gst/tmpl/old/gstdisksrc.sgml:
25928         * docs/gst/tmpl/old/gstelementfactory.sgml:
25929         * docs/gst/tmpl/old/gstextratypes.sgml:
25930         * docs/gst/tmpl/old/gstfakesink.sgml:
25931         * docs/gst/tmpl/old/gstfakesrc.sgml:
25932         * docs/gst/tmpl/old/gstfdsink.sgml:
25933         * docs/gst/tmpl/old/gstfdsrc.sgml:
25934         * docs/gst/tmpl/old/gstfilesink.sgml:
25935         * docs/gst/tmpl/old/gstfilesrc.sgml:
25936         * docs/gst/tmpl/old/gsthttpsrc.sgml:
25937         * docs/gst/tmpl/old/gstidentity.sgml:
25938         * docs/gst/tmpl/old/gstindexfactory.sgml:
25939         * docs/gst/tmpl/old/gstmarshal.sgml:
25940         * docs/gst/tmpl/old/gstmd5sink.sgml:
25941         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
25942         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
25943         * docs/gst/tmpl/old/gstpadtemplate.sgml:
25944         * docs/gst/tmpl/old/gstpipefilter.sgml:
25945         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
25946         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
25947         * docs/gst/tmpl/old/gstshaper.sgml:
25948         * docs/gst/tmpl/old/gstspider.sgml:
25949         * docs/gst/tmpl/old/gstspideridentity.sgml:
25950         * docs/gst/tmpl/old/gststatistics.sgml:
25951         * docs/gst/tmpl/old/gsttee.sgml:
25952         * docs/gst/tmpl/old/gsttimecache.sgml:
25953         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
25954         * docs/gst/tmpl/old/gstxmlregistry.sgml:
25955         * docs/gst/tmpl/old/gthread-cothreads.sgml:
25956         * docs/gst/tmpl/old/types.sgml:
25957           I didn't intend to add these or check them in.
25958
25959 2005-05-19  David Schleef  <ds@schleef.org>
25960
25961         * configure.ac: Use -no-common everywhere.  In a sane world, it
25962           would be the default in libtool, because without it, you can't
25963           build DLLs on Windows.
25964         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
25965         * docs/gst/gstreamer-sections.txt:
25966         * docs/gst/tmpl/gstcpu.sgml:
25967         * docs/gst/tmpl/gstdata.sgml:
25968         * docs/gst/tmpl/gstthread.sgml:
25969
25970 2005-05-19  David Schleef  <ds@schleef.org>
25971
25972         * gst/gstminiobject.c: (gst_value_set_mini_object),
25973         (gst_value_take_mini_object), (gst_value_get_mini_object):
25974         * gst/gstminiobject.h: Add GValue set/get functions.
25975
25976 2005-05-19  Wim Taymans  <wim@fluendo.com>
25977
25978         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
25979         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
25980         (gst_subbuffer_init), (gst_buffer_is_span_fast):
25981         * gst/gstbuffer.h:
25982         * gst/gstbus.c: (gst_bus_post):
25983         * gst/gstelement.c: (gst_element_get_random_pad):
25984         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
25985         Make subbufer unref the parent in finalize.
25986         some more debugging info.
25987
25988
25989 2005-05-19  Wim Taymans  <wim@fluendo.com>
25990
25991         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25992         (gst_basesink_init), (gst_basesink_finalize),
25993         (gst_basesink_activate), (gst_basesink_change_state):
25994         Don't free preroll queue too early.
25995
25996 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25997
25998         * gst/Makefile.am:
25999         * gst/ROADMAP:
26000           Hi, I'm outdated. Please shoot me.
26001
26002 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26003
26004         * gst/gstpipeline.c: (gst_pipeline_send_event):
26005           Do not access variables after they have been deleted.
26006
26007 2005-05-19  Wim Taymans  <wim@fluendo.com>
26008
26009         * tools/gst-inspect.c: (print_plugin_features):
26010         A plugin feature does unfortunatly not use the
26011         object name yet...
26012
26013 2005-05-18  Wim Taymans  <wim@fluendo.com>
26014
26015         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
26016         Port _span() functions to new subbuffers.
26017
26018 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26019
26020         * gst/gstbin.c: (gst_bin_add_func):
26021           Fix clock settery in bins when adding kids after the clock has
26022           been selected.
26023
26024 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26025
26026         * gst/elements/gstidentity.c: (gst_identity_class_init):
26027           Workaround until signals support GstMiniObject.
26028
26029 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
26030
26031         * gst/gstbuffer.c:
26032         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
26033
26034 2005-05-18  Wim Taymans  <wim@fluendo.com>
26035
26036         * gst/base/Makefile.am:
26037         * gst/base/gstadapter.c: (gst_adapter_base_init),
26038         (gst_adapter_class_init), (gst_adapter_init),
26039         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
26040         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
26041         (gst_adapter_flush), (gst_adapter_available),
26042         (gst_adapter_available_fast):
26043         * gst/base/gstadapter.h:
26044         Ported and added adapter to the base classes.
26045
26046 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
26047
26048         * gst/gst.c:
26049         * gst/gstmessage.c:
26050           Make sure the class is reffed/unreffed once before threads can be
26051           used.  Fixes #304551.
26052
26053 2005-05-17  Wim Taymans  <wim@fluendo.com>
26054
26055         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
26056         (gst_basesink_chain_unlocked), (gst_basesink_activate):
26057         * gst/gstminiobject.c: (gst_mini_object_get_type),
26058         (gst_mini_object_free):
26059         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
26060         (gst_pad_push), (gst_pad_push_event):
26061         * gst/gstqueue.c: (gst_queue_change_state):
26062         Don't queue buffers in basesink when we are flushing.
26063         Unref buffer when flushing in basesink.
26064         Flush queue when going to READY
26065         Unref buffer when _push() returns an error.
26066         Don't free MiniObject instance when refcount is incremented
26067         in _finalize() so that we can recover objects.
26068
26069 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
26070
26071         * docs/manual/advanced-schedulers.xml:
26072         * docs/manual/appendix-checklist.xml:
26073         * docs/pwg/advanced-clock.xml:
26074         * docs/pwg/advanced-interfaces.xml:
26075         * docs/pwg/advanced-request.xml:
26076         * docs/pwg/advanced-types.xml:
26077         * docs/pwg/intro-preface.xml:
26078         * examples/plugins/example.c: (gst_example_get_type),
26079         (gst_example_class_init), (gst_example_chain),
26080         (gst_example_set_property), (gst_example_get_property),
26081         (gst_example_change_state), (plugin_init):
26082         * examples/plugins/example.h:
26083           small doc fixes
26084
26085 2005-05-17  Wim Taymans  <wim@fluendo.com>
26086
26087         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
26088         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
26089         * gst/gstqueue.c: (gst_queue_change_state):
26090         Clear queue when going to READY.
26091         Remove IN_SETCAPS flag too.
26092
26093 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
26094
26095         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
26096           Remove implicit cast from gboolean to GstElementStateReturn;
26097           make sure we still return failure in paused => ready case if
26098           the parent class fails to change state and our own stop 
26099           vfunc succeeds.
26100
26101 2005-05-17  Wim Taymans  <wim@fluendo.com>
26102
26103         * tools/gst-launch.c: (event_loop):
26104         Message was unreffed too soon.
26105
26106 2005-05-16  Andy Wingo  <wingo@pobox.com>
26107
26108         * gst/gstbin.c (sink_iterator_filter): Err... um...
26109
26110         * check/gst/gstbin.c (test_ghost_pads): New test for the
26111         ghosting-if-elements-not-in-same-bin behavior.
26112
26113 2005-05-16  David Schleef  <ds@schleef.org>
26114
26115         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
26116         accessing refcount directly.
26117
26118 2005-05-15  David Schleef  <ds@schleef.org>
26119
26120         * check/Makefile.am: remove GstData checks
26121         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
26122         * gst/Makefile.am: add miniobject, remove data
26123         * gst/gst.h: add miniobject, remove data
26124         * gst/gstdata.c: remove
26125         * gst/gstdata.h: remove
26126         * gst/gstdata_private.h: remove
26127         * gst/gsttypes.h: remove GstEvent and GstMessage
26128         * gst/gstelement.c: (gst_element_post_message): fix for API changes
26129         * gst/gstmarshal.list: change BOXED -> OBJECT
26130
26131         Implement GstMiniObject.
26132         * gst/gstminiobject.c:
26133         * gst/gstminiobject.h:
26134
26135         Modify to be subclasses of GstMiniObject.
26136         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
26137         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
26138         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
26139         (gst_subbuffer_get_type), (gst_subbuffer_init),
26140         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
26141         (gst_buffer_span):
26142         * gst/gstbuffer.h:
26143         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
26144         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
26145         (_gst_event_copy), (gst_event_new):
26146         * gst/gstevent.h:
26147         * gst/gstmessage.c: (_gst_message_initialize),
26148         (gst_message_get_type), (gst_message_class_init),
26149         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
26150         (gst_message_new), (gst_message_new_error),
26151         (gst_message_new_warning), (gst_message_new_tag),
26152         (gst_message_new_state_changed), (gst_message_new_application):
26153         * gst/gstmessage.h:
26154         * gst/gstprobe.c: (gst_probe_perform),
26155         (gst_probe_dispatcher_dispatch):
26156         * gst/gstprobe.h:
26157         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
26158         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
26159         (_gst_query_copy), (gst_query_new):
26160
26161         Update elements for GstData -> GstMiniObject changes
26162         * gst/gstquery.h:
26163         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
26164         (gst_queue_chain), (gst_queue_loop):
26165         * gst/elements/gstbufferstore.c:
26166         (gst_buffer_store_add_buffer_func),
26167         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
26168         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26169         (gst_fakesink_render):
26170         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26171         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
26172         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
26173         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
26174         (gst_filesrc_create_read):
26175         * gst/elements/gstidentity.c: (gst_identity_class_init):
26176         * gst/elements/gsttypefindelement.c:
26177         (gst_type_find_element_src_event), (free_entry_buffers),
26178         (gst_type_find_element_handle_event):
26179         * libs/gst/dataprotocol/dataprotocol.c:
26180         (gst_dp_header_from_buffer):
26181         * libs/gst/dataprotocol/dataprotocol.h:
26182         * libs/gst/dataprotocol/dp-private.h:
26183
26184 2005-05-15  David Schleef  <ds@schleef.org>
26185
26186         * gst/elements/gstelements.c: Don't include headers that were
26187         just removed.
26188
26189 2005-05-15  David Schleef  <ds@schleef.org>
26190
26191         * gst/elements/Makefile.am: Remove some elements that don't
26192         need to be in the core (or even exist at all).
26193         * gst/elements/gstaggregator.c:
26194         * gst/elements/gstaggregator.h:
26195         * gst/elements/gstmd5sink.c:
26196         * gst/elements/gstmd5sink.h:
26197         * gst/elements/gstmultifilesrc.c:
26198         * gst/elements/gstmultifilesrc.h:
26199         * gst/elements/gstpipefilter.c:
26200         * gst/elements/gstpipefilter.h:
26201         * gst/elements/gstshaper.c:
26202         * gst/elements/gstshaper.h:
26203         * gst/elements/gststatistics.c:
26204         * gst/elements/gststatistics.h:
26205         * po/POTFILES.in: Remove above files.
26206
26207 2005-05-14  Andy Wingo  <wingo@pobox.com>
26208
26209         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
26210         so as to get the refs right.
26211         (sink_iterator_filter): New function, wraps bin_element_is_sink,
26212         unreffing objects that don't pass the filter.
26213
26214         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
26215         gst_element_set_bus.
26216         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
26217         normal cases, this will destroy the bus.
26218
26219         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
26220         object.
26221
26222         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
26223         has no sinks.
26224
26225 2005-05-13  Andy Wingo  <wingo@pobox.com>
26226
26227         * gst/gstutils.c (gst_element_link_pads): Instead of calling
26228         gst_pad_link, call pad_link_maybe_ghosting,
26229         (pad_link_maybe_ghosting): Links pads, making sure that the
26230         elements being linked are in the same bin.
26231         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
26232         Helpers for pad_link_maybe_ghosting.
26233
26234 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
26235
26236         * configure.ac:
26237           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
26238
26239 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
26240
26241         * docs/design/part-element-source.txt:
26242           Mention GstPushSrc
26243
26244 2005-05-12  Wim Taymans  <wim@fluendo.com>
26245
26246         * gst/base/gstbasesink.c: (gst_basesink_init),
26247         (gst_basesink_activate):
26248         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
26249         (gst_basesrc_is_seekable):
26250         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
26251         (bin_element_is_sink), (gst_bin_change_state):
26252         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26253         * gst/gstelement.h:
26254         Identify sinks by their flag to avoid overly complicated
26255         checks (fow now).
26256         Do state changes even for elements not reachable from the
26257         sinks.
26258         BaseSink is a sink now :)
26259         Some more debugging info in the basesrc.
26260
26261
26262 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26263
26264         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
26265           Implement _query on a bin, similar to _send_event.
26266
26267 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
26268
26269         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
26270           Discont event offset format should be GST_FORMAT_BYTES,
26271           not GST_FORMAT_TIME.
26272
26273 2005-05-12  Wim Taymans  <wim@fluendo.com>
26274
26275         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
26276         Same fix as Ronald's but without the signal. 
26277
26278 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26279
26280         * gst/gstutils.c: (gst_element_query_position):
26281           No, an element is not a pad.
26282
26283 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26284
26285         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
26286         (gst_bin_get_state):
26287           If a child is removed from a bin while we remove the child from
26288           the bin and while we're retrieving its state, signal this to the
26289           get_state function so we abort the wait (instead of waiting for
26290           a timeout) and can immediately re-iterate over all other elements.
26291
26292 2005-05-12  Wim Taymans  <wim@fluendo.com>
26293
26294         * gst/base/Makefile.am:
26295         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
26296         (gst_basesrc_start):
26297         * gst/base/gstbasesrc.h:
26298         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
26299         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
26300         (gst_pushsrc_init), (gst_pushsrc_create):
26301         * gst/base/gstpushsrc.h:
26302         Added is_seekable to BaseSrc
26303         Added simple PushSrc.
26304
26305 2005-05-11  Wim Taymans  <wim@fluendo.com>
26306
26307         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26308         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26309         (gst_element_link_pads), (gst_element_query_position),
26310         (gst_element_query_convert), (intersect_caps_func),
26311         (gst_pad_query_position), (gst_pad_query_convert):
26312         Fix refcounting in utils function.
26313         No point in trying to activate a pad when it's added, it could
26314         be added from the state change function and then we deadlock, the
26315         element has to decide what to do.
26316
26317 2005-05-10  Andy Wingo  <wingo@pobox.com>
26318
26319         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
26320         *all* the arguments.
26321
26322         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
26323         stream lock if it's a FLUSH_DONE; normal flushes don't get the
26324         lock (according to the docs -- if this is wrong change the docs).
26325
26326         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
26327         flush messages in the NULL state.
26328
26329         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
26330         message immediately and return.
26331         (gst_bus_set_flushing): New function. If a bus is flushing, it
26332         flushes out any queued messages and immediately unrefs new
26333         messages. This is so when an element goes to NULL, all of the
26334         unhandled messages coming from it can be freed, and their
26335         references to the element dropped. In other words: message source
26336         ref considered harmful :P
26337
26338         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
26339         we're finished with it.
26340
26341         * gst/gstmessage.c (gst_message_new_state_changed): 
26342
26343 2005-05-10  Wim Taymans  <wim@fluendo.com>
26344
26345         * gst/gstvalue.c: (gst_value_compare_flags),
26346         (gst_value_serialize_flags), (gst_value_deserialize_flags),
26347         (_gst_value_initialize):
26348         Added flags serialize/deserialize/compare code.
26349
26350 2005-05-09  Andy Wingo  <wingo@pobox.com>
26351
26352         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
26353         Intersect the peer's caps with our caps.
26354
26355 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26356
26357         * gst/base/gsttypefindhelper.c: (helper_find_peek):
26358         * gst/elements/gsttypefindelement.c: (find_peek):
26359           Handle negative offsets better. Fixes decodebin.
26360
26361 2005-05-09  Wim Taymans  <wim@fluendo.com>
26362
26363         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
26364         (gst_base_transform_event):
26365         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
26366         Implement accept_caps.
26367         Fix silly lock/unlock mismatch in base class.
26368
26369 2005-05-09  Wim Taymans  <wim@fluendo.com>
26370
26371         * docs/design/draft-push-pull.txt:
26372         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
26373         * gst/elements/gstfilesink.c: (gst_filesink_init),
26374         (gst_filesink_query):
26375         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26376         (gst_type_find_handle_src_query), (find_element_get_length):
26377         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
26378         * gst/gstelement.h:
26379         * gst/gstmessage.c:
26380         * gst/gstmessage.h:
26381         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
26382         (gst_real_pad_get_caps_unlocked),
26383         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
26384         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26385         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
26386         (gst_real_pad_dispose), (gst_real_pad_finalize),
26387         (gst_pad_load_and_link), (gst_pad_save_thyself),
26388         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
26389         (gst_pad_check_pull_range), (gst_pad_pull_range),
26390         (gst_pad_template_get_type), (gst_pad_template_class_init),
26391         (gst_pad_template_init), (gst_pad_template_dispose),
26392         (name_is_valid), (gst_static_pad_template_get),
26393         (gst_pad_template_new), (gst_static_pad_template_get_caps),
26394         (gst_pad_template_get_caps), (gst_pad_set_element_private),
26395         (gst_pad_get_element_private), (gst_pad_start_task),
26396         (gst_pad_pause_task), (gst_pad_stop_task),
26397         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
26398         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
26399         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
26400         (gst_ghost_pad_new):
26401         * gst/gstpad.h:
26402         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
26403         (gst_query_new_position), (gst_query_set_position),
26404         (gst_query_parse_position), (gst_query_new_convert),
26405         (gst_query_set_convert), (gst_query_parse_convert):
26406         * gst/gstquery.h:
26407         * gst/gstqueryutils.c:
26408         * gst/gstqueryutils.h:
26409         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26410         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26411         (gst_queue_handle_src_query):
26412         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26413         (gst_element_query_position), (gst_element_query_convert),
26414         (intersect_caps_func), (gst_pad_query_position),
26415         (gst_pad_query_convert):
26416         * gst/gstutils.h:
26417         * tools/gst-inspect.c: (print_pad_info):
26418         * tools/gst-xmlinspect.c: (print_element_info):
26419         Remove old query functions. Ported old code.
26420         Added position/convert helper functions to gstutils.
26421         Reordered gstpad.c code, grouping relevant things.
26422         Remove gst_message_new(), always need to speficy a specific
26423         message.
26424
26425
26426 2005-05-09  Andy Wingo  <wingo@pobox.com>
26427
26428         * gst/gstiterator.h: Add some includes.
26429
26430         * gst/gstqueryutils.h: Include more headers.
26431
26432         * gst/gstpad.h:
26433         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
26434         some uses of gst_pad_query.
26435
26436         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
26437         NULL out parameters.
26438         (gst_query_new_position): New proc, allocates a new position
26439         query.
26440
26441         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
26442         gstqueryutils.c to the build.
26443
26444         * gst/gststructure.c (gst_structure_set_valist): Implement with
26445         the generic G_VALUE_COLLECT.
26446         
26447 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
26448
26449         * gst/Makefile.am: (gst_headers):
26450         Added gstqueryutils.h to the list of headers to install, that was
26451         a 'nachty' move wingo :)
26452
26453 2005-05-06  Andy Wingo  <wingo@pobox.com>
26454
26455         * gst/gstquery.h
26456         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
26457         GstData, init a memchunk.
26458         (standard_definitions): Add a few query types, deprecate a few.
26459         (gst_query_get_type): New proc.
26460         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
26461         implementation.
26462         (gst_query_new_application, gst_query_get_structure): New public
26463         procs.
26464
26465         * docs/design/draft-query.txt: Removed LINKS from the query types,
26466         because all the rest can be dispatched to other pads -- seemed
26467         ugly to have a query that couldn't be dispatched. internal_links
26468         is fine as a pad method.
26469
26470         * gst/gstpad.h: Add query2 as a pad method, add the new functions
26471         in gstpad.c, but maintain binary compatibility for the moment.
26472         Will fix before 0.9 is out.
26473
26474         * gst/gstqueryutils.c: 
26475         * gst/gstqueryutils.h: New files, implement 3 methods for each
26476         query type: parse_query, parse_response, and set. Probably need an
26477         allocator as well.
26478
26479         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
26480
26481         * gst/elements/gstfilesink.c (gst_filesink_query2):
26482         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
26483         query_types, and formats methods.
26484
26485         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
26486         (gst_pad_set_query2_function): New functions.
26487         (gst_real_pad_init): Set query2_default as the default query2
26488         function. Basically just dispatches to internally linked pads.
26489
26490         Needs review!
26491         
26492         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
26493         without using the atomic operations. Only one thread can possibly
26494         be accessing the data at this point. Changed so as to avoid
26495         gst_atomic operations.
26496
26497 2005-05-06  Wim Taymans  <wim@fluendo.com>
26498
26499         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
26500         Also set caps if we use the fallback buffer alloc.
26501
26502 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
26503
26504         * docs/gst/Makefile.am:
26505         * docs/gst/gstreamer-docs.sgml:
26506         * docs/gst/gstreamer-sections.txt:
26507         * docs/gst/tmpl/gstatomic.sgml:
26508         * docs/gst/tmpl/gstmemchunk.sgml:
26509         * testsuite/elements/struct_i386.h:
26510         * win32/GStreamer.vcproj:
26511         * win32/Makefile:
26512           Purge GstAtomic stuff from docs and win32 makefiles as well
26513
26514 2005-05-06  Wim Taymans  <wim@fluendo.com>
26515
26516         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
26517         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
26518         * gst/gstpad.c: (gst_pad_peer_get_caps):
26519         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26520         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26521         (gst_queue_src_activate), (gst_queue_change_state):
26522         * gst/gstqueue.h:
26523         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26524         (intersect_caps_func):
26525         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
26526         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
26527         Some fixes for the peer_get_caps() change.
26528
26529 2005-05-06  Wim Taymans  <wim@fluendo.com>
26530
26531         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26532         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
26533         (gst_basesink_activate):
26534         Actually do something with error codes returned from the push
26535         functions.
26536
26537 2005-05-06  Wim Taymans  <wim@fluendo.com>
26538
26539         * docs/design/part-element-sink.txt:
26540         * docs/design/part-element-source.txt:
26541         * gst/base/gstbasesink.c: (gst_basesink_class_init),
26542         (gst_basesink_event), (gst_basesink_activate):
26543         * gst/base/gstbasesink.h:
26544         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
26545         (gst_basesrc_activate):
26546         * gst/base/gstbasesrc.h:
26547         * gst/gstelement.c: (gst_element_pads_activate):
26548         Some more documentation.
26549         Fixed scheduling decision in _pads_activate().
26550
26551 2005-05-05  Andy Wingo  <wingo@pobox.com>
26552
26553         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
26554         the test suite.
26555
26556 2005-05-05  Wim Taymans  <wim@fluendo.com>
26557
26558         * gst/base/Makefile.am:
26559         * gst/base/gstbasesink.h:
26560         * gst/base/gstbasesrc.c: (gst_basesrc_init),
26561         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
26562         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
26563         (gst_collectpads_class_init), (gst_collectpads_init),
26564         (gst_collectpads_finalize), (gst_collectpads_new),
26565         (gst_collectpads_set_function), (gst_collectpads_add_pad),
26566         (find_pad), (gst_collectpads_remove_pad),
26567         (gst_collectpads_is_active), (gst_collectpads_collect),
26568         (gst_collectpads_collect_range), (gst_collectpads_start),
26569         (gst_collectpads_stop), (gst_collectpads_peek),
26570         (gst_collectpads_pop), (gst_collectpads_available),
26571         (gst_collectpads_read), (gst_collectpads_flush),
26572         (gst_collectpads_chain):
26573         * gst/base/gstcollectpads.h:
26574         * gst/elements/Makefile.am:
26575         * gst/elements/gstelements.c:
26576         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26577         (gst_fakesink_get_times), (gst_fakesink_event),
26578         (gst_fakesink_preroll), (gst_fakesink_render):
26579         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26580         (gst_filesink_init), (gst_filesink_set_location),
26581         (gst_filesink_open_file), (gst_filesink_close_file),
26582         (gst_filesink_pad_query), (gst_filesink_event),
26583         (gst_filesink_render), (gst_filesink_change_state):
26584         * gst/elements/gstfilesink.h:
26585         Added object to help in making collect pad based elements.
26586         Ported filesink.
26587         Make event function in sink baseclass return gboolean.
26588
26589 2005-05-05  Wim Taymans  <wim@fluendo.com>
26590
26591         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
26592         (gst_bin_get_by_name):
26593         * gst/gstbuffer.h:
26594         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
26595         (gst_clock_finalize):
26596         * gst/gstdata.c: (gst_data_replace):
26597         * gst/gstdata.h:
26598         * gst/gstelement.c: (gst_element_request_pad),
26599         (gst_element_pads_activate):
26600         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
26601         (gst_object_unref):
26602         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26603         (gst_pad_set_checkgetrange_function),
26604         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
26605         (gst_pad_check_pull_range), (gst_pad_pull_range),
26606         (gst_static_pad_template_get_caps), (gst_pad_start_task),
26607         (gst_pad_pause_task), (gst_pad_stop_task):
26608         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26609         (gst_element_request_pad), (gst_pad_proxy_getcaps):
26610         Fix name lookup in GstBin.
26611         Added _data_replace() function and _buffer_replace()
26612         Use finalize method to clean up clock.
26613         Fix refcounting on request pads.
26614         Fix pad schedule mode error.
26615         Some more object refcounting debug info,
26616
26617
26618 2005-05-04  Andy Wingo <wingo@pobox.com>
26619
26620         * check/Makefile.am:
26621         * docs/gst/tmpl/gstatomic.sgml:
26622         * docs/gst/tmpl/gstplugin.sgml:
26623         * gst/base/gstbasesink.c: (gst_basesink_activate):
26624         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
26625         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
26626         (gst_basesrc_query), (gst_basesrc_set_property),
26627         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
26628         (gst_basesrc_activate):
26629         * gst/base/gstbasesrc.h:
26630         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
26631         (gst_base_transform_src_activate):
26632         * gst/elements/gstelements.c:
26633         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26634         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
26635         * gst/elements/gsttee.c: (gst_tee_sink_activate):
26636         * gst/elements/gsttypefindelement.c: (find_element_get_length),
26637         (gst_type_find_element_checkgetrange),
26638         (gst_type_find_element_activate):
26639         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
26640         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
26641         (gst_caps_load_thyself):
26642         * gst/gstelement.c: (gst_element_pads_activate),
26643         (gst_element_save_thyself), (gst_element_restore_thyself):
26644         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
26645         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
26646         * gst/gstpad.h:
26647         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
26648         (gst_xml_parse_file), (gst_xml_parse_memory),
26649         (gst_xml_get_element), (gst_xml_make_element):
26650         * gst/indexers/gstfileindex.c: (gst_file_index_load),
26651         (_file_index_id_save_xml), (gst_file_index_commit):
26652         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
26653         (read_enum), (load_pad_template), (load_feature), (load_plugin),
26654         (load_paths):
26655         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
26656         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
26657         * tools/gst-complete.c: (main):
26658         * tools/gst-compprep.c: (main):
26659         * tools/gst-inspect.c: (print_element_properties_info):
26660         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
26661         * tools/gst-xmlinspect.c: (print_element_properties):
26662         GCC 4 fixen.
26663         
26664 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
26665
26666         * gst/gstplugin.c: (gst_plugin_check_module),
26667         (gst_plugin_check_file), (gst_plugin_load_file):
26668             apply patch from #172526 to make register work on MacOSX
26669
26670 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26671
26672         * docs/gst/tmpl/gstconfig.sgml:
26673         * gst/gstconfig.h.in:
26674           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
26675         * testsuite/debug/printf_extension.c: (main):
26676           Do not use GST_PTR_FORMAT on pointers to types with
26677           sizeof < sizeof(gpointer).  Fixes test on 64-bit
26678         * testsuite/elements/property.h:
26679           use correct printf format
26680
26681 2005-05-02  Wim Taymans  <wim@fluendo.com>
26682
26683         * docs/design/draft-push-pull.txt:
26684         * docs/design/draft-query.txt:
26685         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
26686         (gst_basesrc_start):
26687         Added draft for new query API.
26688         Added draft for better selecting scheduling methods.
26689         Make basesrc ignore length if the subclass does not support
26690         it.
26691
26692 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26693
26694         * gst/Makefile.am:
26695           possible fixes for automake-1.5 - _LIBADD is reserved
26696
26697 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26698
26699         * docs/faq/Makefile.am:
26700         * docs/manual/Makefile.am:
26701         * docs/manuals.mak:
26702         * docs/pwg/Makefile.am:
26703         * gst/Makefile.am:
26704           possible fixes for automake-1.5
26705
26706 2005-04-28  Wim Taymans  <wim@fluendo.com>
26707
26708         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26709         (gst_basesink_pad_getcaps), (gst_basesink_init),
26710         (gst_basesink_do_sync):
26711         * gst/gstclock.c: (gst_clock_entry_new):
26712         * gst/gstevent.c: (gst_event_discont_get_value):
26713         * gst/gstpipeline.c: (pipeline_bus_handler),
26714         (gst_pipeline_change_state):
26715         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
26716         Better debugging of clocking info.
26717         Allow NULL values when getting discont values.
26718
26719 2005-04-27  Wim Taymans  <wim@fluendo.com>
26720
26721         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26722         * check/gst/gstpad.c: (gst_pad_suite):
26723         Increase timeout for checks.
26724
26725 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
26726
26727         * check/Makefile.am:
26728           fix the broken rule for cleanup.  Apparently this rule is
26729           only needed on FC2, so maybe this warrants further autotool
26730           inspection.
26731
26732 2005-04-26  Wim Taymans  <wim@fluendo.com>
26733
26734         * gst/gsttrashstack.h:
26735         Ooohh. a nasty one! After having a failed pop() from the stack,
26736         it's possible that the stack is empty. In that case, don't
26737         follow the NULL pointer.
26738
26739 2005-04-25  Wim Taymans  <wim@fluendo.com>
26740
26741         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26742         (gst_pad_set_checkgetrange_function),
26743         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
26744         (gst_pad_check_pull_range), (gst_pad_pull_range),
26745         (gst_static_pad_template_get_caps), (gst_pad_start_task),
26746         (gst_pad_pause_task), (gst_pad_stop_task):
26747         * gst/gstplugin.c: (gst_plugin_load):
26748         * gst/gstplugin.h:
26749         Remove gst_library_load as it does more harm than good with
26750         the new g_module flags.
26751         Revert bogus caps template check in pad linking, pad caps
26752         are important when linking not the template, which is more
26753         general than the current caps.
26754
26755 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26756
26757         * gst/autoplug/.cvsignore:
26758         * gst/autoplug/Makefile.am:
26759         * gst/autoplug/gstsearchfuncs.c:
26760         * gst/autoplug/gstsearchfuncs.h:
26761         * gst/autoplug/gstspider.c:
26762         * gst/autoplug/gstspider.h:
26763         * gst/autoplug/gstspideridentity.c:
26764         * gst/autoplug/gstspideridentity.h:
26765         * gst/autoplug/spidertest.c:
26766           Die, spider, die.
26767
26768 2005-04-25  Wim Taymans  <wim@fluendo.com>
26769
26770         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26771         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26772         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
26773         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
26774         * gst/gstpad.h:
26775         Added stubs for unimplemented functions. 
26776
26777 2005-04-24  David Schleef  <ds@schleef.org>
26778
26779         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
26780         please fix.
26781
26782 2005-04-24  David Schleef  <ds@schleef.org>
26783
26784         Convert everything from GstAtomicInt to g_atomic_int_*, and
26785         remove gstatomic.
26786         * gst/Makefile.am:
26787         * gst/gstatomic.c:
26788         * gst/gstatomic.h:
26789         * gst/gstatomic_impl.h:
26790         * gst/gstbuffer.c:
26791         * gst/gstcaps.c:
26792         * gst/gstcaps.h:
26793         * gst/gstclock.c:
26794         * gst/gstclock.h:
26795         * gst/gstdata.c:
26796         * gst/gstdata.h:
26797         * gst/gstdata_private.h:
26798         * gst/gstevent.c:
26799         * gst/gstinfo.c:
26800         * gst/gstinfo.h:
26801         * gst/gstmessage.c:
26802         * gst/gstobject.c:
26803         * gst/gstobject.h:
26804         * gst/gststructure.c:
26805         * gst/gststructure.h:
26806         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
26807         * gst/gstutils.h:
26808
26809 2005-04-24  David Schleef  <ds@schleef.org>
26810
26811         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
26812         make the regressions tests work.  Remove some code that is no
26813         longer true.
26814         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
26815         Disable warning for pads without templates.
26816
26817 2005-04-24  David Schleef  <ds@schleef.org>
26818
26819         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
26820         functions that handle filtered links.
26821         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
26822         removed functions.
26823         * gst/gstutils.c: Fix/remove utility functions that handle
26824         filtered caps.
26825         * gst/gstutils.h:
26826         * gst/gstvalue.c: Add serialization/deserialization of caps
26827         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
26828         requires fixing so that the filter caps notation creates
26829         a capsfilter element and sets the filter_caps property.  I
26830         think everyone probably wants to keep the shorthand notation.
26831         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
26832         * docs/gst/tmpl/gstpad.sgml:
26833
26834         * gst/elements/gstelements.c: Register capsfilter element.
26835         * gst/Makefile.am: fix spacing
26836         * docs/random/ds/0.9-suggested-changes: random
26837
26838 2005-04-23  David Schleef  <ds@schleef.org>
26839
26840         * gst/elements/Makefile.am:
26841         * gst/elements/gstcapsfilter.c: New element that acts like an
26842         identity, but filters caps.  Will eventually replace filtered
26843         caps in pad linking.
26844         * gst/gstutils.c: (gst_element_create_all_pads): New function
26845         to create all the ALWAYS pads that are registered with an
26846         element class.  This functionality should eventually be
26847         merged in with GstElement initialization.
26848         * gst/gstutils.h:
26849         * testsuite/trigger/README: part of trigger test code that should
26850         have been checked in a long time ago.
26851
26852 2005-04-23  David Schleef  <ds@schleef.org>
26853
26854         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
26855         needed with new versions of libtool (nobody will confirm this),
26856         and hard to carry around.
26857         * gst/autoplug/Makefile.am:
26858         * gst/base/Makefile.am:
26859         * gst/elements/Makefile.am:
26860         * gst/indexers/Makefile.am:
26861         * gst/schedulers/Makefile.am:
26862         * libs/gst/bytestream/Makefile.am:
26863         * libs/gst/control/Makefile.am:
26864         * libs/gst/dataprotocol/Makefile.am:
26865         * libs/gst/getbits/Makefile.am:
26866
26867 2005-04-21  Wim Taymans  <wim@fluendo.com>
26868
26869         * docs/design/draft-push-pull.txt:
26870         * docs/design/part-MT-refcounting.txt:
26871         * docs/design/part-TODO.txt:
26872         * docs/design/part-caps.txt:
26873         * docs/design/part-events.txt:
26874         * docs/design/part-gstbus.txt:
26875         * docs/design/part-gstpipeline.txt:
26876         * docs/design/part-messages.txt:
26877         * docs/design/part-push-pull.txt:
26878         * docs/design/part-query.txt:
26879         Some more docs.
26880
26881 2005-04-21  Wim Taymans  <wim@fluendo.com>
26882
26883         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
26884         (gst_message_new), (gst_message_new_error),
26885         (gst_message_new_warning), (gst_message_new_tag),
26886         (gst_message_new_state_changed), (gst_message_new_application),
26887         (gst_message_get_structure):
26888         * gst/gstmessage.h:
26889         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26890         (gst_structure_copy_conditional):
26891         Use parent refcount in GstMessage to ensure GstStructure
26892         consistency.
26893         Cleaned up headers a bit.
26894         
26895
26896 2005-04-20  Wim Taymans  <wim@fluendo.com>
26897
26898         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26899         (gst_basesink_pad_getcaps), (gst_basesink_init),
26900         (gst_basesink_chain_unlocked):
26901         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
26902         (gst_type_find_helper):
26903         * gst/elements/gsttypefindelement.c:
26904         (gst_type_find_element_have_type), (gst_type_find_element_init),
26905         (stop_typefinding), (gst_type_find_element_handle_event),
26906         (find_suggest), (gst_type_find_element_chain),
26907         (gst_type_find_element_checkgetrange),
26908         (gst_type_find_element_getrange), (do_typefind),
26909         (gst_type_find_element_activate):
26910         * gst/gstbuffer.c: (_gst_buffer_sub_free),
26911         (gst_buffer_default_free), (gst_buffer_default_copy),
26912         (gst_buffer_set_caps):
26913         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
26914         (gst_caps_replace):
26915         * gst/gstmessage.c: (gst_message_new),
26916         (gst_message_new_state_changed):
26917         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26918         (gst_pad_set_checkgetrange_function),
26919         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
26920         (gst_pad_set_caps), (gst_pad_check_pull_range),
26921         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
26922         * gst/gstpad.h:
26923         * gst/gsttypefind.c: (gst_type_find_register):
26924         Make gst_caps_replace() work like other _replace() functions.
26925         Use _caps_replace() where possible.
26926         Make sure _message_new() initialises its field.
26927         Add gst_static_pad_template_get_caps()
26928
26929
26930 2005-04-18  Andy Wingo  <wingo@pobox.com>
26931
26932         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
26933         on the peer, not the pad. I think that was a typo. Pass an extra
26934         arg to see if random access is possible. Activate the pads as
26935         PULL_RANGE if possible.
26936
26937         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
26938
26939         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
26940         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
26941         to PROP_....
26942
26943 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26944
26945         * docs/faq/using.xml:
26946           Add note on gstreamer-properties (#154996).
26947
26948 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26949
26950         * docs/random/bbb/optional-properties:
26951           Some analysis on optional properties.
26952
26953 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26954
26955         * docs/gst/tmpl/gstelementfactory.sgml:
26956         * gst/gstelement.h:
26957         * gst/gstelementfactory.c: (gst_element_factory_init),
26958         (gst_element_factory_cleanup), (gst_element_register),
26959         (__gst_element_factory_add_static_pad_template),
26960         (gst_element_factory_get_static_pad_templates),
26961         (gst_element_factory_can_src_caps),
26962         (gst_element_factory_can_sink_caps):
26963         * gst/registries/Makefile.am:
26964         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
26965         (gst_xml_registry_class_init), (gst_xml_registry_init),
26966         (gst_xml_registry_new), (gst_xml_registry_set_property),
26967         (gst_xml_registry_get_property), (get_time), (make_dir),
26968         (gst_xml_registry_get_perms_func),
26969         (plugin_times_older_than_recurse), (plugin_times_older_than),
26970         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
26971         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
26972         (add_to_char_array), (read_string), (read_uint), (read_enum),
26973         (load_pad_template), (load_feature), (load_plugin), (load_paths),
26974         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
26975         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
26976         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
26977         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
26978         (gst_xml_registry_rebuild):
26979         * gst/registries/gstlibxmlregistry.h:
26980         * tools/gst-compprep.c: (main):
26981         * tools/gst-inspect.c: (print_pad_templates_info):
26982         * tools/gst-xmlinspect.c: (print_element_info):
26983           Use libxml2 for registry parsing, use staticpadtemplates in
26984           elementfactories. Makes gst_init() +/- 10x faster.
26985
26986 2005-04-12  Wim Taymans  <wim@fluendo.com>
26987
26988         * gst/base/Makefile.am:
26989         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26990         (gst_basesink_pad_getcaps), (gst_basesink_init),
26991         (gst_basesink_event), (gst_basesink_change_state):
26992         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26993         (gst_basesrc_init), (gst_basesrc_query),
26994         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26995         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26996         (gst_basesrc_check_get_range), (gst_basesrc_loop),
26997         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26998         (gst_basesrc_stop), (gst_basesrc_activate),
26999         (gst_basesrc_change_state):
27000         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27001         (helper_find_suggest), (gst_type_find_helper):
27002         * gst/base/gsttypefindhelper.h:
27003         * gst/elements/Makefile.am:
27004         * gst/elements/gstelements.c:
27005         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27006         (gst_fakesink_get_times), (gst_fakesink_event),
27007         (gst_fakesink_preroll), (gst_fakesink_render):
27008         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27009         (gst_fakesrc_init), (gst_fakesrc_event_handler),
27010         (gst_fakesrc_get_property), (gst_fakesrc_create),
27011         (gst_fakesrc_start), (gst_fakesrc_stop):
27012         * gst/elements/gstfakesrc.h:
27013         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
27014         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27015         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27016         (gst_filesrc_create_read), (gst_filesrc_create),
27017         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
27018         (gst_filesrc_start):
27019         * gst/elements/gsttypefindelement.c:
27020         (gst_type_find_element_have_type), (gst_type_find_element_init),
27021         (start_typefinding), (stop_typefinding), (push_buffer_store),
27022         (gst_type_find_element_handle_event),
27023         (gst_type_find_element_chain),
27024         (gst_type_find_element_checkgetrange),
27025         (gst_type_find_element_getrange), (do_typefind),
27026         (gst_type_find_element_activate),
27027         (gst_type_find_element_change_state):
27028         * gst/elements/gsttypefindelement.h:
27029         * gst/gstpipeline.c: (pipeline_bus_handler):
27030         Added typefind helper.
27031         Small preroll fix in the base sink.
27032         Disable typefind code in basesrc.
27033         Crude port of typefindelement.
27034         Fakesrc cleanups.
27035
27036
27037 2005-04-11  Wim Taymans  <wim@fluendo.com>
27038
27039         * check/gst/gstbus.c: (gstbus_suite):
27040         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
27041         * check/gstcheck.h:
27042           Fix up the timeout so that the test does not fail.
27043
27044 2005-04-06  Wim Taymans  <wim@fluendo.com>
27045
27046         * gst/base/README:
27047         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27048         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
27049         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27050         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27051         (gst_basesrc_check_get_range), (gst_basesrc_loop),
27052         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27053         (gst_basesrc_stop), (gst_basesrc_activate),
27054         (gst_basesrc_change_state), (basesrc_find_peek),
27055         (basesrc_find_suggest), (gst_basesrc_type_find):
27056         * gst/base/gstbasesrc.h:
27057         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
27058         (gst_filesrc_class_init), (gst_filesrc_init),
27059         (gst_filesrc_finalize), (gst_filesrc_set_location),
27060         (gst_filesrc_set_property), (gst_filesrc_get_property),
27061         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27062         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27063         (gst_filesrc_create_read), (gst_filesrc_create),
27064         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
27065         * gst/elements/gstfilesrc.h:
27066         * gst/gstelement.c: (gst_element_get_state_func),
27067         (gst_element_lost_state), (gst_element_pads_activate):
27068         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27069         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27070         (gst_pad_pull_range):
27071         * gst/gstpad.h:
27072         More work on the generic source base class, implement seeking,
27073         query.
27074         Make filesrc extend the base source class.
27075         Added gst_pad_set_checkgetrange_function to GstPad.
27076
27077 2005-04-06  Andy Wingo  <wingo@pobox.com>
27078
27079         * pkgconfig/gstreamer-base.pc.in:
27080         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
27081
27082         * pkgconfig/Makefile.am:
27083         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
27084
27085 2005-04-04  Wim Taymans  <wim@fluendo.com>
27086
27087         * gst/base/Makefile.am:
27088         * gst/base/README:
27089         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27090         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27091         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27092         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
27093         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27094         (gst_basesrc_base_init), (gst_basesrc_class_init),
27095         (gst_basesrc_init), (gst_basesrc_get_formats),
27096         (gst_basesrc_get_query_types), (gst_basesrc_query),
27097         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
27098         (gst_basesrc_set_property), (gst_basesrc_get_property),
27099         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
27100         (gst_basesrc_loop), (gst_basesrc_activate),
27101         (gst_basesrc_change_state):
27102         * gst/base/gstbasesrc.h:
27103         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
27104         (gst_fakesrc_class_init), (gst_fakesrc_init),
27105         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
27106         (gst_fakesrc_get_property), (gst_fakesrc_create):
27107         * gst/elements/gstfakesrc.h:
27108         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
27109         (gst_filesrc_open_file), (gst_filesrc_loop),
27110         (gst_filesrc_activate), (filesrc_find_peek),
27111         (gst_filesrc_type_find):
27112         Made base source class, make fakesrc extend it.
27113         Add comments to basesink class.
27114         Some filesrc cleanup.
27115
27116 2005-03-31  David Schleef  <ds@schleef.org>
27117
27118         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
27119         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
27120         expected to link against libgstreamer.
27121         * gst/base/Makefile.am: link against libgstreamer
27122         * gst/elements/Makefile.am: same
27123
27124 2005-03-31  Andy Wingo  <wingo@pobox.com>
27125
27126         * tests/instantiate/Makefile.am:
27127         * tests/instantiate/caps.c: Add test to test speed of caps copy
27128         and free.
27129
27130         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
27131         GMemChunk to be fair.
27132
27133         * gst/gsttrashstack.h: Remove warning about using the fallback
27134         trash stack implementation, it's still faster than malloc.
27135
27136 2005-03-30  Andy Wingo  <wingo@pobox.com>
27137
27138         * tests/complexity.c: Add a copyright.
27139
27140 2005-03-31  Wim Taymans  <wim@fluendo.com>
27141
27142         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
27143         (gst_base_transform_class_init), (gst_base_transform_init),
27144         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
27145         (gst_base_transform_get_property),
27146         (gst_base_transform_sink_activate),
27147         (gst_base_transform_src_activate),
27148         (gst_base_transform_change_state):
27149         * gst/base/gstbasetransform.h:
27150         * gst/elements/gstidentity.c: (gst_identity_class_init),
27151         (gst_identity_event), (gst_identity_check_perfect),
27152         (gst_identity_transform), (gst_identity_start),
27153         (gst_identity_stop):
27154         Added start/stop methods to transform base class so subclasses 
27155         don't need to deal with state changes even.
27156
27157 2005-03-31  Wim Taymans  <wim@fluendo.com>
27158
27159         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
27160         (gst_event_new_discontinuous), (gst_event_discont_get_value):
27161         * gst/gstevent.h:
27162         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27163         (gst_pad_pull_range):
27164         Added rate to the discont event to prepare for variable speed
27165         and reverse playback.
27166
27167 2005-03-29  David Schleef  <ds@schleef.org>
27168
27169         * configure.ac:
27170         * testsuite/trigger/Makefile.am:
27171         * testsuite/trigger/trigger.c: A little example program to show
27172         how trigger-based elements can work.
27173
27174 2005-03-29  Wim Taymans  <wim@fluendo.com>
27175
27176         * gst/base/Makefile.am:
27177         * gst/base/README:
27178         * gst/base/gstbasesink.c: (gst_basesink_get_type),
27179         (gst_basesink_base_init), (gst_basesink_class_init),
27180         (gst_basesink_pad_getcaps), (gst_basesink_init),
27181         (gst_basesink_activate), (gst_basesink_change_state):
27182         * gst/base/gstbasesink.h:
27183         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
27184         (gst_base_transform_base_init), (gst_base_transform_finalize),
27185         (gst_base_transform_class_init), (gst_base_transform_init),
27186         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
27187         (gst_base_transform_event), (gst_base_transform_getrange),
27188         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
27189         (gst_base_transform_set_property),
27190         (gst_base_transform_get_property),
27191         (gst_base_transform_sink_activate),
27192         (gst_base_transform_src_activate),
27193         (gst_base_transform_change_state):
27194         * gst/base/gstbasetransform.h:
27195         * gst/elements/gstidentity.c: (gst_identity_finalize),
27196         (gst_identity_class_init), (gst_identity_init),
27197         (gst_identity_event), (gst_identity_check_perfect),
27198         (gst_identity_transform), (gst_identity_set_property),
27199         (gst_identity_get_property), (gst_identity_change_state):
27200         * gst/elements/gstidentity.h:
27201         * gst/gstelement.c: (gst_element_get_state_func),
27202         (gst_element_lost_state), (gst_element_pads_activate):
27203         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27204         (gst_pad_check_pull_range), (gst_pad_pull_range):
27205         * gst/gstpad.h:
27206         Simplify pad activation.
27207         Added function to check if pull_range can be performed.
27208         Error out when pulling inactive or flushing pads.
27209         Removed const from refcounted types as it does not make sense.
27210         Simplify pad templates in basesink
27211         Added base class for simple 1-to-1 transforms.
27212         Make identity subclass the base transform.
27213
27214 2005-03-29  Andy Wingo  <wingo@pobox.com>
27215
27216         * docs/libs/gstreamer-libs-overrides.txt: 
27217         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
27218         really don't understand what's going on, but like whatever. I want
27219         green buildbot!
27220
27221         * docs/gst/Makefile.am:
27222         * docs/libs/Makefile.am: Dist the overrides files.
27223
27224         * check/Makefile.am (clean-local): Remove .libs directories.
27225
27226         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
27227         elements to EXTRA_DIST, so po/ files are happy.
27228
27229         * po/POTFILES.in: Er, remove it here.
27230
27231         * po/POTFILES: Remove gstspider.c.
27232
27233         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
27234
27235         * docs/libs/gstreamer-libs-docs.sgml: 
27236         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
27237         bytestream.
27238
27239         * tests/complexity.c (main): Set the length of the preroll queue
27240         on the sinks to prevent a lockup.
27241
27242         * libs/gst/dataprotocol/Makefile.am: 
27243         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
27244         the same as the one in check/gst-libs/gdp.c.
27245
27246         * po/, docs/gst/: Commit automatic changes to docs and po files.
27247
27248         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
27249         the versioned libgstbase.
27250
27251         * check/Makefile.am: Depend on an unversioned gst-register, seems
27252         to make autoconf happier.
27253
27254         * gst/base/Makefile.am: Make libgstbase a versioned lib.
27255
27256 2005-03-28  Wim Taymans  <wim@fluendo.com>
27257
27258         * configure.ac:
27259         * docs/design/part-gstelement.txt:
27260         * docs/design/part-negotiation.txt:
27261         * docs/design/part-preroll.txt:
27262         * docs/design/part-scheduling.txt:
27263         * docs/design/part-states.txt:
27264         * gst/Makefile.am:
27265         * gst/base/Makefile.am:
27266         * gst/base/README:
27267         * gst/base/gstbasesink.c: (gst_basesink_get_template),
27268         (gst_basesink_base_init), (gst_basesink_class_init),
27269         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27270         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27271         (gst_basesink_set_pad_functions),
27272         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
27273         (gst_basesink_set_property), (gst_basesink_get_property),
27274         (gst_base_sink_get_template), (gst_base_sink_get_caps),
27275         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
27276         (gst_basesink_preroll_queue_push),
27277         (gst_basesink_preroll_queue_empty),
27278         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
27279         (gst_basesink_event), (gst_basesink_get_times),
27280         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
27281         (gst_basesink_chain_unlocked), (gst_basesink_chain),
27282         (gst_basesink_loop), (gst_basesink_activate),
27283         (gst_basesink_change_state):
27284         * gst/base/gstbasesink.h:
27285         * gst/elements/Makefile.am:
27286         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
27287         (gst_fakesink_class_init), (gst_fakesink_init),
27288         (gst_fakesink_set_property), (gst_fakesink_get_property),
27289         (gst_fakesink_get_times), (gst_fakesink_event),
27290         (gst_fakesink_preroll), (gst_fakesink_render),
27291         (gst_fakesink_change_state):
27292         * gst/elements/gstfakesink.h:
27293         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27294         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
27295         * gst/gstelement.c: (gst_element_add_pad),
27296         (gst_element_get_state_func), (gst_element_abort_state),
27297         (gst_element_commit_state), (gst_element_lost_state),
27298         (gst_element_set_state), (gst_element_pads_activate):
27299         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
27300         * gst/gstpipeline.c: (gst_pipeline_send_event),
27301         (gst_pipeline_change_state):
27302         Added state change code.
27303         Added/updated docs.
27304         Added sink base class, make fakesink extend the base class.
27305         Small cleanups in GstPipeline.
27306
27307 2005-03-26  David Schleef  <ds@schleef.org>
27308
27309         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
27310         is broken and should be implemented in a different library.
27311         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
27312         * gst/gst.h: remove gstcpu.h
27313         * gst/gstcpu.c: remove
27314         * gst/gstcpu.h: remove
27315         * gst/Makefile.am.future: Remove this file.  It's ancient.
27316
27317 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27318
27319         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27320         (gst_bin_send_event):
27321           Add default event/set_manager handlers. The set_manager handler
27322           takes care that the manager is distributed over kids that were
27323           already in the bin before the manager was set. The event handler
27324           is a utility virtual function that sends the event over all sinks,
27325           so that gst_element_send_event (bin, event); has the expected
27326           behaviour.
27327         * gst/gstpad.c: (gst_pad_event_default):
27328           Re-install default event handling for discontinuities, so that
27329           seeking works without requiring hacks in applications or extra
27330           code in sinks.
27331         * gst/gstpipeline.c: (gst_pipeline_class_init),
27332         (gst_pipeline_send_event):
27333           Half hack, half utility: set a pipeline to PAUSED for seek events,
27334           since that is the only way we can guarantee a/v sync. Means that
27335           you can do gst_element_seek (pipeline, method, pos); on a pipeline
27336           and it "just works".
27337
27338 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27339
27340         * gst/gstpipeline.c: (gst_pipeline_use_clock):
27341           Lock/unlock mismatch.
27342
27343 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
27344
27345         * docs/faq/gst-uninstalled:
27346           add gst-plugins-base
27347         * docs/gst/Makefile.am:
27348           don't error out until docs are fixed
27349         * docs/gst/gstreamer.types:
27350           remove thread
27351
27352 2005-03-22  Wim Taymans  <wim@fluendo.com>
27353
27354         * check/Makefile.am:
27355         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
27356         * gst/gststructure.c: (gst_structure_set_valist),
27357         (gst_structure_copy_conditional):
27358         Activated more tests.
27359         Added message test.
27360         Added G_TYPE_POINTER to GstStructure.
27361         
27362
27363 2005-03-22  Wim Taymans  <wim@fluendo.com>
27364
27365         * docs/design/part-TODO.txt:
27366         * docs/design/part-events.txt:
27367         * docs/design/part-gstbin.txt:
27368         * docs/design/part-gstbus.txt:
27369         * docs/design/part-gstpipeline.txt:
27370         * docs/design/part-messages.txt:
27371         * gst/gstbus.c:
27372         * gst/gstmessage.c:
27373         Docs updates
27374
27375 2005-03-21  Wim Taymans  <wim@fluendo.com>
27376
27377         * gst/gstbus.c: (gst_bus_post):
27378         Fix copy-and-paste error.
27379
27380 2005-03-21  Wim Taymans  <wim@fluendo.com>
27381
27382         * check/Makefile.am:
27383         * gst/Makefile.am:
27384         * gst/elements/Makefile.am:
27385         * gst/elements/gstelements.c:
27386         * gst/elements/gstfakesink.c: (gst_fakesink_init),
27387         (gst_fakesink_event), (gst_fakesink_chain):
27388         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27389         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
27390         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
27391         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
27392         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27393         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
27394         (gst_fakesrc_loop), (gst_fakesrc_activate),
27395         (gst_fakesrc_change_state):
27396         * gst/elements/gstfakesrc.h:
27397         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
27398         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
27399         (gst_filesrc_open_file), (gst_filesrc_loop),
27400         (gst_filesrc_activate), (gst_filesrc_change_state),
27401         (filesrc_find_peek), (filesrc_find_suggest),
27402         (gst_filesrc_type_find):
27403         * gst/elements/gstidentity.c: (gst_identity_finalize),
27404         (gst_identity_class_init), (gst_identity_init),
27405         (gst_identity_proxy_getcaps), (identity_queue_push),
27406         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
27407         (gst_identity_getrange), (gst_identity_chain),
27408         (gst_identity_sink_loop), (gst_identity_src_loop),
27409         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
27410         (gst_identity_set_property), (gst_identity_get_property),
27411         (gst_identity_change_state):
27412         * gst/elements/gstidentity.h:
27413         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
27414         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
27415         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
27416         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
27417         (gst_tee_sink_activate):
27418         * gst/elements/gsttee.h:
27419         * gst/gst.c: (gst_register_core_elements), (init_post):
27420         * gst/gst.h:
27421         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
27422         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
27423         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
27424         (gst_bin_change_state):
27425         * gst/gstbin.h:
27426         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
27427         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
27428         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
27429         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
27430         (gst_bus_set_sync_handler), (gst_bus_create_watch),
27431         (bus_watch_callback), (bus_watch_destroy),
27432         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
27433         (poll_timeout), (gst_bus_poll):
27434         * gst/gstbus.h:
27435         * gst/gstcaps.h:
27436         * gst/gstdata.h:
27437         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27438         (gst_element_post_message), (gst_element_message_full),
27439         (gst_element_get_state_func), (gst_element_get_state),
27440         (gst_element_abort_state), (gst_element_commit_state),
27441         (gst_element_lost_state), (gst_element_set_state),
27442         (gst_element_pads_activate), (gst_element_change_state),
27443         (gst_element_dispose), (gst_element_set_manager_func),
27444         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
27445         (gst_element_set_manager), (gst_element_get_manager),
27446         (gst_element_set_bus), (gst_element_get_bus),
27447         (gst_element_set_scheduler), (gst_element_get_scheduler):
27448         * gst/gstelement.h:
27449         * gst/gstevent.c: (gst_event_new_segment_seek),
27450         (gst_event_new_flush):
27451         * gst/gstevent.h:
27452         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
27453         (_gst_message_free), (gst_message_get_type), (gst_message_new),
27454         (gst_message_new_eos), (gst_message_new_error),
27455         (gst_message_new_warning), (gst_message_new_tag),
27456         (gst_message_new_state_changed), (gst_message_new_application),
27457         (gst_message_get_structure), (gst_message_parse_tag),
27458         (gst_message_parse_state_changed), (gst_message_parse_error),
27459         (gst_message_parse_warning):
27460         * gst/gstmessage.h:
27461         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
27462         (gst_real_pad_set_property), (gst_pad_set_active),
27463         (gst_pad_is_active), (gst_pad_set_blocked_async),
27464         (gst_pad_set_blocked), (gst_pad_is_blocked),
27465         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
27466         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
27467         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
27468         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
27469         (gst_pad_link_filtered), (gst_pad_relink_filtered),
27470         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
27471         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
27472         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
27473         (gst_pad_set_caps), (gst_pad_configure_sink),
27474         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
27475         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
27476         (gst_real_pad_dispose), (gst_real_pad_finalize),
27477         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
27478         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27479         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
27480         * gst/gstpad.h:
27481         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
27482         (pipeline_bus_handler), (gst_pipeline_change_state),
27483         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
27484         * gst/gstpipeline.h:
27485         * gst/gstprobe.h:
27486         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
27487         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
27488         (gst_queue_link_src), (gst_queue_bufferalloc),
27489         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
27490         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
27491         (gst_queue_loop), (gst_queue_handle_src_event),
27492         (gst_queue_handle_src_query), (gst_queue_src_activate),
27493         (gst_queue_change_state):
27494         * gst/gstqueue.h:
27495         * gst/gstscheduler.c: (gst_scheduler_init),
27496         (gst_scheduler_dispose), (gst_scheduler_create_task),
27497         (gst_scheduler_factory_create):
27498         * gst/gstscheduler.h:
27499         * gst/gststructure.c: (gst_structure_get_type),
27500         (gst_structure_copy_conditional):
27501         * gst/gststructure.h:
27502         * gst/gsttaginterface.h:
27503         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27504         (gst_task_init), (gst_task_dispose), (gst_task_create),
27505         (gst_task_get_state), (gst_task_start), (gst_task_stop),
27506         (gst_task_pause):
27507         * gst/gsttask.h:
27508         * gst/gstthread.c:
27509         * gst/gstthread.h:
27510         * gst/gsttypes.h:
27511         * gst/schedulers/Makefile.am:
27512         * gst/schedulers/cothreads_compat.h:
27513         * gst/schedulers/entryscheduler.c:
27514         * gst/schedulers/faircothreads.c:
27515         * gst/schedulers/faircothreads.h:
27516         * gst/schedulers/fairscheduler.c:
27517         * gst/schedulers/gstbasicscheduler.c:
27518         * gst/schedulers/gstoptimalscheduler.c:
27519         * gst/schedulers/gthread-cothreads.h:
27520         * gst/schedulers/threadscheduler.c:
27521         (gst_thread_scheduler_task_get_type),
27522         (gst_thread_scheduler_task_class_init),
27523         (gst_thread_scheduler_task_init),
27524         (gst_thread_scheduler_task_start),
27525         (gst_thread_scheduler_task_stop),
27526         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
27527         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27528         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
27529         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
27530         (plugin_init):
27531         * libs/gst/Makefile.am:
27532         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
27533         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
27534         (gst_file_pad_parent_set):
27535         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27536         (gst_dp_event_from_packet):
27537         * tests/complexity.c: (main):
27538         * tests/mass_elements.c: (main):
27539         * testsuite/states/locked.c: (message_received), (main):
27540         * testsuite/states/parent.c: (main):
27541         * tools/gst-inspect.c: (print_element_flag_info),
27542         (print_implementation_info), (print_pad_info):
27543         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
27544         (main):
27545         * tools/gst-md5sum.c: (event_loop), (main):
27546         * tools/gst-typefind.c: (main):
27547         * tools/gst-xmlinspect.c: (print_element_info):
27548         Next big merge.
27549         Added GstBus for mainloop integration.
27550         Added GstMessage for sending notifications on the bus.
27551         Added GstTask as an abstraction for pipeline entry points.
27552         Removed GstThread.
27553         Removed Schedulers.
27554         Simplified GstQueue for multithreaded core.
27555         Made _link threadsafe, removed old capsnego.
27556         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
27557         Added pad blocking functions.
27558         Reworked scheduling functions in GstPad to prepare for
27559         scheduling updates soon.
27560         Moved events out of data stream.
27561         Simplified GstEvent types.
27562         Added return values to push/pull.
27563         Removed clocking from GstElement.
27564         Added prototypes for state change function for next merge.
27565         Removed iterate from bins and state change management.
27566         Fixed some elements, disabled others for now.
27567         Fixed -inspect and -launch.
27568         Added check for GstBus.
27569
27570 2005-03-10  Wim Taymans  <wim@fluendo.com>
27571
27572         * docs/design/part-MT-refcounting.txt:
27573         * docs/design/part-clocks.txt:
27574         * docs/design/part-gstelement.txt:
27575         * docs/design/part-gstobject.txt:
27576         * docs/design/part-standards.txt:
27577         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27578         (gst_bin_remove_func), (gst_bin_remove):
27579         * gst/gstbin.h:
27580         * gst/gstbuffer.c:
27581         * gst/gstcaps.h:
27582         * testsuite/clock/clock1.c: (main):
27583         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
27584         (main):
27585         * testsuite/dlopen/loadgst.c: (do_test):
27586         * testsuite/refcounting/bin.c: (add_remove_test1),
27587         (add_remove_test2), (main):
27588         * testsuite/refcounting/element.c: (main):
27589         * testsuite/refcounting/element_pad.c: (main):
27590         * testsuite/refcounting/pad.c: (main):
27591         * tools/gst-launch.c: (sigint_handler_sighandler):
27592         * tools/gst-typefind.c: (main):
27593         Doc updates.
27594         Added doc about clock.
27595         removed gst_bin_iterate_recurse_up(), marked methods
27596         for removal.
27597         Fix more testsuites.
27598
27599 2005-03-09  Wim Taymans  <wim@fluendo.com>
27600
27601         * gst/gstpad.c: (gst_pad_get_direction),
27602         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
27603         (gst_pad_collect_valist):
27604         * testsuite/bins/interface.c: (main):
27605         * testsuite/caps/audioscale.c: (test_caps):
27606         * testsuite/caps/caps.c: (test1), (test2), (test3):
27607         * testsuite/caps/deserialize.c: (main):
27608         * testsuite/caps/enumcaps.c: (main):
27609         * testsuite/caps/filtercaps.c: (main):
27610         * testsuite/caps/intersect2.c: (main):
27611         * testsuite/caps/random.c: (main):
27612         * testsuite/caps/renegotiate.c: (my_fixate), (main):
27613         * testsuite/caps/sets.c: (check_caps):
27614         * testsuite/caps/simplify.c: (check_caps), (main):
27615         * testsuite/caps/subtract.c: (check_caps):
27616         Fix _pad_get_direction wrt ghostpads.
27617         Fix caps testsuite.
27618
27619 2005-03-09  Wim Taymans  <wim@fluendo.com>
27620
27621         * check/Makefile.am:
27622         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
27623         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
27624         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
27625         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
27626         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
27627         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
27628         (gst_bin_remove), (gst_bin_iterate_recurse_up),
27629         (bin_element_is_sink), (gst_bin_iterate_sinks),
27630         (gst_bin_iterate_all_by_interface):
27631         * gst/gstbin.h:
27632         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
27633         (gst_element_change_state), (gst_element_dispose),
27634         (gst_element_finalize), (gst_element_set_loop_function):
27635         * gst/gstelement.h:
27636         * gst/gstiterator.c: (find_custom_fold_func):
27637         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27638         (gst_pad_collectv), (gst_pad_collect_valist),
27639         (gst_pad_template_new):
27640         * gst/gstpipeline.c: (gst_pipeline_class_init),
27641         (gst_pipeline_dispose), (gst_pipeline_set_property),
27642         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
27643         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
27644         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
27645         * gst/gstutils.h:
27646         * gst/schedulers/entryscheduler.c:
27647         * gst/schedulers/gstbasicscheduler.c:
27648         (gst_basic_scheduler_cothreaded_chain),
27649         (gst_basic_scheduler_chain_add_element):
27650         * testsuite/bins/interface.c: (main):
27651         Added GstBin test.
27652         Added GstSystemClock test.
27653         Implemented clock distribution code in GstBin.
27654         Implemented iterate sinks method for future use.
27655         Rearranged gstelement.h
27656         Fix GstIterator comparison bug.
27657         Moved some code to GstPipeline, mostly clocking related.
27658
27659 2005-03-09  Wim Taymans  <wim@fluendo.com>
27660
27661         * configure.ac:
27662         * gst/gst_private.h:
27663         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27664         (gst_bin_remove_func), (gst_bin_remove),
27665         (gst_bin_get_by_name_recurse_up):
27666         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
27667         (gst_clock_id_compare_func), (gst_clock_id_wait),
27668         (gst_clock_id_wait_async), (gst_clock_init),
27669         (gst_clock_adjust_unlocked), (gst_clock_get_time):
27670         * gst/gstelement.h:
27671         * gst/gstinfo.c: (_gst_debug_init):
27672         * gst/gstobject.h:
27673         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27674         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
27675         * gst/gstpad.h:
27676         Bump version number, we're now 0.9.0
27677         Add future debugging category.
27678         Fix NULL _unref() in _get_by_name_recurse_up
27679         Rearrange gstpad.h.
27680         Update some docs.
27681
27682 2005-03-08  Wim Taymans  <wim@fluendo.com>
27683
27684         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
27685         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
27686         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27687         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
27688         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
27689         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
27690         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
27691         * gst/elements/gstidentity.c: (gst_identity_class_init):
27692         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
27693         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
27694         * gst/elements/gstshaper.c: (gst_shaper_class_init):
27695         * gst/elements/gststatistics.c: (gst_statistics_class_init):
27696         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
27697         (gst_tee_link):
27698         * gst/gstelement.c: (gst_element_class_init),
27699         (gst_element_base_class_init), (gst_element_init),
27700         (gst_element_get_random_pad), (gst_element_wait_state_change),
27701         (gst_element_change_state), (gst_element_dispose),
27702         (gst_element_finalize), (gst_element_set_loop_function):
27703         * gst/gstelement.h:
27704         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
27705         * gst/gstthread.c: (gst_thread_class_init),
27706         (gst_thread_release_children_locks), (gst_thread_change_state):
27707         * gst/schedulers/gstbasicscheduler.c:
27708         (gst_basic_scheduler_loopfunc_wrapper),
27709         (gst_basic_scheduler_chain_wrapper),
27710         (gst_basic_scheduler_src_wrapper),
27711         (gst_basic_scheduler_remove_element):
27712         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
27713         Remove threadsafe properties. Fix elements because GObject
27714         complains when installing a property before declaring a
27715         set/get_property handler.
27716         Rearrange gstelement.h file, use STATE macros for state locks.
27717         Free mutexes in the finalize method instead of dispose.
27718
27719 2005-03-08  Wim Taymans  <wim@fluendo.com>
27720
27721         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27722         * gst/gstthread.c: (gst_thread_release_children_locks):
27723         Added parentage check.
27724         Fix build og GstThread again.
27725
27726 2005-03-08  Wim Taymans  <wim@fluendo.com>
27727
27728         * docs/design/part-MT-refcounting.txt:
27729         * docs/design/part-conventions.txt:
27730         * docs/design/part-gstobject.txt:
27731         * docs/design/part-relations.txt:
27732         * docs/design/part-standards.txt:
27733         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27734         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
27735         (gst_bin_get_by_name), (gst_bin_get_by_interface),
27736         (gst_bin_iterate_all_by_interface):
27737         * gst/gstbuffer.h:
27738         * gst/gstclock.h:
27739         * gst/gstelement.c: (gst_element_class_init),
27740         (gst_element_change_state), (gst_element_set_loop_function):
27741         * gst/gstelement.h:
27742         * gst/gstiterator.c:
27743         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
27744         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
27745         (gst_object_dispatch_properties_changed), (gst_object_set_name),
27746         (gst_object_set_parent), (gst_object_unparent),
27747         (gst_object_check_uniqueness):
27748         * gst/gstobject.h:
27749         Docs updates, clean up some headers.
27750
27751 2005-03-07  Wim Taymans  <wim@fluendo.com>
27752
27753         * check/.cvsignore:
27754         * check/Makefile.am:
27755         * check/gst-libs/.cvsignore:
27756         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
27757         * check/gst/.cvsignore:
27758         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
27759         (START_TEST), (gstbus_suite), (main):
27760         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
27761         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
27762         (gst_data_suite), (main):
27763         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
27764         (add_fold_func), (gstiterator_suite), (main):
27765         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
27766         (thread_name_object), (thread_name_object_default),
27767         (gst_object_name_compare), (gst_object_suite), (main):
27768         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
27769         (gst_pad_suite), (main):
27770         * check/gstcheck.c: (gst_check_log_message_func),
27771         (gst_check_log_critical_func), (gst_check_init):
27772         * check/gstcheck.h:
27773         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
27774         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
27775         Added checks.
27776
27777 2005-03-07  Wim Taymans  <wim@fluendo.com>
27778
27779         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
27780         (gst_list_iterator_next), (gst_list_iterator_resync),
27781         (gst_list_iterator_free), (gst_iterator_new_list),
27782         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
27783         (gst_iterator_free), (gst_iterator_push), (filter_next),
27784         (filter_resync), (filter_uninit), (filter_free),
27785         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
27786         (gst_iterator_foreach), (find_custom_fold_func),
27787         (gst_iterator_find_custom):
27788         * gst/gstiterator.h:
27789         Added missing files.
27790
27791 2005-03-07  Wim Taymans  <wim@fluendo.com>
27792
27793         * Makefile.am:
27794         * configure.ac:
27795         * docs/design/part-MT-refcounting.txt:
27796         * docs/design/part-conventions.txt:
27797         * docs/design/part-gstobject.txt:
27798         * docs/design/part-relations.txt:
27799         * examples/mixer/mixer.c: (main):
27800         * examples/thread/thread.c: (eos), (main):
27801         * gst/Makefile.am:
27802         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
27803         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
27804         (gst_spider_plug_from_srcpad):
27805         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
27806         (gst_spider_identity_change_state),
27807         (gst_spider_identity_sink_loop_type_finding):
27808         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
27809         * gst/elements/gstidentity.c: (gst_identity_init):
27810         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
27811         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
27812         * gst/elements/gsttypefindelement.c: (free_entry):
27813         * gst/gst.c:
27814         * gst/gst.h:
27815         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
27816         (gst_bin_set_clock_func), (gst_bin_auto_clock),
27817         (gst_bin_set_index), (gst_bin_set_element_sched),
27818         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
27819         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
27820         (gst_bin_iterate_elements), (iterate_child_recurse),
27821         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
27822         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
27823         (compare_interface), (gst_bin_get_by_interface),
27824         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
27825         * gst/gstbin.h:
27826         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
27827         (gst_buffer_default_free), (gst_buffer_default_copy),
27828         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
27829         (gst_buffer_create_sub):
27830         * gst/gstbuffer.h:
27831         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
27832         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
27833         (gst_caps_unref), (gst_static_caps_get),
27834         (gst_caps_remove_and_get_structure), (gst_caps_append),
27835         (gst_caps_append_structure), (gst_caps_remove_structure),
27836         (gst_caps_copy_nth), (gst_caps_set_simple),
27837         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
27838         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
27839         (gst_caps_structure_intersect_field), (gst_caps_intersect),
27840         (gst_caps_structure_subtract_field), (gst_caps_subtract),
27841         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
27842         (gst_caps_structure_figure_out_union),
27843         (gst_caps_switch_structures), (gst_caps_do_simplify),
27844         (gst_caps_replace), (gst_caps_from_string),
27845         (gst_caps_copy_conditional):
27846         * gst/gstcaps.h:
27847         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
27848         (_gst_clock_id_free), (gst_clock_id_unref),
27849         (gst_clock_id_compare_func), (gst_clock_id_wait),
27850         (gst_clock_id_wait_async), (gst_clock_class_init),
27851         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
27852         (gst_clock_get_time), (gst_clock_set_time_adjust),
27853         (gst_clock_set_property), (gst_clock_get_property):
27854         * gst/gstclock.h:
27855         * gst/gstcompat.h:
27856         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
27857         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
27858         * gst/gstdata.h:
27859         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27860         (gst_element_requires_clock), (gst_element_provides_clock),
27861         (gst_element_set_clock), (gst_element_clock_wait),
27862         (gst_element_wait), (gst_element_set_time_delay),
27863         (gst_element_is_indexable), (gst_element_add_pad),
27864         (gst_element_add_ghost_pad), (gst_element_remove_pad),
27865         (pad_compare_name), (gst_element_get_static_pad),
27866         (gst_element_request_pad), (gst_element_get_request_pad),
27867         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
27868         (gst_element_class_get_pad_template_list),
27869         (gst_element_class_get_pad_template), (gst_element_error_func),
27870         (gst_element_get_random_pad), (gst_element_get_event_masks),
27871         (gst_element_send_event), (gst_element_seek),
27872         (gst_element_get_query_types), (gst_element_query),
27873         (gst_element_get_formats), (gst_element_convert),
27874         (gst_element_is_locked_state), (gst_element_set_locked_state),
27875         (gst_element_sync_state_with_parent), (gst_element_change_state),
27876         (gst_element_finalize), (gst_element_yield),
27877         (gst_element_interrupt), (gst_element_set_scheduler),
27878         (gst_element_get_scheduler), (gst_element_set_loop_function):
27879         * gst/gstelement.h:
27880         * gst/gstevent.h:
27881         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
27882         (gst_format_get_by_nick), (gst_format_get_details),
27883         (gst_format_iterate_definitions):
27884         * gst/gstformat.h:
27885         * gst/gstindex.c: (gst_index_gtype_resolver):
27886         * gst/gstinfo.c:
27887         * gst/gstinfo.h:
27888         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
27889         (gst_mem_chunk_free):
27890         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
27891         (gst_object_ref), (gst_object_unref), (gst_object_sink),
27892         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
27893         (gst_object_dispatch_properties_changed),
27894         (gst_object_set_name_default), (gst_object_set_name),
27895         (gst_object_get_name), (gst_object_set_name_prefix),
27896         (gst_object_get_name_prefix), (gst_object_set_parent),
27897         (gst_object_get_parent), (gst_object_unparent),
27898         (gst_object_check_uniqueness), (gst_object_save_thyself),
27899         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
27900         (gst_object_set_property), (gst_object_get_property),
27901         (gst_object_get_path_string):
27902         * gst/gstobject.h:
27903         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27904         (gst_real_pad_init), (gst_real_pad_get_property),
27905         (gst_pad_custom_new), (gst_pad_get_direction),
27906         (gst_pad_set_active), (gst_pad_is_active),
27907         (gst_pad_set_event_function), (gst_pad_is_linked),
27908         (gst_pad_link_free), (gst_pad_link_intersect),
27909         (gst_pad_link_fixate), (gst_pad_set_caps),
27910         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
27911         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
27912         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
27913         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
27914         (gst_pad_get_caps), (gst_pad_peer_get_caps),
27915         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
27916         (gst_pad_realize), (gst_pad_get_allowed_caps),
27917         (gst_real_pad_dispose), (gst_real_pad_finalize),
27918         (gst_pad_collectv), (gst_pad_collect_valist),
27919         (gst_pad_template_dispose), (gst_pad_template_new),
27920         (gst_pad_get_internal_links):
27921         * gst/gstpad.h:
27922         * gst/gstpipeline.c: (gst_pipeline_dispose),
27923         (gst_pipeline_change_state):
27924         * gst/gstpipeline.h:
27925         * gst/gstplugin.c:
27926         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
27927         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
27928         * gst/gstpluginfeature.h:
27929         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
27930         * gst/gstquery.c: (_gst_query_type_initialize),
27931         (gst_query_type_register), (gst_query_type_get_by_nick),
27932         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
27933         * gst/gstquery.h:
27934         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
27935         * gst/gstscheduler.c: (gst_scheduler_add_element),
27936         (gst_scheduler_factory_create):
27937         * gst/gststructure.c: (gst_structure_set_parent_refcount),
27938         (gst_structure_free), (gst_structure_set_name),
27939         (gst_structure_id_set_value), (gst_structure_set_value),
27940         (gst_structure_set_valist), (gst_structure_remove_field),
27941         (gst_structure_remove_fields),
27942         (gst_structure_remove_fields_valist),
27943         (gst_structure_remove_all_fields), (gst_structure_foreach),
27944         (gst_structure_map_in_place),
27945         (gst_caps_structure_fixate_field_nearest_int),
27946         (gst_caps_structure_fixate_field_nearest_double):
27947         * gst/gststructure.h:
27948         * gst/gstsystemclock.c: (gst_system_clock_class_init),
27949         (gst_system_clock_init), (gst_system_clock_dispose),
27950         (gst_system_clock_async_thread),
27951         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
27952         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
27953         * gst/gstsystemclock.h:
27954         * gst/gsttag.c: (gst_tag_list_add_value_internal),
27955         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
27956         * gst/gsttaginterface.c:
27957         * gst/gstthread.c: (gst_thread_dispose),
27958         (gst_thread_release_children_locks), (gst_thread_change_state),
27959         (gst_thread_main_loop):
27960         * gst/gsttrashstack.h:
27961         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
27962         * gst/gsttypes.h:
27963         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27964         (gst_element_request_pad), (gst_element_get_pad_from_template),
27965         (gst_element_request_compatible_pad),
27966         (gst_element_get_compatible_pad_filtered),
27967         (gst_element_get_compatible_pad), (gst_element_state_get_name),
27968         (gst_element_link_pads_filtered), (gst_element_link_filtered),
27969         (gst_element_link_many), (gst_element_link),
27970         (gst_element_link_pads), (gst_element_unlink_pads),
27971         (gst_element_unlink_many), (gst_element_unlink),
27972         (gst_pad_can_link_filtered), (gst_pad_can_link),
27973         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
27974         (gst_object_default_error), (gst_bin_add_many),
27975         (gst_bin_remove_many), (gst_element_populate_std_props),
27976         (gst_element_class_install_std_props), (gst_buffer_merge),
27977         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
27978         (link_fold_func), (gst_pad_proxy_setcaps):
27979         * gst/gstutils.h:
27980         * gst/gstvalue.c: (gst_value_deserialize_string):
27981         * gst/parse/grammar.y:
27982         * gst/schedulers/gstbasicscheduler.c:
27983         (gst_basic_scheduler_cothreaded_chain),
27984         (gst_basic_scheduler_chain_recursive_add),
27985         (gst_basic_scheduler_pad_link):
27986         * gst/schedulers/gstoptimalscheduler.c:
27987         (get_group_schedule_function),
27988         (gst_opt_scheduler_state_transition),
27989         (gst_opt_scheduler_add_element), (element_get_reachables_func):
27990         * libs/gst/bytestream/bytestream.c:
27991         * libs/gst/dataprotocol/dataprotocol.c:
27992         (gst_dp_header_from_buffer):
27993         * po/nb.po:
27994         * po/ru.po:
27995         * tests/threadstate/threadstate2.c: (eos):
27996         * tools/gst-compprep.c: (main):
27997         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
27998         (print_pad_info), (print_children_info):
27999         * tools/gst-launch.c: (idle_func), (main):
28000         * tools/gst-md5sum.c: (idle_func), (main):
28001         * tools/gst-xmlinspect.c: (print_element_info):
28002         First THREADED backport attempt, focusing on adding locks and
28003         making sure the API is threadsafe. Needs more work. More docs
28004         follow this week.
28005
28006 2005-02-24  Andy Wingo  <wingo@pobox.com>
28007
28008         * tests/bench-complexity.scm:
28009         * tests/complexity.gnuplot: New files, good for running complexity
28010         benchmarks.
28011
28012         * tests/Makefile.am:
28013         * tests/complexity.c: New test, sets up N elements, at each level
28014         teeing into M streams per element. Eeeenteresting.
28015
28016         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
28017         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
28018         running bench-mass_elements.scm.
28019
28020         * tests/bench-mass_elements.scm: New script, runs mass_elements
28021         for various numbers of identities, outputting the results to a
28022         file. Requires guile 1.6. Just for testing.
28023
28024 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
28025
28026         * gst/schedulers/fairscheduler.c:
28027           compile with debug disabled
28028
28029 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
28030
28031         * configure.ac:
28032           hunting season on 0.9 is now OPEN